Installing current bcdata version into virtenv

@smnorris, I'll put this here so it doesn't clutter your repo.  As usual, I am asking you questions on the weekend and I hope it goes without saying that I am 100% ok if you don't answer at all until you are back "working" if you are taking time off.... I'll put it down here for now for when you are on the keys.
I have a feeling this is a silly question, but I have a knack for chasing rabbits down holes that go for days so I'll throw this out to you in case you might save me a long and dark chase.
I want to install the new version of bcdata  that records the download date in public.bcdata.  I have pip uninstall bcdata the original version from the bcfp virtual environment which is at
~/anaconda3/envs/bcfp
I can see that all the packages in requirements.txt of bcdata are still there in bcfp.
What is the best way to install the cloned version of bcdata into the bcfp virt env?  Currently, bcdata is at ~/scripts/bcdata but I could clone it into ~/anaconda3/envs/bcfp and then cd into there and run python setup.py?  Or do I need to start with a fresh directory and rebuild the virt env maybe?
 Thanks so much for being such a ninja! 🔑

No need to call setup.py directly, pip will do it for you:
https://github.com/smnorris/bcdata#development-and-testing
(your_env)$ pip uninstall bcdata
(your_env)$ git clone git@github.com:smnorris/bcdata.git
(your_env)$ cd bcdata
(your_env)$ pip install .

👍🏼

