Failed install due to dependencies restrictions

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
In setting up a new system, I'm getting this error when attempting to install this:
UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

The recipe file looks very restrictive in what it requires; is there any way to add some flexibility to it?
Installed packages
# Name                    Version                   Build  Channel
brotli-python             1.0.9           py310h1105856_7    conda-forge
bzip2                     1.0.8                h3422bc3_4    conda-forge
ca-certificates           2022.6.15            h4653dfc_0    conda-forge
click                     8.1.3           py310hbe9552e_0    conda-forge
dash                      2.6.0              pyhd8ed1ab_0    conda-forge
dash-bootstrap-components 1.2.0              pyhd8ed1ab_0    conda-forge
flask                     2.1.3              pyhd8ed1ab_0    conda-forge
flask-compress            1.12               pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.4          py310hbe9552e_0    conda-forge
itsdangerous              2.1.2              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
libblas                   3.9.0           15_osxarm64_openblas    conda-forge
libcblas                  3.9.0           15_osxarm64_openblas    conda-forge
libcxx                    14.0.6               h04bba0f_0    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgfortran               5.0.0.dev0      11_0_1_hf114ba7_23    conda-forge
libgfortran5              11.0.1.dev0         hf114ba7_23    conda-forge
liblapack                 3.9.0           15_osxarm64_openblas    conda-forge
libopenblas               0.3.20          openmp_h130de29_1    conda-forge
libzlib                   1.2.12               ha287fd2_2    conda-forge
llvm-openmp               14.0.4               hd125106_0    conda-forge
markupsafe                2.1.1           py310hf8d0d8f_1    conda-forge
ncurses                   6.3                  h07bb92c_1    conda-forge
numpy                     1.23.1          py310h0a343b5_0    conda-forge
openssl                   3.0.5                ha287fd2_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.3           py310ha6a5cd6_0    conda-forge
pip                       22.2.1             pyhd8ed1ab_0    conda-forge
plotly                    5.9.0              pyhd8ed1ab_0    conda-forge
pymysql                   1.0.2              pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
python                    3.10.5          h4eee789_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytz                      2022.1             pyhd8ed1ab_0    conda-forge
readline                  8.1.2                h46ed386_0    conda-forge
scipy                     1.9.0           py310hdb41229_0    conda-forge
setuptools                63.2.0          py310hbe9552e_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sqlite                    3.39.2               h40dfcc0_0    conda-forge
tabulate                  0.8.10             pyhd8ed1ab_0    conda-forge
tenacity                  8.0.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               he1e0b03_0    conda-forge
tzdata                    2022a                h191b570_0    conda-forge
werkzeug                  2.2.1              pyhd8ed1ab_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xarray                    2022.6.0           pyhd8ed1ab_1    conda-forge
xz                        5.2.5                h642e427_1    conda-forge
zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               ha287fd2_2    conda-forge

Environment info
active environment : tmba
    active env location : /Users/white/conda/envs/tmba
            shell level : 1
       user config file : /Users/white/.condarc
 populated config files : /Users/white/conda/.condarc
                          /Users/white/.condarc
          conda version : 4.12.0
    conda-build version : not installed
         python version : 3.9.13.final.0
       virtual packages : __osx=12.5=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/white/conda  (writable)
      conda av data dir : /Users/white/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://conda.anaconda.org/bioconda/osx-arm64
                          https://conda.anaconda.org/bioconda/noarch
          package cache : /Users/white/conda/pkgs
                          /Users/white/.conda/pkgs
       envs directories : /Users/white/conda/envs
                          /Users/white/.conda/envs
               platform : osx-arm64
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.13 Darwin/21.6.0 OSX/12.5
                UID:GID : 687:15
             netrc file : None
           offline mode : False

I've pushed a newer build that might resolve this, please wait a couple hours before trying again. Thanks

Unfortunately, this didn't resolve it. I'm attempting to install it as the only requested and it fails as well:
❯ conda create -n resampler plotly-resampler

Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:

I'm unable to replicate this on my system; it installs without problem. What version of Python are you using in your virtual environment? Have you tried using mamba instead (use as a drop in replacement for conda)? What OS are you using? I am able to install on both Windows and Linux. What does the UnsatisfiableError:  say? Did it list which packages were in conflict?

I'm working on setting up a M1 MacBook Pro after being on an Intel iMac. The iMac has no problems.
If I try to build the environment, I get this output:
Collecting package metadata (repodata.json): done
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python_abi conflicts for:
scipy -> python_abi[version='3.10.*|3.9.*|3.8.*',build='*_cp38|*_cp310|*_cp39']
plotly-resampler -> numpy[version='>=1.21.0'] -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp38|*_cp39|*_cp310']
xarray -> numpy[version='>=1.19'] -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp38|*_cp39|*_cp310']
pandas -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp38|*_cp39|*_cp310']
dash-bootstrap-components -> setuptools -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp38|*_cp39|*_cp310']
jinja2 -> markupsafe[version='>=2.0'] -> python_abi[version='3.10.*|3.9.*|3.8.*',build='*_cp38|*_cp310|*_cp39']
pymysql -> cryptography -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp38|*_cp39|*_cp310']
plotly -> setuptools -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp38|*_cp39|*_cp310']

Package plotly conflicts for:
dash-bootstrap-components -> dash[version='>=2.0.0'] -> plotly[version='>=5.0.0']
plotly
plotly-resampler -> dash[version='>=2.2.0'] -> plotly[version='>=5.0.0']
plotly-resampler -> plotly[version='>=5.3.1|>=5.6.0|>=5.6.0,<6.0.0']

Package numpy-base conflicts for:
scipy -> numpy[version='>=1.19.5,<2.0a0'] -> numpy-base[version='1.19.2|1.19.2|1.21.2|1.21.2|1.21.2|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.22.3',build='py39hdc56644_1|py310h6269429_0|py38h6269429_0|py38h974a1f5_1|py310h5e3e9f0_1|py310h5e3e9f0_2|py310h742c864_3|py310h5e3e9f0_0|py38h974a1f5_0|py39h974a1f5_0|py39hadd41eb_3|py38hadd41eb_3|py39h974a1f5_2|py38h974a1f5_2|py39h974a1f5_1|py39h6269429_0|py38hdc56644_1']
xarray -> numpy[version='>=1.19'] -> numpy-base[version='1.19.2|1.19.2|1.21.2|1.21.2|1.21.2|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.22.3',build='py39hdc56644_1|py310h6269429_0|py38h6269429_0|py38h974a1f5_1|py310h5e3e9f0_1|py310h5e3e9f0_2|py310h742c864_3|py310h5e3e9f0_0|py38h974a1f5_0|py39h974a1f5_0|py39hadd41eb_3|py38hadd41eb_3|py39h974a1f5_2|py38h974a1f5_2|py39h974a1f5_1|py39h6269429_0|py38hdc56644_1']
pandas -> numpy[version='>=1.19.5,<2.0a0'] -> numpy-base[version='1.19.2|1.19.2|1.21.2|1.21.2|1.21.2|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.22.3',build='py39hdc56644_1|py310h6269429_0|py38h6269429_0|py38h974a1f5_1|py310h5e3e9f0_1|py310h5e3e9f0_2|py310h742c864_3|py310h5e3e9f0_0|py38h974a1f5_0|py39h974a1f5_0|py39hadd41eb_3|py38hadd41eb_3|py39h974a1f5_2|py38h974a1f5_2|py39h974a1f5_1|py39h6269429_0|py38hdc56644_1']
plotly-resampler -> numpy[version='>=1.21.0'] -> numpy-base[version='1.21.2|1.21.2|1.21.2|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.21.5|1.22.3',build='py310h6269429_0|py38h6269429_0|py38h974a1f5_1|py310h5e3e9f0_1|py310h5e3e9f0_2|py310h742c864_3|py310h5e3e9f0_0|py38h974a1f5_0|py39h974a1f5_0|py39hadd41eb_3|py38hadd41eb_3|py39h974a1f5_2|py38h974a1f5_2|py39h974a1f5_1|py39h6269429_0']

Package packaging conflicts for:
pandas -> numexpr[version='>=2.7.1'] -> packaging
xarray -> packaging[version='>=20.0']

Package pytz conflicts for:
plotly-resampler -> pandas[version='>=1.3.5'] -> pytz[version='>=2017.2|>=2020.1|>=2017.3']
pandas -> pytz[version='>=2017.2|>=2020.1|>=2017.3']
xarray -> pandas[version='>=1.2'] -> pytz[version='>=2017.2|>=2020.1|>=2017.3']
plotly -> pytz

Package pandas conflicts for:
xarray -> pandas[version='>=0.19.2|>=0.24|>=0.25|>=1.0|>=1.1|>=1.2']
plotly-resampler -> pandas[version='>=1.3.5|>=1.3.5,<2.0.0']
pandas

Package six conflicts for:
pymysql -> cryptography -> six[version='>=1.4.1']
plotly-resampler -> flask-cors[version='>=3.0.10'] -> six[version='>=1.15.0']
plotly -> tenacity[version='>=6.2.0'] -> six[version='>=1.7.0|>=1.9.0']
xarray -> packaging[version='>=20.0'] -> six
pandas -> python-dateutil[version='>=2.8.1'] -> six[version='>=1.5']
plotly -> six[version='1.15.0|>=1.15.0']

Package libgfortran5 conflicts for:
scipy -> libgfortran=5 -> libgfortran5
scipy -> libgfortran5[version='>=11.0.0.dev0|>=11.0.1.dev0|>=11.1.0']

Package libcblas conflicts for:
scipy -> libcblas[version='>=3.9.0,<4.0a0']
scipy -> blas=[build=openblas] -> libcblas==3.9.0[build='2_openblas|5_openblas|7_openblas|8_openblas|11_osxarm64_openblas|12_osxarm64_openblas|14_osxarm64_openblas|15_osxarm64_openblas|13_osxarm64_openblas|10_openblas|9_openblas|6_openblas|4_openblas|3_openblas|1_openblas']

Package idna conflicts for:
pymysql -> cryptography -> idna
plotly -> requests -> idna[version='>=2.5,<3|>=2.5,<4']

Package dash-bootstrap-components conflicts for:
plotly-resampler -> dash-bootstrap-components[version='>=0.13.1']
dash-bootstrap-components

Package zlib conflicts for:
plotly-resampler -> python[version='>=3.7.1,<3.11'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
plotly -> python[version='>=3.6'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
pandas -> python[version='>=3.8,<3.9.0a0'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
xarray -> python[version='>=3.8'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
scipy -> python[version='>=3.9,<3.10.0a0'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
tabulate -> python[version='2.7.*|>=3.5'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
pymysql -> python[version='>=3.6'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
jinja2 -> python[version='>=3.7'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']
dash-bootstrap-components -> python[version='>=3.6'] -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0']

Package libblas conflicts for:
scipy -> libblas[version='>=3.9.0,<4.0a0']
scipy -> libcblas[version='>=3.9.0,<4.0a0'] -> libblas[version='3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0.*',build='2_openblas|5_openblas|8_openblas|13_osxarm64_accelerate|14_osxarm64_openblas|15_osxarm64_accelerate|15_osxarm64_openblas|14_osxarm64_accelerate|13_osxarm64_openblas|12_osxarm64_accelerate|12_osxarm64_openblas|11_osxarm64_openblas|10_openblas|9_openblas|7_openblas|6_openblas|4_openblas|3_openblas|1_openblas']

Package libopenblas conflicts for:
scipy -> libblas[version='>=3.9.0,<4.0a0'] -> libopenblas[version='>=0.3.12,<<IP_ADDRESS>a0|>=0.3.15,<<IP_ADDRESS>a0|>=0.3.17,<<IP_ADDRESS>a0|>=0.3.18,<<IP_ADDRESS>a0|>=0.3.20,<<IP_ADDRESS>a0|>=0.3.20,<1.0a0|>=0.3.18,<1.0a0|>=0.3.15,<1.0a0|>=0.3.12,<1.0a0']
scipy -> libopenblas[version='>=0.3.17,<1.0a0']

Package setuptools conflicts for:
plotly-resampler -> dash[version='>=2.2.0'] -> setuptools[version='<60.0.0']
plotly -> setuptools
pandas -> setuptools[version='<60.0.0']
pandas -> numexpr[version='>=2.7.1'] -> setuptools
xarray -> setuptools[version='>=40.4|>=41.2']
jinja2 -> setuptools
dash-bootstrap-components -> setuptools
xarray -> pandas[version='>=1.2'] -> setuptools[version='<60.0.0']

Package python conflicts for:
xarray -> python[version='>=3.5|>=3.5.3|>=3.6|>=3.7|>=3.8']
xarray -> numpy[version='>=1.19'] -> python[version='>=2.7|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0|>=3',build=*_cpython]

Package certifi conflicts for:
pandas -> setuptools[version='<60.0.0'] -> certifi[version='>=2016.9.26']
xarray -> setuptools[version='>=40.4'] -> certifi[version='>=2016.9.26']
jinja2 -> setuptools -> certifi[version='>=2016.9.26']
dash-bootstrap-components -> setuptools -> certifi[version='>=2016.9.26']
plotly -> setuptools -> certifi[version='>=2016.9.26|>=2017.4.17']

Package liblapack conflicts for:
scipy -> liblapack[version='>=3.9.0,<4.0a0']
scipy -> blas=[build=openblas] -> liblapack==3.9.0[build='2_openblas|5_openblas|7_openblas|8_openblas|11_osxarm64_openblas|12_osxarm64_openblas|14_osxarm64_openblas|15_osxarm64_openblas|13_osxarm64_openblas|10_openblas|9_openblas|6_openblas|4_openblas|3_openblas|1_openblas']

Package retrying conflicts for:
plotly-resampler -> jupyter-dash[version='>=0.4.2'] -> retrying
plotly -> retrying[version='>=1.3.3']

But I am able to add plotly-resampler via pip without any problems. It's definitely confusing!

It is likely that certain dependency has a M1 build that isn't available on Conda Forge yet. One thing I would suggest trying is to downgrade to earlier versions of Python, and see if the conflicts resolves.

If you mean at the base of my conda install, I may do that yet. Otherwise, when I try to start an environment based solely on plotly-resampler this is what I see:
> conda create -n resampler plotly-resampler

Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:

I may just need to wait for a little until some additional updates come through.

yes, try this: conda create -n resampler python==3.9.* plotly-resampler or some version even lower

Well, that results in nothing as well. Even attempting a YAML file construction:
name: resampler
channels:
  - conda-forge
  - defaults
dependencies:
  - python = 3.*
  - plotly-resampler

results in:
❯ conda env create -f resampler.yml                                                                                ~
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
plotly-resampler -> python[version='>=3.6,<3.11|>=3.7.1,<3.11|>=3.7']
python=3
plotly-resampler -> dash[version='>=2.2.0'] -> python[version='2.7.*|>=3.5|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.3|>=3.6|>=3.5|>=3.8,<3.9.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0',build=*_cpython]

This probably speaks to what I said before, that some dependency is not available for M1 yet on Conda Forge, unfortunately. If you can still install via pip that's a work around, just be sure to install anything with pip last in a conda environement.

Thanks! I'll close this and revisit it in a month or two. If things look different, then I'll comment here to reopen.


Doesn't seem to mark differences

I'm using Brackets r 1.2 build 1.2.0-15697 and the compare plugin doesn't seem to be working. I can load two files but no differences are marked or anything. It's just like I'm opening them in split view.
Is there a compatibility problem or something else going on?

i'll look into it. cheers

hey i've released v0.2.0. Please try it out and let me know.


Use xCall 2.1 features in Balanced

Remove rollback for outgoing messages on ICON and instead use persistent messages.

@AntonAndell, does this change impact any front-end implementations?
And should we be doing any changes on the front end once this is live?

Yes, but wont have any breaking changes. Bridge transactions from ICON can be estimated to be slightly cheaper.

@hetfly @0xmilktea @swiftcc624

@AntonAndell can you create an issue in frontend repo when the time comes with required changes please?

Yeah will do

Testing still pending on cosmos, evm and move

all tested. Waiting on code review once someone is free

same as above

Main Changes Noticed

sendCall method name in xcall mock is renamed to recvCall . New sendCall method created for persistent message
sendPersistentCall is introduced in XcallUtils to replace the sendCall to support the persistent call, which does not support the rollback
On calling Daofund contract to claim the xcall feee rollback parameter is sent ’false’ replacing previous ‘true’ as the call is now persistent
In the xcall manager contract new method getProtocolsRaw is introduced to get the rlpEncoded protocols for creating envelope for persistent message
Rollback massages removed

Tested :
Ran integration tests for asset manager, loans and rewards contracts
Findings
Suggestions:

Unused method sendCall in xcallUtils could be removed

no significant findings


Add wrapper for SD/SDIO/SDMMC driver and vFS

Hi,
According to issue #420 .
Am I heading in the right direction ?

can you have a look at the clippy output from the CI runs. If you have a particular question around something feel free to ask !

can you have a look at the clippy output from the CI runs. If you have a particular question around something feel free to ask !

Well, I'm having trouble finding documentation on how the cfg flags of target capabilities are defined. It seems they are exported from ESP IDF #define macros, but I can't figure out which one corresponds to the Rust equivalent of SOC_SDMMC_HOST_SUPPORTED (like esp_idf_bt_classic_enabled is the equivalent of SOC_BT_CLASSIC_SUPPORTED).

What is going on with the CI ? There's an issue with ldproxy installation.

What is going on with the CI ? There's an issue with ldproxy installation.

wired unrelated install error / i restarted the workflow

can you have a look at the clippy output from the CI runs. If you have a particular question around something feel free to ask !

Well, I'm having trouble finding documentation on how the cfg flags of target capabilities are defined. It seems they are exported from ESP IDF #define macros, but I can't figure out which one corresponds to the Rust equivalent of SOC_SDMMC_HOST_SUPPORTED (like esp_idf_bt_classic_enabled is the equivalent of SOC_BT_CLASSIC_SUPPORTED). I'm currently using esp_idf_sdmmc_host_enabled, but I'm not convinced it's the correct one.

The correct one should be something like  esp_idf_soc_sdmmc_host_supported . You can always double check with running  cargo rustc -- --print cfg. This will print out all flags that are available on your current used target.
Regarding the other CI error with respect to "use alloc::ffi::CString;" : We also use alloc flags for stuff that uses heap allocation - this is done so that the hal can technically build on no_std. Its mostly used as a dev helper to mark things explicitly for us where heap allocs occure on our site. You would also need gates here.

@Vollbrecht @AlixANNERAUD Once you feel this PR is mostly complete, would you let me know? I would also like to do a review w.r.t. naming, code conventions followed in the crate etc.
Please don't expect any large redesign requests, but stuff like:

Renaming structs
Putting const new here and there
Putting Debug, Send etc. here and there

One thing which is a tad more obtrusive and we might have to change is the whole Builder pattern. We just don't use it. What we have instead (primarily in esp-idf-hal) is the notion of Config (which IS actually a builder, but does not contain peripherals) + all peripherals directly passed to a new constructor at driver construction time.
But maybe let's solve the other issues first and leave the renames / consistency with the other code for the end. Up to you actually how you would like to tackle this.

@Vollbrecht @AlixANNERAUD Once you feel this PR is mostly complete, would you let me know? I would also like to do a review w.r.t. naming, code conventions followed in the crate etc.
Please don't expect any large redesign requests, but stuff like:
* Renaming structs

* Putting `const new` here and there

* Putting `Debug`, `Send` etc. here and there

Ok, I'm currently fixing the CI

What we have instead (primarily in esp-idf-hal) is the notion of Config (which IS actually a builder, but does not contain peripherals) + all peripherals directly passed to a new constructor at driver construction time.
But maybe let's solve the other issues first and leave the renames / consistency with the other code for the end. Up to you actually how you would like to tackle this.

Okay, that makes sense for reducing the memory footprint. Do you have an example of that? It seems feasible to me.

@Vollbrecht @AlixANNERAUD Once you feel this PR is mostly complete, would you let me know? I would also like to do a review w.r.t. naming, code conventions followed in the crate etc.
Please don't expect any large redesign requests, but stuff like:
* Renaming structs

* Putting `const new` here and there

* Putting `Debug`, `Send` etc. here and there

I think you can start the review.

What we have instead (primarily in esp-idf-hal) is the notion of Config (which IS actually a builder, but does not contain peripherals) + all peripherals directly passed to a new constructor at driver construction time.
But maybe let's solve the other issues first and leave the renames / consistency with the other code for the end. Up to you actually how you would like to tackle this.

Okay, that makes sense for reducing the memory footprint. Do you have an example of that? It seems feasible to me.

It is not so much for memory footprint, as it is for consistency.
As for an example - every single driver in esp-idf-hal. Take CanDriver or any other.

There are other issues that need addressing, like the fact that SpiDeviceBuilder needs to be lifetimed, as in SpiDeviceBuilder<'d> but we'll get there when we get there. :)

Has the binding between rust's std::fs and esp-idf vfs been done?

@AlixANNERAUD Not yet. Sorry for being slow with my feedback. Will return some more today.

@AlixANNERAUD I'll merge this shortly, but might do a round of final renames/changes post commit - hope you don't mind. For one, this code is not #[cfg()]-ed yet on the VFS and FAT components being enabled, so it will fail to compile when ESP IDF is compiled without support for VFS.

@AlixANNERAUD I'll merge this shortly, but might do a round of final renames/changes post commit - hope you don't mind. For one, this code is not #[cfg()]-ed yet on the VFS and FAT components being enabled, so it will fail to compile when ESP IDF is compiled without support for VFS.

@AlixANNERAUD I'll merge this shortly, but might do a round of final renames/changes post commit - hope you don't mind. For one, this code is not #[cfg()]-ed yet on the VFS and FAT components being enabled, so it will fail to compile when ESP IDF is compiled without support for VFS.

Thank you very much for your help, it's really kind of you to have taken the time to assist me. I've added the missing `cfg for vfs/fat.

@AlixANNERAUD I'll merge this shortly, but might do a round of final renames/changes post commit - hope you don't mind. For one, this code is not #[cfg()]-ed yet on the VFS and FAT components being enabled, so it will fail to compile when ESP IDF is compiled without support for VFS.

Thank you very much for your help, it's really kind of you to have taken the time to assist me. I've added the missing cfg for vfs/fat.

Thanks for pushing the PR through!

my tf card init faild on esp32-s3 use this example .
https://github.com/esp-rs/esp-idf-svc/issues/439


Live Always Loads

I am using v4.0.0-rc.2.
Is it possible for the card to only load the live  feed of the camera when it is tapped to open full screen? Then show a snapshot of the camera that updates every 10 seconds? I tried using the view of the most recent snapshot but on mobile it's not actually visually appealing and there's no ability to click to live stream still to my knowledge.
The "on selection" doesn't work to prevent pre-loading when using single cards by themselves.  The reason I want to prevent pre-loading is that the Dashboard and I think even the web UI all together locks up as a result of trying to load 3 simultaneous streams. When I had these 3 cameras on the dashboard as seen in the screenshot preloading I repeatedly lost access to the UI for a few minutes on the companion app, browser and even through the nabucasa url. No errors in the logs as to where it came from. I removed the cameras and it was fine. It also slows the ability to edit the cards with them all live at once.
Mobile Dashboard:

Using view most recent snapshot a circle appears that blocks the full image:

Current Code:
type: horizontal-stack
cards:
  - type: custom:frigate-card
    cameras:
      - camera_entity: camera.outdoor_4
        live_provider: frigate-jsmpeg
    menu:
      style: none
    live:
      preload: true
      auto_play: visible
      draggable: false
      actions:
        tap_action:
          - action: custom:frigate-card-action
            frigate_card_action: fullscreen
          - action: custom:frigate-card-action
            frigate_card_action: live
    dimensions:
      aspect_ratio_mode: static
      aspect_ratio: '5:4'
    image:
      mode: camera
      refresh_seconds: 10
    view:
      default: live
  - type: custom:frigate-card
    cameras:
      - camera_entity: camera.outdoor_3
        live_provider: frigate-jsmpeg
    menu:
      style: none
    live:
      preload: true
      auto_play: visible
      draggable: false
      actions:
        tap_action:
          - action: custom:frigate-card-action
            frigate_card_action: fullscreen
          - action: custom:frigate-card-action
            frigate_card_action: live
    dimensions:
      aspect_ratio_mode: static
      aspect_ratio: '5:4'
    image:
      mode: camera
      refresh_seconds: 10
    view:
      default: live
  - type: custom:frigate-card
    cameras:
      - camera_entity: camera.outdoor_2
        live_provider: frigate-jsmpeg
    menu:
      style: none
    live:
      preload: true
      auto_play: visible
      draggable: false
      actions:
        tap_action:
          - action: custom:frigate-card-action
            frigate_card_action: fullscreen
          - action: custom:frigate-card-action
            frigate_card_action: live
    dimensions:
      aspect_ratio_mode: static
      aspect_ratio: '5:4'
    image:
      mode: camera
      refresh_seconds: 10
    view:
      default: live

I'm afraid I'm not quite following the feature request -- maybe you could try describing what behavior you'd like to see?
From your description, I don't understand why just using the image view as the default view is not the answer -- you already have it refreshing every 10 seconds. Having that as your default view would mean the streams don't load, but you still get a somewhat refreshed feed -- which sounds like what you want. You can also just use the live menu button when you want to load the streams, or configure a Card Action if you wanted to make that a little more convenient (e.g. double tapping on the image could take change to the live stream, etc).

This will disable the circles that go to the next/previous snapshot or clip in the media viewer:
type: custom:frigate-card
cameras:
  - camera_entity: camera.back_yard
media_viewer:
  controls:
    next_previous:
      style: none

You can navigate to the next/previous snapshot by dragging the carousel. Is this what you're looking for?

You are incorrectly listing the actions under live, when you want them to work when you're in the media viewer (not live).
Setting thumbnails -> mode to none will cause the thumbnail drawer to disappear (the 3 lines).

This is what the media_viewer section should look like:
media_viewer:
  controls:
    next_previous:
      style: none
    thumbnails:
      mode: none
  actions:
    tap_action:
      - action: custom:frigate-card-action
        frigate_card_action: live
      - action: custom:frigate-card-action
        frigate_card_action: fullscreen

I can't easily exactly test your config, but here is the full version that I'd guess should work:
type: horizontal-stack
cards:
  - type: custom:frigate-card
    cameras:
      - camera_entity: camera.outdoor_4
        live_provider: frigate-jsmpeg
    menu:
      style: none
    live:
      preload: false
      auto_play: never
      draggable: false
    dimensions:
      aspect_ratio_mode: static
      aspect_ratio: '5:4'
    image:
      mode: camera
      refresh_seconds: 10
    view:
      default: snapshot
    media_viewer:
      controls:
        next_previous:
          style: none
        thumbnails:
          mode: none
      actions:
        tap_action:
          - action: custom:frigate-card-action
            frigate_card_action: live
          - action: custom:frigate-card-action
            frigate_card_action: fullscreen

That worked!! Is there anyway to remove the whitespace between the camera view and edge of card? I tried messing with the aspect ratios and it didn't work.

Not sure what whitespace you are referring to. Can you take a screenshot/photo and highlight the whitespace you mean?

Also it's not a huge deal but is there a way after closing the full screen view to stop live? It will stop after stopping the companion app and when I reopen it's back to Snapshot but would be nice to make sure it stops when it's closed as well without having to stop the companion app and reopen it.

There's no way to trigger an action based on when fullscreen mode exits (which I think is what you're asking). I have a few ideas though you could experiment with:

One simple suggestion is to give a timeout after which the card reverts to snapshot mode, e.g. the below would go back to snapshot mode 30 seconds after human interaction with the card stops:

view:
  default: snapshot
  timeout_seconds: 30

Another hackier way could be to add an action handler on the live view, so if it's tapped it goes back to snapshot.

A final fancier way would be to configure a custom element on the card that shows a button when the card is in the live view and in fullscreen mode, that when clicked exits fullscreen mode and changes the view back to snapshot. This still wouldn't help if the user exits fullscreen mode in a different way (e.g. hitting Escape on the keyboard). See the 'Elements section (stock Home Assistant elements)' section in the  documentation if you're not familiar with configuring elements.

You're forcing the aspect_ratio, just remove this section from your config and by default the card will adapt to the size of the media:
Remove this:
    dimensions:
      aspect_ratio_mode: static
      aspect_ratio: '5:4'

If this still doesn't work, it's possible the fact you have this in a horizontal stack is causing it to be a fixed size, try it without the stack to see if that works? (And if it does, well, seems like the issue is more with the stack than the Frigate card).

Closing the bug as I think there's nothing to do here on the card side.

The disadvantage of this is that it loses some of the view because it is zoomed in. Not the end of the world. I think the previous snapshot looks better because it shows the entire frame. This card is great, thank you for your continued work on the card, the options for customization are endless. Looking forward to live audio playback in the future.

FYI: The card supports live audio -- if the live provider does. Sadly this is not the case with the frigate-jsmpeg which you are using. Try a different live provider if this is important to you. If you want to stick with frigate-jsmpeg follow along on this bug which describes the non-trivial work on the Frigate backend that is required to support that.


Change from WebsiteBundle to AppBundle

In order to more closely reflect Symfony Standard, "WebsiteBundle" should be changed to "AppBundle" in Sulu Standard.

When working on the WebsiteBundle we could maybe also reduce the code in there, e.g. https://github.com/sulu-io/sulu-standard/issues/593

Is it actually necessary? Views could just be moved to the app/Resources directory. If the controller gets moved to somewhere as well, maybe the whole bundle become unnecessary.

@sagikazarmark You are having a good point here... I'd say if we solve #593 it would be easily possible to remove the WebsiteBundle completely.

Sounds like a plan.

@webmozart #593 is solved, and in sulu-minimal we don't have a WebsiteBundle or any other bundle at all anymore. Is that issue solved for you with these improvements?

What's the difference between sulu-minimal and sulu-standard?

@sagikazarmark sulu-minmal is much slimmer than sulu-standard, and has a few other improvements in it (Symfony3 folder structure, easier to setup, ...)


Parsedown doesn't recognize markdown inside of custom inline elements

Is their a way to make Parsedown recognize other formatting(such as bold) inside of custom inline elements?
Example:
I have a custom inline element, {m} {/m}, but when I but any other markdown inside Parsedown doesn't recognize it. Is there a way to make Parsedown recognize markdown inside of custom inline elements?

Yes, the element needs to have a 'handler' => 'line' - this will make the parsers call the line method on its text.

Thanks, it works perfectly now!


DOC: revised Ubuntu Development Environment Quickstart to not modify base environment

Reference issue
Partially addresses @rgommers recommendations left from #10461
What does this implement/fix?
Ubuntu Development Environment Quickstart Guide No longer recommends changes to base environment.
Additional information
libgfortran.so is still renamed. More testing is needed to avoid that.

I put this together quickly before my flight and I can see it still needs some work, but I won't be able to upload the revisions until I land.

Merged, thanks @mdhaber!


Menu screen should verify working internet connection

Probably best test is pulling http://api.pyrite3d.org/sets

Added basic feature. Could use polish as we settle on final UI.


HomePod: FileNotFoundError: Image not found

getting this error on an image, while the image url itself is correct
2022-05-25 15:09:12 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 220, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1086, in get
    data, content_type = await player.async_get_media_image()
  File "/config/custom_components/mass/media_player.py", line 271, in async_get_media_image
    img_data = await self.mass.metadata.get_thumbnail(self.media_image_url)
  File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/metadata/__init__.py", line 235, in get_thumbnail
    thumbnail = await create_thumbnail(self.mass, path, size)
  File "/usr/local/lib/python3.9/site-packages/music_assistant/helpers/images.py", line 37, in create_thumbnail
    raise FileNotFoundError(f"Image not found: {path}")
FileNotFoundError: Image not found: /api/media_player_proxy/media_player.homepod_keuken?token=d9eb6303redactedc65d2ade60&cache=https://is5-ssl.mzstatic.com/image/thumb/Podcasts126/v4/85/22/10/852210ed-3653-93d5-fd68-ddfaa3bb7268/mza_15656445976366504695.jpg/600x600bb.jpg

checking https://is5-ssl.mzstatic.com/image/thumb/Podcasts126/v4/85/22/10/852210ed-3653-93d5-fd68-ddfaa3bb7268/mza_15656445976366504695.jpg/600x600bb.jpg reveals the NOS podcast icon. (Which I dont have a clue where this comes from, because I wasnt listening to it at all....)
Still the media-control card shows it:

and when playing plays a music stream of the music files on my iPhone  instead.
Also causing huge loads of inspector trouble, with on the core HA media_player.homepod_keuken, as on the media_player.mass_homepod_keuken entity:

I do believe it also causes <IP_ADDRESS> bans I have been experiencing since I lastly installed Mass update .16
For now, Ive removed the HomePod from Mass, the device is too unstable to use in HA

It is strange and I've seen it more often. The HA image proxy tries to use the MA image proxy which can not make "chocola" of the request. The image request should not end up on this endpoint at all. Weird... I will try to investigate and reproduce.

thanks, meanwhile I posted in Frontend too, since it mentions the media-control-card: https://github.com/home-assistant/frontend/issues/12776

should be fixed in beta4


Health Gorilla diagnosis codes, specimen dateTime, and order notes

Fixes https://github.com/medplum/medplum/issues/3132 (specimen date/time)
Fixes https://github.com/medplum/medplum/issues/3131 (required fields)
Marks "ordering provider", "patient", and "performing lab" as required fields
Adds order-level notes (as opposed to test-level notes)
Sets ICD10 codes in RequestGroup.reasonCode

coverage: 93.89%. remained the same when pulling 9d1a7d34ed9b6a719bc71a5adaf66259fdc7de74 on cody-hg-more-data into 4a96e3c70680eeb873e3811fe02d0fd7d2177533 on main.


Request for new technique

Hi,
Could you please add RNA sequencing as a new technique? At the moment only single-cell RNA sequencing exists and the Data Provider does not think this is a suitable technique for his dataset. He would like to have "normal" RNA sequencing on the card.
Many thanks,
Maaike

That sound reasonable and I also found an InterLex entry for it (http://uri.interlex.org/ilx_0782092), so I'll prep a PR :)

Thanks!


[T2A4][W15-A3]Marcus Ng Wen Jian

Ready for review

yeah! smelly code :-P :+1:
we hope you can appreciate the need for good SLAP after this "inlining" exercise


I made an account just to ask this question.

HI! this seems like a really cool origin and I wanna try it out with a couple of friends, however when I tried to add this data pack to the server it didn't work. we've tried so many things to make it work, we even went to reddit to ask for help(you can read my post for a little more info if you sort by new on r/minecraft commands)If you see this I would appreciate any help you can give me because this looks like a really fun origin. thanks!

Hello, my notifications weren't working, and I just saw this. Do you still need help?


[bug] Crash / overlapping sims when multiple simulations are started together

If multiple runs are started at the same time, the code can confuse the simulations and assigns them the same runID, leading them to overwrite each other in the run folder. This can either lead to crashes or full simulations that then overwrite each others outputs.

Bug is fixed on the Dead-band-LuT controller branch!


Changed files don't change the color

Description
When I make changes to a file, its color is not changed to the orange in the tree view (although the changed line is marked with orange color in the editor).
New files are marked as green -> this works as expected.
See below:

I tried removing existing .atom folder but the issue remains.
Versions
$ atom --version
Atom    : 1.15.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

$ apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 2.7.12rc1
git 2.11.0

OS: Debian stretch
Kernel: 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64 GNU/Linux

same here

but for me, new line didn't have color green

I solve my problem in another Github issue: (can't find link now)
turn out just remove git-diff package
and problem solved (you don't need reinstall that package)(it work, at least in my case)


azblob fails to list containers or fetch container's content on AzureStack

Bug Report

import path of package in question: github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
SDK version:

$: cat go.mod
module serial

go 1.19

require (
	github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0
	github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.1
	github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.2.0
	github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
	github.com/Azure/go-autorest/autorest v0.11.28
)

require (
	github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect
	github.com/Azure/go-autorest v14.2.0+incompatible // indirect
	github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
	github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
	github.com/Azure/go-autorest/logger v0.2.1 // indirect
	github.com/Azure/go-autorest/tracing v0.6.0 // indirect
	github.com/AzureAD/microsoft-authentication-library-for-go v0.8.1 // indirect
	github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
	github.com/google/uuid v1.1.1 // indirect
	github.com/kylelemons/godebug v1.1.0 // indirect
	github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
	golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
	golang.org/x/net v0.7.0 // indirect
	golang.org/x/sys v0.5.0 // indirect
	golang.org/x/text v0.7.0 // indirect
)

output of go version:

$: go version
go version go1.19.6 linux/amd64

What happened? Trying to fetch containers list or the contents of a container with azblob fail on AzureStack environments (I tried WWT and ASH). The error is

faild to list containers: GET https://seriallogaccnt.blob.<endpoint suffix redacted>/
--------------------------------------------------------------------------------
RESPONSE 400: 400 Bad Request
ERROR CODE: InvalidHeaderValue
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><Error>InvalidHeaderValue<Message>The value for one of the HTTP headers is not in the correct format.
RequestId:2894f877-2587-0235-76b7-1adf179cf800
Time:2023-03-22T16:31:56.7529289Z</Message><HeaderName>x-ms-version</HeaderName><HeaderValue>2020-10-02</HeaderValue></Error>
--------------------------------------------------------------------------------

What did you expect or want to happen? The operation is successful as when using the az cli:

$: az storage container list --account-name seriallogaccnt --account-key "<REDACTED>"
[
  {
    "metadata": null,
    "name": "seriallogcontainer",
    "properties": {
      "etag": "\"0x8DB2AEC2FD1B806\"",
      "hasImmutabilityPolicy": "false",
      "hasLegalHold": "false",
      "lastModified": "2023-03-22T15:43:30+00:00",
      "lease": {
        "duration": null,
        "state": null,
        "status": null
      },
      "leaseDuration": null,
      "leaseState": "available",
      "leaseStatus": "unlocked",
      "publicAccess": null
    }
  }
]

How can we reproduce it? With the following code:

package main

import (
	"context"
	"fmt"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage"
	"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
	azureenv "github.com/Azure/go-autorest/autorest/azure"
)

const (
	armEndpoint        = "https://management.<endpoint suffix redacted>"
	subscriptionID     = "<redacted>"
	clientID           = "<redacted>"
	clientSecret       = "<redacted>"
	tenantID           = "<redacted>"
	resourceGroup      = "test-serial-log"
	storageAccountName = "seriallogaccnt"
	accountURL         = "https://seriallogaccnt.blob.<endpoint suffix redacted>/"
	containerName      = "seriallogcontainer"
)

func main() {
	cloudEnv, err := azureenv.EnvironmentFromURL(armEndpoint)
	if err != nil {
		fmt.Printf("failed to load environment from endpoint: %v\n", err)
		return
	}

	cloudConfig := cloud.Configuration{
		ActiveDirectoryAuthorityHost: cloudEnv.ActiveDirectoryEndpoint,
		Services: map[cloud.ServiceName]cloud.ServiceConfiguration{
			cloud.ResourceManager: {
				Audience: cloudEnv.TokenAudience,
				Endpoint: cloudEnv.ResourceManagerEndpoint,
			},
		},
	}

	options := azidentity.ClientSecretCredentialOptions{
		ClientOptions: azcore.ClientOptions{
			Cloud: cloudConfig,
		},
	}

	cred, err := azidentity.NewClientSecretCredential(tenantID, clientID, clientSecret, &options)
	if err != nil {
		fmt.Printf("failed to get client secret credential: %v\n", err)
		return
	}

	accntClientOptions := arm.ClientOptions{
		ClientOptions: policy.ClientOptions{
			APIVersion: "2019-06-01",
			Cloud:      cloudConfig,
		},
	}
	accntClient, err := armstorage.NewAccountsClient(subscriptionID, cred, &accntClientOptions)
	if err != nil {
		fmt.Printf("failed to get accounts client: %v\n", err)
		return
	}

	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
	defer cancel()

	keyCreds, err := getSharedKeyCredentials(ctx, accntClient)
	if err != nil {
		fmt.Printf("failed to get sharedKey credentials: %v\n", err)
		return
	}

	blobClient, err := azblob.NewClientWithSharedKeyCredential(accountURL, keyCreds[0], nil)
	if err != nil {
		fmt.Printf("failed to get blob client: %v\n", err)
		return
	}

	cPager := blobClient.NewListContainersPager(nil)
	for cPager.More() {
		page, err := cPager.NextPage(ctx)
		if err != nil {
			fmt.Printf("faild to list containers: %v\n", err)
			return
		}
		fmt.Printf("Found container %v\n", page)
	}
	pager := blobClient.NewListBlobsFlatPager(containerName, nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			fmt.Printf("failed getting blob page: %v\n", err)
			return
		}
		fmt.Printf("Found blob %v\n", page)
	}
}

func getSharedKeyCredentials(ctx context.Context, accntClient *armstorage.AccountsClient) ([]*azblob.SharedKeyCredential, error) {
	var creds []*azblob.SharedKeyCredential
	res, err := accntClient.ListKeys(ctx, resourceGroup, storageAccountName, nil)
	if err != nil {
		return nil, err
	}

	for _, key := range res.Keys {
		if key.Value == nil {
			continue
		}
		sharedKeyCredential, err := azblob.NewSharedKeyCredential(storageAccountName, *key.Value)
		if err != nil {
			fmt.Printf("failed to get shared key: %s\n", err.Error())
			continue
		}
		creds = append(creds, sharedKeyCredential)
	}
	return creds, nil
}

Anything we should know about your environment: When setting up cloud in the az cli I did

az cloud update --profile 2019-03-01-hybrid

As per the logs backend is returning back error for the service version:
<HeaderName>x-ms-version</HeaderName><HeaderValue>2020-10-02</HeaderValue>
Can you validate this service version is supported by your AzureStack or it running on an older sv.

As per the logs backend is returning back error for the service version: <HeaderName>x-ms-version</HeaderName><HeaderValue>2020-10-02</HeaderValue> Can you validate this service version is supported by your AzureStack or it running on an older sv.

I have filed a support ticket asking for that information. I'll let you know as soon as I have it.

@vibhansa-msft but let's say we find out it's running an old SV. Does azblob need to use 2020-10-02 given that I can use the az cli to fetch containers information in our env?

If AzureStack is running an older version and AzBlob uses later service version in HTTP headers then its expected that server will reject the request. I am not much aware on what version azcli uses, may be you can check with AzCli team on this.

AzBlob is storage SDK for blobs and depending upon what service version we based it on, this value cannot be changed. As current AzBlob code is STG78 compliant it's using exactly the version service expects running on STG78+.

AzBlob is storage SDK for blobs and depending upon what service version we based it on, this value cannot be changed. As current AzBlob code is STG78 compliant it's using exactly the version service expects running on STG78+.

That's good to know, thanks. It means we will need to document that certain functionalities might not be available for customers unless they are running AzureStack with a compatible service version >= 2020-10-02.

From this link https://learn.microsoft.com/en-us/azure-stack/user/azure-stack-acs-differences?view=azs-2206#api-version we can see the latest version is 2019-07-07.
I tried to use ClientOptions API version as below showed, but it failed either.
opt := &container.ClientOptions{
ClientOptions: azcore.ClientOptions{
APIVersion: "2019-07-07",
Cloud:      c,
Retry: policy.RetryOptions{
MaxRetries:    conf.PipelineConfig.MaxTries,
TryTimeout:    time.Duration(conf.PipelineConfig.TryTimeout),
RetryDelay:    time.Duration(conf.PipelineConfig.RetryDelay),
MaxRetryDelay: time.Duration(conf.PipelineConfig.MaxRetryDelay),
},
Telemetry: policy.TelemetryOptions{
ApplicationID: "Thanos",
},
Transport: &http.Client{Transport: dt},
},
}
the reason is that in the container.go, when creating newpipeline by using runtime.pipelineoptions{}. which cause checked fail later.
func NewClientWithSharedKeyCredential(containerURL string, cred *SharedKeyCredential, options *ClientOptions) (*Client, error) {
authPolicy := exported.NewSharedKeyCredPolicy(cred)
conOptions := shared.GetClientOptions(options)
conOptions.PerRetryPolicies = append(conOptions.PerRetryPolicies, authPolicy)
pl := runtime.NewPipeline(exported.ModuleName, exported.ModuleVersion, runtime.PipelineOptions{}, &conOptions.ClientOptions)
return (*Client)(base.NewContainerClient(containerURL, pl, cred)), nil

}

You can try creating a new per retry policy that sets the service-version header to the older one or one you need and that might do the trick. Just try it out and let us know if that helps. Other than that there is no other way to override the service version that client creates by default.

Hi @r4f4 , that does not look like valid service version. It should look something like this: 2020-10-02.
Please check out the ClientOptions that allows service version override (https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/azcore/policy/policy.go#L31) and try out the solution mentioned by @vibhansa-msft.

You can try creating a new per retry policy that sets the service-version header to the older one or one you need and that might do the trick. Just try it out and let us know if that helps. Other than that there is no other way to override the service version that client creates by default.

Closing this as there are no updates. Feel free to reopen if the suggested workaround does not work for you.


rename get_time_zone to default_time_zone

Bigger goal: simplify time_profile and tz - getting away from ext_options. ext_options is making VimPerformanceDaily and friends really hard to pull into scopes, and therefor a bain to converting Rbac to scopes.
In this case, there are 2 definitions of get_time_zone. This was renamed (as the other will be as well) to avoid confusion and better state what is happening.

renamed to be rubocop friendly and to distinguish from the other
method with the same name but takes different parameters.
use no parameters to use default rather than passing in everywhere
Only 1 spot uses non "UTC" - it uses Time.zone. In that case it uses
nil as default, only to have "UTC" swapped in further down the chain.

/cc @gtanzillo I'm more concerned with the naming of Metrics::Helper.get_time_zone, but wanted to clean this up so I didn't mess this stuff up while changing that.

This is not a priority and mucking things up. throwing out.


Add config file. Add command alias config options.

Fix #182
Overview
This PR adds support for a yaml configuration file. This file, if it does not exist, is created and populated with a default configuration. The default configuration is currently generated by iterating all available commands and outputting a commented line for aliasing the command.
This yaml configuration file is loaded into the new config struct, which can be extended in the future to provide additional configuration options through the configuration file. The file is located at the standard path, and is named config.yaml.
Aliasing
The aliases defined in the yaml file are simply appended to the list of aliases for the "primary" command alias. For example: breakpoints: ["breaks"] results in breakpoints, bp, breaks. There are no checks to detect conflicting aliases.
A different approach I considered was to completely replace the alias array with the alias array provided in the config file, starting with the "primary" command. For example, exit has the aliases quit,q. If defined as exit: "stop, s" in the config file, the resulting set would be exit,stop,s. If this is the preferred behavior, let me know and I'll make the change.

I'm on board with the append approach.

Thanks for all the line comments. I'll get them taken care of!

Sounds good. Sorry for the delay.

Fixes pushed.

Looks good. The only other thing is I think it makes sense to move the code from terminal/terminal.go to cmd/dlv/main.go. The reasoning is because eventually there will likely be config options that effect the debugger itself, not just the terminal client. That way, if all that is handled in main, the config can be passed to clients / servers or whoever needs it. Thoughts?

Agreed. Much better place for it. I'll get that done soon.

@derekparker Done. I had to abstract the functionality of the config stuff from terminal.go to its own package that can be used throughout the various components. The config is now created and loaded in main.go and passed down to the various components.
Please let me know if anything needs to be cleaned up or changed.

The CI build is failing with:
cmd/dlv/main.go:113: not enough arguments in call to execute
make: *** [test] Error 2

Odd. I will take a look.
On Fri, Aug 21, 2015 at 8:47 AM, Derek Parker<EMAIL_ADDRESS>wrote:

The CI build is failing with:
cmd/dlv/main.go:113: not enough arguments in call to execute
make: *** [test] Error 2

Reply to this email directly or view it on GitHub:
https://github.com/derekparker/delve/pull/210#issuecomment-133449633

CI is failing, but I don't know why. On my local copy of the code, line 109 doesn't even have execute on it. Also, my local copy builds fine. Everything is committed and pushed. See https://github.com/tylerb/delve/blob/master/cmd/dlv/main.go#L109
@derekparker any idea?

On my copy, once I pull your branch and rebase on master, line 109 shows a execute function call within the exec subcommand that does not have config passed in. Try rebasing on master and you should see the same issue.

It's now building.

Merged, thanks!


Unicode characters interpreted as ASCII when reading file

When I insert a Euro symbol (€), it is displayed correctly. After saving and then reopening the markdown document, the unicode symbol is displayed as three separate ASCII symbols in both the text editor and the preview.
€ (unicode 0xE282AC) is replaced by â‚¬ (ascii 0xE2, 0x2A and 0xAC)

Have you tried from the master branch? Various encoding issues were fixed there but have not been put into a release.

I have a same issue.

The encoding misdetection caused by jschardet had already reported on #22, #59 and #73. And they would be supported temporary by #53.

Seems to still be an issue. I had to "Reopen with encoding - UTF-8"  to get proper rendering


Define the IDE for Godot C++

Creating games with Godot is done mainly in GDScript. But sometimes you need to work in C++, for example creating new modules like the godot_voxel. What is the best IDE for working with Godot?
I have decided to use Visual Code, and it seems to be a good selection. Juan, the Godot leader, is using QtCreator but the godot_voxel creator, Zylann, is providing support for Visual Code: https://godotengine.org/qa/63553/how-to-debug-c-code-with-breakpoints-from-visual-studio
So my goal is to use Visual Code (code executable) and to follow the above link to debug the C++ code! Let's do it!

Ok, I have it working with Visual Code. I have created two json files. One defining a task to compile the source code and a launch definition for executing the compile task inside the gdb debugger.
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "g++ - Build and debug active file",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/bin/godot.x11.tools.64",
            "args": ["--path", "/home/acs/devel/godot/projects/vox2godot"],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
            "preLaunchTask": "build",
            "miDebuggerPath": "/usr/bin/gdb"
        }
    ]
}

and the task is:
{
    "tasks": [
        {
            "type": "shell",
            "label": "build",
            "command": "scons",
            "args": [
                "platform=x11",
                "target=debug",
                "-j8"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ],
    "version": "2.0.0"
}

The doc for doing it at:
https://docs.godotengine.org/en/stable/development/cpp/configuring_an_ide/visual_studio_code.html

Ok, so now I can take a look to all vars defined in the C++ code without the need of printing anything:

Ok, all done here! Code, compile and debug with VSCode!


Value serialization

Fixes #2081
Fixes #1198
Not working in browser yet, but CLI is functional, for the value types that I've implemented so far, including lambdas.
This response was generated in a worker thread (ProjectItem passes AST+externals to it), serialized by the worker, and deserialized back by the main thread:
$ pnpm --silent run cli run -e 'a=5; b={|x|x+a}; c = 1 to 2'
{a: 5, b: (x) => internal code, c: Sample Set Distribution}

TODO:

[ ] support all remaining value types and all dist subtypes (SampleSetDists are supported, but Symbolic and pointsets aren't)
[ ] better serialization for lambdas and expressions (expressions contain values, this forced me to write more code than necessary, and AST is still heavily duplicated)
[ ] check on TypeScript level that all serialized types are serializable (ideally, JSON-compatible)
[ ] avoid vLambda calls in serialization — they're bad for deduplication
[ ] error handling in web workers
[ ] measure performance — spinning up a new worker for each run might be too expensive
[ ] integrate with Next.js and browsers

This is now semi-functional in components storybook, with these caveats:

only in dev mode, prod build didn't bundle the worker properly
value serialization now works for almost all values (except Plots; todo)
exceptions are forwarded, but only as strings, so no stacktraces
web workers are created on each simulation, so there's a ~250ms overhead per simulation on my MBP M1 Pro
there's no debouncing and responses can arrive in the wrong order
there's a weird bug where typing something simple like x=1 causes an error at first

Still, it's good enough to try and confirm the expected benefits: editing a slow code with autoruns enabled doesn't freeze the editor 🎉

On performance: serialization of JSON from the worker back to the main thread is slower than I expected.
As an example, in CLI, List.upTo(1,3000) -> map({|i|2 to 3}) (3000 samplesets of 1000 samples) takes 0.7 seconds (on M1 Pro). Around 0.2s is for getStdlib(), but the remaning 0.5 seconds is still higher than 0.18s it takes on the old version.
I don't know yet if it'll be similar in the browser, Node's worker_threads are implemented differently from webworkers.
This is not a blocker, because this example is pathological (we'd have trouble rendering 3000 samplesets in React, anyway), and because unblocked main thread is more valuable, so user experience will be better, but if timings in the browser are similar, then it will cause more CPU overhead.

Progress since my last comment:

runners API (with EmbeddedRunner and NodeWorkerRunner)
errors and the remaning value types are serializable now
serialization supports multiple types, so we can serialize and deduplicate expressions too; not AST yet, but it's straightforward to add

Things to do:

bundle the worker in squiggle-lang (probably with esbuild)

this should fix existing tests; write more tests

optional: implement WebWorkerRunner, remove web-worker dependency
use the worker in Next.js
run a long-lived worker (currently I spin up a new one every time, so it has to getStdlib() every time, and that's expensive)
make runners configurable in SqProject; possibly add a toggle in the playground to choose a runner

I'll do web workers in a separate PR, since value serialization is already useful as-is for other purposes (e.g. server-side caching).
I've implemented EmbeddedWithSerializationRunner which does the same thing as EmbeddedRunner. EmbeddedRunner does the same thing as we did before — runs Squiggle in the main thread.
There's now a Select field in playground settings that allows to enable it, to test that it's fine:

embedded is still default, because it's more performant; there's no benefit in using embedded-with-serialization, except for verifying that serialization works correctly.

My current code for testing that embedded-with-serialization is working is:
List.upTo(1, 20) -> map({|i| List.upTo(1,10000)})

outer List is to collapse 20 nodes and avoid rendering too many React components
inner List is to give serializer enough work (you can also try it with other data types, e.g. lambdas, or produce errors)

With embedded runner, it stays around ~10ms; with embedded-with-serialization it's ~50ms.

Another way to play with runners is through CLI:
$ pnpm --silent cli run -e '2+2'
4
$ pnpm --silent cli run -r embedded-with-serialization -e '2+2'
4
$ pnpm --silent cli run -r node-worker -e '2+2'
4

I think this is ready for review.
There aren't that many tests, but non-default runners can be tested with SQUIGGLE_DEFAULT_RUNNER=... pnpm test, and they all pass.
(it'd be valuable to run all tests with different runners by default, but running everything 3 times when only SqProject part is affected is a bit too much, so I'm not sure how to do that)
I'll mark the most important parts of code in PR comments.

Huh, the builds fail, I'll investigate.


Define the Trustworthiness Metamodel

Data structure and score calculation for trustworthiness properties.

@renatostore , isn't it finished yet? If yes, you should move it to Done.


I use in Nuxt3 but it canot work

but in console
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'dark')
function use_dark_default(props4, $q) {
return computed6(() => props4.dark === null ? $q.dark.isActive : props4.dark);
}

@chalatusitemiao any update?

Closing due to missing information


[Don't Merge] How did you use sudo on line 67?

Im trying to use zerotier for my buildpack but it doesn't work because of sudo, but here it works perfectly

nvm its a glich, you still cant use sudo in heroku


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1059 ms

Resolved: Bofrost.at performance has improved in 3a26157.


chore: update dependencies

Apparently, we are using a really old version of ipfs-http-client on the Web UI. This updates all the dependencies of this package.
License: MIT
Signed-off-by: Henrique Dias<EMAIL_ADDRESS>

After npm ci && npm run test multiple times locally and every test passing, I can't find why's this failing on CI...
Updated to use the same nomenclature as the official usage and removed the 'new' keyword. It still passes locally, but not on CI...


[WIP]: Docs Contribution guide for Hybrid Cloud Patterns

This PR adds the Contribution guide for docs.

Closing this PR. Tracking the work in https://github.com/hybrid-cloud-patterns/docs/pull/182


Clip space not updated

Clipping does not work when walkin around (especially when walking closer to the screen).

a534a3be324ee68d0f54fbcdb73b1bd108a48a7c


fix: floatinginput type changes

Closes #435
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[x] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

I updated to 0.28, but issue remains

	<div class="w-full relative">
		<FloatingLabelInput
			id="floating_password"
			label="Password"
			color={inputColor}
			type={inputShow}
			autocomplete="current-password"
			class="mb-4"
		/>

		<!-- svelte-ignore a11y-click-events-have-key-events -->
		<div
			on:click={() => (show_password = !show_password)}
			class="absolute top-1/2 transform -translate-y-1/2 right-2 z-10"
		>
			<Icon
				icon="bi:eye-slash-fill"
				color="base"
				width="32"
				height="32"
				class={!show_password ? "hidden" : "h-5 w-5"}
			/>

			<Icon
				icon="bi:eye-fill"
				color="gray"
				width="32"
				height="32"
				class={show_password ? "hidden" : "h-5 w-5"}
			/>
		</div>
	</div>

Your example works form perfectly.

Great, so where is the bug?
The toggle only seams to work if I add Key but this will clear the input
{#key inputShow}
....
{/key}
For the time being I´ll try your TOGGLE Code as it looked cleaner...

Ok if I use your type of defining an input it works
let show_password = false;
type={show_password ? "text" : "password"}

<FloatingLabelInput
			id="floating_password"
			label="Password"
			**type={show_password ? "text" : "password"}**
		/>

But not if its using  a variable of type InputType
$: inputType = show_password ? "text" : "password";

<FloatingLabelInput
			id="floating_password"
			label="Password"
			**type={InputType}**
		/>

OK i found the issue Thnaks

What was the issue?
So i can add easily a pre/suffix  or icons before /after to the input field?


[Improvement] Ignore partial failure on initializing local storage in shuffle server side

What changes were proposed in this pull request?
Ignore partial failure on initializing local storage in shuffle server side

Why are the changes needed?
When setting multiple storage paths, only one disk is insufficient capacity, shuffle server will directly throw exception. We hope it can be ignored, because bad disks are more common in production environments

Does this PR introduce any user-facing change?
No

How was this patch tested?
UT

Codecov Report

Merging #102 (1b43530) into master (ccb39ed) will decrease coverage by 0.86%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master     #102      +/-   ##
============================================
- Coverage     56.33%   55.46%   -0.87%
+ Complexity     1176     1103      -73
============================================
  Files           149      140       -9
  Lines          7992     7624     -368
  Branches        766      736      -30
============================================
- Hits           4502     4229     -273
+ Misses         3246     3160      -86
+ Partials        244      235       -9

Impacted Files
Coverage Δ

...he/uniffle/server/storage/LocalStorageManager.java
50.00% <71.42%> (-0.64%)
:arrow_down:

...storage/handler/impl/DataSkippableReadHandler.java
81.25% <0.00%> (-3.13%)
:arrow_down:

.../apache/uniffle/coordinator/ClientConfManager.java
91.54% <0.00%> (-1.41%)
:arrow_down:

...e/spark/shuffle/reader/RssShuffleDataIterator.java

...ava/org/apache/spark/shuffle/RssShuffleHandle.java

...pache/spark/shuffle/writer/WriteBufferManager.java

...k/shuffle/writer/WrappedByteArrayOutputStream.java

.../java/org/apache/spark/shuffle/RssSparkConfig.java

...org/apache/spark/shuffle/writer/AddBlockEvent.java

...che/spark/shuffle/writer/BufferManagerOptions.java

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


use correct language code for Korean

Overview
As ISO 639, Korean language code is ko, not kr. kr is country code.

Thank you for this fix, @outsideris!


Siri shortcut translation files are not handled

I have an app which supports Siri Shortcuts, therefore I have a .intentdefinition file. This file is also translated, but it looks like, BartyCrouch ignores this file.

I haven't used Siri Shortcuts yet, so I'm not aware of this file. Can you please further explain how this is localized? Are there any Strings files? Can you list the different file paths? Are they below something like en.lproj?
It is totally possible that we didn't cover those files yet. While I'm not sure how BartyCrouch could improve translation there, I'm definitely open for a PR that adds support for Siri Shortcuts.

The files are located in the Base.lproj, en.proj locations. The .intent file is a xml file.

+1
It would be amazing if bartycrouch could handle the translations of custom intents.
Let me know if you need any further info.

@patrickferreira I understand that. But my question, how BartyCrouch could help here is still not answered. I'm assuming you expect something similar to what BartyCrouch does with Interface Builder files, right? That's only supported by BartyCrouch because Apple has a tool (namely extractLocStrings) which does that for us. If there's a similar tool for the .intent files, it might be easy to add support for intents as well. If not, things get a little more complicated.

For your information .intentdefinition files are xml property lists, so may be the same workflow that is used for classic .plist files can be applied with them?

I'm experiencing the same issue. And it still hasn't been fixed in version 4.x. Would be great if someone could take a look at this.

@NMAC427 Thank you for bringing this up again. As I have noted above, BartyCrouch is currently based on tools from apple (namely extractLocStrings) which don't support XML/PLIST files (AFAIK), so it's not trivial to add support for Siri shortcut translation files. But I'm actually thinking about switching to a completely custom implementation for the next major version of BartyCrouch where I could also take other file types like the .intentdefinition file into consideration. I can't promise any time when I will be working on it though as I'm developing BartyCrouch in my free time. If someone was to add support for these files, I'd love to review & merge a PR for it though.

But I'm actually thinking about switching to a completely custom implementation
A few years ago I developed such a system myself for my own projects. It definitely is possible but the main problem with it is that Apple constantly creates breaking changes (i.e. new platform or new ui element). As long as Apple provides tools to generate .string files from storyboards, I would use their tools. That way you automatically get support for new ui elements and platforms. (This is also akin to the Unix philosophy where you build programs on top of other programs instead of reimplementing everything yourself.)

Instead I would only create a custom implementation for handling files (like .intentdefinition) where Apple doesn't provide any tools for creating the derived .string files.

Hello, is this still ongoing?

Hello, is this still ongoing?


How to add tags

Hi how do I add tags to the cards?

I have yet to update the docs but it's done as follows:
* Question
# tags=1,2,3
** Answer

Is there any way to tag a whole section of cards?

Sorry forgot to reply. You could add tags to a whole deck but as of now not to a section within the Google doc


Add support for Ctrl + Enter

Hello,
I know that the official Read the Docs template didn't offer this feature, but I use it a lot. Sometimes I'm reading a page and I would like to search a term at my Wiki. But doing so I'm forced to exit the page to load the search results. It would be great if I press Ctrl+Enter or Command+Enter it opens the search page in a new tab, or if there was a search icon to right click and select "Open in a new tab".
Maybe if Font Awesome is enabled into the template it could add a search icon inside at the right of the search bar (and left on RTL languages).

I'm not planning to add the feature to this template, but that's possible by javascript code. Put the following code to conf/userscript.js and it will do (ctrl+enter). I've only tested on chrome on mac.
(function () {
	let searchBox = document.querySelector("#dw__search");
	if (searchBox) {
		let openTab = false;
		searchBox.addEventListener("keypress", function(e){
			if (e.code.toLowerCase() === "enter" && e.ctrlKey === true) {
				openTab = true;
			}
		});
		searchBox.addEventListener("submit", function(e){
			if (openTab) {
				event.stopPropagation();
				event.preventDefault();
				openTab = false;
				window.open(window.location.href + "&do=search&q=" + document.querySelector("#qsearch__in").value);
			}
		});
	}
})();

Hello,
I can confirm that it works as expected, but it should be added inside a jQuery(document).ready(function() { }); block, otherwise it didn't work. Thank you!

I had to edit it a little bit to make it work on Windows. Your code was setting the variable "opentab" to "True" on Windows but I had to press Enter again so it opened a new tab. To have the desired effect on a Windows machine, I had to change "keypress" to "keydown" and trigger the "submit" event manually:
  (function () {
	let searchBox = document.querySelector("#dw__search");
	if (searchBox) {
		let openTab = false;
		searchBox.addEventListener("keydown", function(e){
			if (e.code.toLowerCase() === "enter" && e.ctrlKey === true) {
				openTab = true;
				searchBox.dispatchEvent(new Event('submit'));
			}
		});
		searchBox.addEventListener("submit", function(e){
			if (openTab) {
				event.stopPropagation();
				event.preventDefault();
				openTab = false;
				window.open(window.location.href + "&do=search&q=" + document.querySelector("#qsearch__in").value);
			}
		});
	}
  })();


fix-mobile: change amount input type to number

Summary
This PR introduces a numerical input component for mobile with a number type. This prevents undesirable inputs for the send amount.
Changelog
- Please write a list of changes

Testing
To test do the following steps:
git checkout chore/add-new-wallet-mobile-plugin
git cherry-pick 40a8c04649ee27e7a1a43de3d7b50fb69245a4a1
!!! Do not push any changes to chore/add-new-wallet-mobile-plugin branch !!!
Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[ ] Linux
[ ] Windows

Mobile

[x] iOS
[x] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick all of the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Wouldnt it just work out of the box if we pass the type in packages/mobile/views/dashboard/drawers/send/views/AmountView.svelte and keep using the components in desktop?
<AmountInput
    bind:inputElement={amountInputElement}
    bind:amount
    hasFocus={false}
    maxDecimals={allowedDecimals}
    isInteger={allowedDecimals === 0}
    clearBackground
    clearPadding
    clearBorder
    type="number"  <----- this
/>

This way we could avoid duplicating any more components, just pass the type prop


Cannot remove columns anymore

The remove column icon in the toolbar is gone.

Please test again and close the ticket, if fixed.
From my point of view it should be fixed with the CSS changes I made. (It's already merged with the master.)


v0.0.7 zip and tar.gz files reference rmrfslashbin/go-mastodon

In both go.mod and example_test.go  the module github.com/rmrfslashbin/go-mastodon is used instead of github.com/mattn/go-mastodon. This applies to both the zip file and the tar.gz file in the v0.0.7 release.
This reference is not used in the source code itself and it looks like it was already fixed last week but no new tag was added.

Will update soon

Released v0.0.8

Great, thanks a lot!


Fixes to displaying static images

This solves two problems:

Static image resources passed to defaultSource were being marked as invalid because they are not Objects. This was solved by using the propType validator from the Image component.
Static image resources passed to source or defaultSource were not being displayed because this.state.cacheable was set to true, and render() was checking to see if this was false.

@nbolender thanks.. not sure why I missed the 'source' type. :+1:


Working with NextJS

Hey,
I'm looking how to I can use this wonderfull package with NextJS and especially with SSR.
I'm using userIdentifier like you said, but if I force the local value to A test, it renders B test and update the local value to B value instead of keeping A value.
Any idea how I can manage this ?
Thanks

Hi @YoannDelpierre, did you find a solution to this problem?

Hi @moretti , yes it's ok. I misunderstood how it works form react-ab-test point of view.
It's totally cool right now.
Thanks

@YoannDelpierre Could you share how you overcame this issue?

@YoannDelpierre Yeah, can you please share how you solved this issue? I am having the same issue using userIdentifier. Thanks!

@joselevelsup @lpanjwani Nothing special, I just put the userIdentifier as props in Experiment component
<Experiment name={EXPERIMENT_RANGE_NAME} userIdentifier={userId}>
<Variant name={EXPERIMENT_RANGE_VARIATIONS.WITH}>xxx</VARIANT>
<Variant name={EXPERIMENT_RANGE_VARIATIONS.WITHOUT}>yyy</VARIANT>
</Experiment>

And I used
useEffect(() => {
    emitter.defineVariants(EXPERIMENT_RANGE_NAME, [
      EXPERIMENT_RANGE_VARIATIONS.WITH,
      EXPERIMENT_RANGE_VARIATIONS.WITHOUT
    ]);
    emitter.calculateActiveVariant(EXPERIMENT_RANGE_NAME);
}, [])


davinci support datasource

What data sources does davinci support?

https://edp963.github.io/davinci/docs/zh/1.1-deployment#3-数据源配置


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_e7810f0e-744e-4397-94b4-746d8609d3ab/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_e7810f0e-744e-4397-94b4-746d8609d3ab.git

Docs Build status updates of commit f734e33:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd1, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


12c examples

Hi, there are some errors in the 12C examples, for the I2C scanner the OF version is actually without OF and throws, no rule to make target run
The straight 12c examples bails on the make.
I am trying to use an LIS3DH adafruit accelerometer, but I want to check the connection first...

Hey, I get this:
Linux raspberrypi 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
I am also trying to get SPI for an MCP3008, I don't manage to get any input (I have used the chip before). In the meantime can you recommend a version of OF and the stretch/or previous OS for linux that will function?

Hi @fred-dev ,
I just fixed the examples for the i2c bus scanner, now you should see the addresses on the bus!
the example for the openframeworks scanner wired the path to the device: /dev/i2c-1 in the code
you can modify it as you wish.
regarding SPI there should not be any problem, both the example i2c and SPI must be executed with a user who can access you device, you can check if your user belongs to the i2c group and spi with command: id or run the example with sudo.
you can also refer to this issues:
https://github.com/kashimAstro/ofxGPIO/issues/18
for some additions made to the SPI class.
make sure the MCP example points to the right path for the SPI device you are using.
try to look at this example that takes the path of the spi device as a parameter in the setup method
https://github.com/kashimAstro/ofxGPIO/blob/master/example-mcp-simple-syntax/src/main.cpp
please let me know
Greetings

Hi, thanks, I have no idea what I was doing wrong but I started from scratch and the MPC worked fine, I had used it a few months ago so I had already found thee quirks, just wanted to do a poc before I send a PCB for fabrication.
The i2c is a different issue. I can confirm everything is working, but just not with your code. I have added a picture that I can scan the 12c bus with a command, but your addon does not work, I have been using elevated permissions. Knowing that it can work I will go ahead with my PCB, needless to say it would be great to be able to use your code and have everything in a single app, rather than run the 12c from another script.
Cheers
Fred
PS, thanks a million for this work, ofxGpio is really extensive and well put together, you are making a lot of crazy projects happen!!
Sent from Mail for Windows 10
From: Dario Longobardi
Sent: Wednesday, 18 April 2018 7:44 PM
To: kashimAstro/ofxGPIO
Cc: Frederick Rodrigues; Mention
Subject: Re: [kashimAstro/ofxGPIO] 12c examples (#19)
Hi @fred-dev ,
I just fixed the examples for the i2c bus scanner, now you should see the addresses on the bus!
the example for the openframeworks scanner wired the path to the device: /dev/i2c-1 in the code
you can modify it as you wish.
regarding SPI there should not be any problem, both the example i2c and SPI must be executed with a user who can access you device, you can check if your user belongs to the i2c group and spi with command: id or run the example with sudo.
you can also refer to this issues:
#18
for some additions made to the SPI class.
make sure the MCP example points to the right path for the SPI device you are using.
try to look at this example that takes the path of the spi device as a parameter in the setup method
https://github.com/kashimAstro/ofxGPIO/blob/master/example-mcp-simple-syntax/src/main.cpp
please let me know
Greetings
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, thanks for feedback!
unfortunately, I can only reach a remote raspberry that is in my office in Italy, while I am now in switzerland. I'd like to solve this, can you help me debug?
if you can! add a: cout << result << endl; to the scanner example, immediately after this line:
https://github.com/kashimAstro/ofxGPIO/blob/master/example-i2c-scanner/src/main.cpp#L28
and pass me the output.
Grazie!

It gives me:
65415
Cheers - and I am ok for a few days, thanks so much for the effort.
On 19 April 2018 at 10:10, Dario Longobardi<EMAIL_ADDRESS>wrote:

Hi, thanks for feedback!
unfortunately, I can only reach a remote raspberry that is in my office in
Italy, while I am now in switzerland. I'd like to solve this, can you help
me debug?
if you can! add a: cout << result << endl; to the scanner example,
immediately after this line:
https://github.com/kashimAstro/ofxGPIO/blob/master/example-i2c-scanner/
src/main.cpp#L28
and pass me the output.
Grazie!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kashimAstro/ofxGPIO/issues/19#issuecomment-382682627,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABg9lRsHMJ5kKmF8kTWX1m4GPgigyZrRks5tqGKigaJpZM4TYVAC
.

--
Frederick Rodrigues
+31685253512
http://www.fredrodrigues.net/

the whole list contains only the value: 65415?
Is the chip conn this is strange smbus should return 0 or 255 if it finds an address..
ected when you run example?

Ok, I had a chance to try this again, I was wrong it is not only 6514.
The 24th value is read as 31. My 12c device is addressed at 18, as shown in the previous picture.
Could it be that this value is now coming in as octal and with an offset?
My sensor should be 18, but if there is now a start address offset (it starts at 1 not zero) and the values are octal.
031 octal is 19 hex and 25 decimal?

On 19 Apr 2018, at 3:07 pm, Dario Longobardi<EMAIL_ADDRESS>wrote:
the whole list contains only the value: 65415?
Is the chip conn this is strange smbus should return 0 or 255 if it finds an address..
ected when you run example?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/kashimAstro/ofxGPIO/issues/19#issuecomment-382727655, or mute the thread https://github.com/notifications/unsubscribe-auth/ABg9lSylJ5bMJA9r5Ts1MsJHxvgx6K6Cks5tqIwOgaJpZM4TYVAC.

Hi @fred-dev  thanks for this,
in the next few days I solve this problem!


Unable to use DeriveActiveEnum due to cannot find trait TryGetableArray and ActiveEnumValue

Description
DeriveActiveEnum doesn't work in 0.12.4.
Steps to Reproduce

I've declared an enum by deriving DeriveActiveEnum as below

#[derive(Clone, Copy, Debug, PartialEq, EnumIter, DeriveActiveEnum, Serialize, Deserialize)]
#[sea_orm(rs_type = "u32", db_type = "Unsigned")]
pub enum MyEnum {
    #[sea_orm(num_value = 0)]
    First,
    #[sea_orm(num_value = 1)]
    Second,
}

The rustc reports several errors

error[E0405]: cannot find trait `TryGetableArray` in crate `sea_orm`
...
6   | #[derive(Clone, Copy, Debug, PartialEq, EnumIter, DeriveActiveEnum, Serialize, Deserialize)]
    |                                                   ^^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `TryGetableMany`
    |
   ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-0.12.2/src/executor/query.rs:812:1
    |
812 | pub trait TryGetableMany: Sized {
    | ------------------------------- similarly named trait `TryGetableMany` defined here
    |
    = note: this error originates in the derive macro `DeriveActiveEnum` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0405]: cannot find trait `ActiveEnumValue` in crate `sea_orm`
...
6   | #[derive(Clone, Copy, Debug, PartialEq, EnumIter, DeriveActiveEnum, Serialize, Deserialize)]
    |                                                   ^^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `ActiveEnum`
    |
   ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-0.12.2/src/entity/active_enum.rs:112:1
    |
112 | pub trait ActiveEnum: Sized + Iterable {
    | -------------------------------------- similarly named trait `ActiveEnum` defined here
    |
    = note: this error originates in the derive macro `DeriveActiveEnum` (in Nightly builds, run with -Z macro-backtrace for more info)

Expected Behavior
My code compiled successfully.
Actual Behavior
Compile failed.
Reproduces How Often
Always in 0.12.4
Workarounds
Rollback to old version
Reproducible Example
n/a
Versions
0.12.3
Comment
The TryGetableArray and ActiveEnumValue are introduced in 3 weeks ago, and they are not visible under root mod of sea_orm.
Please export them as public trait.

Thank you for your report, let me make a patch.

I just bumped sea-orm-macros https://crates.io/crates/sea-orm-macros/versions
Can you check if it works for you?

I just bumped sea-orm-macros https://crates.io/crates/sea-orm-macros/versions Can you check if it works for you?

It works!

Thank you!


Fixed issue #108: main branch name

Description
Updated main branch name in documentation.
Fixes #108
Type of change

Documentation update

Testing steps
N/A

Codecov Report

Merging #130 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #130   +/-   ##
=======================================
  Coverage   74.47%   74.47%
=======================================
  Files           9        9
  Lines         384      384
=======================================
  Hits          286      286
  Misses         79       79
  Partials       19       19

Continue to review full report at Codecov.

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


AssetBundle: Read 48 but expected 331612 for asset type AudioClip

The real version of Unity according to the level files is 3.5.7f6.
There's a few more AssetBundles of the same type (sound files) nearby. The attached file is only the first of 34.
EDIT: I'm using the latest version of uTinyRipper x64 as of today.
Error Message:
Import: SerializedFileException: v:3.5.2f2 n:customassetbundle-55063a15b7a4c674ba224be518188bda p:C:\Users[USER]\Desktop[GAME ROOT FOLDER][GAME DATA FOLDER][FOLDER][FOLDER][FOLDER]\Dicas_Transito_01.unity3d
Message: Read 48 but expected 331612 for asset type AudioClip
StackTrace:    at uTinyRipper.SerializedFiles.SerializedFile.ReadAsset(EndianReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)
at uTinyRipper.SerializedFiles.SerializedFile.ReadAsset(EndianReader reader, AssetEntry info, Int64 startPosition)
at uTinyRipper.SerializedFiles.SerializedFile.ReadAssets(EndianReader reader, Int64 startPosition)
at uTinyRipper.SerializedFiles.SerializedFile.Read(Stream stream, Action1 dependencyCallback)    at uTinyRipper.SerializedFiles.SerializedFile.Read(Stream stream, Parameters pars)    at uTinyRipper.FileCollection.ReadSerializedFile(Stream stream, String filePath, String fileName, Action1 dependencyCallback)
at uTinyRipper.DependencyCollection.ReadFiles()
at uTinyRipper.FileCollection.LoadBundleFile(String bundlePath)
at uTinyRipper.GameStructure.Load(List1 pathes)    at uTinyRipper.GameStructure.Load(IEnumerable1 pathes)
at uTinyRipperGUI.MainWindow.LoadFiles(Object data)
AssetBundle as .zip:
Dicas_Transito_01.zip

Without the AssetBundles, the export worked fine, except for some errors which I couldn't catch. Saving the output log and especially an error log to a file would be useful.

Also, are we getting "proper script exporting support" (I don't know how to name it better)? Whenever we export scripts with uTinyRipper right now, they come off as missing scripts on objects which they were attached to.

I fixed audio clip export. However after this fix it isn't possible to export assets without additional resS file anymore (in case it is supposed to be there).
Regarding log, I will add such features later when I will work on GUI.

Final (almost) version of .NET (Mono) scripting backend is already implemented. UR exports stubs for classes so Unity can read MonoBehaviours. If you have some issues report about it.
Il2cpp isn't implemented yet and I don't think that it will be soon.

Gonna clear up the scripts part, in case you misunderstood it.
Whenever you export a scene with uTinyRipper, open it, then look for a GameObject that has a MonoBehaviour attached, on some, many or most cases (I don't know it's frequency), the component will report the script as missing.
And on many cases, there's compilation errors of some sort on the exported game, though you might not have control over this. It does definitely have to do with decompiling though, else how the hell was the game built in the first place?


Support for controller ID's trough env variables by @NNTin

Title says it all :P
oh and those other commits, it's b/c i forked from you, and update myself with backstroke bot. As you can see the files that are changed are only limited to the changes from NNTin.

If you can could you clean up those commits and only include the necessary ones with the right comments? Also
 config.bot.controllerIds = process.env.DRSS_BOT_CONTROLLER_IDS.replace(" ", "").split(",") || config.bot.controllerIds  ->
 config.bot.controllerIds = process.env.DRSS_BOT_CONTROLLER ? process.env.DRSS_BOT_CONTROLLER_IDS.replace(" ", "").split(",") : config.bot.controllerIds
That env is not always defined and would throw an error trying to using replace on undefined

@NNTin I’ll close this issue and you can make a new pull, part of synzen review requests code changes.
I’ll pm on discord about this.


Allow output and assert in the same command

Allow something like
thresh foo.txt cat u1=col2 u2=col1 output gen.csv assert "np.linalg.norm(u1-u2) < 1.0e-6"
thresh foo.txt cat u1=col2 u2=col1 assert "np.linalg.norm(u1-u2) < 1.0e-6" output gen.csv

Can we also have output to standard out?

@eric-c-cyr Good point. Printing to stdout would be print and not output. Would you want to have all these options at once (output, print, assert)?
thresh foo.txt cat u1=col2 u2=col1 print .csv output gen.csv assert "np.linalg.norm(u1-u2) < 1.0e-6"

However, print and assert both want to print to the screen. I've been trying to make it so that only one "task" is printing at a time. This could be overcome by making sure that assert is always printing to stderr and print is always to stdout.
@eric-c-cyr What do you think?

For my current use case, print would be sufficient. Though since I"m being greedy...yes all at once