LEAP installation error

Hello LEAP developers,
I'm trying to install LEAP to be able to run Fast-LMM using binary traits for interaction analysis. However, I'm having a hard time installing LEAP. Any help is appreciated!
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: leap_gwas in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages/leap_gwas-<IP_ADDRESS>-py2.7.egg (<IP_ADDRESS>)
Requirement already satisfied: numpy in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (1.16.6)
Requirement already satisfied: scipy in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (1.2.3)
Collecting fastlmm
  Using cached https://files.pythonhosted.org/packages/4e/62/6bd368f9f7b7b3d2cc3d184c7f2f97d509a8402bb80dd51f135d1dc98857/fastlmm-0.4.8.tar.gz
  Installing build dependencies ... done
  WARNING: Missing build requirements in pyproject.toml for fastlmm from https://files.pythonhosted.org/packages/4e/62/6bd368f9f7b7b3d2cc3d184c7f2f97d509a8402bb80dd51f135d1dc98857/fastlmm-0.4.8.tar.gz#sha256=a3fb5c0468fb2978543d606d651292684943dd0fe66c975634ea17ea861823f1 (from leap_gwas).
  WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Requirement already satisfied: scikit-learn in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (0.20.4)
Requirement already satisfied: pandas in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (0.24.2)
Collecting statsmodels>=0.10.1
  Using cached https://files.pythonhosted.org/packages/53/1c/b83f6a4632b502a20b0f83bc5c25ebfa03eebd00efe9b45fcdcde1a0ab40/statsmodels-0.11.0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting psutil>=5.6.7
  Using cached https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-5.7.2.tar.gz
Collecting matplotlib>=1.5.1
  Using cached https://files.pythonhosted.org/packages/9d/40/5ba7d4a3f80d39d409f21899972596bf62c8606f1406a825029649eaa439/matplotlib-2.2.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pysnptools>=0.4.10
  Using cached https://files.pythonhosted.org/packages/29/6e/430a65ae359c52571878f045b481693f30c151302e410480fece8f62db25/pysnptools-0.4.20.tar.gz
  Installing build dependencies ... done
  WARNING: Missing build requirements in pyproject.toml for pysnptools>=0.4.10 from https://files.pythonhosted.org/packages/29/6e/430a65ae359c52571878f045b481693f30c151302e410480fece8f62db25/pysnptools-0.4.20.tar.gz#sha256=f1d007e02d3581e558f35a2bd53ed92cd9678d5326afb463f12047b9b26516c2 (from fastlmm->leap_gwas).
  WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Collecting dill>=0.2.9
  Using cached https://files.pythonhosted.org/packages/e2/96/518a8ea959a734b70d2e95fef98bcbfdc7adad1c1e5f5dd9148c835205a5/dill-0.3.2.zip
Requirement already satisfied: pytz>=2011k in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from pandas->leap_gwas) (2020.1)
Requirement already satisfied: python-dateutil>=2.5.0 in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from pandas->leap_gwas) (2.8.1)
Collecting patsy>=0.5
  Using cached https://files.pythonhosted.org/packages/ea/0c/5f61f1a3d4385d6bf83b83ea495068857ff8dfb89e74824c6e9eb63286d8/patsy-0.5.1-py2.py3-none-any.whl
Collecting subprocess32
  Using cached https://files.pythonhosted.org/packages/93/dc/3a0ae313f1cf0f59b582e8e14891196e51fca5db193558b7661bd32b8801/subprocess32-3.5.4-cp27-cp27mu-manylinux2014_x86_64.whl
Collecting cycler>=0.10
  Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.10 in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from matplotlib>=1.5.1->fastlmm->leap_gwas) (1.15.0)
Collecting backports.functools-lru-cache
  Using cached https://files.pythonhosted.org/packages/da/d1/080d2bb13773803648281a49e3918f65b31b7beebf009887a529357fd44a/backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
  Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
Collecting kiwisolver>=1.0.1
  Using cached https://files.pythonhosted.org/packages/3d/78/cb9248b2289ec31e301137cedbe4ca503a74ca87f88cdbfd2f8be52323bf/kiwisolver-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting h5py>=2.10.0
  Using cached https://files.pythonhosted.org/packages/12/90/3216b8f6d69905a320352a9ca6802a8e39fdb1cd93133c3d4163db8d5f19/h5py-2.10.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting bgen-reader>=4.0.4
  Using cached https://files.pythonhosted.org/packages/ef/f4/2775ad723b7011603ea1a3ca7021a554465e3175eaa1499590b11960fce7/bgen-reader-4.0.6.tar.gz
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/bin/python /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x8e5wp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=49.3.0' 'wheel>=0.34.2'
       cwd: None
  Complete output (3 lines):
  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

This is the error message. I have tried to update steuptools to newer version but it does not seem to work. Is it possible to install LEAP using python 3. Thank you

Hi,
The problem seems to be associated with the fastlmm package, which is no
longer maintained. I suggest you try to use a newer tool such as SAIGE for
analyzing binary traits.
Best,
Omer
On Wed, Sep 23, 2020 at 9:18 PM diana.cornejo<EMAIL_ADDRESS>wrote:

Hello LEAP developers,
I'm trying to install LEAP to be able to run Fast-LMM using binary traits
for interaction analysis. However, I'm having a hard time installing LEAP.
Any help is appreciated!
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: leap_gwas in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages/leap_gwas-<IP_ADDRESS>-py2.7.egg (<IP_ADDRESS>)
Requirement already satisfied: numpy in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (1.16.6)
Requirement already satisfied: scipy in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (1.2.3)
Collecting fastlmm
Using cached https://files.pythonhosted.org/packages/4e/62/6bd368f9f7b7b3d2cc3d184c7f2f97d509a8402bb80dd51f135d1dc98857/fastlmm-0.4.8.tar.gz
Installing build dependencies ... done
WARNING: Missing build requirements in pyproject.toml for fastlmm from https://files.pythonhosted.org/packages/4e/62/6bd368f9f7b7b3d2cc3d184c7f2f97d509a8402bb80dd51f135d1dc98857/fastlmm-0.4.8.tar.gz#sha256=a3fb5c0468fb2978543d606d651292684943dd0fe66c975634ea17ea861823f1 (from leap_gwas).
WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Requirement already satisfied: scikit-learn in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (0.20.4)
Requirement already satisfied: pandas in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from leap_gwas) (0.24.2)
Collecting statsmodels>=0.10.1
Using cached https://files.pythonhosted.org/packages/53/1c/b83f6a4632b502a20b0f83bc5c25ebfa03eebd00efe9b45fcdcde1a0ab40/statsmodels-0.11.0.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting psutil>=5.6.7
Using cached https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-5.7.2.tar.gz
Collecting matplotlib>=1.5.1
Using cached https://files.pythonhosted.org/packages/9d/40/5ba7d4a3f80d39d409f21899972596bf62c8606f1406a825029649eaa439/matplotlib-2.2.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pysnptools>=0.4.10
Using cached https://files.pythonhosted.org/packages/29/6e/430a65ae359c52571878f045b481693f30c151302e410480fece8f62db25/pysnptools-0.4.20.tar.gz
Installing build dependencies ... done
WARNING: Missing build requirements in pyproject.toml for pysnptools>=0.4.10 from https://files.pythonhosted.org/packages/29/6e/430a65ae359c52571878f045b481693f30c151302e410480fece8f62db25/pysnptools-0.4.20.tar.gz#sha256=f1d007e02d3581e558f35a2bd53ed92cd9678d5326afb463f12047b9b26516c2 (from fastlmm->leap_gwas).
WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Collecting dill>=0.2.9
Using cached https://files.pythonhosted.org/packages/e2/96/518a8ea959a734b70d2e95fef98bcbfdc7adad1c1e5f5dd9148c835205a5/dill-0.3.2.zip
Requirement already satisfied: pytz>=2011k in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from pandas->leap_gwas) (2020.1)
Requirement already satisfied: python-dateutil>=2.5.0 in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from pandas->leap_gwas) (2.8.1)
Collecting patsy>=0.5
Using cached https://files.pythonhosted.org/packages/ea/0c/5f61f1a3d4385d6bf83b83ea495068857ff8dfb89e74824c6e9eb63286d8/patsy-0.5.1-py2.py3-none-any.whl
Collecting subprocess32
Using cached https://files.pythonhosted.org/packages/93/dc/3a0ae313f1cf0f59b582e8e14891196e51fca5db193558b7661bd32b8801/subprocess32-3.5.4-cp27-cp27mu-manylinux2014_x86_64.whl
Collecting cycler>=0.10
Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.10 in /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages (from matplotlib>=1.5.1->fastlmm->leap_gwas) (1.15.0)
Collecting backports.functools-lru-cache
Using cached https://files.pythonhosted.org/packages/da/d1/080d2bb13773803648281a49e3918f65b31b7beebf009887a529357fd44a/backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
Collecting kiwisolver>=1.0.1
Using cached https://files.pythonhosted.org/packages/3d/78/cb9248b2289ec31e301137cedbe4ca503a74ca87f88cdbfd2f8be52323bf/kiwisolver-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting h5py>=2.10.0
Using cached https://files.pythonhosted.org/packages/12/90/3216b8f6d69905a320352a9ca6802a8e39fdb1cd93133c3d4163db8d5f19/h5py-2.10.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting bgen-reader>=4.0.4
Using cached https://files.pythonhosted.org/packages/ef/f4/2775ad723b7011603ea1a3ca7021a554465e3175eaa1499590b11960fce7/bgen-reader-4.0.6.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/bin/python /gpfs/ysm/project/dewan/dc2325/conda_envs/py2/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x8e5wp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=49.3.0' 'wheel>=0.34.2'
cwd: None
Complete output (3 lines):
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
This is the error message. I have tried to update steuptools to newer
version but it does not seem to work. Is it possible to install LEAP using
python 3. Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/omerwe/LEAP/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNCB43S2KI6R2VQCQ4GYLTSHI3X5ANCNFSM4RXLMUTQ
.

Hi, @omerwe
The version of fast-lmm I am using is this one released in january 2020.
Can you please let me know which version of fastlmm did LEAP use to work with? I would like to reproduce the installation you propose in the readme, here is a list of fast-lmm versions
I appreciate your help
Thank you
Diana

Hi Diana,
Thanks for letting me know that FaST-LMM is now under active development
again. This is  a new development from last year.
I haven't maintained LEAP in a long time (several years), but I can try
updating it to Python3 and see what happens. Unfortunately I don't have a
lot of bandwidth, but I'll try getting around to it sometimes in the next
week, fingers crossed.  Out of curiosity, do you specifically prefer
FaST-LMM+LEAP over one of the newer methods that are out there (e.g. SAIGE)
for some reason?
Thanks,
Omer
On Thu, Sep 24, 2020 at 5:36 PM diana.cornejo<EMAIL_ADDRESS>wrote:

Hi, @omerwe https://github.com/omerwe
The version of fast-lmm I am using is this one
https://pypi.org/project/fastlmm/0.4.1/ released in january 2020.
Can you please let me know which version of fastlmm did LEAP use to work
with? I would like to reproduce the installation you propose in the readme,
here is a list of fast-lmm versions
https://pypi.org/project/fastlmm/0.4.11/#history
I appreciate your help
Thank you
Diana
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/omerwe/LEAP/issues/6#issuecomment-698386151, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNCB47HVASXZYCRCJHFH6LSHNKQHANCNFSM4RXLMUTQ
.

BTW I upgraded the code to Python 3 (and upgraded the readme) but I
couldn't install the newest fastlmm package (because there's a problem with
the bed-reader installation) so I couldn't test the code. Unfortunately I
don't have the bandwidth to look into this any further. Hopefully after
bed-reader is fixed I can check if the update works.
On Fri, Sep 25, 2020 at 3:54 PM Omer Weissbrod<EMAIL_ADDRESS>wrote:

Hi Diana,
Thanks for letting me know that FaST-LMM is now under active development
again. This is  a new development from last year.
I haven't maintained LEAP in a long time (several years), but I can try
updating it to Python3 and see what happens. Unfortunately I don't have a
lot of bandwidth, but I'll try getting around to it sometimes in the next
week, fingers crossed.  Out of curiosity, do you specifically prefer
FaST-LMM+LEAP over one of the newer methods that are out there (e.g. SAIGE)
for some reason?
Thanks,
Omer
On Thu, Sep 24, 2020 at 5:36 PM diana.cornejo<EMAIL_ADDRESS>wrote:

Hi, @omerwe https://github.com/omerwe
The version of fast-lmm I am using is this one
https://pypi.org/project/fastlmm/0.4.1/ released in january 2020.
Can you please let me know which version of fastlmm did LEAP use to work
with? I would like to reproduce the installation you propose in the readme,
here is a list of fast-lmm versions
https://pypi.org/project/fastlmm/0.4.11/#history
I appreciate your help
Thank you
Diana
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/omerwe/LEAP/issues/6#issuecomment-698386151, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNCB47HVASXZYCRCJHFH6LSHNKQHANCNFSM4RXLMUTQ
.


[#48] As a developer, I can have a CD process to build and deploy the iOS app to Firebase App Distribution

Solves #48

What happened 👀

Update iOS Project configuration to correct provisioning profile for Staging
Update Fastlane to create a lane to deploy a build to Firebase

Insight 📝
Currently, we won't add the Deploy Production to the Firebase workflow due to we rarely use this one in the real project and it will conflict with Deploy Production to AppStore/TestFlight, more info here
Proof Of Work 📹

@markgravity Please consider keeping a mirrored workflow for the generated project for verifying.

@markgravity Do you face any issues or blockers on this task, please? 👋 IMO, we can try to make it work first, then we can synchronize with the latest config from the iOS Templates. What do you think?

@markgravity Do you face any issues or blockers on this task, please? 👋 IMO, we can try to make it work first, then we can synchronize with the latest config from the iOS Templates. What do you think?
@luongvo All is good now, I handover the client project, so now I can focus on working on this 🙏

@markgravity We're having the same issue with ios_deploy_to_app_store.yml workflow. We should NOT keep that config in the template project's workflows. Please help us remove that small issue cc @manh-t
https://github.com/nimblehq/flutter-templates/blob/125e9c8609d655240cc7a0768cd4d0bf91312a94/template/.github/workflows/ios_deploy_to_app_store.yml#L13-L15

@luongvo updated at https://github.com/nimblehq/flutter-templates/commit/38e06259088c54d6335c13d473266cddf9af91ef 🙏


fix lib name

Can this be merged? Just wasted some time with a student today rediscovering this bug

Can this be merged? Just wasted some time with a student today rediscovering this bug @tdinesh @jakewelde

Added you as a reviewer. Can you approve?

No worries, also PTAL at https://github.com/KumarRobotics/multi_mav_manager/pull/8 if you can


Probable bug in bullet_types.py

Line 41 of bullet_types.py states:
self.iter_text = f"self.create_gen({power})"

This is most likely meant to be:
self.iter_text = iter(self.create_gen(power))

Issue proposes changing this, or pushing the rewrite branch to main.

Rewrite branch merged. Closing.


R$id.class blocked by antivirus when trying to run sample

Avira antivirus detects the R$id.class file of the library as a virus/malware
The pattern of 'EXP/Flash.EB.212 [exploit]'
detected in file 'C:....\app\build\intermediates\transforms\instantRunSlicer\debug\folders\1\5\slice_5\com\cepheuen\elegantnumberbutton\R$id.class.
Action performed: Move file to quarantine

Was this scanned by your pc antivirus ? Could not reproduce. Its a generated file and has nothing to do with the code.


refactor(model)!: make interaction a struct

Convert twilight_model::application::interaction::Interaction to a single struct. The goal is similar to #1449.
This PR also fully document the twilight_model::application::interaction module.

[x] Convert Interaction to a struct and add InteractionData enum.
[x] Update other crates and make tests pass.
[x] Update documentation on twilight_model::application::interaction public items.
[x] Bring back utility methods to Interaction (author_id, is_dm, is_guild).

Breaking changes

Interaction has been refactored, various interaction data types have not been changed.
standby::wait_for_component closure now takes an Interaction instead of MessageComponentInteraction.

About #[serde(untagged)], the Deserialize impl from the macro try to deserialize each variant and uses the first that succeed. The current handwritten implementation deserialize directly the right variant according to the interaction type. Using the derive macro implementation mean less code to write and maintain, but it's slower. I think it's better to keep the current implementation.


attempt to fix issue 27

Ties to fixes #27

It doesn't seem to fix the error. I've been able to reproduce it again (see https://github.com/xaviergonz/mobx-keystone/issues/27#issuecomment-528508436).


Array of items doesn't expand, and so validation check is wrong.

TL:DR version
There is a missing expansion of a reference when the type is an array of items. PR incoming.

Original version
https://stackoverflow.com/questions/50390920/how-to-correctly-validate-array-of-objects-using-justinrainbow-jsonschema/50407155#50407155
I have code that correctly validates an article returned from an endpoint that returns single articles. I'm pretty sure it's working correctly as it gives a validation error when I deliberately don't include a required field in the article.
I also have this code that tries to validate an array of articles returned from an endpoint that returns an array of articles. However, I'm pretty sure that isn't working correctly, as it always says the data is valid, even when I deliberately don't include a required field in the articles.
How do I correctly validate an array of data against the schema?
The full test code is below as a standalone runnable test. Both of the tests should fail, however only one of them does.
<?php

declare(strict_types=1);

error_reporting(E_ALL);

require_once __DIR__ . '/vendor/autoload.php';

// Return the definition of the schema, either as an array
// or a PHP object
function getSchema($asArray = false)
{
    $schemaJson = <<< 'JSON'
{
  "swagger": "2.0",
  "info": {
    "termsOfService": "http://swagger.io/terms/",
    "version": "1.0.0",
    "title": "Example api"
  },
  "paths": {
    "/articles": {
      "get": {
        "tags": [
          "article"
        ],
        "summary": "Find all articles",
        "description": "Returns a list of articles",
        "operationId": "getArticleById",
        "produces": [
          "application/json"
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Article"
              }
            }
          }
        },
        "parameters": [
        ]
      }
    },
    "/articles/{articleId}": {
      "get": {
        "tags": [
          "article"
        ],
        "summary": "Find article by ID",
        "description": "Returns a single article",
        "operationId": "getArticleById",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "articleId",
            "in": "path",
            "description": "ID of article to return",
            "required": true,
            "type": "integer",
            "format": "int64"
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/Article"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "Article": {
      "type": "object",
      "required": [
        "id",
        "title"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "title": {
          "type": "string",
          "description": "The title for the link of the article"
        }
      }
    }
  },
  "schemes": [
    "http"
  ],
  "host": "example.com",
  "basePath": "/",
  "tags": [],
  "securityDefinitions": {
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}
JSON;

    return json_decode($schemaJson, $asArray);
}

// Extract the schema of the 200 response of an api endpoint.
function getSchemaForPath($path)
{
    $swaggerData = getSchema(true);
    if (isset($swaggerData["paths"][$path]['get']["responses"][200]['schema']) !== true) {
        echo "response not defined";
        exit(-1);
    }

    return $swaggerData["paths"][$path]['get']["responses"][200]['schema'];
}

// JsonSchema needs to know about the ID used for the top-level
// schema apparently.
function aliasSchema($prefix, $schemaForPath)
{
    $aliasedSchema = [];

    foreach ($schemaForPath as $key => $value) {
        if ($key === '$ref') {
            $aliasedSchema[$key] = $prefix . $value;
        }
        else if (is_array($value) === true) {
            $aliasedSchema[$key] = aliasSchema($prefix, $value);
        }
        else {
            $aliasedSchema[$key] = $value;
        }
    }
    return $aliasedSchema;
}

// Test the data matches the schema.
function testDataMatches($endpointData, $schemaForPath)
{
    // Setup the top level schema and get a validator from it.
    $schemaStorage = new \JsonSchema\SchemaStorage();
    $id = 'file://example';
    $swaggerClass = getSchema(false);
    $schemaStorage->addSchema($id, $swaggerClass);
    $factory = new \JsonSchema\Constraints\Factory($schemaStorage);
    $jsonValidator = new \JsonSchema\Validator($factory);

    // Alias the schema for the endpoint, so JsonSchema can work with it.
    $schemaForPath = aliasSchema($id, $schemaForPath);

    // Validate the things
    $jsonValidator->check($endpointData, (object)$schemaForPath);

    // Process the result
    if ($jsonValidator->isValid()) {
        echo "The supplied JSON validates against the schema definition: " . \json_encode($schemaForPath) . " \n";
        return;
    }

    $messages = [];
    $messages[] = "End points does not validate. Violations:\n";
    foreach ($jsonValidator->getErrors() as $error) {
        $messages[] = sprintf("[%s] %s\n", $error['property'], $error['message']);
    }

    $messages[] = "Data: " . \json_encode($endpointData, JSON_PRETTY_PRINT);

    echo implode("\n", $messages);
    echo "\n";
}

// We have two data sets to test. A list of articles.

$articleListJson = <<< JSON
[
  {
      "id": 19874
  },
  {
      "id": 19873
  }
]
JSON;
$articleListData = json_decode($articleListJson);

// A single article
$articleJson = <<< JSON
{
  "id": 19874
}
JSON;
$articleData = json_decode($articleJson);

// This passes, when it shouldn't as none of the articles have a title
testDataMatches($articleListData, getSchemaForPath("/articles"));

// This fails correctly, as it is correct for it to fail to validate, as the article doesn't have a title
testDataMatches($articleData, getSchemaForPath("/articles/{articleId}"));

Could you please provide a minimal (a few lines, using pure JSON Schema, and none of the swagger stuff) example which demonstrates the problem? What you have above is huge, and most of the bulk relates to it being a swagger schema.

@Danack in an attempt to cleanup this repo we are trying to filter the issues and see which ones might be closed. Is it safe to assume this can be closed as well? Based on eyeballing PR#515 it seems there was a small misinterpretation between the chair and keyboard

Very much looks like it.


Updates for v2.0.0 release

Updating default version to 1.11
Fixing README with new formatting from terraform-docs
Fixing changelog

Any idea when 2.0 will drop? I'm willing to help out if there is any more work needing to be done.

@RothAndrew thanks for the kind offer but it's done 🚀


Tweak ConverterVersion.ToString()

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.022%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
3410

Relevant Lines:
3629

💛  - Coveralls


Remove toTop button from Mobile View (or similar smaller screens)@Home Page

Sample Snapshot

i want to work on this'

i want to work on this'

Assigned for 2 days


Add a new test case for a go.mod generated using go 1.17

The go.mod file format in go 1.17 has some significant differences from previous go versions.
See #4148 for details.
While the bug was fixed in #4149, I do wonder if there should be a new test case added?
Because now need to test the new go 1.17 file syntax/behavior of go.mod file in addition to the backwards compatibility with the go 1.16 behavior..
A quick look at the fixtures in https://github.com/dependabot/dependabot-core/tree/main/go_modules/spec/fixtures/projects shows that many of them specify older go versions and so even when run using go 1.17, it will run in compatibility mode and won't actually exercise the newer 1.17 behavior.
I don't think it's worth the time to duplicate all the fixtures as both 1.16 and 1.17, but having at least one or two 1.17 go.mod files for sanity might be a wise move.

Actually, if I recall correctly, the new 1.17 behavior only kicks in if the go.mod file explicitly specifies go 1.17... otherwise it runs in 1.16 (aka backwards-compatibility) mode.
So effectively there is currently no test coverage at all for 1.17 behavior.

So effectively there is currently no test coverage at all for 1.17 behavior.

Yup, that's true. I've added a simple test in https://github.com/dependabot/dependabot-core/pull/4159.
Are there any other go 1.17 cases that would be worth testing? I think it would make sense to start updating tests that still reference unsupported versions of go to a later one.

I think it would make sense to start updating tests that still reference unsupported versions of go to a later one.

What is your stated guarantee for support for older versions of go? If you don't have one, you'll probably want to add one now to start the clock ticking on dropping support for older use cases.
In general the go community does a good job of keeping up with latest versions, so supporting the last 3 versions probably makes sense.


chore: release main

:robot: I have created a release beep boop
core: 0.0.3
0.0.3 (2024-06-11)
Features

core: add tailwind-preset.ts (9727c54)

Bug Fixes

config: minor style change to column block (a38f539)
core: limit child_page__icon size (b78bda8)

react: 0.0.3
0.0.3 (2024-06-11)
Bug Fixes

react: correct built file names (06c4914)

Dependencies

The following workspace dependencies were updated

dependencies

@nostagik/core bumped from ^0.0.2 to ^0.0.3

This PR was generated with Release Please. See documentation.

:robot: Created releases:

core-v0.0.3
react-v0.0.3
:sunflower:


update Project 5 - 18 to Swift4.2

include other update for Project 1 - 4

Hi Thanks for the work. However, I do not think 4.2 worth an update for the whole repo -- the syntax difference is too little but efforts to update every single project are comparatively huge.
Also, I am updating the project to Swift 5.0 right now.


[SMALLFIX] Fixing a Mockito-related concurrency bug in tests.

A fix for failures surfaced by #3901

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11316/
Test PASSed.

LGTM, we may want to consider migrating all our thenReturn to doReturn

How does Mockito.when(mFileSystemMaster.getFileId(missingInput)).thenReturn(-1L) know what method is being mocked? The getFileId method has already been called by the time control reaches the Mockito.when method. For Mockito.when to know which method is being mocked, Mockito needs to track all mock invocations in shared state. Then when Mockito.when is called, it just assumes that the last mock method to be called was the method inside the when(), so it modifies the return value for that method.
To use Mockito correctly, this means you need to do all mock setup before you launch threads which can invoke methods on mocks. We launch a LineageMaster with a reference to a FileSystemMaster mock in the @Before method. This will create concurrent threads which run and call mock methods during the evaluation of Mockito.when(mFileSystemMaster.getFileId(missingInput)).thenReturn(-1L). If a mock method besides getFileId is called between the evaluation of mFileSystemMaster.getFileId(missingInput) and the part of Mockito.when where it looks up the latest mock call, the Mockito.when will get confused and think it's mocking the mock method which was called in the other thread, leading to the failure Jiri was seeing.
The right solution is to set up all mocks before we launch anything. I'd prefer to keep the Mockito.when().thenReturn() syntax since it reads more naturally.


[Glide] Crashing during init of Preview

Describe the bug
use remeberGlidepainter crash rendering preview
To Reproduce
val painter = rememberGlidePainter(
	request = avatarRef,
        previewPlaceholder = placeholder
)
Image(
     painter = painter,
     contentDescription = null,
     modifier = modifier
	        .size(75.dp)
		.clip(AvatarShape)
		.clickable { onClick?.let { it() } }
)
.....

java.lang.IllegalStateException: You cannot call Glide.get() in registerComponents(), use the provided Glide instance instead   at com.bumptech.glide.Glide.checkAndInitializeGlide(Glide.java:205)   at com.bumptech.glide.Glide.get(Glide.java:191)   at com.bumptech.glide.Glide.getRetriever(Glide.java:774)   at com.bumptech.glide.Glide.with(Glide.java:801)
Environment:

Android OS version: Android 9.0
Device: Emulator, Google Pixel 4
Accompanist version:  v0.9.1

Additional context
Add any other context about the problem here.

Not much we can do here to be honest. Glide.with() doesn't seem to work in layoutlib which is used by Android Studio previews, as that doesn't fake out the manifest API
java.lang.NullPointerException   at com.bumptech.glide.module.ManifestParser.parse(ManifestParser.java:38)
   at com.bumptech.glide.Glide.initializeGlide(Glide.java:278)
   at com.bumptech.glide.Glide.initializeGlide(Glide.java:266)
   at com.bumptech.glide.Glide.checkAndInitializeGlide(Glide.java:210)
   at com.bumptech.glide.Glide.get(Glide.java:191)
   at com.bumptech.glide.Glide.getRetriever(Glide.java:774)
   at com.bumptech.glide.Glide.with(Glide.java:801)
   at com.google.accompanist.glide.GlidePainterDefaults.defaultRequestManager(Glide.kt:71)
   at com.google.accompanist.glide.GlideKt.rememberGlidePainter(Glide.kt:94)

Closing this as there's nothing we can do here.
Apps can disable the manifest parsing in Glide, which should make previews work. See here: https://bumptech.github.io/glide/doc/configuration.html#manifest-parsing


Implement upper level sheets

This is the current state of my upper level sheets, which I think is usable if rough around the edges.
It's on top of the other pull request I put in (#18), but I didn't want that stuff held up by this.
I've not playtested, but I'm tempted to recruit some brave volunteers to try and run a game just to playtest this stuff soon though.
I'm not 100% sure it belongs on master but it would be good to get more eyes on it. :)
Item classes are defined for armor, weapons, ammunition, equipment, mounts, and spells but currently Weapons and Armor are ignored in favour of the same system the zero level sheet uses. Relatively soon it would be good to implement them and have an equip box that loads the data into the current weapon slots.
Equipment, Ammunition, and Mounts show up in the Equipment tab (for upper levels) and can be dragged from the Items tab of the sidebar or a compendium or added from the sheet. They all just track a name, description, weight, and quantity currently.
Spells show up in the Wizard/Elf/Cleric spells tabs and currently the list and spell sheet just records spell level and description.
The drag and drop for these is built into foundry - drag anywhere on the sheet and it gets added to the actor's items array. They get sorted into new lists by type for use in the sheet templates.

Thank you so much for this!  I am merging it all in so that it can be most easily tested.  I'm going to open new Issues here for things that come up!

Perfect, thanks. :)


337 Arrow Animation Looping

Summary
Closes #337

Lengthened first animation to make it roughly the same speed as the second one.
Added looping by just setting a timer to set animate back to false
Supressed typescript typing error

Screenshots

Honestly these screenshots are not very useful since it is an animation.

@Dankco the animation isn't looping for me, it stops after the first run.

Ok, I see the issue now. For some reason I think the viewport check is messing w/ it.

I just sidestepped the viewport check instead for looping. I did notice that the animation is buggy when 2 of them are on the screen at the same time like in lesson 4, but one of them should not have the animation anyway. I will ticket that.


webostv WOL egresses on wrong interface

Home Assistant release (hass --version):
0.49.0
Python release (python3 --version):
Python 3.5.2
Component/platform:
LG webOS Media Player
Description of problem:
WOL magic packet egresses on default interface.
Expected:
Being able to specify that the broadcast address <IP_ADDRESS> should be used for egress towards my LG television.
Problem-relevant configuration.yaml entries and steps to reproduce:
media_player:
  - platform: webostv
    host: <IP_ADDRESS>
    mac: aa:bb:cc:dd:ee:ff
    name: Living Room TV

Have a Linux server with one interface towards Internet (default route) and one towards the TV.
Try to WOL the TV.
Packets will egress on the wrong interface.

Additional info:
If I manually hack the wakeonlan package to use my correct broadcast IP, it works. I guess allowing users to specify the broadcast IP should be enough. I could probably write the PR if the approach sounds reasonable.

The file related to this bug has not changed since before this issue was posted. That means the issue is still present.

@bluecmd I updated the wakeonlan dependency #12190 as it had a rather critical bug where every magic packet it would send was in an incorrect format causing some devices to ignore it.
Further, since this issue was opened a wake_on_lan service has been added allowing you to specify a broadcast address.
media_player:
  - platform: webostv
    host: <IP_ADDRESS>
    name: Living Room TV
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: aa:bb:cc:dd:ee:ff
        broadcast_address: <IP_ADDRESS>

Howdy @Tadly, I don't see anything in the documentation mentioning the possibility of using broadcast address (and more importantly, under what cases it might be needed).
The https://home-assistant.io/components/media_player.samsungtv/ page (and Panasonic_viera also) seems to imply that the MAC would go under the platform, but is that incorrect, and instead it should be under a turn_on_action?
Related to updating documentation, it seems strange to go around to all the various device pages and try to keep them all updated with duplicate info rather than it being in one place, but I don't see a centralized place that it would fit either.

@mrand this is because samsungtv and panasonic_viera have not yet been updated to work in a similar way to e.g. webostv and kodi.
As mentioned previously, the webostv (and kodi) component both support the turn_on_action (as shown in the example above) while samsungtv and panasonic_viera still implement the wake functionality themselves not supporting additional parameters like broadcast_address.
That the documentation for samsung and viera not mention the need for wake_on_lan is actually correct as they implement this functionality themselves rather than relying on that wake_on_lan service.
The fact documentation for each component is updated separately is probably due to them being maintained by different people and how much they actually have in common highly depends on the end-device.
Having shared information would probably make things even more complicated/difficult...
Hope I covered everything


Fixes the extra-packages arg to work with multiple packages

As per aapt -help multiple packages need to be delimited with :
Previously only the last --extra-packages arg was being used.

Thanks so much Tom for the patch! @Watson1978 could you merge this commit to the private repository?


Installation fails if STRICT_TRANS_TABLES is on in sql-mode

If MySQL is configured with STRICT_TRANS_TABLES in sql-mode the installation fails.
With the elemental_blank starting point the error is:
45%: Installing dashboard.

[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing
'INSERT INTO Areas (cID, arHandle, arIsGlobal) VALUES (?, ?, ?)'
with params ["126", "Main", false]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'arIsGlobal' at row 1

With the elemental_full starting point the error is:
38%: Adding themes.
[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing
'INSERT INTO FileImageThumbnailTypes (ftTypeHandle, ftTypeName, ftTypeWidth,  ftTypeHeight, ftTypeIsRequired) VALUES (?, ?, ?, ?, ?)'
with params ["small", "Small Image", "740", "", 0]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'ftTypeHeight' at row 1

I guess we have two options here:

try to change the value of sql-mode right after opening the mysql connection
fix such errors

I think we ought to fix the errors. We've had no trouble installing and working in strict mode in the past, so I don't think there ought to be a ton of places where we need to apply some fixes.


Change the getter names to just the field name

This would make every getter generated by bitfield macro be idiomatic Rust, according to Rust naming conversions

I'd merge a PR that implements this change. ;)

I experimented with making this change, and ran into the issue that tuple structs like #[bitfield] struct Foo(bool, B7); would try to name its getter methods as fn 0(&self), which is an invalid identifier. This could be left as a special case, still generating fn get_0().

I experimented with making this change, and ran into the issue that tuple structs like #[bitfield] struct Foo(bool, B7); would try to name its getter methods as fn 0(&self), which is an invalid identifier. This could be left as a special case, still generating fn get_0().

This should be properly documented.


Issues in MIR documentation

MIR_T_V is documented in https://github.com/vnmakarov/mir/blob/master/MIR.md but does not appear in the code base anymore. Is it replaced by something else ?
MIR_I2F/MIR_I2D/MIR_I2LDand  MIR_UI2F/MIR_UI2D/MIR_UI2LD documentation seems to be reversed

Ok.  Thank you for informing me.
I had MIR_T_V for some time but got rid of it.
I'll correct the documentation on this weekend.  Thanks again.

So what is the way to express the "void" type concept?

So what is the way to express the "void" type concept?

This type was necessary once to express a MIR function w/o result in MIR textual representation.  Since then the syntax was changed and void result function is a function with zero number of results.
So you don't need this type as for other assembler-level languages.

extern MIR_item_t MIR_new_func (MIR_context_t ctx, const char *name, size_t nres,
                                MIR_type_t *res_types, size_t nargs, ...);

So how do I describe a function returning "void"?  Its the following one correct ?
 MIR_type_t res_type = MIR_T_I64; // What type should be used for "res_type" ?
 fCompute = MIR_new_func(fContext, "compute", 0, &res_type, 2, MIR_T_P, "inputs",  MIR_T_P, "outputs");

So how do I describe a function returning "void"? Is the following one correct ?

Yes. nres should be zero.  You can pass NULL for res_types in this case.
In MIR textual representation, void function looks like
foo: func i32:arg

and the same function returning i64 value
foo: func i64, i32:arg

OK thanks !
My project with MIR it to recode this class https://github.com/grame-cncm/faust/blob/master-dev/compiler/generator/interpreter/fbc_llvm_compiler.hh, which generates LLVM IR, to directly generate MIR, in the context of the Faust language.

It is an interesting project.  But I guess you need a very optimized code for your language domain, including auto-vectorization.  LLVM optimization pipeline can do auto-vectorization.   Vectorized code vs unvectorized code can be 2-3 times faster.  Although it is hard to say what real performance difference between MIR and LLVM generated code will be for your language applications (although it is definitely less than 2-3 times).
I don't think MIR will ever support vector insns. My plans concerning optimizations is to implement loop-invariant motion additionally and add new speculative insns (it is mostly for easy implementation of dynamic type languages).  Although MIR could be used as tier1 JIT compiler and LLVM as tier 2 JIT compiler.  LLVM is complicated and LLVM IR interface unstable (e.g.  fedora distribution has a tendency to have several versions of LLVM as different LLVM versions are required for different components), MIR is much simpler but its interface can be changed too as it is not ready yet for a release.
In any case good luck with your project and I hope you share any your experience with MIR usage for your project.

Yes I know all of that.
My hope is to have a reasonable fast JIT (like for testing the code), easier to deploy on smaller devices (like Android, possible ARM based embedded devices at some point ?) than the big LLVM chain.

This simple program:
#include "/Documents/JIT-compilation/mir/mir.h"
#include "/Documents/JIT-compilation/mir/mir-gen.h"

typedef void (*compiledFun)(int* int_heap, float* real_heap, float** inputs, float** outputs);

int main(int argc, char* argv[])
{
    MIR_context_t fContext = MIR_init();
    MIR_module_t fModule = MIR_new_module(fContext, "Faust");

    // Create 'compute' function
    MIR_item_t fCompute = MIR_new_func(fContext, "compute", 0,
                            NULL, 4,
                            MIR_T_P, "int_heap",
                            MIR_T_P, "real_heap",
                            MIR_T_P, "inputs",
                            MIR_T_P, "outputs");

    MIR_append_insn(fContext, fCompute, MIR_new_ret_insn(fContext, 0));

    // Finish function
    MIR_finish_func(fContext);

    // Finish module
    MIR_finish_module(fContext);

    // Output MIR file
    FILE* file = fopen("log_mir.txt", "w");
    MIR_output_module(fContext, file, fModule);
    fclose(file);

    // Code generation and link
    MIR_gen_init(fContext);
    MIR_gen_set_debug_file(fContext, stderr);
    compiledFun fCompiledFun = (compiledFun)MIR_gen(fContext, fCompute);
    MIR_gen_finish(fContext);

    MIR_finish(fContext);
    return 0;
}

crash with:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib      	0x00007fff7215ffd0 _platform_memmove$VARIANT$Haswell + 176
1   libsystem_c.dylib             	0x00007fff71f1f101 __memcpy_chk + 22
2   mir-test                      	0x0000000107745120 _MIR_update_code + 1072 (mir.c:3335)
3   mir-test                      	0x0000000107739b68 _MIR_redirect_thunk + 56 (mir-x86_64.c:70)
4   mir-test                      	0x000000010776d562 MIR_gen + 1794 (mir-gen.c:4641)
5   mir-test                      	0x0000000107732a84 main + 356 (mir-test.c:36)
6   libdyld.dylib                 	0x00007
```fff71e4e015 start + 1

I could not find why...


log2 not supported in IE

I've just upgraded to google-map-react v0.10.0 for its compatibility with IE11 with es6-promise.
However, I get an error that Math.log2 is not recognized (apparently it's not supported in IE at all.) It's used in getMinZoom. If I change this in the js file to Math.log, then the map loads ok in IE11.
(More generally, may I suggest that it would be nice to be able to override minZoom so that I can go down to zoom 0 if I want to.)

This shim must work if IE supports Math.LN2
function log2(x){
 return Math.log(x) / Math.LN2;
}

I will accept PR from https://github.com/zloirock/core-js
with only log2 import '$$/fn/math/log2'

Thanks - shim seems to work fine in IE with:
function log2(x) {
 	return Math.log(x) / Math.LN2;
}
if (!Math.log2) {
	Math.log2 = log2;
}

I've added log2 polyfill in 0.10.1


[INFRA] Enable version panel for quickly finding previous versions

Just a note that I'm playing with trying to get RTD to play nicely.
In our builds, it acts as if there's no configuration file (example):

Configure your documentation builds! Adding a .readthedocs.yml file to your project is the recommended way to configure your documentation builds. You can declare dependencies, set up submodules, and many other great features.

First thing I'm trying is to fix our configuration, and will host the results at https://bids-specification.readthedocs.io/en/rtdtest/ when I can get it to build.
This may allow us to replace #231.

Some notes so I can close a ton of tabs:

I've opened an issue (https://github.com/rtfd/readthedocs.org/issues/5702) at RTD to check whether it's a bug on their end.
ReadTheDocs seems to inject this file into most Sphinx-based projects. Possibly the issue is that it's not done by default on mkdocs.
mkdocs has two built-in themes (https://github.com/mkdocs/mkdocs/tree/master/mkdocs/themes) and both seem to allow for the panel: stable (RTD theme), latest (mkdocs theme)
The RTD theme for mkdocs seems to have explicit mention of versions, while the mkdocs theme does not.
I've forked mkdocs-material (https://github.com/effigies/mkdocs-material/tree/enh/rtd_versions) to play around with adjusting the theme.

I found a project using mkdocs-material and that has the panel: https://mapstore.readthedocs.io/

Found via https://github.com/geosolutions-it/MapStore2/pull/3570, we need to add JQuery. We now get

I'm going to squash this and merge into master.

Apparently I can't push fixes to master. Here's to more changelog clutter.

I think there should be two changelogs: the repository changelog and the specification changelog. When somebody's reading the spec, what they care about is what new features are there in the specification, and absolutely not what changes were made to the build system.
IMO, the specification changelog should ONLY include [FIX] and [ENH] changes, and should strip out the tags. I also think we should be able to go in and retroactively fix the changelog to be more human friendly without our changes getting destroyed every time a PR gets merged.

+1, perhaps you can open an issue on this, because this PR will be merged soon and is a suboptimal palce for discussion. Related: https://github.com/bids-standard/bids-specification/issues/164


rustfmt gives up on long let into tuple

rustfmt doesn't seem to want to format this:
fn main() {
    let (abcdefghijklmnopqrstuvwxyz, abcdefghijklmnopqrstuvwxyz, abcdefghijklmnopqrstuvwxyz): AVeryLongTypeNameGoesHere = 42;
}

confirming I can reproduce this with rustfmt 1.6.0-nightly (f2bad9c7 2023-07-05)
Although these issues are happening in two different parts of the codebase #5559 came to mind when I saw this. I think the explanation I provided in https://github.com/rust-lang/rustfmt/issues/5559#issuecomment-1267302958 is similar to what's happening here. We're able to write the pattern on one line, but we fail when trying to rewrite the ty on the same line since there isn't enough space.
I'm pretty sure we're returning early when calling ty.rewrite() L101:
https://github.com/rust-lang/rustfmt/blob/d698bf4e1b2033245d39af85bb5876500c3fbfde/src/items.rs#L87-L112
@joshtriplett out of curiosity, would you have expected the output to look something like this?
fn main() {
    let (
        abcdefghijklmnopqrstuvwxyz,
        abcdefghijklmnopqrstuvwxyz,
        abcdefghijklmnopqrstuvwxyz,
    ): AVeryLongTypeNameGoesHere = 42;
}

@calebcartwright I don't know if there's a quick fix for this. To my knowledge there isn't a way to force the tuple pattern to be laid out vertically, but if you have any thoughts please let me know!


Ichor Crystal generation is borked

Minecraft Version
1.20.1
Fabric Version
0.15.1
Fabric API Version
0.91.0
Hephaestus Version
<IP_ADDRESS>
Describe your issue
Ichor crystal gen is borked. The geodes generate floating throughout the nether and not embedded into the terrain as i'm assuming they should be.

Crash Report
No response
Other mods
No other mods. Just Tinkers
Tried reproducing with just Tinkers?
Yes
Performance Enchancers
None of the above
Searched for known issues?
Searched open issues

Mind providing the world seed and coords?

After flying around for a minute

![Uploading 2023-12-15_09.41.03.png…]
After flying around the nether for about a minute

3 right next to each other. Ignore the red background I was using night vision lol. Don't ask me why

If you limit generation just to the very top of the world I think u might get issue with https://modrinth.com/mod/amplified-nether as well so it's worth testing with that :3


gentlejack

consensys-truffle

I'm not sure what to make of this PR. It contains changes that are old as well as what looks like commits we don't want. Can you tell me what you're trying to do here and why the commit log is so long?

I'd be very afraid

I didn't notice this: ConsenSys:ethers-patch-1 from gentlejack:master - so they're asking to merge into a branch. But I wonder why.

The contributor's history seems nonsensical https://github.com/ethereum/go-ethereum/pull/3652/files


VS Code version bump to v1.52.0

Version bump
Test plan

Version bump
Changelog

this is to prepare for tomorrow's stable release?


Use same colors as other status line items for prettier plugin

This is quick hack to fix this glaring issue.

The colors used here are taken from https://github.com/badosu/oni/blob/72157777d8cf711658c695989982e5a8e561a0cd/browser/src/Services/Language/LanguageClientStatusBar.tsx#L87-L88
There are some better approaches that can be made, but require some discussion before proceeding.

Use a general higher order component for status bar items that shares the same style
Allow each status line component to define it's own style, but define or use a theme color
Continue as it is

Fixes #2157

@badosu how about potentially just removing the color entirely?, I was thinking that over time if you imagine oni has say 10 status item and they are all colored slightly differently or even the exact same but with a bit of padding between each the status bar wouldn't have the best appearance as opposed to vscode or atom all of which just have the text and an icon and some padding so things aren't too close together

@Akin909 Would that be the same as to define the color on the parent component of the statusbar items?
If so, I can try that, the issue with hardcoded color vs theming will persist though.

@badosu just tried a quick test and I think all you would need to do is remove the background-color from the prettier status item aka the one that has a class of prettier I know there are a few components in there and you get:

@badosu I've actually removed the background color from the plugin so this should resolve the issue this PR was aimed at let me know if the results work for you re. #2157


[WIP] Auto generate environment variable names

Proposed changes
This PR updates the environment variable loader to generate environment variable name automatically if no name is provided
Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Codecov Report
Base: 96.89% // Head: 96.87% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (6836089) compared to base (94eac3b).
Patch coverage: 90.47% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #435      +/-   ##
==========================================
- Coverage   96.89%   96.87%   -0.02%
==========================================
  Files         208      208
  Lines       18867    18901      +34
==========================================
+ Hits        18281    18311      +30
- Misses        586      590       +4

Flag
Coverage Δ

unittests
96.87% <90.47%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

aea/cli/issue_certificates.py
98.61% <66.66%> (-1.39%)
:arrow_down:

aea/cli/run.py
85.10% <66.66%> (-0.41%)
:arrow_down:

aea/cli/config.py
98.24% <80.00%> (-1.76%)
:arrow_down:

aea/helpers/env_vars.py
98.46% <95.65%> (-1.54%)
:arrow_down:

aea/cli/utils/exceptions.py
100.00% <100.00%> (ø)

aea/configurations/manager.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Document newly created blocks in the Franklin Sidekick Library

Update AEM Sidekick Library with the V2/redesign blocks

Create basic pages with blocks (and variations)
Dev teams to add/update detailed documentation

Kamino cloned this issue to hlxsites/vg-macktrucks-com


Show only one instance of noty

Hi,I am facing one issue on click of button multiple time same noty is displaying multiple times. Is there any way to show only one instance of noty means close all and show one message.

There is some options you can use; "killer" and "dismissQueue" for showing single notification on the screen. noty will display a notification when it called. This is an another logic which noty can't consider.


Format plan with line number.

Is your feature request related to a problem or challenge?
When I try to complete #8416 , I found it hard to review changes in plan in tpch sqllogictests.
I think the main reason is that CoalesceBatchesExec and RepartitionExec::RoundRobinBatch would make git diff aligns the result in unexcepted position.
Takes q11.slt.part as example,  it aligns CoalesceBatchesExec and RepartitionExec::RoundRobinBatch but ignore the -- changes.

If we remove CoalesceBatchesExec and RepartitionExec::RoundRobinBatch, it works well to find the -- changes.

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

I think adding a line number to the front of each line is a easier way.

Adding a line number seems like a reasonable thing to try to me.
The reason we had -- as the prefix was that sqllogictest stripped off leading  spaces

Maybe we can mark it as a 'good first issue' if needed, and slt tests can regenerate by running cargo test --test sqllogictests -- --include-tpch --complete.

Maybe we can mark it as a good first issue if needed, and slt tests can regenerate by running cargo test --test sqllogictests -- --include-tpch --complete.

Good idea @my-vegetable-has-exploded  -- I hav done so. Thank you

Hi, i would love to take this issue as a starting point

Hi, i would love to take this issue as a starting point

I think it maybe helpful to take a breif look explain.rs
https://github.com/apache/arrow-datafusion/blob/2f1c3ab679fd553ea9e18067ed894fc6cf1f567a/datafusion/physical-plan/src/explain.rs#L126-L178

hi @alamb could you help me give one more review to this PR?

Thanks again for https://github.com/apache/arrow-datafusion/pull/10019 @duongcongtoai  -- great stuff. 🚀


Following the "create your first extension" docs doesn't work

Raycast version: 1.38.2
Steps To Reproduce

I follow the instructions here: https://developers.raycast.com/basics/create-your-first-extension
I run npm install
I run npm run dev
The launcher opens automatically:
But when I launch it I get this:

I tried this twice and I get the same bug. However, the hello world app did work before I ran the dev command. So it seems like it stopped working after I ran the dev command.
I would update the Raycast version, but I'm having trouble with that.

Here are a few ideas you might be able to try:

Did you select the "Detail" template?
Is it under 'Raycast_extetions'

npm install && npm run dev requires another app i downloaded it from 'https://nodejs.org/en/download/'
After that it started to work. The idea is that the command should look like this:

Here's a video on what i did - https://youtu.be/uYrY43JoqIg

I'm very familiar with nodejs development.  Maybe there's something unique about my environment.
Video of exactly what I'm doing.
What version of Raycast are you using?
I'm on 1.38.2
I'm really baffled that a basic template doesn't work.
After trying and failing to update the app, I'm less surprised that the template doesn't work (video here). I submitted a bug report for this as well. One basic issue on its own isn't a big deal. You're a new company moving fast. But I can't even update to see if the problem I'm having was already fixed.
Another hypothesis. Maybe it's because I'm on an m1 mac? Maybe it's because I have a separate admin account that I login to when I make system changes?

Instead of opening in code on the dropdown menu. Press, 'start development' (Command B). I had problems trying to use it via Visual Studio Code.
I'm also on an M1 Mac, but am on a private profile instead of an admin one.
If that doesn't help I'll try think of other options.

The problem is solved in v1.39.2
I had to uninstall the app and install it again from the website because updating from within the app wasn't working for me. I didn't have to re-add any extensions.


Release-notes wf: fix default configuration to include only current PR among open PRs

Description
Release-notes wf: fix default configuration to include only current PR among open PRs
Changes Made

fix replacing strings with booleans

Related Issues
Fixes #26
Checklist

[x] I have used a PR title that is descriptive enough for a release note.
[x] I have tested these changes locally.
[x] I have added appropriate tests or updated existing tests.
[ ] I have tested these changes on a dedicated VM or a customer VM [name of the VM]
[ ] I have added appropriate documentation or updated existing documentation.

following the fix here, we may need to update configuration in all repositories.

following the fix here, we may need to update configuration in all repositories.

@MarcoPignati i already updated all the repositories


I'm getting lightstreamer deamon not available, what should I do?

Is there some package I need to install?
This is the warning:
WARNING:trading_ig.lightstreamer:systemd.daemon not available, no watchdog notifications will be sent.

same here

I think you can just ignore this error, I remember at some point getting prices.

Closing, resolved

I'm getting this same issue on OSX. Why was this closed?

Also getting this in OSX

Re-opening. The PR in #92 was never merged in

I'm osx too, Re-opening also can't wok, why?

I'm OSX too,re-opening also cannot be executed,why?

Change from PR #92 added, closing


NextButton cause jquery validation fired

Hi,
My web page contains some form elements and i want to use Anno.js to guide my visitors.But after first textbox, Anno.js cause form validation.
There is not any event that could be trigger validation.
After this step validation fired
{
            target: '#title', // second block of code
            position: 'bottom',
            content: 'Write your title here',
            buttons: [AnnoButton.NextButton]
        }

Do you have any suggestion?

That's because anno.js creates a button without specifying the type button. Inside forms, buttons act like input type="submit". You need to modify the file anno.js and add type="button" in line 669, where the button is created.

This is fixed by pull #57


Export cmake config for target charls

To fully support find_package(charls CONFIG) the file charlsConfig.cmake is required.
This PR adds an additional stage to the install to install this file.

Once when @zandrey approved the form of the commit, I'd like to open a PR to the upstream.


Centos 7 Cpanel 11.50 İnstall Error

Hi guys,
Centos 7 cpanel 11.50, mode_pagespeed not Installed.

Could you say more about what you tried, what happened, and what you expected to happen instead?

Step 1 : /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/
Step 2 : cd /tmp/pagespeed/Easy = -bash: cd: /tmp/pagespeed/Easy: No such file or directory

What happens if you run mkdir /tmp/pagespeed/Easy between steps 1 and 2?

http://i.hizliresim.com/RYlXYa.jpg :(

Sorry, my previous suggestion was wrong.  When you ran /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/ that should have created a directory /tmp/pagespeed/Easy.  Did the clone step print out any error messages when you ran it the first time?
Could you run rm -rf /tmp/pagespeed/ and start over from the beginning?

http://i.hizliresim.com/vEvgNv.jpg not work :(

Seems pbm with the cpanel  git rpm. Install git using yum and try again.
yum install git


43 automated versioning

Changed version in setup.cfg to be an attribute rather than a hard code string

OK, undecided about versioning in an automated way based on git tag, as it may or may not be a good idea. many tools exist for making it easier (and complying with PEP440).  For now, maybe keep with the changing manually, though now in the HOGBEN __init__.py file for ease. Should move to semantic versioning from now too


Update of the Date Time Format in commitDate

Since we were relying on a super old version of vergen, we could not get the commit timestamp, so I updated vergen to the latest version.
This also allows us to remove all the features we don't use.
closes #1522

all good! thanks!
bors merge


When pasting images, there are no files in the attachment. After publishing, the attachment has an extra image file

Description
This seems a bit redundant because when pasting images, the editor has automatically converted it to Markdown image syntax, which can be displayed. And at this point, if I clear the editor content, it means I don't want to display this image, but it will appear in the attachment again.
Gitea Version
1.21.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL/MariaDB

Yea, But In fact if you past a image on to the markdown editor, That's means two steps, it will push this image onto service as an attachement at first, then will insert  a link to this atachement onto the editor. So if you want to remove this image, you had to not only remove the link in markdown content, but also delete pushed atachement manually.I think it's not a bug.


cannot hijack chunked or content length stream

Hello, why this module https://github.com/dotnet/Docker.DotNet/blob/master/src/Docker.DotNet/Microsoft.Net.Http.Client/HttpConnectionResponseContent.cs said me - "cannot hijack chunked or content length stream".
This is my attempt to attach to container
Async Sub AttachToContainer(DockerHub As DockerClient, ContainerID As String, Cmd As IList(Of String), ExecCts As CancellationToken)
    Dim ExecTask = Await DockerHub.Exec.ExecCreateContainerAsync(ContainerID, New ContainerExecCreateParameters With {
                     .AttachStdin = False,
                     .AttachStderr = True,
                     .AttachStdout = True,
                     .Tty = False,
                     .Cmd = Cmd
                   },
                   ExecCts)
    Try
        Dim Stream = Await DockerHub.Exec.StartAndAttachContainerExecAsync(ExecTask.ID, False)
        Await Stream.CopyOutputToAsync(
                Nothing,
                Console.OpenStandardOutput(),
                Console.OpenStandardError(),
                CancellationToken.None)
    Catch ex As Exception
        Console.WriteLine(ex.Message)
    End Try
End Sub

I'm don't sure that this approach is right, I need to realize simple operation
# sudo docker exec -it 7dde487b4424 pwd

But receive this result

Hi, I'd like to also mention I am receiving this exception. My case is a bit different:

My code is in net 6.0 C#
I'm using Rancher Desktop with the dockerd (moby) option checked for Container Runtime, WSL Integration is also enabled.
trying to leverage dotnet-testcontainers nuget package which underneath the hood, uses the Docker DotNet library.

I asked a colleague of mine who still had Docker Desktop installed, to try the example unit test they dotnet-testcontainers project supplies, and it works. Unfortunately using Docker Desktop for Windows is not an option due to licensing.
Some debugging information that may help:
This is the code in question that throws the exception.
        public WriteClosableStream HijackStream()
        {
            if (_responseStream != _connection.Transport)
            {
                throw new InvalidOperationException("cannot hijack chunked or content length stream");
            }

            return _connection.Transport;
        }

In my use case, _responseStream is marked as type Microsoft.Net.Http.Client.ChunkedReadStream, and _connection.Transport is marked as type Microsoft.Net.Http.Client.BufferedReadStream

I am also having the same issue using .net 6.0 C#

So I dug into this a little bit, and it seems the interaction with the Api when Rancher Desktop is being used always returns a ChunkedStream. If I drop the HTTP version from 1.1 to 1.0, it returns the BufferedReadStream, which seems to work fine...
I made the change in DockerClient.cs -> PrepareRequest()
//request.Version = new Version(1, 1);
request.Version = new Version(1, 0); // 1.0 doesnt allow chunking...
Are there any particular features needed from 1.1 or is this an ok workaround?

Hi, first time submitting a PR, no doubt I will need to revise it. In order to "solve" this issue without breaking everything else I have added the abiility to specify the Http Version in the Docker client configuration. If there are any issues or changes I need to make, please feel free to let me know - the PR is this one:
https://github.com/dotnet/Docker.DotNet/pull/566

I've done a couple of tests and I guess the current implementation does not handle chunked streams (HTTP 1.1) very well. Looking into the Docker Engine API documentation, I assume chunked transfer encoding should be supported.
diff --git a/src/Docker.DotNet/DockerClient.cs b/src/Docker.DotNet/DockerClient.cs
index 30406dd..57fbcc1 100644
--- a/src/Docker.DotNet/DockerClient.cs
+++ b/src/Docker.DotNet/DockerClient.cs
@@ -333,6 +333,10 @@ namespace Docker.DotNet
                 throw new NotSupportedException("message handler does not support hijacked streams");
             }

+            var stream = await content.ReadAsStreamAsync()
+                .ConfigureAwait(false);
+            return (WriteClosableStream)stream;
+
             return content.HijackStream();
         }

diff --git a/src/Docker.DotNet/Microsoft.Net.Http.Client/ChunkedReadStream.cs b/src/Docker.DotNet/Microsoft.Net.Http.Client/ChunkedReadStream.cs
index 1076804..9dabcb2 100644
--- a/src/Docker.DotNet/Microsoft.Net.Http.Client/ChunkedReadStream.cs
+++ b/src/Docker.DotNet/Microsoft.Net.Http.Client/ChunkedReadStream.cs
@@ -6,7 +6,7 @@ using System.Threading.Tasks;

 namespace Microsoft.Net.Http.Client
 {
-    internal class ChunkedReadStream : Stream
+    internal class ChunkedReadStream : WriteClosableStream
     {
         private readonly BufferedReadStream _inner;
         private long _chunkBytesRemaining;
@@ -176,5 +176,13 @@ namespace Microsoft.Net.Http.Client
         {
             throw new NotSupportedException();
         }
+
+        public override bool CanCloseWrite
+            => _inner.CanCloseWrite;
+
+        public override void CloseWrite()
+        {
+            _inner.CloseWrite();
+        }
     }
 }

With this patch, I was able to use the broken API calls like StartAndAttachContainerExecAsync incl. ReadOutputToEndAsync or AttachContainerAsync. This is probably not a proper fix yet. With some more information and guidance, I'm certain that I can create a pull request. The tests ran with Docker Desktop too.

It's broken now for Docker Desktop for Windows (4.10.0) too. The patch above fixes the issue for 4.10.0 too.

Fyi in case it helps, we have hit the same issue on a mac Monterey 12.4 environment. On some macbooks it works, on others we get this error. I'm currently unsure what the difference is between these macbooks as they seem similar. Docker was installed via docker desktop.
  System.AggregateException : One or more errors occurred. (cannot hijack chunked or content length stream) (cannot hijack chunked or content length stream)
---- System.InvalidOperationException : cannot hijack chunked or content length stream
---- System.InvalidOperationException : cannot hijack chunked or content length stream
 Stack Trace:
----- Inner Stack Trace #1 (System.InvalidOperationException) -----
  at [Microsoft.Net](http://microsoft.net/).Http.Client.HttpConnectionResponseContent.HijackStream()
  at Docker.DotNet.DockerClient.MakeRequestForHijackedStreamAsync(IEnumerable`1 errorHandlers, HttpMethod method, String path, IQueryString queryString, IRequestContent body, IDictionary`2 headers, TimeSpan timeout, CancellationToken cancellationToken)
  at Docker.DotNet.ContainerOperations.AttachContainerAsync(String id, Boolean tty, ContainerAttachParameters parameters, CancellationToken cancellationToken)
  at DotNet.Testcontainers.Clients.DockerContainerOperations.AttachAsync(String id, IOutputConsumer outputConsumer, CancellationToken ct)
  at DotNet.Testcontainers.Containers.Modules.TestcontainersContainer.Start(String id, CancellationToken ct)
  at DotNet.Testcontainers.Containers.Modules.TestcontainersContainer.StartAsync(CancellationToken ct)```

@jstarks can you help here?

Getting this bug as well.
We're using a library that internally uses Docker.DotNet quite heavily for integration testing.
Luckily we didn't update docker on our Build Server, but none of our developers can run integration tests on their machines anymore.
Hoping for a quick fix.

@HofmeisterAn @galvesribeiro Thanks for the fix 👍
It also solved the issue we run into in our case.
Unfortunately we now have an other issue, when we try to write to the returned stream, then we get an System.NotSupportedException: 'Specified method is not supported'.
In our use-case we try to execute some bash commands and want to read the output of the commands as well.
This is how the implementation looks like, which works fine with Docker Desktop 4.9.1, but fails with version 4.10.1 and Docker.DotNet 3.125.10:

Like mentioned this works with Docker Desktop 4.9.1. A difference which I noticed is that the property CanWrite of the inner _stream is set to false with Docker Desktop 4.10.1, but it was set to true with Docker Desktop 4.9.1:

Should I create a new Issue for this case? Or do you think it is related?

Yeah please create a separated issue and share it there. Thanks!


PHP 8.1 Deprecation message

I'm getting this deprecation warning using PHP 8.1

Return type of League\ISO3166\ISO3166::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /xyz/vendor/league/iso3166/src/ISO3166.php

Could you fix this please? :) Thanks!

But the return type already is int? What version are you using?

Sorry, nevermind, another dependency downgraded to 3.0. Seems ok in 4.


Upgrading Kubernetes et consortes

Fixes issue of outdated version of Kubernetes
Summary of changes:

Bringin k8sports back from void
Upgrading: experiments binaries, Golang, Logrus, K8s client-go, K8s and Docker
Talking to new K8s and Docker sith k8sports package
Removing unnecesarily printed information

Testing done:

Fixed all the necessary test and made sure that we know why they started failing.

run integration tests


STRING stops after 6 characters

when i run a script it will run up to a certain point and then doesnt print the full string just the first 5 characters, i think this may be an issue with the serial communication
I have changed the Buad to 57600 on both, but it had to use the upload to get it to the ESP and im not sure if anything changes. it doesnt seem to work when uploading.
using an esp 12e and CJ MCU like the beetle with a 3.3v voltage regulator. tested with a NODE MCU and the same beetle and it had the same issue.
could it be the voltage regulator or the Baud rate?

i think it has more to do with the number of lines in the script... after about 8 lines it has trouble

Does the Script halt at the same position in the script all the time (disallowed/unsupported character?). If the problem differs from run to run you might have issues with an unstable serial connection. You should reduce serial speed then. See #65


Content Version

[x] Implement lifecycle
[x] Content versioning

Implement triggers based on content versioning and not on etag changes.


Validation issue with<PHONE_NUMBER> (MX)

Please read the "guidelines for contributing" (linked above) and fill in the template below.
Country/region affected (e.g., "US"): MX
Example number(s) affected ("+1<PHONE_NUMBER>"):<PHONE_NUMBER>
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): IMPORTANT - anything posted here is made public. Read the guidelines first!
link to demo

@AlfLuis,
Thank you for using libphonenumber!
Looks like there is no issue with libphonenumber.
It returns<PHONE_NUMBER> as valid fixedline number, see the demo page.
Please let us know what is the exact issue here.
Use our contribution guidelines


Made fallback process-safe. Added ConstantValuePredictor.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-242/1 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-242/1/index.html

Codecov Report

Merging #242 into master will decrease coverage by 0.06%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##           master     #242      +/-   ##
==========================================
- Coverage   81.13%   81.07%   -0.07%
==========================================
  Files         133      133
  Lines        7447     7460      +13
==========================================
+ Hits         6042     6048       +6
- Misses       1405     1412       +7

Impacted Files
Coverage Δ

src/gluonts/model/trivial/mean.py
97.22% <100%> (+2.35%)
:arrow_up:

src/gluonts/model/predictor.py
79.41% <40%> (-0.2%)
:arrow_down:

src/gluonts/support/pandas.py
80% <50%> (-20%)
:arrow_down:

src/gluonts/model/trivial/constant.py
76% <53.84%> (-24%)
:arrow_down:


Webview doesn't respect smooth scrolling

"editor.smoothScrolling": false,

VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:07.165Z)
OS version: Windows_NT x64 10.0.17763

This was discussed previously in #39745

Added with a disable-smooth-scrolling in  #65422


Feat social icons development

Guidelines

[x] I read the Contributing Guidelines

This pull request regarding on

[ ] fixed an issue
[x] developed new feature
[ ] fixed a bug

Briefly describe what you did

Added a function to select icons position.

Top selected:

Bottom selected:

closes https://github.com/RizkyRajitha/linkin/projects/1#card-73766046

Added an option to select transparent background

Added an option to select social icons font color

Appreciate your contribution to making Linkin better 🚀.

thanks for your valuable contribution @dubisdev
there are few alterations. i will change them and let you know in discord
great work.


Requiring external module @babel/register

I follow your instruction, but unfortunately i got an errror says
Requiring external module @babel/register
I use laragon for dev server

FYI this is normal, in order to compile from ES6 syntax to JS.
You have the same problem as me and I didn't find the time to fix it yet and it can take up to a few minutes to register on my machine depending on project!! Crazy as some guys have it loaded in just 2 seconds.
I need to check it on a new mac to see if it improves but for now I run on Mamp pro latest, Node v10.11.0 with latest WPGulp (tweaked to my needs) which have close to latest dependencies that you can find in your package.json
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"gulp-babel": "^8.0.0",

If anyone encounters or managed to fix, please comment.

I have a similar issue. Here is the console message
Requiring external module @babel/register
/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_modules/@babel/core/lib
/config/config-descriptors.js:178
throw new Error(Plugin/Preset files are not allowed to export objects, only functions. In ${file path});
^
Error: Plugin/Preset files are not allowed to export objects, only functions. In /Users/edelsteinm/Lo
cal Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_modules/babel-preset-es2015/lib/index.js
at createDescriptor (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/nod
e_modules/@babel/core/lib/config/config-descriptors.js:178:11)
at items.map (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_modul
es/@babel/core/lib/config/config-descriptors.js:109:50)
at Array.map ()
at createDescriptors (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/no
de_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/c
moa/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_modules
/@babel/core/lib/config/config-descriptors.js:47:19)
at mergeChainOpts (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_
modules/@babel/core/lib/config/config-chain.js:320:26)
at /Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_modules/@babel/c
ore/lib/config/config-chain.js:283:7
at buildRootChain (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/cmoa/node_
modules/@babel/core/lib/config/config-chain.js:120:22)
at loadPrivatePartialConfig (/Users/edelsteinm/Local Sites/cmoa2019/app/public/wp-content/themes/
cmoa/node_modules/@babel/core/lib/config/partial.js:85:55)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/edelsteinm/.npm/_logs/2019-10-18T15_13_42_678Z-debug.log
Please see the debug.log file attached.
2019-10-18T15_06_00_223Z-debug.log

I installed @babel/register (alongside the older babel-register package that is being used by WPGulp), and everything seems to work fine.

@hhasan16 & @max-cmoa: Could you provide a link to a WP theme plus corresponding package.json and wpgulp.config.js files, please?
It seems I can reproduce this bug. What versions of node and npm are you using?

This was a long time ago. I forgot about this. I am not running into this issue anymore. For you information I am using:
node v10.21.0
npm 6.14.4
I can't link to the theme I am using, because it is proprietary. My apologies for this.

hello,
i'm testing the wpgulp workflow and i have the babel/register requiring bug. I'm using the last node and npm version.
tried to re install @babel/register but it still doesn't work
any new idea ?
thanks !!! ( great job )

@mat-cat Did you try to delete your node_modules directory and reinstall them?

Yop,
I did but same error

Hi @mat-cat ! Maybe using 'nvm' and trying node v10 instead of v12 or v14 helps. When I run e.g. 'npm run translate' I get the message that @babel/register is required (which is newer), while babel-register (the older package) is required when just running 'rulp translate' (or any other task). You could also try to globally upgrade gulp, but I am not sure if this will work, as the drepcated gulp-utils and other outdated packages are needed for certain wpgulp tasks. Hope this helps!


[gl] Switch transmute to from_raw_parts

It seems like transmute does not perform the expected slice conversion here. Switching to from_raw_parts seems to work correctly, but I'm not sure what the performance trade-off will be (in the long-term).

Thanks! Updated to address comments.


configuring XTL complex number support in tests

xsimd's tests in the test subdir include tests with complex number support.  Support includes XTL with complex numbers.  However it's not clear how XTL complex number support is intended to be activated.
test/CMakeLists.txt refers to ENABLE_XTL_COMPLEX, and we see that if cmake -DENABLE_XTL_COMPLEX=On .. is active, then cmake switches the build flags from -std=c++11 to -std=c++14. The tests build with `-std=c++14`` and ctest runs and passes.
However, the test files (test_batch_complex.cpp, ,test_utils.hpp), as well as the xsimd documentation, refer to XSIMD_ENABLE_XTL_COMPLEX.  But  cmake -DENABLE_XTL_COMPLEX=On .. does not activate any -DXSIMD_ENABLE_XTL_COMPLEX=1 build flag for compiling the tests.
The flag can be added explicitly with cmake -DENABLE_XTL_COMPLEX=On -DCMAKE_CXX_FLAGS="-DXSIMD_ENABLE_XTL_COMPLEX=1" ...  In this case the tests again build, make VERBOSE=1 confirms XSIMD_ENABLE_XTL_COMPLEX is set, and ctest still runs and passes.
For comparison,  cmake -DCMAKE_CXX_FLAGS="-DXSIMD_ENABLE_XTL_COMPLEX=1" ...  fails.  In this case the build flags remain at  -std=c++11 .  The documentation confirms  -std=c++14 is needed for XTL complex number support. The README reminds us  C++14 support is needed for XTL complex number support.
In short, it is not clear how xsimd tests should be configured for testing complex number support.  Is
cmake -DENABLE_XTL_COMPLEX=On ..

supposed to be enough (does it even test XTL COMPLEX support? or does it simply build with -std=c++14?), or does the complex test configuration need to be
cmake -DENABLE_XTL_COMPLEX=On -DCMAKE_CXX_FLAGS="-DXSIMD_ENABLE_XTL_COMPLEX=1" ..

If the latter case, shouldn't be -DXSIMD_ENABLE_XTL_COMPLEX=1 be set by CMakefiles.txt when -DENABLE_XTL_COMPLEX=On  is used, alongside the configuration of -std=c++14 ?

Thanks for reporting this one! Should be fixed in master branch now.


which graphiql version is using?

I have Flask-GraphQL==2.0.1 installed and inside Chrome it is requiring  dependencies like

<EMAIL_ADDRESS>note: currently the latest version in jsdelivr is 1.0.6

however the github readme says

graphiql_version: The graphiql version to load. Defaults to "1.0.3".

reallly? If I set graphiql_version=1.0.3  explicitly, then Chrome throws error

Uncaught Error: GraphiQL 0.18.0 and after is not compatible with React 15 or below

I did not find anywhere the render_graphiql.py set the variable to "1.0.3"
In my local drive is GRAPHIQL_VERSION = '0.11.11';
and gitlab GRAPHIQL_VERSION = '0.7.1'

It's because you are reading the readme for the master branch, but that is somewhat newer than the latest PyPI release, which is v2.0.1. This version used a much older version of React and a much older default GraphiQL. You can in theory upgrade a few of these packages to the github master branch but I don't recommend it for dependency hell reasons. I think we just have to wait until this repo, and graphql-server publish their 3.x.x versions and everything will work.

The best we can do using stable versions is graphiql_version="0.17.5". Newer versions aren't supported because of the old React version.


Architecture Design for K3s High Availability with an External DB vs Embedded DB

I am planning to deploy a K3s HA cluster with an external DB.
According to the docs, I will need to have an external DB (e.g. MySQL) to store the cluster information. I would assume this means to install the MySQL server on my host machine, outside of the kubernetes cluster. However, I am planning to use this same database to store my application data. This would mean that the server will not be hosted on kubernetes. (please correct me if I am wrong).
How should I overcome this problem?
Furthermore, I have read the embedded DB option. However, there are very few guides on this (as it recently came out of beta). From my understanding, each of the k3s servers will have its own embedded etcd to store the cluster information. As such, what is the required memory size of the k3s servers (this is crucial as I am running on raspberry pi). Am I able to schedule jobs to the k3s servers (similar to the external db option)?
PS: I am planning to use 1 of the Raspberry Pis (w/ external SSD) for the PV storage).
I am new to K3s please correct me or ask for further clarification if I did not make myself clear!
Thanks in advance!

The master nodes require either an embedded or an external database to - indeed - store cluster information.
The worker nodes can host other database(s). Those databases will be and are going to be managed by K3s itself (with correct and proper configuration).
Timescaledb (postgresql on steroids) is i.e. an interesting suggestion on my behalf regarding time-series data.
The master nodes with embedded etcd require at least 1GB of memory. Buy the 4GB Raspberry pi 4b w/ an external USB 3 sata SSD drive.

The master nodes require either an embedded or an external database to - indeed - store cluster information.
The worker nodes can host other database(s). Those databases will be and are going to be managed by K3s itself (with correct and proper configuration).
Timescaledb (postgresql on steroids) is i.e. an interesting suggestion on my behalf regarding time-series data.
The master nodes with embedded etcd require at least 1GB of memory. Buy the 4GB Raspberry pi 4b w/ an external USB 3 sata SSD drive.

@remkolems thanks for replying!
Maybe I should have made myself clear about my configuration. Currently I have 3 Raspberry Pi 4B (1 of which has an external SSD).
Given the 1 SSD limitation, I am planning to adopt the external DB architecture.
Or should I do get 2 more SSDs and use the embedded DB architecture?

@remkolems thanks for replying!
Maybe I should have made myself clear about my configuration. Currently I have 3 Raspberry Pi 4B (1 of which has an external SSD).
Given the 1 SSD limitation, I am planning to adopt the external DB architecture.
Or should I do get 2 more SSDs and use the embedded DB architecture?

If you have an external non-Pi server that you are planning on running a database on anyway, I would probably go with that. It'll save a lot of fussing about with SD card IO throughput and such, and keep the SSD free for your PVs.

If you have an external non-Pi server that you are planning on running a database on anyway, I would probably go with that. It'll save a lot of fussing about with SD card IO throughput and such, and keep the SSD free for your PVs.

@brandond sad to say, but I do not have an external non-Pi server available to me (due to limited budget).
Will it be possible, for external DB architecture, use 2 as masters and workers (Ideally should be separated) and the one with SSD will be used as the external DB for cluster info and for PV?

@brandond sad to say, but I do not have an external non-Pi server available to me (due to limited budget).
Will it be possible, for external DB architecture, use 2 as masters and workers (Ideally should be separated) and the one with SSD will be used as the external DB for cluster info and for PV?

Oh, if you don't have an external host then there's not really much point in putting the database on one of the Pis outside of K3s. I would probably just go with single-master on the node with a SSD, and make the others agents only. I would also boot off the SSD if at all possible.

Oh, if you don't have an external host then there's not really much point in putting the database on one of the Pis outside of K3s. I would probably just go with single-master on the node with a SSD, and make the others agents only. I would also boot off the SSD if at all possible.

@bradtopol thanks for your prompt feedback!
Just to clarify. For my setup, it is recommended to adopt the Single-server setup with an Embedded DB architecture with 1 server (Pi w/ SSD) and 2 agents (Pi w/o SSD)?
How do I provision the PV that resides on my server?
Yes currently I am booting from my SD card

@bradtopol thanks for your prompt feedback!
Just to clarify. For my setup, it is recommended to adopt the Single-server setup with an Embedded DB architecture with 1 server (Pi w/ SSD) and 2 agents (Pi w/o SSD)?
How do I provision the PV that resides on my server?
Yes currently I am booting from my SD card

@bradtopol  may I know how I can configure the server nodes to talk to each other using embedded db (etcd).
If I have 3 server nodes , can I just start k3s server with --datastore-endpoint etcd ?

I'm not sure who @bradtopol is but the docs for embedded etcd are at https://rancher.com/docs/k3s/latest/en/installation/ha-embedded/


Explicit the fact that gift cards cannot be used with incognito

As reported by a user in https://opencollective.freshdesk.com/a/tickets/1211
We should make it clear that gift cards cannot be used with incognito profiles.
Proposed solution

Add a message on the redeemed page to explain users that they can't use their gift card with an incognito profile.

Add a FAQ at the payment step if using incognito while there's a gift card stored for user
Title

Why can't I see my gift card?

Description

Unfortunately, gifts cards cannot be used with incognito profiles. Allowing this could allow malicious users to find out what your main profile is. The protection of your personal information is too important for us to take this risk!

This happened again https://opencollective.freshdesk.com/a/tickets/1671

@Betree I'd like to work on this, the FAQ to edit is this? https://github.com/opencollective/documentation/blob/master/backers-and-sponsors/README.md

@JohnTitor The FAQ is to be added for the payment step in the contribution flow, in a similar fashion to what we do for the details step: https://github.com/opencollective/opencollective-frontend/blob/6a807bb7e2be3c215694ccdd74f8e7cca9b7f3db/components/contribution-flow/index.js#L746

Issue resolved by @JohnTitor :taco: :tada:

🏆 This issue was completed by @JohnTitor as part as our first Hackathon (it started at at the event but was finished after).
I retroactively added a $200 bounty on it. To claim the bounty, you can either:

Submit an invoice to https://opencollective.com/engineering/expenses/new (please mention the issue number in the expense's title)
Or ask for an Open Collective gift card of the same value (to donate to other collectives)


DOC: tigger -> trigger, Completeion -> Completion

A couple typos, one somewhat important as users might want to copy/paste the config variable.

I should be more careful on those stuff... Thanks for the fix:)


documentation how to use D3FC

when using 3dfc, by default the grid will show up instead, I am using this code
 <perspective-viewer
          view="[d3fc]x_bar"
          row-pivots='["country"]'
          columns='["gold"]'
          sort='[["gold","desc"]]'>

      </perspective-viewer>

Hi @djouallah ,
The view parameter takes the internal name of the view which is not exactly the same as the display name.
It should work if you use: d3_x_bar.
E.g.
<perspective-viewer
          view="d3_x_bar"
          row-pivots='["country"]'
          columns='["gold"]'
          sort='[["gold","desc"]]'>

      </perspective-viewer>

thanks, it works


How to persist user data

Ive noticed that the session plugin uses kong.db for storage yet this does not seem to be supported in Golang. Is this supported or is there another mechanism?
Context: we are migrating user credentials out of a monolith so during the migration period, we would like to support both session types and hence might need to write our custom plugin for that.

@javierguerragiraldez & @gszr you two are the main contributors, any thoughts here?

one of the goals of the Go plugin is to tap into the golang ecosystem, you can use any go package to manage persistence, databases, communications, etc.
we could add kong.db to go-pdk, bug given that the main performance bottleneck is the IPC channel between kong and go-pluginserver, it probably wouldn't be the best solution.

As @javierguerragiraldez points out, while the go-pdk doesn't expose kong.db, you can use any existing Go library for database connectivity. @kev1n11 do you have any other questions?

Hey,
is it possible to use cache? kong.cache is not available.

No further questions from me. Happy to close