oh god. So sorry to bug you with this.  Not sure why bcdata and I have such a hard time getting along.  I ran into some issues where things weren't working again (somehow related to nested virtual envs - I think I am doing something wrong with my initial conda setups). Anyway, I was able to resolve by deactivating out of all my conda envs then activating into bcfp.  However, I uninstalled bcdata as part of the troubleshooting process and upon reinstallation I can't seem to get it to work at all.... Can you have a look at this workflow and resulting error messages to see if there is something in it that tips you off on an easy fix?  All I can think of to do is to erase then rebuild the bcfp virt env from scratch again and that might take me another very long time.
(bcfp) newgraph@MSI:~/scripts$ pip uninstall bcdata
Found existing installation: bcdata 0.4.4.dev0
Uninstalling bcdata-0.4.4.dev0:
  Would remove:
    /home/newgraph/anaconda3/envs/bcfp/bin/bcdata
    /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/bcdata-0.4.4.dev0.dist-info/*
    /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/bcdata/*
Proceed (y/n)? y
  Successfully uninstalled bcdata-0.4.4.dev0
(bcfp) newgraph@MSI:~/scripts$ rm -rf bcdata
(bcfp) newgraph@MSI:~/scripts$ ls
backupr  bcfishobs  bcfishpass  fwapg  geobc  python-rasterstats  rasterio  setups
(bcfp) newgraph@MSI:~/scripts$ git clone https://github.com/NewGraphEnvironment/bcdata.git
Cloning into 'bcdata'...
remote: Enumerating objects: 152, done.
remote: Counting objects: 100% (152/152), done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 1114 (delta 92), reused 98 (delta 40), pack-reused 962
Receiving objects: 100% (1114/1114), 251.13 KiB | 1.18 MiB/s, done.
Resolving deltas: 100% (649/649), done.
(bcfp) newgraph@MSI:~/scripts$ cd bcdata
(bcfp) newgraph@MSI:~/scripts/bcdata$ pip install .
Processing /home/newgraph/scripts/bcdata
Requirement already satisfied: click<8,>=7.0 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (7.1.2)
Requirement already satisfied: cligj>=0.5 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (0.7.1)
Requirement already satisfied: pgdata>=0.0.12 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (0.0.12)
Requirement already satisfied: requests in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (2.25.1)
Requirement already satisfied: owslib in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (0.23.0)
Requirement already satisfied: rasterio in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (1.2.1)
Requirement already satisfied: geopandas in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from bcdata==0.4.4.dev0) (0.9.0)
Requirement already satisfied: geoalchemy2 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pgdata>=0.0.12->bcdata==0.4.4.dev0) (0.8.4)
Requirement already satisfied: alembic in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pgdata>=0.0.12->bcdata==0.4.4.dev0) (1.5.6)
Requirement already satisfied: sqlalchemy in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pgdata>=0.0.12->bcdata==0.4.4.dev0) (1.4.2)
Requirement already satisfied: sqlalchemy-utils in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pgdata>=0.0.12->bcdata==0.4.4.dev0) (0.36.8)
Requirement already satisfied: psycopg2-binary in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pgdata>=0.0.12->bcdata==0.4.4.dev0) (2.8.6)
Requirement already satisfied: Mako in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from alembic->pgdata>=0.0.12->bcdata==0.4.4.dev0) (1.1.4)
Requirement already satisfied: python-editor>=0.3 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from alembic->pgdata>=0.0.12->bcdata==0.4.4.dev0) (1.0.4)
Requirement already satisfied: python-dateutil in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from alembic->pgdata>=0.0.12->bcdata==0.4.4.dev0) (2.8.1)
Requirement already satisfied: greenlet!=0.4.17 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from sqlalchemy->pgdata>=0.0.12->bcdata==0.4.4.dev0) (1.0.0)
Requirement already satisfied: pandas>=0.24.0 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from geopandas->bcdata==0.4.4.dev0) (1.2.3)
Requirement already satisfied: fiona>=1.8 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from geopandas->bcdata==0.4.4.dev0) (1.8.18)
Requirement already satisfied: pyproj>=2.2.0 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from geopandas->bcdata==0.4.4.dev0) (3.0.1)
Requirement already satisfied: shapely>=1.6 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from geopandas->bcdata==0.4.4.dev0) (1.7.1)
Requirement already satisfied: attrs>=17 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from fiona>=1.8->geopandas->bcdata==0.4.4.dev0) (20.3.0)
Requirement already satisfied: certifi in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from fiona>=1.8->geopandas->bcdata==0.4.4.dev0) (2020.12.5)
Requirement already satisfied: click-plugins>=1.0 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from fiona>=1.8->geopandas->bcdata==0.4.4.dev0) (1.1.1)
Requirement already satisfied: six>=1.7 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from fiona>=1.8->geopandas->bcdata==0.4.4.dev0) (1.15.0)
Requirement already satisfied: munch in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from fiona>=1.8->geopandas->bcdata==0.4.4.dev0) (2.5.0)
Requirement already satisfied: pytz>=2017.3 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pandas>=0.24.0->geopandas->bcdata==0.4.4.dev0) (2021.1)
Requirement already satisfied: numpy>=1.16.5 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from pandas>=0.24.0->geopandas->bcdata==0.4.4.dev0) (1.20.1)
Requirement already satisfied: MarkupSafe>=0.9.2 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from Mako->alembic->pgdata>=0.0.12->bcdata==0.4.4.dev0) (1.1.1)
Requirement already satisfied: pyyaml in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from owslib->bcdata==0.4.4.dev0) (5.4.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from requests->bcdata==0.4.4.dev0) (1.26.3)
Requirement already satisfied: chardet<5,>=3.0.2 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from requests->bcdata==0.4.4.dev0) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from requests->bcdata==0.4.4.dev0) (2.10)
Requirement already satisfied: snuggs>=1.4.1 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from rasterio->bcdata==0.4.4.dev0) (1.4.7)
Requirement already satisfied: affine in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from rasterio->bcdata==0.4.4.dev0) (2.3.0)
Requirement already satisfied: pyparsing>=2.1.6 in /home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages (from snuggs>=1.4.1->rasterio->bcdata==0.4.4.dev0) (2.4.7)
Building wheels for collected packages: bcdata
  Building wheel for bcdata (setup.py) ... done
  Created wheel for bcdata: filename=bcdata-0.4.4.dev0-py3-none-any.whl size=17732 sha256=2ddffe20c35529d5c01a4a3716454c7fd20aa701327adf65e396bd2b3c0e9639
  Stored in directory: /tmp/pip-ephem-wheel-cache-yxaovjh5/wheels/e6/37/65/a34374e976d8e316a0c42c092bd46fc92728b62b78f5091ac2
Successfully built bcdata
Installing collected packages: bcdata
Successfully installed bcdata-0.4.4.dev0
(bcfp) newgraph@MSI:~/scripts/bcdata$ bcdata --help
Traceback (most recent call last):
  File "/home/newgraph/anaconda3/envs/bcfp/bin/bcdata", line 5, in <module>
    from bcdata.cli import cli
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/bcdata/cli.py", line 20, in <module>
    import pgdata
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/pgdata/__init__.py", line 9, in <module>
    from pgdata.database import Database
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/pgdata/database.py", line 19, in <module>
    from .table import Table
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/pgdata/table.py", line 20, in <module>
    from sqlalchemy_utils import LtreeType
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
    from .aggregates import aggregated  # noqa
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
    from .functions.orm import get_column_key
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
    from .database import (  # noqa
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py", line 11, in <module>
    from .orm import quote
  File "/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
    from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/home/newgraph/anaconda3/envs/bcfp/lib/python3.9/site-packages/sqlalchemy/orm/query.py)

Although maybe not that relevant since I can't seem to run bcdata at all... when I printenv some info is:
DATABASE_URL=postgresql://newgraph:postgres@localhost:5434/postgis
PGPORT=5434
PGPASSWORD=postgres
PGUSER=newgraph
PGDATABASE=postgis
PGOGR=host= user= dbname= password= port=

If I understand correctly, you're using both conda and virtualenv to manage environments.
You need to choose one and stick with it, they aren't going to work nicely together.

hmm.  Not sure I understand the difference.  Is it a conda vs. anaconda thing?  It seems like there is a base environment that my terminal defaults to when I start it up.  Not sure why.  When i don't conda deactivate base out of it I have run into issues.  I think I am missing somehting.

Are you using virtualenv command?

I don't think so. sounds familiar though.  I wonder if I mucked something up at the very beginning and I am still paying for it. Confusing.

I don't think so, it should be ok. It is confusing because there are too many ways to do the same thing and they don't work well together. I'll tweak the bcdata environment.yml just to make sure that isn't the issue

No need to call setup.py directly, pip will do it for you:
https://github.com/smnorris/bcdata#development-and-testing
(your_env)$ pip uninstall bcdata
(your_env)$ git clone git@github.com:smnorris/bcdata.git
(your_env)$ cd bcdata
(your_env)$ pip install .

i didn't load that env.... I have loaded it into the bcfp env as per above

I've tweaked the environment.yml to make sure it gets everything from conda (rather than pip) apart from bcdata itself.  Starting fresh with a new environment:
git clone https://github.com/smnorris/bcdata.git
cd bcdata
conda create -f environment.yml
conda activate bcdataenv
pip install .

so then I would install everyting from bcfishpass into there and run those scripts in bcdataenv?

Yes, add the missing requirements into that yml file
rasterstats
csvkit
jq
parallel

or install manually, doesn't matter

I've added an (untested) environment.yml file to bcfishpass as well. Conda can handle the environment variables too: https://github.com/smnorris/bcfishpass/blob/main/environment.yml. For your case you'd have to

remove the bcdata line and pip install the latest after installing everything else
edit the environment variables to point to your db

ok.  Ya, nothing seemed to work with that last attempt so I am in the process of rebuilding the bcfp from scratch. I'll try wiht the yml next time

I'll probably get bcdata onto conda-forge at some point (haven't looked into it yet) but first I want to remove the pgdata dependency. And having it on conda wouldn't help you anyway, you want the latest and greatest.

same issues with both attempts... I am going to try a couple more things then look at nuking anaconda and trying to install conda again. If you were starting fresh which conda installation do you think you would use and where would you get it from? Sorry for all the questions.  Not sure what happened. Everything was working great for a little bit there....

I've only used miniconda via installers here.

ok.  bcfpenv works for rasterio plugin (that was an issue on this last headache round) but bcdata --help still throws the same errors... Any chance you might be able to confirm that bcdata works in bcfpenv on your machine before I chase this too much longer?

hmm, nope.
$ cd bcfishpass
$ conda env create -f environment.yml
$ conda activate bcfpenv
$ bcdata --help
Traceback (most recent call last):
  File "/Users/snorris/miniconda3/envs/bcfpenv/bin/bcdata", line 5, in <module>
    from bcdata.cli import cli
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/bcdata/cli.py", line 20, in <module>
    import pgdata
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/pgdata/__init__.py", line 9, in <module>
    from pgdata.database import Database
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/pgdata/database.py", line 19, in <module>
    from .table import Table
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/pgdata/table.py", line 20, in <module>
    from sqlalchemy_utils import LtreeType
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
    from .aggregates import aggregated  # noqa
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
    from .functions.orm import get_column_key
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
    from .database import (  # noqa
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py", line 11, in <module>
    from .orm import quote
  File "/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
    from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/snorris/miniconda3/envs/bcfpenv/lib/python3.9/site-packages/sqlalchemy/orm/query.py)

I'll look into it now, maybe I'll have to remove the pgdata dependency sooner rather than later.

ok. thanks for checking and looking into it.
moving to other things for a bit.
Thanks for that yml! it sure speeds things up and will be super useful down the road for other applications.

I've updated by pinning to specific versions of sqlalchemy and sqlalchemy add-ons. Works now.
I am not sure what has changed but sqlalchemy and the add-ons are are dependencies that can be avoided if I clean things up.

https://github.com/smnorris/bcfishpass/commit/a4682f2396b8ae55619f6343546b2e854340c5f0#diff-9efd195f4e9bfb79ccd456a1d8370fafcc4bcb0b00ea3799222667d2ae818533

issue is upstream here https://github.com/kvesteri/sqlalchemy-utils/issues/505

the doctor is in!! 🧑⚕ Thank you!  Another testament to the beauty of virt envs and issue tracking I guess. Back at it.

Also a testament to reducing the list of dependencies...


power save (IDFGH-1237)

----------------------------- Delete below -----------------------------
If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.
INSTRUCTIONS
Before submitting a new issue, please follow the checklist and try to find the answer.

[x] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[x] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[x] I have searched the issue tracker for a similar issue and not found a similar issue.

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
Describe your problem.
Include debug logs on the monitor or the coredump.
Provide more items under Other items if possible can help us better locate your problem.
Use markup (buttons above) and the Preview tab to check what the issue will look like.
Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------
Environment

Development Kit:      [ESP32-Wrover-Kit|ESP32-DevKitC|ESP32-PICO-Kit|ESP32-LyraT|ESP32-LyraTD-MSC|none]
Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
Module or chip used:  [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]
IDF version (run git describe --tags to find it):
// v3.2-dev-1148-g96cd3b75c
Build System:         [Make|CMake]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// 1.22.0-80-g6c4433a
Operating System:     [Windows|Linux|macOS]
Power Supply:         [USB|external 5V|external 3.3V|Battery]

Problem Description
//Detailed problem description goes here.
Expected Behavior
Actual Behavior
Steps to repropduce

step1
...

// It helps if you attach a picture of your setup/wiring here.
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

@gal1990 Please provide more details. Thanks.


feat: Add script to run single tests against files

This PR adds a script to run single tests against json-files.

Closes #8 .

I added an issue to remind about adding an option to print the input (#14).

I added an issue to remind about adding an option to print the input (#14). If that's ok for you I think we can merge this one.

Agreed.


Support LLVM14

This is WIP until llvm-sys is updated to version 140.
Fixes #312.

llvm-sys v140 has been published now, so this PR is ready to be reviewed.

Hi @rsdy.  I've made some progress this weekend on  this issue, but there's more to do.  Do you want incremental PRs along the way to get a some improvements earlier rather than later, or do you want one big PR that handles it all?  Also, wanted to inform you in advance it will require a PR to build-images to get merged first and for those images to be updated.  Looking at previous comments I suspect you expected that though 😄

@DerekStrickland Thanks for picking this up! I'm happy to merge PRs as they come in assuming that they keep the repo in a consistent state, e.g. if it breaks main "temporarily" I'd much rather merge those PRs together before landing them in main.
I think the best approach might be for you to re-open a different PR with this branch, targeting main, so I can close this and move work over to your fork. Does that make sense?

Yes it does. I've got a little bit of clean up to do and the work week is back upon us. I'll get some incremental updates over to you as soon as I can starting with the build-images changes that will be required.

Thanks @AlexGatz.  The build-images PR got merged yesterday but failed in the foniod CI while passing in my fork. I'm investigating what is up with that before proceeding to updating RedBPF itself.  I'll keep you all posted as I progress.

@rsdy @AlexGatz   New PR staged for build images.  tl;dr bindgen published a release that separates the bindgen-cli from the bindgen library via workspace 3 days ago that required a change to the cargo install command.

@rsdy @AlexGatz   New PR staged for build images.  tl;dr bindgen published a release that separates the bindgen-cli from the bindgen library via workspace 3 days ago that required a change to the cargo install command.

Fantastic. Thank you.

LLVM 15 is released!


[azp] Use pre-installed Boost 1.69

Apparently, Azure Pipelines images of Ubuntu and Windows (VS2017, VS2019) now come with pre-installed Boost. Since this update, our AzP builds on Ubuntu started failing due to mismatch between Boost 1.68 we deploy and pre-installed Boost 1.69, see https://developercommunity.visualstudio.com/content/problem/525582/ubuntu-1604-image-changed-and-comes-with-usrlocals.html
Let's try to avoid deploying of Boost 1.68 and use pre-installed Boost 1.69 where possible.
References:

C/C++: Add the latest 4 versions of Boost 1.66.0 - 1.69.0 (Linux, Windows)
https://github.com/Microsoft/azure-pipelines-image-generation/pull/732

Document available versions of Boost 1.66.0 - 1.69.0 following #732 update
https://github.com/Microsoft/azure-pipelines-image-generation/issues/845

Tasklist

[ ] All CI builds and checks have passed

Status
Current status is https://dev.azure.com/boostorg/gil/_build/results?buildId=327

Builds on Ubuntu+GCC with pre-installed Boost 1.69 pass.
Builds on macOS+clang and Windows+VS2015 with manually deployed Boost 1.68 pass.
Builds on Windows+VS2017 with pre-installed Boost 1.69 fail due to run-time failures of tests

I am suspicious about the pre-installed Boost 1.69: it comes with include/boost/gil headers which may be mixed and matched with headers cloned from the Boost.GIL repo. This may lead to subtle issues causing the legacy/image checksum tests failing.
Plan
My plan is to leave this PR for now and try to re-install Boost 1.68 on all AzP builds and force to use it without detecting the pre-installed Boost 1.69.

For now, it is reasonable to stick to Boost 1.68 installed my our AzP scripts as all builds are successful (see #277)


Error: [TypeError: Cannot read property 'target' of undefined]

when I try to run the function to print, an error occurs telling me that Error: [TypeError: Cannot read property 'target' of undefined]
and when i try to console the printers variable it returns me an empty array here is my code
const PrintPOS = async () => {
        try {
            const printers = await EscPosPrinter.discover()

            const printer = printers[0]

            console.log(printers);

            await EscPosPrinter.init({
                target: printer.target,
                seriesName: getPrinterSeriesByName(printer.name),
                language: 'EPOS2_LANG_EN',
            })

            const printing = new EscPosPrinter.printing();

            const status = await printing
              .initialize()
              .align('center')
              .size(3, 3)
              .line('DUDE!')
              .smooth()
              .line('DUDE!')
              .smooth()
              .size(1, 1)
              .text('is that a ')
              .bold()
              .underline()
              .text('printer?')
              .bold()
              .underline()
              .newline(2)
              .align('center')
            //   .image(image, 200)
              .barcode({
                value:'Test123',
                type:'EPOS2_BARCODE_CODE93',
                hri:'EPOS2_HRI_BELOW',
                width:2,
                height:50,
              })
              .qrcode({
                value: 'Test123',
                level: 'EPOS2_LEVEL_M',
                width: 5,
              })
              .cut()
              .addPulse()
              .send()

              console.log('Success:', status)

        } catch(e) {
              console.log('Error:', e)
        }
    }

i also add this req. permission to my android/app/src/main/AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

@davmaene What's your solution?

1 : you must first make sure that the bluetooth connection is activated.
2 : then you need to make sure there are bluetooth devices ( your printer is on )
3 : but if the problem persists I advise you to use this other module (react-native-pos-printer) this one work well
here there are some lines of code that i had used in a project
import * as React from 'react';
import { View, Text, TouchableHighlight, Image } from 'react-native';
import { FooterScreen } from '../../components/Footer/FooterComponent';
import { Head } from '../../components/Head/HeadComponent';
import { Consts } from '../../assets/scripts/AppConstants';
import CheckBox from 'react-native-check-box';
import RNPosPrinter from 'react-native-pos-printer';
import Ionicons from 'react-native-vector-icons/Ionicons';
import { ScrollView } from 'react-native-gesture-handler';

export const PrinterScreen = ({navigation, route}) => {

    const [permi, setpermi] = React.useState(false);
    const [vignete, setvignet] = React.useState(false);
    const [rose, setrose] = React.useState(false);
    const [ass, setass] = React.useState(false);
    const [elec, setelect] = React.useState(false);

    let infos = null;
    let infractions = null;

    if(route && route['params'] && route['params']['infos']) infos = route['params']['infos'];
    if(route && route['params'] && route['params']['infractions']) infractions = route['params']['infractions'];

    const PrintPOS = async () => {
        try {
            RNPosPrinter.init(true).then(d => {
                console.log("done");
            })
            .catch(e => {
                console.log("error ");
            })
            RNPosPrinter.getDevices().then(d => {
                console.log("done getting devices", d);
            })
            .catch(er => {
                console.error("error", er);
            })
            RNPosPrinter.scanDevices((e) => {
                console.error(e);
            })
            RNPosPrinter.printTestReceipt("david maene");

        } catch(e) {
            console.error(e);
        }
    }

    return(
        <>
           .....
           ....
           ....
        </>
   )
}

@tr3v3r Do you have any thoughts about it?

@DenisFjordfox hi!
Could you please share more info.
platform, lib version, Android version, iOS version, printer model, type of connection (lan, Bluetooth and etc.)

@tr3v3r I'm using the latest lib version.
Printer: Epson TM-P80 via bluetooth
Device: Galaxy A51, Android 11
React Native: 0.63.4

@tr3v3r Yeah. Permissions are the following:
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    ```

@DenisFjordfox have you tried to increase scanningTimeoutAndroid ? Is you printer properly been configured? I mean have you tried to print something using another software?

@tr3v3r Yeah, was setting timeout to bigger values, but the issue persists. I have only one printer available, so cannot check it properly. I think, that I'll try to setup the library on a bare RN project to check the behavior

@DenisFjordfox I’m asked not about another printer but about another software to connect and print on your TM-P80 printer. I.e. did you manage to print something from pc via Bluetooth connection?


[Angular] Add test file as a cli option

I'm not able to yet, sorry :(

No problem @AntonioColaiera thank you anyway for trying! BTW if you change your mind and want some hint on how to proceed feel free to reach out  😄

Hey there! Could I take this one?

I'll try to work on it as soon as I can, if I can.
Thx

Of course, assigning this to you then @jackcoral89 ! Thank you!

Hi, is this still open? I'd like to work on it.


有否正式商用的同行嘛？

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

请在Discussions板块，讨论相关话题：https://github.com/orgs/bifromqio/discussions/83


Standard File/Folders security and permissions

Description of bug
Users are able to access assets files in a Standard folder without View and Read privileges.
Steps to reproduce

Go to Site Assets and create Standard type folder
Add any asset to folder (i.e. any txt file)
Go to folder Properties -> Permissions
Disallow view and read permission
Get the URL of a file from the Standard folder
Log out from DNN
Navigate to the file URL

Current result
The file opens without having the permission to view it.
Expected result
Expected that file should be secured by the permissions and users cannot view or read it without having the permission to do so.
Screenshots

Affected version

[x] 10.0.0 nightly build
[x] 9.4.1 nightly build
[x] 9.4.0 release candidate
[x] 9.3.2 latest supported release

Dear community,
After some investigation I didn't come to any deserving solution. Here I would like to start discussion in a hope to find out something good to resolve this issue.
As you know there are few Folder types we use: Standard, Secured and Database.
When a Standard folder is used, we upload files to that folder as it is while Secured folder makes the files renamed by adding *.resource extension to the end. So, Secured folder does following:

It generates dnndev.me/LinkClick.aspx?fileticket=.... url to check permissions and read *.resource files.
IIS does not allow to list *.resource files. No way to view them in browser using direct links like dnndev.me/Portals/0/Test2/test.txt.resource.

In case of Standard folders, we use direct links like dnndev.me/Portals/0/Test1/test.txt
That means we have two problems:

We do not use any handlers to check permissions
If extension is in IIS white list, so direct URL it is not getting blocked by IIS. It does not depend on any permissions.

Some points to discuss:

We can fix problem 1 by pointing files via dnndev.me/LinkClick.aspx handler to check permissions, but still, if someone will try to use direct link, he will be able to view the file, just because it is allowed by IIS.
We can also change the type of a folder,  move Standard type to Secured and add *.resource extension to all files. It will require us to rename all files. Based on experience customer could have a thousands of files, so not a good idea.
We can say we do not provide Permissions management feature for the Standard folder. If user want to secure file and manage permissions, so he must go to Secured folders. Or move particular files to Secured folder if he want to hide them.

What else can we do in order to fix it?
The simplest option is the last one. Otherwise, I'm afraid, we need to do something with the files to block them on IIS level.
@ohine @mitchelsellers @sleupold @valadas

Option three has been the position of the team.  If you need security for files, you must use a different folder provider.

At this point in time, the standard folder provider has never been suggested as the pathway to share secure file assets.  The permissions as applied to "Standard" folders are simply permissions set to control who can view through the DNN Interfaces those folders etc.
Changing this direct linking behavior would have a catastrophic impact on site performance as remember this would impact every image or other asset managed through the HTML Editors.  Therefore I agree that @bdukes is correct in that if security is desired, you need to use the "Secure" folder type.
Lastly: PLEASE respect any security concerns should be directed to<EMAIL_ADDRESS>and not directly here.  I'm leaving this here as this is a documented feature, but for future reference, we need to be sure to adhere to the policies to not draw undue attention.

Great, so, based on that, I think would be good to hide permissions tab for the Standard folders. Just to avoid customers configure it for the objects that are not designed to be secured.

@mikebigun I would disagree, the permissions still are used to control who can administer/manage the folders when it is a standard folder.
For example, you can deny browse on a folder to prevent "Content Editors" from being able to make changes to folders etc.
Any removal of these permissions would be extremely breaking to all user types and integrations, as well as would restrict functionality

Could the View permissions for Standard folders be disabled in the UI somehow?  The other permissions for Standard folders are still useful, but View has no effect, right?

@bdukes I would have to look, but I believe that the CkEditor and others use the "View" permission to control if you can work with items in the folder, I would have to double-check though

I agree with the above, and there are modules like Evotiva user files, we are using to limit access to download files being listed on the site, although all others are accessible, knowning their URL.
Just an idea: we could add a mocked "Direct download" permission, which is always true for all standard folders and always false for all other folder types. with a small tooltip, it should provide the necessary warning to any site admin.

@mitchelsellers '
AFAIK, CKEditor is not using view permission but any file listing module should, including Digital Asset Management on public pages

@sleupold that's it!  I knew something used it

Team, thanks a lot. I noted that.
Conclusion: to secure files from outside world, it is recommended to use Secured folders.
In fact, permission management is required for Standard type, just because we need to control other roles and assign different levels of access to administrate content in that folders.

Hmm, can't find it now, but there was another issues almost like this one with about the same discussion not too long ago. Or maybe it was in Forums

https://github.com/dnnsoftware/Dnn.Platform/issues/2790

That's the one yes, thank you

If I understand correctly this is by design and I am closing this issue.


refactor(@angular/cli): use UI method to show component generation warning

Just a question, what's the motivation for allowing to change the prefix in a component generation?


Implement SWF parser and player side of timeline-embedded video support.

/botio test

Thank you for the patch.

Reviewed 6 of 6 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


Set up empty functions with function documentations

scraping.py
nba_boxplot.py
nba_stats.py
ranking.py

this issue was split up into the 4 functions


How to use it?

Hi, how to use it, can you give me an example? How can I currently replace my setInterval with libraries setInterval in reactjs?

Hi.
There are two ways:

Script tag

<script>...</script> or <script src="..."></script>.
Without async or defer.
Must go before any other scripts.

Bundled

import "..." or require("...").
Put in entry point js file (depends on bundler/framework), before any other code.

@turuslan Can you please share any example using import

I got initialisation succeeded message on my console. I used CDN to reference the script in my html, However, setTimeout still stops on my index.js. Can anyone provide a sample app with this?


Remove Emoji Strip, Error Occurred template

What's this PR do?
Removes the emoji strip package, and corresponding helpers.handlePhoenixPostError, replies. renderEndConversationWithErrorMsg  functions that we added to strip emoji in #912, #913
How should this be reviewed?
Post emojis! Although they're showing up as ???'s in Rogue per https://dosomething.slack.com/archives/C0YGXUE01/p1507739954000299
Any background context you want to provide?
Now that we're no longer posting to the Phoenix proxy in #976, we no longer need to check for the cryptic 'API response is false' returned from Phoenix JS.
Once #976 is merged, I'll update this PR to merge into develop instead of the reportback branch.
Relevant tickets
#970
Checklist

[ ] Tested on staging.

Codecov Report

Merging #977 into reportback will increase coverage by 0.28%.
The diff coverage is 0%.

@@              Coverage Diff               @@
##           reportback     #977      +/-   ##
==============================================
+ Coverage       57.93%   58.22%   +0.28%
==============================================
  Files              70       70
  Lines            1581     1556      -25
==============================================
- Hits              916      906      -10
+ Misses            665      650      -15

Impacted Files
Coverage Δ

config/lib/contentful.js
100% <ø> (ø)
:arrow_up:

lib/helpers.js
74.55% <ø> (-0.31%)
:arrow_down:

lib/middleware/map-request-params.js
96.49% <ø> (-0.18%)
:arrow_down:

...g/middleware/receive-message/map-request-params.js
100% <ø> (ø)
:arrow_up:

lib/conversation/replies.js
32.83% <ø> (+4.78%)
:arrow_up:

lib/middleware/draft-completed.js
55.55% <0%> (ø)
:arrow_up:

lib/middleware/signup-create.js
36.36% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[dashboard] write a graph component

Part of #183
Write a reusable js component that graphs the requests from metrics.json.
This will be used as the overview request volume graph, as well as for graphing latencies.  The latency graph will need to have a legend (see #185).
What should use use? smoothie (currently using this) or d3? something else?

Combined graph was made in #227 - I'll close this and we can make another ticket for adding the latency graph to the client module.


the read me is outdated

It seems the readme is outdated, there are references of learn & packages folder in the readme.

My apologies! I will update the readme soon.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 996 ms

Resolved: Bofrost.at performance has improved in e61daa4 after 16 minutes.


Add flag to control CORS Origin header

I added a flag to allow the user to set their own Access-Control-Allow-Origin header. I feel it's proper to be able to set this header because CORS was designed with this use-case in mind. You need to be able explicitly say what origin can access your API. Using a reverse-proxy felt kludgy, because the app already sets CORS headers. It is not offloading that responsibility. This resolves #135 and #386.
I developed this for personal use because I am running tusd in a Kubernetes environment, and because of the way k8s handles network routing via Ingress controller, setting the proper Origin header was infeasible (even with --behind-proxy turned on). Using a reverse proxy felt wrong because k8s already does a lot of network indirection.
I hope you find this useful

: Is it not necessary to validate the the Origin header in the request matches config.CorsOrigin?

Right now, I don't see such a test but only that config.CorsOrigin is always set as the header value.

The most simplistic setup on apache/nginx is also just adding the origin with no further logic applied. I'd say this is okay to go for the very first iteration. refs https://ubiq.co/tech-blog/enable-cors-apache-web-server/ (I just grabbed to first hit on google search :see_no_evil: )
@sean9999  @Acconut is there anything I can help out with to get this PR going? THX a lot

Currently also experimenting with tusd in a kubernetes setup. Adding this functionality would gladly improve the setup.
@sean9999 @Acconut  - is there anything we can do to move this PR forward?

Yea adding this would be nice.. For now I use proxy_hide_header Access-Control-Allow-Origin; on nginx which disables their bad header.

Is it not necessary to validate the the Origin header in the request matches config.CorsOrigin? If they are not equal, we could return an error. Or is this not necessary? Right now, I don't see such a test but only that config.CorsOrigin is always set as the header value.

You're right. I checked the spec, and a CORS compliant server is supposed to refuse a connection or return an error in that case. I'll try adding that in. https://www.w3.org/TR/2020/SPSD-cors-20200602/#resource-requests

I'll try adding that in

Sounds good! After that, I think we can merge this :)

Took the freedom to rebase this PR -> #942

Is it not necessary to validate the the Origin header in the request matches config.CorsOrigin? If they are not equal, we could return an error. Or is this not necessary? Right now, I don't see such a test but only that config.CorsOrigin is always set as the header value.

You're right. I checked the spec, and a CORS compliant server is supposed to refuse a connection or return an error in that case. I'll try adding that in. https://www.w3.org/TR/2020/SPSD-cors-20200602/#resource-requests

For anyone interested. This would be the last point that needs to be done. If this check is implement, we can move towards merging such a feature :)

can be closed as well - merged as part of https://github.com/tus/tusd/pull/987

This is superseeded by #997. Thank you for all your help!


Update documentation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (347ca00) to head (2ed746e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          273       273
  Branches        18        18
=========================================
  Hits           273       273

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Exit status: 65 during build_app only on Github runner

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Hello! I'm running into an error when building the .ipa file with fastlane, but it only happens on the Github runner (macOS)
Command executed

My lane
setup_ci

api_key = app_store_connect_api_key(
  key_id: ENV["IOS_KEY_ID"],
  issuer_id: ENV["IOS_KEY_ISSUER_ID"],
  key_filepath: ENV["IOS_KEY_FILEPATH"],
  duration: 1200,
  in_house: false
)

match(
  type: "adhoc",
  storage_mode: "s3",
  s3_region: "us-east-2",
  s3_access_key: ENV["S3_ACCESS_KEY"],
  s3_secret_access_key: ENV["S3_SECRET_ACCESS_KEY"],
  s3_bucket: ENV["S3_BUCKET"],
  api_key: api_key
)

build_app(
  scheme: "Scheme Name",
  workspace: "Project.xcworkspace",
  configuration: "Release",
  export_method: "ad-hoc",
  silent: true
)

This works perfectly fine on my laptop, but it fails when running with Github Actions. My CI step
- name: Building ios app
  run: |
    cd ios
    IOS_KEY_ID=${IOS_KEY_ID} MATCH_PASSWORD=${MATCH_PASSWORD} ... bundle exec fastlane buildapp
  env:
    IOS_KEY_ID: ${{ env.IOS_KEY_ID }}
    ...
    MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}

Complete output when running fastlane, including the stack trace and command used
Output from runner
[08:55:48]: ------------------------------
[08:55:48]: --- Step: default_platform ---
[08:55:48]: ------------------------------
[08:55:48]: Driving the lane 'ios buildapp' 🚀
[08:55:48]: ----------------------
[08:55:48]: --- Step: setup_ci ---
[08:55:48]: ----------------------
[08:55:48]: Creating temporary keychain: "fastlane_tmp_keychain".
[08:55:48]: $ security list-keychains -d user
[08:55:48]: ▸ "/Users/runner/Library/Keychains/fastlane_tmp_keychain-db"
08:55:48]: ---------------------------------------
[08:55:48]: --- Step: app_store_connect_api_key ---
[08:55:48]: ---------------------------------------
[08:55:48]: -------------------
[08:55:48]: --- Step: match ---
[08:55:48]: -------------------
[08:55:48]: Successfully loaded '/Users/runner/work/crowded.app.reactnative/crowded.app.reactnative/ios/fastlane/Matchfile'
+----------------------+----------------------+
| Detected Values from './fastlane/Matchfile' |
+----------------------+----------------------+
| s3_bucket            | crowded-mobile-match |
| storage_mode         | s3                   |
| type                 | adhoc                |
| app_identifier       | ["<app-id>"]       |
+----------------------+----------------------+
...
[08:55:50]: 🔓  Successfully decrypted certificates repo
...
[08:55:51]: There are no local code signing identities found.
...
[08:55:51]: security: SecItemCopyMatching: The specified item could not be found in the keychain.
... <installs the correct certificate>
... <installs the correct provisioning profile>
[08:55:52]: All required keys, certificates and provisioning profiles are installed 🙌
[08:55:52]: Setting Provisioning Profile type to 'ad-hoc'
[08:55:52]: -----------------------
[08:55:52]: --- Step: build_app ---
[08:55:52]: -----------------------
...
[08:57:24]: ▸     Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
Run script build phase '[CP-User] [RNFB] Crashlytics Configuration' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
Run script build phase '[CP-User] Config codegen' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
[08:57:24]: ▸ ** ARCHIVE FAILED **
...
[08:57:24]: Exit status: 65
[08:57:24]:
[08:57:24]: Maybe the error shown is caused by using the wrong version of Xcode
[08:57:24]: Found multiple versions of Xcode in '/Applications/'
[08:57:24]: Make sure you selected the right version for your project
[08:57:24]: This build process was executed using '/Applications/Xcode_14.2.app'
[08:57:24]: If you want to update your Xcode path, either

Environment

✅ fastlane environment ✅
### Stack
| Key                         | Value                                                                                |
| --------------------------- | -------------------------------------------------------------------------------------------- |
| OS                          | 12.6.8                                                                                |
| Ruby                        | 2.7.4                                                                                |
| Bundler?                    | true                                                                                |
| Git                         | git version 2.42.0                                                                           |
| Installation Source         | ~/work/repo/repo/vendor/bundle/ruby/2.7.0/bin/fastlane |
| Host                        | macOS 12.6.8 (21G725)                                                                        |
| Ruby Lib Dir                | ~/hostedtoolcache/Ruby/2.7.4/x64/lib                                                         |
| OpenSSL Version             | OpenSSL 1.1.1k  25 Mar 2021                                                                  |
| Is contained                | false                                                                                |
| Is homebrew                 | false                                                                                |
| Is installed via Fabric.app | false                                                                                |
| Xcode Path                  | /Applications/Xcode_14.2.app/Contents/Developer/                                             |
| Xcode Version               | 14.2                                                                                |
| Swift Version               | 5.7.2                                                                                |
### System Locale
| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE |             |   |
### fastlane files:
`./fastlane/Fastfile`
Relevant section above

`./fastlane/Appfile`
```ruby
app_identifier("app-id") # The bundle identifier of your app
apple_id("my-email") # Your Apple Developer Portal username
itc_team_id("id") # App Store Connect Team ID
team_id("team-id") # Developer Portal Team ID
# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile
```

### fastlane gems
| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.214.0 | ✅ Up-To-Date  |
### Loaded fastlane plugins:
| Plugin                                    | Version | Update-Status |
| ----------------------------------------- | ------- | ------------- |
| fastlane-plugin-firebase_app_distribution | 0.7.2   | ✅ Up-To-Date  |
Loaded gems
| Gem                                       | Version      |
| ----------------------------------------- | ------------ |
| did_you_mean                              | 1.4.0        |
| bundler                                   | 2.1.4        |
| uri                                       | 0.10.0       |
| rake                                      | 13.0.6       |
| rexml                                     | 3.2.6        |
| CFPropertyList                            | 3.0.6        |
| concurrent-ruby                           | 1.2.2        |
| i18n                                      | 1.14.1       |
| minitest                                  | 5.19.0       |
| tzinfo                                    | 2.0.6        |
| activesupport                             | <IP_ADDRESS>      |
| public_suffix                             | 4.0.7        |
| addressable                               | 2.8.5        |
| httpclient                                | 2.8.3        |
| json                                      | 2.6.3        |
| algoliasearch                             | 1.27.5       |
| artifactory                               | 3.0.15       |
| atomos                                    | 0.1.3        |
| aws-eventstream                           | 1.2.0        |
| aws-partitions                            | 1.813.0      |
| aws-sigv4                                 | 1.6.0        |
| jmespath                                  | 1.6.2        |
| aws-sdk-core                              | 3.181.0      |
| aws-sdk-kms                               | 1.71.0       |
| aws-sdk-s3                                | 1.134.0      |
| babosa                                    | 1.0.4        |
| claide                                    | 1.1.0        |
| fuzzy_match                               | 2.0.4        |
| nap                                       | 1.1.0        |
| netrc                                     | 0.11.0       |
| ffi                                       | 1.15.5       |
| ethon                                     | 0.16.0       |
| typhoeus                                  | 1.4.0        |
| cocoapods-core                            | 1.12.1       |
| cocoapods-deintegrate                     | 1.0.5        |
| cocoapods-downloader                      | 1.6.3        |
| cocoapods-plugins                         | 1.0.0        |
| cocoapods-search                          | 1.0.1        |
| cocoapods-trunk                           | 1.6.0        |
| cocoapods-try                             | 1.2.0        |
| colored2                                  | 3.1.2        |
| escape                                    | 0.0.4        |
| fourflusher                               | 2.3.1        |
| gh_inspector                              | 1.1.3        |
| molinillo                                 | 0.8.0        |
| ruby-macho                                | 2.5.1        |
| nanaimo                                   | 0.3.0        |
| xcodeproj                                 | 1.22.0       |
| cocoapods                                 | 1.12.1       |
| colored                                   | 1.2          |
| highline                                  | 2.0.3        |
| commander                                 | 4.6.0        |
| declarative                               | 0.0.20       |
| digest-crc                                | 0.6.5        |
| unf_ext                                   | <IP_ADDRESS>      |
| unf                                       | 0.1.4        |
| domain_name                               | 0.5.20190701 |
| dotenv                                    | 2.8.1        |
| emoji_regex                               | 3.2.3        |
| excon                                     | 0.102.0      |
| faraday-em_http                           | 1.0.0        |
| faraday-em_synchrony                      | 1.0.0        |
| faraday-excon                             | 1.1.0        |
| faraday-httpclient                        | 1.0.1        |
| multipart-post                            | 2.3.0        |
| faraday-multipart                         | 1.0.4        |
| faraday-net_http                          | 1.0.1        |
| faraday-net_http_persistent               | 1.2.0        |
| faraday-patron                            | 1.0.0        |
| faraday-rack                              | 1.0.0        |
| faraday-retry                             | 1.0.3        |
| ruby2_keywords                            | 0.0.5        |
| faraday                                   | 1.10.3       |
| http-cookie                               | 1.0.5        |
| faraday-cookie_jar                        | 0.0.7        |
| faraday_middleware                        | 1.2.0        |
| fastimage                                 | 2.2.7        |
| jwt                                       | 2.7.1        |
| memoist                                   | 0.16.2       |
| multi_json                                | 1.15.0       |
| os                                        | 1.1.4        |
| signet                                    | 0.17.0       |
| googleauth                                | 1.7.0        |
| mini_mime                                 | 1.1.5        |
| trailblazer-option                        | 0.1.2        |
| uber                                      | 0.1.0        |
| representable                             | 3.2.0        |
| retriable                                 | 3.1.2        |
| webrick                                   | 1.8.1        |
| google-apis-core                          | 0.11.1       |
| google-apis-androidpublisher_v3           | 0.49.0       |
| google-apis-playcustomapp_v1              | 0.13.0       |
| google-apis-iamcredentials_v1             | 0.17.0       |
| google-apis-storage_v1                    | 0.19.0       |
| google-cloud-env                          | 1.6.0        |
| google-cloud-errors                       | 1.3.1        |
| google-cloud-core                         | 1.6.0        |
| google-cloud-storage                      | 1.44.0       |
| mini_magick                               | 4.12.0       |
| naturally                                 | 2.2.1        |
| optparse                                  | 0.1.1        |
| plist                                     | 3.7.0        |
| rubyzip                                   | 2.3.2        |
| security                                  | 0.1.3        |
| simctl                                    | 1.6.10       |
| terminal-notifier                         | 2.0.0        |
| unicode-display_width                     | 1.8.0        |
| terminal-table                            | 1.8.0        |
| tty-screen                                | 0.8.1        |
| tty-cursor                                | 0.7.1        |
| tty-spinner                               | 0.9.3        |
| word_wrap                                 | 1.0.0        |
| rouge                                     | 2.0.7        |
| xcpretty                                  | 0.3.0        |
| xcpretty-travis-formatter                 | 1.0.1        |
| google-apis-firebaseappdistribution_v1    | 0.3.0        |
| fastlane-plugin-firebase_app_distribution | 0.7.2        |

*generated on:* **2023-09-07**

Any help would be appreciated! Thanks!

Hey @mihaildu ,
I have the same problem!
I currently want to setup a pipeline on Github actions with https://github.com/yukiarrr/ios-build-action .
He is also using fastlane build_app in the background but I also dont know how to solve this error..

I have the same error since last week ! Anyone have any Idea how to fix it ?

Same here since Monday, If someone got an idea :)

Not sure if this was answered somewhere else, but after the update to Xcode 15 there has been heaps of breaking changes. Since Xcode 15 seems to have a new build system and introduced a few new variables to building it has broken older building processes. What has helped in my team was cleaning the project in it's entirety, this includes the derived data that is still linger.

any solutions guys?

I had this issue on my local build and I solved it by first configuring and archiving my build on xcode then using fastlane, though this is obviously not possible in a GitHub runner.

I ran into a similar issue trying to build a React app on Xcode. For context, I have my Github Actions workflows run on an M1 Macmini that I set up as a self-hosted runner. I kept running into a similar "ARCHIVE FAILED, exit code 65 error" when Actions was trying to run the xcodebuild archive command I had in my build.yaml workflow script.
To resolve this, I needed to run the following command before running the xcodebuild command:
security unlock-keychain -p MAC_MINI_PASSWORD login.keychain


Add exception logging

@ameech This will need to be modified to be merged. The configuration in ExceptionLoggerConfiguration from this PR should go into WhoopsConfiguration, else it will overwrite it in the injector if the two classes are both used at the same time.

@elazar yep! This became stagnant after we got stuck on how to configure it exactly. I'll check it out again this weekend.


stray v8.8.* tags?

Hi @ioquatix, I noticed there are some tags which seem to use a different version numbering, for example:
https://github.com/libvips/ruby-vips/releases/tag/v<IP_ADDRESS>
If you download that zip, it's actually 2.0.13. There are some others:

john@kiwi:~/GIT/ruby-vips (master)$ git checkout v
v0.1.1     v0.3.14    v0.3.8     v1.0.5     v2.0.13    v2.0.7     v<IP_ADDRESS>
v0.2.0     v0.3.2     v0.3.9     v1.0.6     v2.0.14    v2.0.8     v<IP_ADDRESS>
v0.2.1     v0.3.3     v1.0.0     v2.0.0     v2.0.2     v2.0.9     v<IP_ADDRESS>
v0.3.0     v0.3.4     v1.0.1     v2.0.1     v2.0.3     v8.6.3     v<IP_ADDRESS>
v0.3.1     v0.3.5     v1.0.2     v2.0.10    v2.0.4     v<IP_ADDRESS>
v0.3.12    v0.3.6     v1.0.3     v2.0.11    v2.0.5     v<IP_ADDRESS>
v0.3.13    v0.3.7     v1.0.4     v2.0.12    v2.0.6     v8.7.0

This is causing confusion for Debian -- their ruby-vips package 2.0.13-1 is tagged as outdated because their release bot thinks <IP_ADDRESS> is available.
https://tracker.debian.org/pkg/ruby-vips
Should we remove these tags?

I'm not sure why this decision involves me, do you mind clarifying that?

Oh, didn't you add these? The tags page says:
v<IP_ADDRESS> @ioquatix ioquatix tagged this on 11 Jun · 13 commits to master since this tag

Oh... that looks like a mistake on my part. I'll investigate it and why it happened.

Okay, that was very odd, I don't believe I ever intended to push those tags to this repo.
I track both this repo and my own fork which compiles libvips in the gem itself.
Because of that, I version the gem according to the libvips version. That's why I have those tags. But they should never have come into this repo. My apologies for that.
I've removed them all.

Thanks!


docs: add a tip to create db for the first time

Fix: https://github.com/casdoor/casdoor/issues/546

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@leo220yuyaodog plz resolve conflicts

@leo220yuyaodog plz resolve conflicts

I have solve the conficts


[CT-3117][BUG] DBT Snapshot Unfinished Model Error Handling

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Using dbt snapshot --models targeting a correctly configured model while having a wrongly configure model other than the target model in the /snapshots directory produces an unhelpful error. For this issue model_A is the correctly configured target snapshot model and model_B is the wrongly configured model.
Expected Behavior
dbt snapshot --models model_A
18:05:29  Running with dbt=1.6.1
18:05:29  Registered adapter: redshift=1.6.1
18:05:29  Encountered an error:
Parsing Error
at path ["/snapshots/model_B"]: A snapshot configured with the check strategy must specify a check_cols configuration.
Steps To Reproduce

Have one correctly configured model
Have one incorrectly configured model
dbt snapshot --models model_A
error

Relevant log output
dbt snapshot --models model_A
18:05:29  Running with dbt=1.6.1
18:05:29  Registered adapter: redshift=1.6.1
18:05:29  Encountered an error:
Parsing Error
  at path []: A snapshot configured with the check strategy must specify a check_cols configuration.

Environment
- OS: macOS Ventura
- Python: Conda (Python 3.10.12
- dbt: 1.6.1

Which database adapter are you using with dbt?
No response
Additional Context
No response

Thanks for opening this up @osu-d !
dbt parses all the files in your project and makes sure they follow all the configuration rules prior to focusing on a single node when you specify --models model_A.
So in that sense, dbt is behaving the way we expect.
But you bring up a very good point about the error message being unhelpful by not giving the path to the misconfigured file.
dbt 1.3 included the path to the relevant file:
$ dbt snapshot

22:52:10  Running with dbt=1.3.4
22:52:11  Encountered an error:
Parsing Error in snapshot model_b (snapshots/model_b.sql)
  at path []: A snapshot configured with the check strategy must specify a check_cols configuration.```

dbt 1.4 onwards doesn't:
$ dbt snapshot

22:50:55  Running with dbt=1.4.6
22:50:56  Encountered an error:
Parsing Error
  at path []: A snapshot configured with the check strategy must specify a check_cols configuration.

Reprex
snapshots/model_b.sql
{% snapshot model_b %}

{{
    config(
      target_database='db',
      target_schema='main',
      unique_key='id',
      strategy='check',
    )
}}

select 1 as id, {{ dbt.current_timestamp() }} as now

{% endsnapshot %}

dbt snapshot

Acceptance criteria
We should do either one of the following:

Restore the same / similar error message as was in dbt 1.3, or
Replace at path [] with at path ["snapshots/model_b.sql"]

Closing in favor of https://github.com/dbt-labs/dbt-core/issues/8276 since they report the same underlying issue.


Dropped 1 spans due to ConnectException

Have you opened this issue by accident?

I use feign. Always show unknow, the interface can not display dependency graphs

You know that you haven't provided any information? No Sleuth version, no stacktrace, nothing. You use Feign? That's great but I think it's completely irrelevant cause you have ConnectException when trying to send spans to Zipkin. So most likely you've provided a wrong URL, port or sth to Zipkin

thanks.I have solve this problem


Context menus don't get themed

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of Aesthetic (see the README)
[x] I have given my issue description title
[x] I have read over the documentation (before asking questions on how to do something).

Include the following:

Aesthetic version: 0.4.7
Device OS version: 7.1.2+
Device: any

Reproduction Steps
Open a context menu
Expected Result
Themed, nice looking
Actual Result
Context menu with default theme and light coloring

On launching my app, the backgrounds for menus, and the nav drawer (using MaterialDrawers) are the default (white), but if I toggle dark mode, it recreates the activity and it's fixed. Context menu title isnt colored with the accent color at all :(

Context menus as in overflow menus?

Basically, it's the long press menu, it can be seen on long pressing a WiFi network in settings too
Sent from my LGE Nexus 5X using FastHub

The main issue is the header text color doesn't change with the accent color, so it stays with the apps default accent
Sent from my LGE Nexus 5X using FastHub

Oh, yeah, PopupMenu's.
I've never seen headers in a popup menu 😁

Do you think it's fixable? ContextMenus are programmatically created, so we probably cannot hook it with LayoutInflater

Internally, it appears PopupMenu's do use inflation
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/com/android/internal/view/menu/MenuPopupHelper.java#340

How are you you able to show a header in a PopupMenu? Is there something you can do with a group in the menu XML?

There doesn't appear to be header support in PopupMenu's, I'm guessing Google just has a non-clickable MenuItem in there which uses a custom view to color itself

For the background theming, the activity theme should be all that's needed for that.

Because it's a ContextMenu class, not a PopupMenu. I've just found a way for me to use a custom layout file for the header, maybe that will work
Sent from my LGE Nexus 5X using FastHub

Yeah, the background changes with the activity, is just the header text color they doesn't
Sent from my LGE Nexus 5X using FastHub

Oh I didn't know anyone still used that class lol

👏
It's not deprecated, and imo is better to use in lists as I don't need to repeat the overflow drawable on each item.

🤔
May not need to change context menus, I'm considering swapping them out for overflow actions again and making a Contextual ActionBar for multi-select actions

OK so I have found a workaround.. I can change the color of the header text by converting Aesthetics accent color to a hex value, wrapping the text in HTML font & color tags and running it through Html.fromHtml(). Whether or not you want to leave this open or not is up to you @afollestad

I use the following string resource and format it programmatically with my color (converted to #RRGGBB), and then the text I want colored
<string name="color_text"><![CDATA[%2$s]]></string>


Not parsing pe_info from .Net binaries

Need to research this more but initial test shows pe_info is not parsing from .Net binaries.
Opened issue with exe-rs crate github: https://github.com/frank2/exe-rs/issues/4

Fixed vis exe-rs 0.5.6


Some valid configuration have no effect

I can't seem to remove the zero-line / border line of the axis.
I've tried this with several options that I thought all should work for the xAxes -> gridLines:
	display: false, 	drawBorder: false, 	zeroLineWidth: 0,         zeroLineColor: 'rgba(255, 255, 255, 0)'
I expected any of these configurations to give me the desired result, yet none work (together or separately).

Can you confirm this behavior does not reproduce in the browser?

@AharonDror closing this out. Feel free to re-open once you have confirmed that this isn't the behavior in the browser


Initial API proto (for review only)

This is to help reviewing in PR form rather than doc.
DO NOT MERGE
/hold

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ostromart
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [ostromart]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ostromart: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
5d2c59dfd625332c0ea3fab6e09588893d466514
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


lower case langscript

Some records (example) contain
bdr:W22084 bdo:langScript  bdr:boDbuCan .

where bdr:boDbuCan doesn't have the first "b" upper cased. The source of the error is not obvious but should be found.

closed in favor of https://github.com/buda-base/rKTs-migration/issues/13


network type configuration

Hi!
I'm trying to train the 'rware:rware-tiny-2ag-v1' environment with MAPPO, and I'm following the 'Benchmarking Multi-Agent Deep Reinforcement Learning Algorithms in Cooperative Tasks' paper hyperparameters tables!
One of the configurations is the network type. In the paper I understand that two types of networks are used: GRU and FC, however I'm not finding where can I set the type of network I want to use in EPyMARL.
Thanks in advance!

Hi! That's right, as we mention in the paper all the on-policy algorithms have their timesteps scaled-down 10 times. Essentially, from the 10 parallel environments, we just count timesteps from one. This way we can be fairer when comparing algorithms that use a replay buffer (and keep the number of backprop steps equal).

Thank you!
The problem is really that the results that I'm getting aren't remotely as good as yours :/. There is something that I am probably not setting up as you did.
Thanks!

Sorry if I was unclear: we scaled those numbers in the paper, but it does not happen automatically in EPyMARL. Did you try leaving it 10x times more? Your plot only goes to 4e6 but it should go to 4e7. If the problem persists then we should better open a new issue to resolve. Thanks

Sorry, I just saw this is our plot and not yours. :)
Still, make sure you have run the full number of steps.
Also, I noticed a couple of discrepancies between your hyperparameters and the ones presented in the paper. For instance, we have "standardise_returns/rewards" to False for MAPPO/RWARE. Also, we have tau=0.01 (soft updates) while you have 200 (hard updates). Please consult table 24 in the paper for the exact parameters. Thanks again!

Hi!
Yeah, that was it! :P. The results are now very similar to the ones published!
I wanted to have them working first because I am tinkering with the environment to try some new mechanics :).
Once again, thank you so much for the help!


fix(village): Make hunt trigger persistent

Bugfix: hunt trigger value was not getting reloaded from state.

Awesome! Great catch


Vulkan <IP_ADDRESS> introduces runtime problems on the Mac

Building the examples on the Mac (M1 Max, MacOS 12.4) leads to a runtime error (VK_ERROR_INCOMPATIBLE_DRIVER). This does not happen, if Vulkan 1.3.211 or earlier is used.
This problem is mentioned in the actual Vulkan Docs. Adding the proposed values in vulkanexamplebase.cpp does not fix the problem.
std::vector<const char*> extNames;
extNames.push_back(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
extNames.push_back(VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME);
VKInstanceCreateInfo inst_info = {};
ins_info.flags = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
inst_info.enabledExtensionCount = static_cast<uint32_t>(extNames.size());
inst_info.ppEnabledExtensionNames = extNames.data();
Do you have an idea how to solve it?
Best

As you noticed, this is caused by the changes in the most recent SDK.
I sadly don't have a Mac to test on, so I probably can't help with this issue.
Maybe someone at the MoltenVK repo can help with this: https://github.com/KhronosGroup/MoltenVK/issues

Thanks, I will try it.

I have the same issue but on 2019 Intel macbook. Glad to try and help as well. Here is the reference doc:
https://www.lunarg.com/wp-content/uploads/2022/04/Portability-Enumeration-Extension-APR2022.pdf

@rainergericke I did for my project at work--had to do that first. The official Vulkan samples look like they have the same issue. The same configuration changes should do it, but I had to only set them for mac or I had issues on Windows. Would a PR addressing these config changes be welcome?

@Radagan: Yes, A PR would be very much appreciated. I don't own a Mac device, so I can't provide that fix by myself.

@SaschaWillems, No worries. I made the changes and sent you a PR. Let me know if you would like any adjustments to the code. You should have edit rights as well on the PR.
In VulkanDevice.cpp, I was unable to figure out what the proper define was for this string, so left it as is:
deviceExtensions.push_back("VK_KHR_portability_subset");

I just implemented the proposed changes by hand from @Radagan 's commit. Everything runs fine again. Thanks a lot!

@rainergericke Thank you for testing on an M1. It's good to know that everything runs fine there!

I implemented these changes also in project::chrono, where I am working on a 3d viewer for physical systems based on Vulkan Scene Graph. It also worked here. Project::chrono uses a continuous integration system with 7 standardized build tests with different OSes and Vulkan versions. There we found an issue: our proposed changes break the build on Macs with earlier Vulkan versions than 1.3.216. That's easy to solve yet:
Instead:
#if defined(VK_USE_PLATFORM_MACOS_MVK)
instanceCreateInfo.flags = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
#endif
we should write:
#if defined(VK_USE_PLATFORM_MACOS_MVK) && (VK_HEADER_VERSION >= 216)
instanceCreateInfo.flags = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
#endif
Same at all places, were #if defined(VK_USE_PLATFORM_MACOS_MVK) occurs.
Btw: deviceExtensions.push_back("VK_KHR_portability_subset");
can be made 'canonical' with:
deviceExtensions.push_back(VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME);
VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME is defined in 'vulkan_beta.h', it must be conditionally included before use.
Sorry for the inconvenience, but sometimes wisdom increases with the time.

@rainergericke Thank you! I have been very focused on latest Vulkan in an early stage project, so didn't even think of regression testing it. I'll create a new PR with your updates!

@rainergericke I made the changes, but for me VK_HEADER_VERSION is not being defined properly so the changes are not being applied.
The issue is that the project includes the vulkan headers in external/vulkan and their version is 210.
@SaschaWillems, Is there a reason you are including the headers rather than getting them from the installed Vulkan SDK?

Main reason is submodule size. The Vulkan headers repo is already at 100%. I'll updated the headers to .216 asap, so build on Mac OSX work again.

I have updated to the latest headers. Please check again, and if the problem still persists drop me a line and I'll check.

@SaschaWillems Thank you. I updated my fork and submitted a PR for review.

I just tested the examples with Vulkan 1.3.216 and Vulkan 1.3.211. It's all good again. Good to have it back.


QUESTION: Method .isSubscribed always returning true after cancel the subscription

I need to call the method ".isSubscribed" to check if my user is premium or not. But, this method is always returning true same after unsubscribe. I've checked in Google Play and I'm unsubscribed and when I click in the button to subscribe I can subscribe again and unsubscribe.
My code follows:
checkSubscribe(){
    InAppBilling.open()
    .then(() => InAppBilling.loadOwnedPurchasesFromGoogle())
    .then(() => InAppBilling.isSubscribed('formodelspremium'))
    .then((subscribed) => {
      console.log("Assinado: ", subscribed)

      if (subscribed){
       //Do something with subscribed
      }
      else {
       //Do something with unsubscribed
      }

      return InAppBilling.close()

    })
    .catch((err) => {
      console.log("Errou!!!");
      console.log(err);
    });;
  }

Hi, same issue as in #57?

Use loadOwnedPurchasesFromGoogle(), it refreshes the internal purchases & subscriptions status cache.

I noticed that @rodrigoxavier is using .then(() => InAppBilling.loadOwnedPurchasesFromGoogle()) in his code, Isn' t that correct?
I am trying to do the same thing, and use InAppBilling.loadOwnedPurchasesFromGoogle() as @rodrigoxavier shown above, still isSubscribed always return true
Any further suggestions? Did I miss anything?
Thank you in advance!

@kawashimaken any luck with this?

@ncnlinh should I use loadOwnedPurchasesFromGoogle() or loadOwnedSubscriptions() ?

Sorry it was listOwnedSubscriptions()

This issue is outdated, I haven't used this in a while (the code that is using this library is still working) and I used<EMAIL_ADDRESS>    try {
      await InAppBilling.open();
      await InAppBilling.loadOwnedPurchasesFromGoogle(); // IMPT: this is to refresh the internal purchases & subscriptions status cache.
      if (!await InAppBilling.isSubscribed(productId)) {
        console.log("[LogBilling] Billing android no subscription");
        return false;
      }
      const transactionStatus = await InAppBilling.getSubscriptionTransactionDetails(productId); // fetch the latest transaction from the cache
      const backendRes = await this.isBackendPurchased(transactionStatus); // check with backend for the purchase
      if (backendRes.status && backendRes.status === "subscribed") {
        subscriptionResult = true;
      }
    } catch (err) {
      console.log('[LogBilling] Billing android error [8]:', err);
    } finally {
      await InAppBilling.close();
    }
    return subscriptionResult;

loadOwnedPurchasesFromGoogle don't helping. isSubscribed always returns true after unsubscribing

Does it happen to you on a real device? for me it happens when I run on the emulator.


Will there be a 2021.0.x release with spring-cloud-function:3.2.3?

spring-cloud-function:3.2.3 addresses CVE-2022-22963.
The latest Spring Cloud train release, 2021.0.1, was using spring-cloud-function:3.2.2.
Will there be a release of Spring Cloud 2021.0.x train that pulls in the fixed version of Function, or should we be overriding the Spring Cloud Function version manually in Spring Cloud GCP?

See https://github.com/spring-cloud/spring-cloud-release/milestones?direction=asc&sort=due_date&state=open
2021.0.2 will be released on April 19, 2022. GCP and users can override the version in the meantime.

Why the mvnrepository not have version 2021.0.2 and when can we use version 2021.0.2?    https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies

We had to delay the release. BTW mvnrepository is an index and will have delays

we use Spring Cloud train release, 2021.0.1. Can we use spring cloud function: 3.1.7 to fix this vulnerability（CVE-2022-22963）


dynamic groups bug fixes

This PR contains a number of dynamic groups bug fixes and improvements.

Only render dynamic groups configuration options when relevant
The "suspend" logic previously implemented in sidebarSampleId was causing a lot of stray aggregations query to fire, and it has been converted into something simpler. This makes imavid looker feel much more smooth.
Reset dynamic groups view mode to pagination after coming back from video mode.
Fix e2e.

Testing
All groups e2e tests are green locally.

e2e ran to completion 🆒 🤔


Start an application not via terminal?

Is it possible to run a script without a terminal starting up? I know this probably seems contrary to shuttles intended use. However, I've been using it as a front end to a bunch of scripts. For instance, I use shuttle to send commands to pandabar like so:
        "8 PianoBar": [
            {
                "3 Change Station": [
                    {
                        "name": "0 Spa Radio",
                        "cmd": "/Users/mark/Projects/myscripts/pianobarctl -s 53"
                    },
                    {
                        "name": "2 Downhere",
                        "cmd": "/Users/mark/Projects/myscripts/pianobarctl -s 17"
                    },
                    {
                        "name": "9 Quicklist",
                        "cmd": "/Users/mark/Projects/myscripts/pianobarctl -s Q"
                    },
                ]
            },
            {
                "name": "1 Pause/Play",
                "cmd": "/Users/mark/Projects/myscripts/pianobarctl -p"
            },
            {
                "name": "2 Next Track",
                "cmd": "/Users/mark/Projects/myscripts/pianobarctl -n"
            },

Does anyone have any suggestions?
Thanks! Mark

@clayton256 Fun to see different uses for Shuttle. Great idea using it to control music. I like it!
I think for now, just adding exit after a command will be the extent of what is supported. However that may change in the future based on demand.

I've been thinking about adding this but running the command in screen. Terminal would not open, but if you wanted you could check on the output using screen.

Feature added in https://github.com/fitztrev/shuttle/pull/245


[AST Builder] Implement Transaction Statements

Issue
resolves #703
Description
Instead of adding new TransactionNode, implemented begin, commit, rollback functions that directly generate Transaction Statements

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

23 of 23 (100.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.06%) to 97.918%

Files with Coverage Reduction
New Missed Lines
%

storages/sled-storage/tests/sled_storage.rs
1
97.06%

core/src/executor/alter/table.rs
5
92.96%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
29205

Relevant Lines:
29826

💛  - Coveralls


IntersectionObserver does not work for SVG elements

Please see the following fiddle ->
https://jsfiddle.net/yk58mnb2/1/
Kindly take a look. Basically, an intersectionEvent for which a rect element (inside a SVG) is the targetElement is reporting isIntersecting as false, where it should be true.
Please advise. Thank you!

Are you using the polyfill, or are you using a particular browser's native implementation?

Good point—I've only tried in Chrome. Thanks for the response.

I'm pretty sure Chrome's implementation has problems handling svg.  If you don't mind, please file a bug at crbug.com.

Ok, thanks


docs: clean up stale kernel requirements

With Cilium v1.16 we raised & clarified the minimum kernel requirement, adjust the docs accordingly.

/test


Add "Open project directory button"

explorer button clicked, windows explorer launched.

refactoring. I wish you like it.

I added more refactoring and merged it. Thanks.


Serialisation

Hi, I created a shape in fluttershape.com and trying to deserialise in my app as it's mentioned in the documentation.

Shape shapeDecoded = parseShape(json.decode(jsonFromFlutterShape.com));
But there is no Shape type nor a parseShape method when I try to parse the json. I appreciate if you could help. Thanks in advance.

Hi. Nice shape design!
You should use this function: MorphableShapeBorder? parseMorphableShapeBorder(Map<String, dynamic>? map). Sorry I forgot to update the documentation.

Thanks mate. Awesome package you got here! Extremely helpful!
But I can't use MorphableShapeDesign in Container(decoration: ShapeDecoration(shape: parseMorphableShapeBorder())) nor in ClipPath . How can I get my container to this shape ?

Thanks. Yes, the package is not really compatible with Container right now. You should use DecoratedShadowedShape instead (and AnimatedDecoratedShadowedShape if you want implicit animation). You get inner shadow support as a bonus.
I am considering adding support for the Container/ClipPath.  But it might require significant refactoring.

Actually I'm not gonna animate it at all. I just need a container in this shape, and another one, same but flipped..

I see. I assume you are trying to create a chat app. The DecoratedShadowedShape should still suit your need.

Thanks for your help mate!


[Feature]: Add support for firstPageHeaderTemplate and firstPageFooterTemplate to PDFOptions while generating pdf

Feature description
In many cases, the header and footer from first pdf page are different the rest. Currently, i have to generate two pdfs with different header/footer template and merge them, which could break the links on pages. Could you support this feature. Thanks!

hi i have this issue too. Do you have a solution now?


pdf plot in diags needs some attention

We are trying to use the .pdf format and the labels are shifted slightly. Could somebody look at these?. Is this a VTK issue?
see attached
set5_ANN_CLDHGH_ISCCP_Global-combined.pdf
set5_ANN_CLDHGH_ISCCP_Global-diff.pdf

Has anybody looked at this?

@aashish24 @doutriaux1 @chaosphere2112 , even the pdf files look bad enlarged. The coastlines look bad enlarged. This is something new. I thought .pdf files were vector drawn. Can we put out .ps also?

@dlonie any chance you can take a quick look at this?

I'm suspicious of this bit:
https://github.com/UV-CDAT/uvcdat/blob/master/Packages/vcs/vcs/VTKPlots.py#L1110-L1113
If the Write3DPropsAsRasterImage option is enabled on the vtkGL2PSWriter, this will cause all of the geometry to be exported as a raster image, rather than vector graphics. It is required for textures due to limitations of GL2PS, but at the cost of forcing everything beside text and a handful of other special props to be rasterized.
You can try using raster exclusions: http://www.vtk.org/doc/nightly/html/classvtkGL2PSExporter.html#a6428bc4594032b5a3af7e8595effe3a5 That will whitelist certain 3D props to be output as vectors when Write3dPropsAsRasterImage is enabled, but there are likely to be depth artifacts, since any rasterized geometry will always appear behind the vector geometry.
BTW, on the OpenGL2 backend, this option is ignored and everything besides text/charts will always be rasterized. This could be worked-around by patching VTK's polydata rendering engine, but the change would be non-trivial. This is due to GL2PS relying on deprecated OpenGL functionality that is no longer available in the new backend.

thanks @dlonie, I am trying to disable the "Write3DPropsAsRasterImage" option for now. For the long run
we can try the approach we discussed other day (use a filter to extract the outlines of the geometry).

@glpotter ping!


Refactoring ClusterManagerImpl to support dynamic config for composite filter when its in upstream filter chain

Title: Refactoring ClusterManagerImpl c'tor and to support dynamic config for composite filter when its in upstream filter chain
This issue is related to the PR: https://github.com/envoyproxy/envoy/pull/33013
Description:
Currently, the cluster manager is initialized with the below sequence:

https://github.com/envoyproxy/envoy/blob/8ff28fe73fe0c704b416c790fe7b22622cd5d5fc/source/server/configuration_impl.cc#L131
2)
https://github.com/envoyproxy/envoy/blob/8ff28fe73fe0c704b416c790fe7b22622cd5d5fc/source/common/upstream/cluster_manager_impl.cc#L2227
i.e, it calls the cluster_manager_impl->init(bootstrap) before return unique_ptr, and assign to the cluster_manager_.
This is causing problems when functions called inside cluster_manager_impl->init(bootstrap) needs to access cluster_manger_, which is the case for composite filter in the upstream filter chain.
So, for composite filter case, if it is put in the upstream filter chain, when the dynamic_config is configured:
https://github.com/envoyproxy/envoy/blob/8ff28fe73fe0c704b416c790fe7b22622cd5d5fc/api/envoy/extensions/filters/http/composite/v3/composite.proto#L59
the above cluster_manager_impl->init(bootstrap) will eventually call this function:
https://github.com/envoyproxy/envoy/blob/8ff28fe73fe0c704b416c790fe7b22622cd5d5fc/source/extensions/filters/http/composite/action.cc#L43
which access above cluster_manger_ through server_factory_context.clusterManager().  As cluster_manager_ is nullptr, this crashed.
So, if we want to support composite filter with dynamic_config in the upstream filter chain,  one of the solution is moving the
cluster_manager_impl->init(bootstrap)
out from
ProdClusterManagerFactory::clusterManagerFromProto
And call it after, like this:
cluster_manager_ = clusterManagerFromProto();
cluster_manager_->init(bootstrap);
This way, when the above init() function access clusterManager(), cluster_manager_ is already setup and no issues.
We need to add good comments to make sure no other code wrote in between these two lines though.
[optional Relevant Links:]

Any extra documentation required to understand the issue.

cc @wbpcode @RyanTheOptimist
It will lead to a crash, so it should be a bug I think

This is duplicate with https://github.com/envoyproxy/envoy/issues/26653
I am glad to review/see a fix to close these two issue. :)

Thanks for sharing the info!  I have a draft PR for this:
https://github.com/envoyproxy/envoy/pull/33221

@soulxu As we currently does not support composite filter in upstream filter chain, there is no crash at this moment.

BTW, we need to make same change for nighthawk here: https://github.com/envoyproxy/nighthawk/blob/ac98827203dafabf447ff68e1403e0c2834ee726/source/client/process_impl.cc#L897

nighthawk CI crashed due to https://github.com/envoyproxy/envoy/pull/33221
https://dev.azure.com/cncf/4684fb3d-0389-4e0b-8251-221942316e06/_apis/build/builds/168085/logs/28
fixed in https://github.com/envoyproxy/nighthawk/pull/1133


reloader: Apply error in loop should not kill the sidecar.

There is no need to get the process down in this case and decrease availability, handle the error in a different way.
https://github.com/thanos-io/thanos/blob/5d7bb2bfe094048a47a979042bba4b6ceb31a8e0/pkg/reloader/reloader.go#L220
AC:

Reloader error should not restart whole sidecar (similar to fail on Prometheus Configuration reload - it takes old file)
Be nicer to external users of this package and introduce opts to constructor.

hi, i'd like to work on this.


Upload location server different than creation server

Can the server for upload creation be different one than the upload creation server?
I want to use this to implement geo replication and save the file at the nearest possible server.
For example the clien makes a request to
POST /upload HTTP/1.1
Host: tus.example.org
Tus-Resumable: 1.0.0

Then the server calculates the nearest server to upload to.
for example:

if the user is located in the west of USA it returns us-west-1.example.org server
if the user is in EU it returns eu-1.example.org server

and responds with the nearest server in the location header:
HTTP/1.1 201 Created
Location: https://us-west-1.example.org/upload/24e533e02ec3bc40c387f1a0e460e216
Tus-Resumable: 1.0.0

Is this supported by the tus protocol? Would it interfere with creation-with-upload extension, since the creation servers can be different to the upload servers? How can i implement this using tusdotnet (on both the creation sever and the upload location server)?
I was thinking of just using a reverse proxy load balancer instead of dedicated dns records, but thats too expensive and would defy the purpose of having geo-replicated servers.

Hi,
It's certainly doable but to be honest this is more of an infrastructure issue than an app issue and I would use a DNS load balancers (e.g. Azure Traffic Manager) to just return the correct IP to the client upfront.


Update Logging signal status for Rust to alpha

Logging support got added in the most recent release. https://github.com/open-telemetry/opentelemetry-rust#project-status

Don't know why CI is failing.. Is that caused by this PR?


Mention dependency on wget for download

Build failed for me on OS X 10.10 without useful information (see below). Reading the build.rs I saw that wget was used and not installed. (brew install wget solves that.)

failed to run custom build command for `portaudio v0.3.1`
Process didn't exit successfully: `/Users/pascal/Projekte/tools/synth/target/release/build/portaudio-372af45747eb377c/build-script-build` (exit code: 101)
--- stderr
thread '<main>' panicked at 'no such file or directory', /Users/pascal/.cargo/registry/src/github.com-1ecc6299db9ec823/portaudio-0.3.1/build.rs:72

@killercup thanks for the issue, and sorry about the trouble! The build script is still new, so might still need some polish.
Maybe we would be better off using curl for the OS X builds as I'm pretty sure it is pre-installed @renato-zannon

Yes, curl is pre-installed.
On Tue, Mar 3, 2015 at 4:22 PM, Mitchell Nordine<EMAIL_ADDRESS>wrote:

@killercup thanks for the issue, and sorry about the trouble! The build script is still new, so might still need some polish.
Maybe we would be better off using curl for the OS X builds as I'm pretty sure it is pre-installed @renato-zannon
Reply to this email directly or view it on GitHub:
https://github.com/jeremyletang/rust-portaudio/issues/55#issuecomment-76965403

The interesting part is, on Linux it's the contrary - curl often isn't preinstalled, but wget is. I'll take a look at this, should be easy to specialize per-OS

@renato-zannon awesome! legend :+1: