Linear-generics is compatible with th-abstraction 0.7

Th-abstraction 0.7 was just released. I checked and upgraded the bound.
See commercialhaskell/stackage#7352 .

I'll take the opportunity of the chat on #28 to merge this.


Refactored project structure

Proposed Changes

Fixes #

pls create subfolder in cmd e.g.: libvirt-provider
main reason is keep better compatibility with go install, which using name of folder for binary name. Currently binary name cannot be set with argument.


Find Usage and Update Adapters/Libs version for multiple entities

I send you video on email.

thanks for this great contributions.
Code review and integration in progress


Add pycryptodome

Add pycryptodome which is need by https://github.com/ros/ros_comm/pull/1609

Since the referenced PR in ros_comm is not going to be merge we could just close this PR (if there is no other use case this is intended for).


python312Packages.openusd: fix build on darwin

Due to an update to Clang 19 the compiler got stricter and will fail with
error: no member named '_Set' in 'SdfChildrenProxy<_View>'

Upstream has merged an fix, which this commit will pull
Ref: https://github.com/PixarAnimationStudios/OpenUSD/issues/3442
Fix: https://github.com/PixarAnimationStudios/OpenUSD/pull/3434
@ShaddyDC
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Changes look good to me! I'm looking forward to the next release when we can remove all of those patches.

Yeah, me too!


Will the training code be available ?

Will the training code be available ? How can I get acess to that ?

Sorry for our late update, we have released the code. Thank you for your attention.


SQLite versus MySQL performance

I don't know if there are optimizations that can be done to risu or with sqlite, but there is a large discrepancy between the two when it comes to report generation, importing of data, and other operations involving stored data.
Anecdotally I have a 9.5MB .nessus archive that I fed to risu.
 sqlite: 44 minutes
 mysql: 84 seconds

Workstation is a MacMini5,3 (i7 quad-core) with 8GB of RAM running Mac OS X.  It doesn't appear to be CPU-bound or io-bound so I'm not sure why it's slow, but it is much faster on MySQL than SQLite.
I'm curious if some of this isn't in risu itself, doing a "template list" risu -l takes 9 seconds.  Nine very long seconds.  I'm using ruby 1.9.2p290 via rvm.

I use a macbook pro with less stats than that, and I have not had sqlite times over 150 seconds. Most of my test data is in the 6-9mb .nessus files. I use Sqlite for all my testing and production work with risu.
MySQL should be faster but 44 minutes for a SQLite file doesn't seem right.
On my machine risu -l is about 1 second and some change, faster each time i run it.
[hammackj@taco:~/Projects/private/hammackjllc/assessments/2012/valverde]$ time ~/Projects/public/risu/bin/risu -l
Available Templates
assets - Generates a Assets Summary Report
cover_sheet - Generates a coversheet with a logo (Example Template)
exec_summary - Generates a simple executive summary.
exec_summary_detailed - Generates a detailed executive summary report
finding_statistics - Generates report finding statistics
findings_host - Generates a findings report by host
findings_summary - Generates a findings summary report
findings_summary_with_pluginid - Geneates a Findings Summary with Nessus Plugin ID
graphs - Generates a report with all the graphs in it
host_summary - Generates a Host Summary Report
ms_patch_summary - Generates a Microsoft Patch Summary Report
ms_update_summary - Generates a Microsoft Update Summary Report
notable - Notable Vulnerabilities
notable_detailed - Notable Vulnerabilities Detailed
pci_compliance - Generates a PCI Compliance Overview Report
technical_findings - Generates a Technical Findings Report
real	0m1.723s
user	0m1.041s
sys	0m0.230s
[hammackj@taco:~/Projects/private/hammackjllc/assessments/2012/valverde]$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
Could you post the following
ruby -v
gem -v
sqlite3 -version
If you are able to share the .nessus file, could you email that to<EMAIL_ADDRESS>and I will test that on my dev machine.

I can give you the version information:
~/Projects/reporting % gem -v
1.8.10
~/Projects/reporting % ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.3.0]
~/Projects/reporting % sqlite3 -version
3.7.7 2011-06-25 16:35:41 8f8b373eed7052e6e93c1805fc1effcf1db09366
Possible caveat: I use a python script to merge .nessus files, this is so I can queue different groups of hosts in the Nessus console and then group them together later.  It's possible that introduces a possible issue though I'm not sure what it would be.
while doing risu -l ruby will run with two threads, get 100% CPU and take about 90MB of virtual memory and build up to ~48MB of memory.

What are you using to calculate 90mb of virtual memory? For me the process is so quick that it doesn't show up in top/ps/activity monitor.
Does the python script do any kind of processing of the hosts or change the data?

Just watching it in Activity Monitor.  I haven't dusted off my copy of Truss for Dummies yet but probably going to set aside my rvm environment and install it again.  I noticed fs_usage showing an inordinate amount of activity when I run risu.
It's a very simple script, I didn't write it.  It hunts for Reports and ReportHosts and stitches them into one .nessus file.
https://gist.github.com/1717437

This isn't an issue on another system, I'm not willing to find out where my issue is on the system that is being slow, so I'm closing it out.


[SPARK-46725][SQL] Add DAYNAME function

What changes were proposed in this pull request?
Added DAYNAME function that returns three letter abbreviation day name for the specified date to:

Scala API
Python API
R API
Spark Connect Scala Client
Spark Connect Python Client

Why are the changes needed?

For parity with Snowflake
Does this PR introduce any user-facing change?

Yes, since new function DAYNAME is added
How was this patch tested?

Tested on new unit tests
Was this patch authored or co-authored using generative AI tooling?

No

+1, LGTM. Merging to master.
Thank you, @PetarVasiljevic-DB and @LuciferYang for review.

@PetarVasiljevic-DB Do you have an account at https://issues.apache.org/jira/browse/SPARK-46725. If so, please, leave a comment in the ticket.


Added Icelandic translation with tests.

I'd really like to be able to use your wonderful API with my native language so there you go =)

Awesome, many thanks! I'll deploy this first thing tomorrow morning (EST).


Azure DevOps support

Suggested new feature or improvement
GitHub support is good but we, long time users paying for Azure Devops feels abandonned. I Don't understand why AzDevOps, thta was Always a Microsoft product gets more love vs GitHub.
Scenario
Pull request, issues, tasks, user stories, pipelines should be part of it
Additional details
Do not kill Azure DevOps please.

/dup #521


Applied fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Current coverage is 100.00%

Merging #3 into master will not affect coverage as of 9ce0a0a

@@            master      #3   diff @@
======================================
  Files            1       1
  Stmts           16      16
  Branches         0       0
  Methods          5       5
======================================
  Hit             16      16
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 9ce0a0a

Powered by Codecov. Updated on successful CI builds.


python3Packages.flask-appbuilder: 2.3.0 -> 3.1.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @costrouc @drewrisinger @SCOTT-HAMILTON I did not test this.
cc @bhipple @costrouc @ingenieroariel Apache-airflow depends on this and should also be updated.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109986 run on x86_64-linux 1

3 packages failed to build and are new build failures:

apache-airflow: log was empty
(python37Packages.apache-airflow): log was empty
python37Packages.flask-appbuilder: log was empty

2 packages built:

python38Packages.flask-appbuilder
python39Packages.flask-appbuilder

builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:                                                         SKIPPED [1] tests/unit/activation/conftest.py:249: PowerShell(                                                                                version=FileNotFoundError(2, "No such file or directory: 'pwsh'"),                                                                                creator=CPython3Posix(dest=/build/pytest-of-nixbld/pytest-0/activation-tester-env3/e-$ èрт🚒♞中片-j, clear=False, no_vcs_ignore=False, global=False),                                       interpreter=PythonInfo(spec=CPython3.7.9.final.0-64, exe=/nix/store/q5hdqw6bcp3mfzg8l9m2qhra3y892xwm-python3-3.7.9/bin/python3.7, platform=linux, version='3.7.9 (default, Aug 15 2020, 06:36:35) \n[GCC 10.2.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh': 'pwsh'                                                                SKIPPED [1] tests/integration/test_run_int.py: need --int option to run                                                                                SKIPPED [1] tests/integration/test_zipapp.py: need --int option to run                                                                                SKIPPED [2] tests/integration/test_zipapp.py:95: need --int option to run                                                                                FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...                                                                                FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...                                                                                ===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 21.14s ======                                                                                cannot build derivation '/nix/store/8ajgpdxplbdaj3qblshriiblg7nz23y5-python3.7-poetry-core-1.0.0.drv': 1 dependencies couldn't be built                                                     cannot build derivation '/nix/store/ldcc0ic2fkv2i5j8bp4klda5cxnannwy-python3.7-tox-3.20.1.drv': 1 dependencies couldn't be built                                                            cannot build derivation '/nix/store/pwx1idq9nkwdbh22iidi36xwdz27crj0-python3.7-isort-5.6.4.drv': 1 dependencies couldn't be built                                                           cannot build derivation '/nix/store/za52wfn3b108hjv00rpaqyzrgyczydbj-python3.7-openapi-spec-validator-0.2.9.drv': 1 dependencies couldn't be built                                          cannot build derivation '/nix/store/72g8xqs9r8jfsdbm1sg19l3pbgqs58q3-python3.7-pendulum-2.1.2.drv': 1 dependencies couldn't be built                                                        cannot build derivation '/nix/store/hd018pxqyw9ys979hlad5c31p0kfyp7l-python3.7-apispec-4.0.0.drv': 1 dependencies couldn't be built                                                         cannot build derivation '/nix/store/l8jczr2wvd2awhr71vax36zfbcf8mlzx-python3.7-pylint-2.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k1f0rfj9aixlcnhq0zd1dw16aljmp68q-python3.7-flask-appbuilder-3.1.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k1mmksx0byi3cr9idaa4gv5fi7zs13bm-python3.7-trio-0.17.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ff54i91d8gciimfchcxwqghymmmfhzf7-python3.7-jeepney-0.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0v7najg46c3iaf09zb17rk80gb01aj3q-python3.7-secretstorage-3.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zf6qybx233svx8nhs9szyc2r653p9n52-python3.7-keyring-21.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cpw6sk1wz4npfmb464gv3m4qwwy8mwl1-python3.7-twine-3.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ljd7ry1njjiv7hm9hrj11368sxiyljkk-python3.7-python-daemon-2.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qicvls2wp3hb98rvwqhsp3a9hriw0wk4-python3.7-apache-airflow-1.10.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/46jcky42k196f4a1biac48i5nhqf12x6-env.drv': 2 dependencies couldn't be built

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109986 run on x86_64-linux 1

3 packages failed to build and are new build failures:

apache-airflow: log was empty
(python37Packages.apache-airflow): log was empty
python37Packages.flask-appbuilder: log was empty

2 packages built:

python38Packages.flask-appbuilder
python39Packages.flask-appbuilder

builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:                                                         SKIPPED [1] tests/unit/activation/conftest.py:249: PowerShell(                                                                                version=FileNotFoundError(2, "No such file or directory: 'pwsh'"),                                                                                creator=CPython3Posix(dest=/build/pytest-of-nixbld/pytest-0/activation-tester-env3/e-$ èрт🚒♞中片-j, clear=False, no_vcs_ignore=False, global=False),                                       interpreter=PythonInfo(spec=CPython3.7.9.final.0-64, exe=/nix/store/q5hdqw6bcp3mfzg8l9m2qhra3y892xwm-python3-3.7.9/bin/python3.7, platform=linux, version='3.7.9 (default, Aug 15 2020, 06:36:35) \n[GCC 10.2.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh': 'pwsh'                                                                SKIPPED [1] tests/integration/test_run_int.py: need --int option to run                                                                                SKIPPED [1] tests/integration/test_zipapp.py: need --int option to run                                                                                SKIPPED [2] tests/integration/test_zipapp.py:95: need --int option to run                                                                                FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...                                                                                FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...                                                                                ===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 21.14s ======                                                                                cannot build derivation '/nix/store/8ajgpdxplbdaj3qblshriiblg7nz23y5-python3.7-poetry-core-1.0.0.drv': 1 dependencies couldn't be built                                                     cannot build derivation '/nix/store/ldcc0ic2fkv2i5j8bp4klda5cxnannwy-python3.7-tox-3.20.1.drv': 1 dependencies couldn't be built                                                            cannot build derivation '/nix/store/pwx1idq9nkwdbh22iidi36xwdz27crj0-python3.7-isort-5.6.4.drv': 1 dependencies couldn't be built                                                           cannot build derivation '/nix/store/za52wfn3b108hjv00rpaqyzrgyczydbj-python3.7-openapi-spec-validator-0.2.9.drv': 1 dependencies couldn't be built                                          cannot build derivation '/nix/store/72g8xqs9r8jfsdbm1sg19l3pbgqs58q3-python3.7-pendulum-2.1.2.drv': 1 dependencies couldn't be built                                                        cannot build derivation '/nix/store/hd018pxqyw9ys979hlad5c31p0kfyp7l-python3.7-apispec-4.0.0.drv': 1 dependencies couldn't be built                                                         cannot build derivation '/nix/store/l8jczr2wvd2awhr71vax36zfbcf8mlzx-python3.7-pylint-2.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k1f0rfj9aixlcnhq0zd1dw16aljmp68q-python3.7-flask-appbuilder-3.1.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k1mmksx0byi3cr9idaa4gv5fi7zs13bm-python3.7-trio-0.17.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ff54i91d8gciimfchcxwqghymmmfhzf7-python3.7-jeepney-0.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0v7najg46c3iaf09zb17rk80gb01aj3q-python3.7-secretstorage-3.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zf6qybx233svx8nhs9szyc2r653p9n52-python3.7-keyring-21.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cpw6sk1wz4npfmb464gv3m4qwwy8mwl1-python3.7-twine-3.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ljd7ry1njjiv7hm9hrj11368sxiyljkk-python3.7-python-daemon-2.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qicvls2wp3hb98rvwqhsp3a9hriw0wk4-python3.7-apache-airflow-1.10.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/46jcky42k196f4a1biac48i5nhqf12x6-env.drv': 2 dependencies couldn't be built

@dotlambda I can't get a clean build b/c of failures with python37Packages.virtualenv
builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...
  FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...
  ===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 38.45s ======

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/109986

2 packages failed to build:
apache-airflow python37Packages.flask-appbuilder

2 packages built:
python38Packages.flask-appbuilder python39Packages.flask-appbuilder

@dotlambda I can't get a clean build b/c of failures with python37Packages.virtualenv
builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...
  FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...
  ===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 38.45s ======

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/109986

2 packages failed to build:
apache-airflow python37Packages.flask-appbuilder

2 packages built:
python38Packages.flask-appbuilder python39Packages.flask-appbuilder

@drewrisinger Just do git fetch upstream pull/109986/head && git checkout FETCH_HEAD.

@drewrisinger Just do git fetch upstream pull/109986/head && git checkout FETCH_HEAD.

@drewrisinger Just do git fetch upstream pull/109986/head && git checkout FETCH_HEAD.

We always test with nixpkgs-review against the current master to not miss any regressions since you created the PR. If virtualenv is broken than this needs a fix before that.

@drewrisinger Just do git fetch upstream pull/109986/head && git checkout FETCH_HEAD.

We always test with nixpkgs-review against the current master to not miss any regressions since you created the PR. If virtualenv is broken than this needs a fix before that.

We always test with nixpkgs-review against the current master to not miss any regressions since you created the PR. If virtualenv is broken on master than this needs a fix before we can build and fully review your PR.

I know. But it's good enough to check whether flask-appbuilder is actually working after the update.
Btw, virtualenv was fixed by reverting https://github.com/NixOS/nixpkgs/pull/109930.

We always test with nixpkgs-review against the current master to not miss any regressions since you created the PR. If virtualenv is broken on master than this needs a fix before we can build and fully review your PR.

I know. But it's good enough to check whether flask-appbuilder is actually working after the update.
Btw, virtualenv was fixed by reverting https://github.com/NixOS/nixpkgs/pull/109930.

But it's good enough to check whether flask-appbuilder is actually working after the update.

No, this is not enough for a good review. If it instantly breaks on master we did not test it properly.

But it's good enough to check whether flask-appbuilder is actually working after the update.

No, this is not enough for a good review. If it instantly breaks on master we did not test it properly.

No, this is not enough for a good review. If it instantly breaks on master we did not test it properly.

That's not what I'm saying. You can check whether the package works after upgrading, but then you also have to check whether everything still builds after merging.

No, this is not enough for a good review. If it instantly breaks on master we did not test it properly.

That's not what I'm saying. You can check whether the package works after upgrading, but then you also have to check whether everything still builds after merging.

@drewrisinger Can you try again?

@drewrisinger Can you try again?


An error occurred while rendering the form field if an array was received in the form instead of a string

What steps will reproduce the problem?
class TestForm extends \yii\base\Model
{
    public $email;

    public function rules()
    {
         return [['email', 'email']];
    }
}

class TestController extends \yii\web\Controller
{
    public function actionTest()
    {
        $model = new TestForm;
        if ($model->load($_GET) && $model->validate()) {
            // do something
        }
        return $this->render('test', ['model' => $model]);
    }
}

test.php
$form = ActiveForm::begin(['method' => 'get']);
echo $form->field($model, 'email')->textInput();
echo Html::submitButton('Send');
$form->end();

curl -g -k -I<EMAIL_ADDRESS>What is the expected result?
Validation error
What do you get instead?
HTTP/1.1 500 Internal Server Error
yii\base\ErrorException
Array to string conversion in app/vendor/yiisoft/yii2/helpers/BaseHtml.php
Additional info
Such requests can be sent by spam bots, for example. I think we need to clear the attribute if the types do not match to avoid the 500 error

Q
A

Yii version
2.0.12

PHP version
7.1

Operating system

Array to string conversion in app/vendor/yiisoft/yii2/helpers/BaseHtml.php

Which Line of Code?

yii\base\ErrorException: Array to string
conversion in /app/vendor/yiisoft/yii2/helpers/BaseHtml.php:556
Stack trace:
#0 /app/vendor/yiisoft/yii2/helpers/BaseHtml.php(1336): yii\helpers\BaseHtml::activeInput()
#1 /app/vendor/yiisoft/yii2/widgets/ActiveField.php(395): yii\helpers\BaseHtml::activeTextInput()
#2 /app/frontend/themes/dartc/views/test/test.php(7): yii\widgets\ActiveField->textInput()
#3 /app/vendor/yiisoft/yii2/base/View.php(330): frontend\components\View->unknown()
#4 /app/vendor/yiisoft/yii2/base/View.php(250): frontend\components\View->renderPhpFile()
#5 /app/vendor/yiisoft/yii2/base/View.php(152): frontend\components\View->renderFile()
#6 /app/vendor/yiisoft/yii2/base/Controller.php(381): frontend\components\View->render()
#7 /app/frontend/controllers/TestController.php(23): frontend\controllers\TestController->render()
#8 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): frontend\controllers\TestController->actionTest()
#9 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/ap
p/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#10 /app/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams()
#11 /app/vendor/yiisoft/yii2/base/Module.php(523): frontend\controllers\TestController->runAction()
#12 /app/vendor/yiisoft/yii2/web/Application.php(102): frontend\components\Application->runAction()
#13 /app/vendor/yiisoft/yii2/base/Application.php(380): frontend\components\Application->handleRequest()
#14 /app/frontend/components/Application.php(150): frontend\components\Application->run()
#15 /app/frontend/web/index.php(26): frontend\components\Application->run()

The problem in request<EMAIL_ADDRESS>

Such requests can be sent by spam bots, for example. I think we need to clear the attribute if the types do not match to avoid the 500 error

Well, as far as I know, bots don't get upset when see 500 error :)
If you get disturbed with error notifications, I think you should be disturbed with a lot of 404 notifications as well.
The best I can suggest is the following
diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php
index 4cea3d8a9..318dce4d6 100644
--- a/framework/helpers/BaseHtml.php
+++ b/framework/helpers/BaseHtml.php
@@ -559,7 +559,13 @@ class BaseHtml
             $options['type'] = $type;
         }
         $options['name'] = $name;
-        $options['value'] = $value === null ? null : (string) $value;
+        if ($value === null) {
+            $options['value'] = null;
+        } elseif (is_scalar($value)) {
+            $options['value'] = (string) $value;
+        } else {
+            $options['value'] = '';
+        }
         return static::tag('input', '', $options);
     }

But I still don't know, whether we should to it

How about adding error that says that arrays aren't allowed?

If you get disturbed with error notifications, I think you should be disturbed with a lot of 404 notifications as well
404 notifications can be routed to file, for example. 500 - to email

@samdark But how to render the field itself, if there is an array there?

As empty.

Should be some build-in way to avoid this, because currently, it looks like, we can get error 500 on any yii form.
For example i tried yiiframework.com/login form, just need to add [] to any field in form e.g. LoginForm[password][] instead LoginForm[password] producing 500, very annoying bug if you have a lot of forms you want to protect of this.
Im currently solved it with custom validator as in suggestion above, validator code:
<?php
namespace common\validators;

use yii\validators\Validator;

class StringFilterValidator extends Validator
{
    public $message = 'Invalid value.';

    public function validateAttribute($model, $attribute): void
    {
        $value = $model->$attribute;
        if (!is_string($value)) {
            $model->$attribute = null;
            $this->addError($model, $attribute, $this->message);
        }
    }
}

but build-in StringValidator already have such functionality, just need to reset string on error, maybe add some parameter like resetOnError which will do $model->$attribute = null; in case of error?
What do you think?


Added ingressClassName: nginx to Ingress example

When reading through the documentation in the Ingress section (https://kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource), that example only works if a default IngressClass has been declared. To make it more straightforward for non-expert users, I believe it is better to provide a working example.
Therefore, I added ingressClassName: nginx to the Ingress example, mentioned the necessity of it, and referenced the section describing that further.
The nginx ingress controller documentation states, that for >= 1.19, the annotation will not work anymore (https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/). Therefore I believe that we should backport it to the corresponding versions of the documentation, if possible.
I believe there might be users still using versions older than 1.19. We could possibly also provide an example with the previously used annotation in those docs.

@mfbieber thanks for your PR and congratulations on your first for k/website!
For localization, we tend to not touch multiple language files*, however I recognize this only touches the examples. @bradtopol or @tengqm what do you think?
*This is because each localization team manages their own process for updating content and updating all of the content at once can cause conflicts across the teams.

Thanks @jimangel!
I could of course open up more PRs for the different languages, if this is better for the release process of those pages.
But maybe it would be then also more meaningful to update the text correspondingly too? Since I don't speak any of those languages, this not possible for me to do. If I would open these up, could somebody that speaks those languages also adapt the texts?

I could of course open up more PRs for the different languages

@mfbieber I think reducing this PR to only updating content in content/en/* (2 files) would be the clearest way forward without unintentionally impacting other localizations (unless @sftim or @tengqm can confirm there's no impact).
If you do update the PR, please squash your commits.
Thanks for the prompt reply!

@sftim: definitely. I'd like to test it before I submit it.
I was wondering about the following. We have some managed 1.19 DigitalOcean clusters, but they have no IngressClass objects at all defined (kubectl get ingressclass delivers No resources found). The working ingresses don't have the annotation nor the ingressClassName  defined in them.
There must be another possibility to define the default IngressClass, or is it always nginx? Is there a way to override this in the cluster setup (not that I am aware of, but you guys might know way better than me)?
In that case, is my statement even correct?

If the ingressClassName is omitted, a default Ingress class must be defined.

In any case, I believe I either need to adapt it or add some more information 🤓
@jimangel: thanks, I removed the other files. It would be cool to port these changes (whatever they end up being) to the other files too. Maybe we could open up an issue for that, that someone can pick up who is fluent in those languages.

/lgtm

You can configure some (probably most) ingress controllers to work without an IngressClass. However, we should teach the canonical approach and not the legacy one.
You don't have to set an ingressClassName by the way. Your cluster operator might have set up a default IngressClass so that that's the one you use automatically if you don't specify one in your Ingress.
Given that, I'm minded to
/lgtm cancel
so we can reconsider what advice to offer. Maybe a comment in the example Ingress to say that it assumes there is already a working ingress controller and a default IngressClass?

/sig network

Thanks @sftim!

You can configure some (probably most) ingress controllers to work without an IngressClass. However, we should teach the canonical approach and not the legacy one.

Agreed. We should at least comment on that in the documentation. I will do that. One more question regarding that: what is exactly the legacy part? Is it legacy to have ingress controllers work without an IngressClass? If yes, how do we ensure that they require the IngressClass? Do we, or do we just specify that they should stick to the rules?

You don't have to set an ingressClassName by the way. Your cluster operator might have set up a default IngressClass so that that's the one you use automatically if you don't specify one in your Ingress.

Yes, I understand that. But if there is not a default one, we should set it - that is what I was trying to point out when I opened up the PR 😄

so we can reconsider what advice to offer. Maybe a comment in the example Ingress to say that it assumes there is already a working ingress controller and a default IngressClass?

I would rather provide the more complex examples and say that it can be left out if there is a default IngressClass defined, or that some ingress controllers can work without an IngressClass.

These two articles might help folks who are working on this issue understand how things used to work and why the nginx ingress controller has a compatability mode that doesn't require an IngressClass:

Improvements to the Ingress API in Kubernetes 1.18
Updating NGINX-Ingress to use the stable Ingress API

@robscott, anything to add here?

This looks like a tricky piece of advice to get exactly right @mfbieber
Thanks for your time on this so far, and I firmly hope we can help you get the PR all the way through to publication.

/remove-language ja
/remove-language ko
/remove-language zh

This looks like a tricky piece of advice to get exactly right @mfbieber
Thanks for your time on this so far, and I firmly hope we can help you get the PR all the way through to publication.

Yes, but quite important to get the ingresses right :) I'll read through the docs and push a new commit in some minutes.

Thanks for the links @sftim! This PR already helped my colleagues with the DigitalOcean clusters to understand that they need to either add that flag to the controllers or define IngressClasses when upgrading the cluster.

Just for the sake of completeness, I saw that we also have a minikube example that uses an Ingress object without the IngressClass.
The Kubernetes version is 1.19, the Ingress-NGINX controller there does not have the flag, the cluster does not have an IngressClass, but things seem to work:
$ kubectl describe pod ingress-nginx-controller-65cf89dc4f-l26d9 -n kube-system
Name:         ingress-nginx-controller-65cf89dc4f-l26d9Namespace:    kube-systembe-systemus.go:277] "updating Ingress status" namespace="default" ingress="example-ingress" currentValue=[] newValue=i': kubectl describe pod ingress-nginx-controller-65cf89dc4f-l26d9 -n kube-system
Priority:     0374633       7 warnings.gor': kubectl describe pod ingress-nginx-controller-65cf89dc4f-l26d9 -n kube-system.22+; use networking.k8s.io/v1 Ingress                                                                      c': kubectl describe pod ingress-nginx-controller-65cf89dc4fNode:         minikube/<IP_ADDRESS>t.go:282] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"example-ingress",s': kubectl describe pod ingress-nginx-controller-65cf89dc4f-l26d9 -n kube-system1", ResourceVersion:"842", FieldPath:""}): type: 'Normal' reason: 'UPDATE' IngreStart Time:   Mon, 06 Dec 2021 16:34:14 +0000ibe pod ingress-nginx-controller-65cf89dc4f-l26d9 -n kube-system
Labels:       addonmanager.kubernetes.io/mode=Reconcileress-nginx-controller-65cf89dc4f-l26d9 -n kube
              app.kubernetes.io/component=controller
              app.kubernetes.io/instance=ingress-nginx
              app.kubernetes.io/name=ingress-nginx
              gcp-auth-skip-secret=true
              pod-template-hash=65cf89dc4f
Annotations:  <none>
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/ingress-nginx-controller-65cf89dc4f
Containers:
  controller:
    Container ID:  docker://67f01b8da280347a2ce4116e783c0a952b090da2df4ae76a50e6f2ca4b6f9466
    Image:         us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.40.2@sha256:46ba23c3fbaafd9e5bd01ea85b2f921d9f2217be082580edc22e6c704a83f02f
    Image ID:      docker-pullable://us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller@sha256:46ba23c3fbaafd9e5bd01ea85b2f921d9f2217be082580edc22e6c704a83f02f
    Ports:         80/TCP, 443/TCP, 8443/TCP
    Host Ports:    80/TCP, 443/TCP, 0/TCP
    Args:
      /nginx-ingress-controller
      --configmap=$(POD_NAMESPACE)/nginx-load-balancer-conf
      --report-node-internal-ip-address
      --tcp-services-configmap=$(POD_NAMESPACE)/tcp-services
      --udp-services-configmap=$(POD_NAMESPACE)/udp-services
      --validating-webhook=:8443
      --validating-webhook-certificate=/usr/local/certificates/cert
      --validating-webhook-key=/usr/local/certificates/key
    State:          Running
      Started:      Mon, 06 Dec 2021 16:34:59 +0000
    Ready:          True
    Restart Count:  0
    Requests:
      cpu:      100m
      memory:   90Mi
    Liveness:   http-get http://:10254/healthz delay=10s timeout=1s period=10s #success=1 #failure=3
    Readiness:  http-get http://:10254/healthz delay=10s timeout=1s period=10s #success=1 #failure=3
    Environment:
      POD_NAME:       ingress-nginx-controller-65cf89dc4f-l26d9 (v1:metadata.name)
      POD_NAMESPACE:  kube-system (v1:metadata.namespace)
    Mounts:
      /usr/local/certificates/ from webhook-cert (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from ingress-nginx-token-zq4dn (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  webhook-cert:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  ingress-nginx-admission
    Optional:    false
  ingress-nginx-token-zq4dn:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  ingress-nginx-token-zq4dn
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason            Age                    From                      Message
  ----     ------            ----                   ----                      -------
  Warning  FailedScheduling  8m24s                  default-scheduler         0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn't tolerate.
  Normal   Scheduled         8m24s                  default-scheduler         Successfully assigned kube-system/ingress-nginx-controller-65cf89dc4f-l26d9 to minikube
  Warning  FailedMount       8m23s                  kubelet                   MountVolume.SetUp failed for volume "webhook-cert" : failed to sync secret cache: timed out waiting for the condition
  Warning  FailedMount       8m23s                  kubelet                   MountVolume.SetUp failed for volume "ingress-nginx-token-zq4dn" : failed to sync secret cache: timed out waiting for the condition
  Warning  FailedMount       8m7s (x5 over 8m22s)   kubelet                   MountVolume.SetUp failed for volume "webhook-cert" : secret "ingress-nginx-admission" not found
  Normal   Pulling           7m50s                  kubelet                   Pulling image "us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.40.2@sha256:46ba23c3fbaafd9e5bd01ea85b2f921d9f2217be082580edc22e6c704a83f02f"
  Normal   Pulled            7m39s                  kubelet                   Successfully pulled image "us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.40.2@sha256:46ba23c3fbaafd9e5bd01ea85b2f921d9f2217be082580edc22e6c704a83f02f" in 10.821381221s
  Normal   Created           7m39s                  kubelet                   Created container controller
  Normal   Started           7m39s                  kubelet                   Started container controller
  Normal   RELOAD            5m37s (x2 over 7m37s)  nginx-ingress-controller  NGINX reload triggered due to a change in configuration

$ kubectl get ingress example-ingress -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{"nginx.ingress.kubernetes.io/rewrite-target":"/$1"},"name":"example-ingress","namespace":"default"},"spec":{"rules":[{"host":"hello-world.info","http":{"paths":[{"backend":{"service":{"name":"web","port":{"number":8080}}},"path":"/","pathType":"Prefix"}]}}]}}
    nginx.ingress.kubernetes.io/rewrite-target: /$1
  creationTimestamp: "2021-12-06T16:37:00Z"
  generation: 1
  managedFields:
  - apiVersion: networking.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:kubectl.kubernetes.io/last-applied-configuration: {}
          f:nginx.ingress.kubernetes.io/rewrite-target: {}
      f:spec:
        f:rules: {}
    manager: kubectl-client-side-apply
    operation: Update
    time: "2021-12-06T16:37:00Z"
  - apiVersion: networking.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:loadBalancer:
          f:ingress: {}
    manager: nginx-ingress-controller
    operation: Update
    time: "2021-12-06T16:37:01Z"
  name: example-ingress
  namespace: default
  resourceVersion: "842"
  uid: 3a87cb67-cb09-47cb-a5e7-aadad033fc92
spec:
  rules:
  - host: hello-world.info
    http:
      paths:
      - backend:
          service:
            name: web
            port:
              number: 8080
        path: /
        pathType: Prefix
status:
  loadBalancer:
    ingress:
    - ip: <IP_ADDRESS>

When we move to 1.22 in that minikube example, I believe that we must update the docs in that part too.

@sftim Those are all great references, can't think of anything to add to that list.

@sftim: I am finished from my side - what do you think?

Relevant to #31215
/lgtm

@annajung: I didn't know that you wanted it to be exactly the same. Is it ok now?

Thanks @mfbieber :)
/lgtm


Investigate eslint auto-fix

eslint has the ability to automatically fix problems.  At the very least we should add a manual gulp task for fixing problems.  If it's foolproof and fast, we can even consider it happening automatically at commit time.

I am playing with pre-commit now. It is very irritating to wait a while for each commit for me. We can consider push time. If I will have time I will evaluate pre-push.
There is a risk to use eslint --fix for es5 project. If one of es6 specific rule is active (eg. prefer-spread), eslint change your code with es6 equivalent.

We don't have any es6 rules active, so I don't think eslint --fix will be a problem, plus if we have a rule active, we would want it to change the code everywhere.
Can you experiment with enabling caching to see how much that speeds up the pre-commit hook (I imagine it would be a big help).  I agree that pre-commit might be a little aggressive, we may even decide pre-push is too.  Is it just the run-time that you are irritated by?

My pre-push idea is failed. eslint --fix causes some unstaged changes which blocks push. I added a new gulp task (eslint-fix) but I will replace it with eslint cli according to #5449 .
I am still unsettled about pre-commit. After evaluting eslint cli with --cache I will decide.

Thanks for looking into this @ateshuseyin.  After some unrelated changes, running with --fix is as easy as running npm run eslint --fix.  I think running fix automatically is really worth it (since it can't fix everything) and most of the time devs will just manually fix one or two issues.
I think where --fix comes in very useful is in adding new rules, which is a rare occurrence.
Long story short, I'm closing this issue.  Thanks again @ateshuseyin.


Add cache after branch is interpreted

There's currently a 3GB cache for raw unpacked basket data. Adding a 1GB cache after branch interpretation can help a lot for non-trivial branches especially when playing/exploring interactively on a small set of branches. E.g.,
julia> length(t)
962975

julia> t.Electron_pt[1:5]
5-element Vector{Vector{Float32}}:
 []
 [18.828014]
 [31.292875, 25.108507]
 [106.96358, 19.502377, 16.525389]
 [21.751484, 13.741731]

before (without 1GB cache)
julia> @time length.(t.Electron_pt);
  1.000231 seconds (4.82 M allocations: 324.212 MiB, 3.58% gc time)

after (with  1GB cache)
julia> @time length.(t.Electron_pt);
  0.138824 seconds (3.48 k allocations: 8.036 MiB)

Thanks, that looks good to me!
We should think about how to expose the cache settings for the user, since this stuff is heavily experiment/use-case specific.


Release v0.2.3 (Patch)

Note: This release has no changes in comparison to version v0.2.2 and is to trigger a new publish to the vscode marketplace because previous publish was not validated successfully by the marketplace.
Bernd Hufmann<EMAIL_ADDRESS>

The following 1 GitHub releases will be created once this pull request got merged.
Release v0.2.3 with changes since v0.2.2

Release v0.2.3 (Patch) fa0cbdc


Postgres: Filtering on select and text with hasMany:true not working

Link to reproduction
https://github.com/Janisvb/payload-reproduction/tree/filtering
Describe the Bug
Filtering on a select- or text-field with hasMany:true is not working with Postgres.
To Reproduce
yarn dev:postgres _community

Equals filter on select-field with hasMany: false (correct)
http://localhost:3000/api/posts?where[type][equals]=post

Equals-filter on select-field or text-field with hasMany: true (error)
http://localhost:3000/api/posts?where[categories][equals]=ts or http://localhost:3000/api/posts?where[categories_text][equals]=ts
 ERROR (payload): error: syntax error at or near "="

In-filter on select-field or text-field with hasMany: true (error)
http://localhost:3000/api/posts?where[categories][in]=js,ts or http://localhost:3000/api/posts?where[categories_text][in]=js,ts
ERROR (payload): error: syntax error at or near "in"

All-filter on select-field or text-field with hasMany: true (not supported)
http://localhost:3000/api/posts?where[categories][all]=js,ts or http://localhost:3000/api/posts?where[categories_text][all]=js,ts
ERROR (payload): TypeError: _operatorMap.operatorMap[queryOperator] is not a function

It is working as expected with MongoDB.
Payload Version
2.11.1
Adapters and Plugins
db-postgres

Hey @Janisvb - thanks for reporting this! The above has been fixed with these two PRs:

https://github.com/payloadcms/payload/pull/5881
https://github.com/payloadcms/payload/pull/5885


Revert template until after rfc 1.17.0

As in #3878, remove templates until an RFC has passed.

 Warning

Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.17.0. Please double check that you specified the right target!

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 4be2228 has been approved by alexcrichton

:hourglass: Testing commit 4be2228 with merge 038d003...

:broken_heart: Test failed - status-travis

:umbrella: The latest upstream changes (presumably #3890) made this pull request unmergeable. Please resolve the merge conflicts.

@bors: r+

:pushpin: Commit b6bcba9 has been approved by alexcrichton

:hourglass: Testing commit b6bcba9 with merge 2e31571...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 2e31571ced23e19eb219687ba6b406351f77290d to rust-1.17.0...


Rename ss_reflections_ to ssr_ in Environment

Closes https://github.com/godotengine/godot-proposals/issues/4254
Renames the ss_reflections_* properties to ssr_* in Environment. The setters, getters, and internal variable names already begin with ssr_*, so this PR only had to change the property names and documentation.
The SSR section currently displays as Ssr in the inspector, but that will be fixed by https://github.com/godotengine/godot/pull/59525

Thanks!


Multiple devices syncing across CloudKit

I can put the demo app onto a phone and an iPad and see the additions syncing across to the other app but deletions only seem to work one way, from one device to the other but not from the second. Am I expecting the wrong behavior?

It is wrong behaviours, I will check it on that week, all syncs is two-way.

@magnas35 sorry for late answer, I've checked, everything is working okay. Do you tested on real devices or used emulators (for both devices)? If you're using emulator you need to push on refresh button (push notifications doesn't work on emulators) to fetch updated data.

Yes, I was testing on two real devices, an iPhone and an iPad. I will retest.

On 29 Jun 2017, at 13:20, Vasily Ulianov<EMAIL_ADDRESS>wrote:
@magnas35 https://github.com/magnas35 sorry for late answer, I've checked, everything is working okay. Do you tested on real devices or used emulators (for both devices)? If you're using emulator you need to push on refresh button (push notifications doesn't work on emulators) to fetch updated data.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Sorix/CloudCore/issues/4#issuecomment-311949773, or mute the thread https://github.com/notifications/unsubscribe-auth/AEAc2TLtLk0_8BdzfVqvWkCj3Xq6Xa1aks5sI5aHgaJpZM4NqWND.

@magnas35 I will double check in 3-4 hours that in every situation it is working, thank you for providing information that it were 2 real devices.


Display username while removing the user from the group

This change is to display username (for the confirmation) while removing the user from the group.
Before:

After:

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@jjoyce0510 @david-leifker - Can you please review this minor PR when you get chance.

@jjoyce0510 @david-leifker  - Can you please review this PR and merge when get chance


KUBECONFIG environment variable not recognized by duplik8s

When using export KUBECONFIG=/path_to/kubeconfig, it seems that duplik8s does not take the environment variable into account.
Is it possible to make duplik8s use the KUBECONFIG environment variable?
While it works with the CLI using the --kubeconfig /path_to/kubeconfig parameter, it does not work when using k9s, which relies on the KUBECONFIG environment variable. In this case, it is not possible to use duplik8s directly.
Version used : duplicate  v0.3.0

Hi @Quiwy, thanks for raising the issue! Good point, I recently fixed the same issue in kubesafe: https://github.com/Telemaco019/kubesafe/issues/11
I'll implement this soon in duplik8s too ;)


[implot] Fix download hash

Fixes https://github.com/microsoft/vcpkg/issues/33018

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

FYI i caused this with https://github.com/epezent/implot/issues/498#issuecomment-1669019266 apologies.
PR should be merged asap i suppose, and perhaps in the interest of visibility you should “check” the striked likes in your bullet list above ?

FYI i caused this with epezent/implot#498 (comment) apologies. PR should be merged asap i suppose, and perhaps in the interest of visibility you should “check” the striked lines in your bullet list above ?

Ok, we will merge this PR as soon as possible.


Atom-beautify not woking with PHP-CS-Fixer

Description
l installed "Atom beatify" and "php-cs-fixer" in Atom.
And I also instaled "php-cs-fixer"
at
https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation
which is in my pc.
The file name of it is "php-cs-fixer-v2.phar" which of course is
in my pc(c:¥xampp¥php¥php-cs-fixer-v2.phar)
And in Atom
my path is "c:¥xampp¥php¥php-cs-fixer-v2.phar".(Excuatbles▶PHP-CS-Fixer)
the other path is "c:¥xampp¥php.exe".
(Excuatbles▶PHP)
l don't why lt's not working.
l geuss setting is no problem becuse
"linter-php" is working.
Actual Output
The beautified code actually looked like this:
<<?php

$num = 10;

   $dsn = 'mysql:host=localhost;dbname=bbs;charset=utf8';
$user = 'tennisuser';

   $page = 0;

    if (isset($_GET['page']) && $_GET['page'] > 0) {
        $page = intval($_GET['page'])-1;
    }

    try {
        $db = new PDO($dsn, $user, $password);
        $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);

        $stmt = $db ->prepare("
    SELECT * FROM bbs ORDER BY date DESC LIMIT :page, :num
    ");

        $page = $page * $num;
        $stmt->bindParam(':page', $page, PDO::PARAM_INT);
        $stmt->bindParam(':num', $num, PDO::PARAM_INT);

        $stmt ->execute();
    } catch (PDOException $e) {
        die('エラー：'.$e->getMessage());
    }
?>
<!DOCTYPE html>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>掲示板</title>

トップページに戻る

    <form class="" action="write.html" method="post">

名前:<input type="text" name="name">

タイトル:<input type="text" name="title">

      <textarea name="body"></textarea>

削除パスワード(数字4文字):<input type="text" name="pass">

<input type="submit" value="書き込む">

    </form>

>

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist: https://gist.github.com/YutaNakai/d17fa7e3d81b7eea52a0e36f4070f442#file-atom
Checklist
I have:

[x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[x] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

This is where "php-cs-fixer-v2.phar" is.

This is my path in Atom.

@YutaNakai again, you need to create a configuration file for php-cs-fixer.  Create a file with the name .php_cs.dist with contents of:
<?php

return PhpCsFixer\Config::create()
    ->setRules([
        'indentation_type' => true
    ])
    ->setIndent("\t")
    ->setFinder(
        PhpCsFixer\Finder::create()
        ->exclude('vendor')
        ->in(__DIR__)
    )
;

Thank you. I really appreciate you replying.
I did. Did I do it right?

Yes that looks right, try beautifying again.

Still not working.
I installed PHP through Xampp.
Is it a problem? or Version?

Okay. I did.
https://gist.github.com/YutaNakai/c612aac982d0ab71a08cb7a1f5dfcb7f#file-gistfile1-txt

The config file: "C:\xampp\htdocs\clearphp\.php_cs.dist" does not return a "PhpCsFixer\ConfigInterface" instance. G
  ot: "integer".

Interesting, your .php_cs.dist looks fine to me.  I'll have to find a Windows machine and try it.

You mean there isn't anything I can do about
it?

Your paths are fine, it is attempting to beautify your files but can't because of that error in my previous comment.  Try this just to see that it is working:

Delete the .php_cs.dist file
Create a php file with these contents

<?php
$d = True;
if ($a) {
return 1;
}else if ($b) {return 2;}

Run Beautify

Because it needs a proper configuration so it knows how to format it the way it is supposed to.  I don't know why your .php_cs.dist causes this error:
The config file: "C:\xampp\htdocs\clearphp\.php_cs.dist" does not return a "PhpCsFixer\ConfigInterface" instance. Got: "integer".

It might be an issue on Windows, and I don't have a Windows machine to test readily available.  I need some time to test it out.

Thank you.
What should I do?

Try creating a new .php_cs.dist file again.  Once I find a Windows machine I'll try and troubleshoot.

It won't do anything on that file, only .php files.
Also, what other packages do you have installed in Atom?

Thank you.
What do you mean by 'It won't do anything on that file, only .php files.'?
I'm not supposed to beautify on that file?
These are pictures of all my packages.

It did work a little bit on other files.
But it woks sometimes and sometimes doesn't.
And I tryied making the code mess on purpose on the file below.
Some of the code got beautified but still not working prpperly.
`<?php
$name = $_POST['name'];
	  $title =$_POST['title'];

$body =$_POST['body'];
$pass =$_POST['pass'];
						   if ($name == '' || $bpdy == '') {
		header('Location: bbs.php');
  exit();

}
	  if (!preg_match("/^[0-9]{4}$/", $pass)) {
  header('Location: bbs.php');
  exit();

}
						  $dsn = 'mysql:host=localhost;dbname=bbs;charset=utf8';

$user = 'tennisuser';
$password = 'password';
try {
$db = new PDO($dsn, $user, $password);
$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
  $stmt = $db ->prepare(
	"
  INSERT INTO bbs (name,title,body,date,pass)
  VALUES (:name,:title,:bpdy,now(),:pass)"
);

		 $stmt->bindParam(':name', $name, PDO::PARAM_STR);
  $stmt->bindParam(':title', $name, PDO::PARAM_STR);
	 $stmt->bindParam(':body', $name, PDO::PARAM_STR);
  $stmt->bindParam(':pass', $name, PDO::PARAM_STR);

  $stmt->execute();

  header('Location: bbs.php');
  exit();

} catch (PDOException $e) {
die('エラー：'.$e->getMessage());
}
`

Yes it runs properly when there is no configuration file, but it doesn't change much of the text with the default settings.

What sould I do sir?

I'm sorry.
But I want to know if you are trying to do something to get this work.

@YutaNakai I can't do anything to troubleshoot this right now.  As I said, I need to get in front of a Windows machine and see if that is causing the issue, and I don't have one around.

Okay.
ls all I can do just to wait?

What do you mean by 'It won't do anything on that file, only .php files.'?

@YutaNakai To your comment https://github.com/Glavin001/atom-beautify/issues/2195#issuecomment-410784918
The error message is:

Atom Beautify could not find a supported beautifier for this file
... grammar "Null Grammar" and extension "dist" ...

The file you had selected was .php_cs.dist (see the tab) and was using Plain Text grammar (see bottom right corner of your screenshot).
See https://flight-manual.atom.io/using-atom/sections/grammar/ for details.
You can manually change the grammar of .php_cs.dist to be PHP, read the Atom documentation to learn how.

Some of the code got beautified but still not working prpperly.

@YutaNakai Please post a link to a new debug.md Gist file so we can help you debug. Posting code without more info like in https://github.com/Glavin001/atom-beautify/issues/2195#issuecomment-410933575 is not enough for us to debug 😄.
Also, it may be an issue with PHP-CS-Fixer itself. If Atom-Beautify is working, then your code is being sent to PHP-CS-Fixer and beautified -- whatever that looks. If you are having partially beautified files, this sounds like a PHP-CS-Fixer problem. Once we have the debug.md Gist we can determine this 😃 .

Thank you. I tried changing grammar but 'PHP' is already selected.

Here is debug.
https://gist.github.com/YutaNakai/991f4abbe52332c9bb0ffd2bec70fa3a

@YutaNakai Please change  gistfile1.txt to debug.md (note the .md extension) in your Gist so it is rendered as Markdown.

@YutaNakai in your logs I see:
2018-08-09T04:22:00.749Z - debug: [] spawn done 0 Loaded config default from "C:\xampp\htdocs\clearphp\.php_cs.dist".
Paths from configuration file have been overridden by paths provided as command arguments.

Files that were not fixed due to errors reported during linting before fixing:
   1) C:\Users\kjlwn\AppData\Local\Temp\temp11879-16156-1k5ii07.5pyd.php

Fixed all files in 0.033 seconds, 8.000 MB memory used

Looks like it is definitely a problem with your PHP file and/or PHP-CS-Fixer itself, and Atom-Beautify is currently working as expected.
I recommend taking a look at PHP-CS-Fixer issues such as https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1364

Thank you and I'm sorry.
I looked but I don't exactly know what to do.
Is there something that you think I have to try?

Is my path correct?

@YutaNakai You're path is already correct, Atom-Beautify is working correctly.
I recommend you ask further questions over at https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/ such as https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1364 .
The error message PHP-CS-Fixer is giving you is:

Files that were not fixed due to errors reported during linting before fixing:

Provide this error message to the PHP-CS-Fixer team and your code file. Work with them to figure it out.

I did ask for the help at https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3967
They said to me that I have to change Atom to something diffrent or ask foe the help to Atom team.
I don't know what's going on here.

They asked you to show how to reproduce issue with PHP CS Fixer standalone, without any IDE

@YutaNakai excuse me but u can solve this issue?, i have the same problem and i triying for 3 days and i cant got it =S plssss somebody help me...

got this issue some time ago ,
just go to beautify setting,
remove cs-fixer phar path from exutable, and put into php setting,
at this point beautify will notice you that is deprecated,
just go to to you user folder (i'm assuming you are uing win10) ".../.atom\packages\atom-beautify\src\beautifiers" and edit file "php-cs-fixer.coffee" at line 46 from "cs_fixer_path: true" to "cs_fixer_path: false"
and it should work again

The issue for me was originally installing with composer. Composer does not put a .phar file into the /bin folder.
Download the .phar file (https://github.com/FriendsOfPHP/PHP-CS-Fixer#locally) and place it somewhere explicitly, then put that location in settings->executables->PHP-CS-Fixer path


Edit payouts Reconfigure Payouts and Limits button is unstable

Summary
In the nextJS port, this button is unstable. It spawns many windows, or doesn't update. see vid for more.
Steps to reproduce

Go to an owned project
CLick edit payouts
CLick Reconfigure payouts and lmits

What is the current bug behavior?
See vid
What is the expected correct behavior?
Current modal should be closed, and reconfigure modal, with payout split drawer should be displayed.
Relevant logs and/or screenshots
Screen Recording 2022-07-14 at 5.27.14 pm.zip
Environment

Device/OS: [e.g. iOS]

Browser: [e.g. chrome, safari]

Hardware wallet: [e.g. Ledger w/ Metamask]

Removed the feature in https://github.com/jbx-protocol/juice-interface/pull/1397/commits/15269a16810b7af289621dff9e0b7c310f3760d2


[Question] Is TOC sopported?

Is there a way to make marked to suport TOC ?

Duplicate of https://github.com/chjj/marked/issues/545

OK, thanks a lot


Firebase sendMEssage response: Unexpected HTTP response with status: 401      null

Operating System version: Amazon Linux (on AWS Lambda), macOS 10.14.6 (openjdk 1.8.0_265)
Firebase SDK version: 8.1.0
Library version: 8.1.0
Firebase Product: messaging
Use Firebase Admin to bind topic

, response:
I can't find this error on firebase document

is tokon wrong? or it is google account wrong?

Hi @AnswerNo2 it is hard to tell what went wrong without seeing a sample code or a repro. Do you still see this issue? If so, could you provide a minimal code to reproduce this? Thanks!

You can also access the original error response sent by the server, which should provide more context about the error.
ex.getHttpResponse().getContent()

Closing because of inactivity, we can reopen if you still have this issue. Thanks.

@AnswerNo2 Did you find a solution?


Preparation of meeting and guide for creating _reported_object property for ReportComponent class

The following actions are to do, in order to prepare the meeting and the guide:

[x] #232

[x] #233

[x] #234

Issue can be closed.


Implement EXTRA_ARGS entrypoint design for all ETH(2) client container infra

Allow specification of "extra" launch args within an environment variable to enable launch customization for somewhat static provisioning/deployment mechanisms (e.g. when deploying via docker-compose in which the launch parameters are typically hardcoded).
Reference:

lighthouse ETH2 client entrypoint.sh

Checklist:

[ ] geth
[ ] openethereum
[ ] chainlink
[ ] prysm
[ ] teku


core: add support for CSS shorthands

Migration 🏎
We provide a codemod that helps you to convert your existing Griffel code to use the new one that supports CSS shorthand syntax.
Usage
npx @griffel/codemod-shorthands [pattern]
npx @griffel/codemod-shorthands **/*.styles.ts

Example
// Before
const useStyles = makeStyles({
  root: {
    display: "flex",
    ...shortcuts.padding("10px"),
  },
});

⬇⬇⬇
// After
const useStyles = makeStyles({
  root: {
    display: "flex",
    padding: "10px",
  },
});

Currently, Griffel does not support CSS shorthands, https://griffel.js.org/react/guides/limitations#css-shorthands-are-not-supported 😿  The plan is to bring the support back 🚀
How it works?
This concept was inspired by StyleX and Fela (fela-enforce-longhands plugin).
There are two scenarios where CSS longhands & shorthands could conflict, and the strategies for both are described below ⬇
Longhand should override
As we depend on JavaScript order of definitions for overrides, we should adhere to it:
const useClasses = makeStyles({
  root: {
    padding: 0,
    paddingLeft: '10px',
  },
});

In this case, we will generate the following CSS and apply both classes to the element:

Note: The order of CSS rules ensures that padding-left will override padding, resulting in a deterministic outcome.

Shorthand should override
const useClasses = makeStyles({
  root: {
    paddingLeft: '10px',
    padding: 0,
  },
});

Unlike the previous example, we will generate the following CSS and apply only a single class to the element:

This occurs because padding overrides all its shorthands (padding-left, padding-right, etc.), eliminating the need to apply them individually.
Implementation details
Order adjustments
All CSS shorthands will be defined with a lower priority (-1 or lower) than their corresponding longhands (0). Rules with lower priority appear first in the CSS file (or DOM) and will be overridden by rules with higher priority.

Note: Negative priorities are chosen for backwards compat.

This change has been implemented in #539.
Shorthands & "longhands reset"
Support for rules reset was added in #450.
Whenever a shorthand is defined, its corresponding longhands will be reset (refer to "Shorthand should override"):
const useClasses = makeStyles({
  root: {
    padding: 0,

    // "padding" automatically resets the following longhands
    paddingTop: RESET,
    paddingRight: RESET,
    paddingBottom: RESET,
    paddingLeft: RESET,
  },
});

Limitations
Limitations on border-* shorthands
Unlike other CSS properties, border-* shorthands has an "equality" behavior, for instance, border-left & border-color:
const style = {
  borderLeft: '1px solid red',
  // is essentially ⬇
  borderLeftWidth: '1px',
  borderLeftStyle: 'solid',
  borderLeftColor: 'red',
};

const style = {
  borderColor: 'red',
  // is essentially ⬇
  borderTopColor: 'red',
  borderRightColor: 'red',
  borderBottomColor: 'red',
  borderLeftColor: 'red',
};

This behavior poses an issue as borderLeft cannot reset borderColor since it's a subset of border*Color, resulting in collision once these rules are applied:
// How to handle this? 🫤
const style = {
  borderLeft: '1px solid green',
  borderColor: 'red',
}

Rejected approach
One of the options considered was to define borderColor, borderStyle & borderWidth with lower priority than borderLeft & etc. to ensure deterministic behavior. However, this approach would be confusing, as illustrated in the example below:

Because of CSS order, both sets of rules would visually produce the same result:
const useClasses = makeStyles({
  rootA: {
    borderLeft: '1px solid green',
    borderColor: 'red',
  },
  rootB: {
    borderColor: 'red',
    borderLeft: '1px solid green',
  },
});

While the outcome would be deterministic, it would be confusing for developers, as they would expect borderColor to override borderLeft in the first case, as is the case with other properties.
Solution
Instead, we opted to continue maintain borderColor, borderStyle & borderWidth as unsupported shorthands i.e. they will retain their current limitations. Directional border shorthands will be fully supported (borderLeft, borderTop, etc.), ensuring that styles work as expected:
const useClasses = makeStyles({
  rootA: {
    borderLeft: '1px solid green',
    ...shorthands.borderColor('red'),
  },
  rootB: {
    ...shorthands.borderColor('red'),
    borderLeft: '1px solid green',
  },
});

I noticed the codemod is not published in npm, is there any support for automatic migration or has this to be done manually?

Noticed there is an issue with the following shorthands codemod migration, if the last parameter is 0 it is omitted
{
  ...shorthands.gap('4px', 0),
  ...shorthands.margin('4px', 0),
  ...shorthands.padding('4px', 0)
}

is migrated to
{
  gap: '4px',  // wrong should had been '4px 0'
  margin: '4px', // wrong should had been '4px 0'
  padding: '4px' // wrong should had been '4px 0'
}

Second problem is that shorthands.gap parameter order is wrongly migrated
{
  ...shorthands.gap('4px', '8px')
}

is migrated to
{
  gap: '4px 8px' // wrong should had been '8px 4px'
}

based on mdn gap docs the syntax of gap is
gap: <row-gap> <column-gap>

while the gap function definition has it reverse

Noticed there is an issue with the following shorthands codemod migration, if the last parameter is 0 it is omitted

I cannot reproduce this using<EMAIL_ADDRESS>Can you please check using that version?

Second problem is that shorthands.gap parameter order is wrongly migrated

Ouch, indeed. Pushed a fix and released<EMAIL_ADDRESS>👍

was able to reproduce with<EMAIL_ADDRESS>but instead of string values i had tokens values
import { makeStyles, shorthands, tokens } from '@fluentui/react-components';

export const useStyles = makeStyles({
    root: {
        ...shorthands.margin(tokens.spacingVerticalM, 0),
    },
});

this is wrongly migrated to
import { makeStyles, tokens } from '@fluentui/react-components';

export const useStyles = makeStyles({
    root: {
        margin: tokens.spacingVerticalM,
    },
});

@ivi-hamiti thanks, fixed in<EMAIL_ADDRESS>👍


How are F1 scores calculated?

Stanza maintainer from across the bay.  We have a constituency parser which is doing pretty well, but I am not sure what evaluation to use to match the leaderboard scores.  Eg, what numbers do people actually report?  In the case of benepar, is there any secret sauce to getting the F1 scores reported in the chart?
In the "available models" chart, benepar_en3_large has an F1 of 96.29.  I ran it on each of the sentences in the revised PTB as follows:
import benepar, spacy
from spacy.tokens import Doc
from stanza.models.constituency import tree_reader
from spacy.language import Language
from tqdm import tqdm

@Language.component("set_custom_boundaries")
def set_custom_boundaries(doc):
    for token in doc[:-1]:
	doc[token.i + 1].is_sent_start = False
    return doc

# I'm sure there's a tree reader in spacy or benepar somewhere, but I just used what I had available
test_set = tree_reader.read_treebank("data/constituency/en_ptb3-revised_test.mrg")

nlp = spacy.load('en_core_web_trf')
# turns off sentence splitting, which otherwise breaks up sentence 88 and others
nlp.add_pipe("set_custom_boundaries", before="parser")
nlp.add_pipe("benepar", config={"model": "benepar_en3_large"})

with open("benepar_out.mrg", "w") as fout:
    for tree in tqdm(test_set):
        sentence = tree.leaf_labels()
        doc = Doc(nlp.vocab, sentence, sent_starts=[1] + [0] * (len(sentence) - 1))
        doc = nlp(doc)
        sents = list(doc.sents)
        assert len(sents) == 1
        sent = sents[0]
	parse = sent._.parse_string.replace("-LCB-)", "{)").replace("-RCB-)", "})")
        fout.write("(ROOT {})\n".format(parse))

This is using spaCy predicted tags, I believe, for what that's worth.  Although I note that switching to en_core_web_md has no effect on the POS tags, so maybe it's not using spaCy tags after all.  If that's not the tags you used for training, would you let me know which ones so I can better match the performance?
This outputs a file which looks the same as the input file.  I ran that through evalb, using "the latest version" from here: https://nlp.cs.nyu.edu/evalb/  The result is 95.66.  As part of Stanford CoreNLP, we have an evalb implementation in Java which drops punctuation nodes when counting the brackets and collapses PRT into ADVP... personally I wouldn't think those are still necessary in this day and age, but when I feed it the benepar results, I get 96.12.  Much closer, possibly if the POS tags aren't exact that's the entire difference.
Is there something different in this process which would get back the reported score of 96.29?  Do you know what the other leaderboard scores (such as on nlpprogress.com) did to get their results?  The top several papers each just mention evalb, whereas your paper says All values are F1 scores calculated using the version of evalb distributed with the shared task., and I wonder if there's some technical difference in the program or if the standard leaderboard paper also removes punct, for example.
Thanks in advance.  I would hate to report a score in any way which was not produced the same way as other reported scores.

My PI points out that COLLINS.pm is part of evalb and

collapses PRT into ADVP
deletes all punct nodes

But the version of evalb labeled "the latest" has an issue in it where, if a model mistags a quote as an -LRB- for example, it does get deleted from the gold tree but doesn't get deleted from the pred tree.  It seems somehow this bug in evalb might have regressed?
David Ellis (Brown University) : fixes a bug in which sentences were incorrectly categorized as "length mismatch" when the the parse output had certain mislabeled parts-of-speech.

How did you work around that, if at all?  Feed gold tags into the parser model?


Add support for @EnableModule, @Input and @Output

enable the component model based on @EnableModule with existing functionality
any field annotated with Input/Output will trigger the creation and injection of a channel
update examples and tests

Your PR needs to address the README as well

Yeah, I was planning to do that separately, once it's all cleared. But it'd be better to do it here.

LGTM; merging

squashed and merged as https://github.com/spring-cloud/spring-cloud-streams/commit/23e4cbc7ac19a80c1214fe279599ed5d700cb1ca


Ability to ignore files/folders for CLI

Is your feature request related to a problem? Please describe.
I have an existing project with some legacy code and would like to exclude it at this point in time.
I also noticed composer files are being analyzed and reports on URLs which should be inthere.
.git is also being analyzed in my build.
Describe the solution you'd like
CLI argument to ignore paths or files with the ability to use wildcards
Describe alternatives you've considered
I am currently deleting files from my project to ignore them.

The next version is being built right now and supports file exclusion filters using the -g option. For example: -g **/bin/**,**/.git/**.


BUG: Events grow onEventDrop in month view.

Do you want to request a feature or report a bug?
Bug
What's the current behavior?
Whenever I drag/move (not resize) an event in month-view. The event grows in duration by 81, 163, 327, 655 hours.
Try moving the multi-day events in Month-view and observe the behavior.
https://codesandbox.io/s/react-big-calendar-022-event-growing-bug-8g4en
What's the expected behavior?
The multi day event should stay the same length even if moved to a new day.
Additionally, there is no drag/hover CSS showing as there is in examples with older versions. https://codesandbox.io/s/rsk8d

@claytongroth we have found a workaround for this problem
https://github.com/UpLab/react-big-calendar
The problem is that this package relies on the date-arithmetic plugin of version 4.0.1 which has a significant bug in dates.add function when calculating the end date of the event on drag. The solution is to downgrade this dependency to 3.1.0.
you can use react-big-calendar: github:UpLab/react-big-calendar#master in your package.json for now

related #1387

@brmk Thanks! Working perfectly!

This solution doesnt work with react 18 and I'm still getting the problem


Threshold for interrupts is configured ridiculously low

The threshold should default to 200.000 instead

software version
master : 851d41fa


Centralized Gesture Controller

Right now each component that have gestures can work stand-alone, which is fine. However, sometimes multiple components with gestures are all valid to work, but all act at the same time. For example, imagine a range inside of a sliding item inside of slides on a swipe to go back page that can scroll and has a left menu. Who should work when you swipe left?? The goal is to not reimplement Hammer gestures, but rather centralize which "one" gesture component should be listening on the move events.
Create a GestureController class and add it to our providers in ionicBootstrap. Then each component that has gestures, like range/menu/itemSliding/slides/etc, all would inject the GestureController instance. For each individual component, they would first ask the GestureController if it's ok if their gestures should work or not, and also have the ability to cancel all other already active gestures.

Im pretty sure this is related: https://github.com/driftyco/ionic/issues/6897. If we could configure the hammer events to work vertically too like @danbucholtz mentioned this morning it should fix this issue.


Tests for subdue 2.0

Sensu 0.26 changes subdue hash format (#553).
More details: Sensu Core 0.26.0 Release Notes

updated subdue hash validation in sensu::check
added test for invalid subdue hash format

This is great! I'm going to semver this module for 0.26, once I've figured out from the original maintainers how they're doing this, I'll get this merged

@ttarczynski can your resolve the conflicts?

@jaxxstorm I've just resolved the conflicts


Aws launch config userdata

The code actually is base64 encoding it right now in bootstrap_options_for, just not in launch configuration.  this fixes that, addressing https://github.com/chef/chef-provisioning-aws/issues/558

Pulled into https://github.com/chef/chef-provisioning-aws/pull/564 - Thanks @jjlimepoint !


Add HTML Email and Attachment Support to Email Automation Script

Description:
Currently, the script supports sending plain text emails, which limits the ability to send visually appealing, formatted content or include important documents. This feature request proposes enhancing the functionality by adding:
HTML Email Support:

Users should be able to send rich-text emails formatted in HTML. This will allow for better visual customization, such as adding hyperlinks, images, and styled text in the email body.

Attachment Support:

Users should have the ability to attach one or more files (such as PDFs, images, documents, etc.) to the emails they send. This feature will be particularly useful for sending daily reports, invoices, or other important documents automatically.

Proposed Solution:
HTML Email Support:

Modify the EmailMessage object to handle both plain text and HTML-formatted content.
Example usage: Users can pass an HTML-formatted string to the email_body parameter to send HTML content. Ensure backward compatibility by allowing plain text as a fallback.

Attachment Support:

Add an additional parameter attachments that accepts a list of file paths.
Modify the script to iterate over the list of files and attach them to the email.
Ensure proper MIME type detection for each file to handle different formats (e.g., PDFs, images).

@DhanushNehru Hi Dhanush, assign this issue to me and give hacktoberfest 2024 labels,
Thank you


update to use pkg test.KubeClient

/retest

Ah, sorry I missed this PR. https://github.com/knative-sandbox/net-kourier/pull/249 fixed it.
I'm closing this. Thank you @n3wscott


Argument unpacking with * not supported

Somehow argument unpacking does not work:
arr = [1, 2]
print(*arr)

Error: error: argument after * must be a tuple, not 'List[int]'
(Codon version 0.16.3)
Is there any way to do this?
For the print()-case above I could find a workaround, but if I want to use e.g. math.lcm(*integers) with a list of variable length, I see no possible solution.

You cannot unpack lists in Codon, unfortunately, as list length is not known at compile time; you can only unpack tuples. You need to either cast list to tuple or have an arbitrary way to pass lists to functions.
This limitation won't go away; it is intrinsic to Codon's static compilation approach.


[Bug] Wandering Traders can Trade Tools with Better Enchanting Levels than Configured

So pretty much I have set the Sharpness Enchantment Level to 7 and a trader is giving it for 10.
I set it through apotheosis enchantments.cfg

(Here are the in-game photos)

Minecraft : 1.18.2
Forge : 40.1.84
Apotheosis : 5.7.6
Placebo : 6.6.6

Yes, that's expected.  These trades are statically defined via data files https://github.com/Shadows-of-Fire/Apotheosis/tree/1.19/src/main/resources/data/apotheosis/wanderer_trades

So if I make a datapack with the same path but just change the nbt: of the item in the output will that work?
For example the bonesplitter.json has this "nbt": "{Enchantments:[{lvl:10s,id:\"minecraft:sharpness\"},{lvl:1s,id:\"minecraft:mending\"},{lvl:5s,id:\"apotheosis:hell_infusion\"},{lvl:2s,id:\"apotheosis:capturing\"},{lvl:5s,id:\"minecraft:looting\"},{lvl:3s,id:\"minecraft:unbreaking\"}],display:{Name:\u0027{\"translate\":\"name.apotheosis.merch_axe2\"}\u0027},Damage:0}"
if I just change the numbers in the lvl is it going to be ok or can it cause problems?

That will work


Error 500: "Method success does not exist."

Hi @jadjoubran ,
In the docs, CreatePostController return response()->success(compact('post')) which causes internal server error. I changed it to response()->json(compact('post')) instead, and everything is good.
If it's a mistake, i thing i should be corrected? Thanks.

Hi @yunus89
Thanks for reporting this issue
This was fixed after you started following the tutorial
You can apply the fix to your installation, check the commit that fixed it:
https://github.com/jadjoubran/laravel5-angular-material-starter/commit/8ab971aba8a874e457f86b67b62841b603e483b4

So it has been fixed as of 3.1.2
I'm releasing 3.1.3 in a few after finalizing the remaining issues in #187

Awesome!

@yunus89 All issues fixed, if you have time I'd recommend you do the tutorial again. It should be a smooth process now.
Thanks for help and I'd love it if you can give me your feedback (here or in a new issue). If you think that there's anything that can be simplified
Thanks!

Hi @jadjoubran ,
I just gone through docs, everything seems to be good.
Problems i encountered:

I get 500 error, message "Argument 1 passed to App\Http\Controllers\Controller::validate() must be an instance of Dingo\Api\Http\Request, array given, called in C:\xampp\htdocs\v3.1\laravel5-angular-material-starter\app\Http\Controllers\CreatePostController.php on line 17 and defined"

but once i comment the validation out, i get a Toast!

Not a problem though, just a typo or something - in the docs is written
 Open angular/app/components/create_post_form/create_post_form.html in your editor and add the relevant HTML form.

create_post_form.html should be changed to create_post_form.component.html

@yunus89 hmm.. did you copy paste the controller code?
It probably happened because I didn't add the imports at the top.. so if you copy pasted that into your controller it wouldn't work as expected. I just fixed it in the docs though.
And yes thanks, I fixed that too!
Do you think the overall process can be made easier? One thing for sure is that the JWT authentication part can be made easier and will be (through #151) but what do you think regarding the rest?

How easy/possible is it for one to change template from materialize to twitter bootstrap. I so far haven't seen any docs explaining that?

Materialize uses jQuery.
This is using Angular Material which plays nicely with Angular.
If you plan on using bootstrap, you could just remove angular-material from the dependencies and install bootstrap or angular-bootstrap.. it doesn't really matter
However if someone doesn't plan on using Angular, then it doesn't make sense for them to use this starter


ORS Routing seems to result in Python Error

I ve tried running on a number of machines with different versions of QGIS (2.18.16 and QGIS 3.0.0), but this seems to crash out.
2018-03-16T12:09:46	1	Traceback (most recent call last):
File "C:/Users/Ian/.qgis2/python/plugins\OSMtools\osm_tools.py", line 144, in run
route.directions_calc()
File "C:/Users/Ian/.qgis2/python/plugins\OSMtools\directions.py", line 137, in directions_calc
layer_out = self._addLine(responses, values_list)
File "C:/Users/Ian/.qgis2/python/plugins\OSMtools\directions.py", line 183, in _addLine
values_list[i][0],
IndexError: list index out of range

Can you please see if #47 resolves your issue?
If not, I need a more thorough description how you got there: are you trying to route from files or 'Map' buttons?

Yes that workaroud resolved it thank you. Its a great tool.

works with #47 workaround

Hi Nils, I have a similar issue but I have 2 layers comprising 1000 points in the source and 10 points in the destination. I get the error in "```
directions.py", line 205, in _selectInput
layer = [layer for layer in self.iface.mapCanvas().layers() if layer.name() == layer_name][0]
IndexError: list index out of range
If I select all the features in the source layer (1000) and the destination layer (8) I do get a new layer but it only contains 8 features. I had been expecting a layer with 8000 features. If I try the matrix option I get a new attribute table but 0 features


Set the docblock

Update the docblock in variables and methods

Hello,
thanks for this work, however, I'd love to keep the one-liners, please have a look


Why sequence instead of vector?

∑_i a_i b_i
where
a_i: ℝ
b_i: ℝ

The codegen treats a as a "sequence" rather than a dynamic length vector. Is this the right choice?
Currently, in python a is converted to np.asarray(a) (seemingly without any acknowledgement of the ℝ type) and in cpp as  std::vector<double>.
Since the cpp target is really "cpp+Eigen", wouldn't it be better to use Eigen::VectorXd (that is, Eigen::Matrix<double,Eigen::Dynamic,1>) ?

A sequence of numbers is a vector.
On Sun, May 9, 2021, 3:48 AM Yotam Gingold @.***> wrote:

I'm not sure about this. It sounds good in this case, but it requires the
compiler to determine how the sequence is used. That is, it adds contextual
rules to interpreting the type of a where statement. Will this surprise
users in other cases? Will they expect that a sequence of vectors is a
matrix? Or do you mean that a sequence of numbers should always just become
a vector, and we can decide about the data type for a sequence of vectors
and matrices independently?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pressureless/linear_algebra/issues/34#issuecomment-835731358,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARDJGJVR5HFV7ORXVR7VRTTMY437ANCNFSM44OBKUBA
.


⚠ Processors has degraded performance

In df6bf2e, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 173 ms

Resolved: Processors performance has improved in f5efc1d.


Feat: pkg-prebuilds

Hi @m1dugh,
are you interested in me making a PR to add @Julusian's excellent pkg-prebuilds tooling?
This would add a GitHub Action which would build the prebuild binaries on Windows and Linux for amd64 (maybe also amd64).
Then, you could ship those directly in the pakage published on npm. This has the benefit of not requiring users to have a working node-gyp build environment as well as easy cross-compilation (as in fact no compilation should be needed when installing the lib).
Let me know what you think.

If you can make it work properly, it could be nice indeed. I'll look further into github actions as soon as I can.

Sure, I'll make a PR in the next couple days 👍

I've started adding CI with github actions in branch 27-add-basic-cicd-for-push-event using cmake-js to replace node-gyp

Cool. How would you like me to proceed here? Should I add the pkg-prebuilds to a new PR based on that branch or rather wait until you merge #28? The latter is probably less complicated.

I will merge the ci PR soon so it might be easier to wait.

I merged the CI to develop, alongwith the cmake-js build replacing node-gyp

Thanks, I'll try to make a PR tomorrow 👍


TODO: Investigate using ucrt-based clang on Windows

Comment:
Seems successful based on https://gist.github.com/WardBrian/ebbd85e8dfe9619068ec2edf5d6265cb
May need to have an option other than make?

https://conda-forge.org/news/2024/04/30/clang-everywhere/

We can also consider the UCRT gcc, as R uses: https://github.com/conda-forge/r-base-feedstock/pull/278/files


fixed data entry in tile config for 2.7

fixed issue with data entry in tile configuration page for pivotal platform 2.7

@shahramk Merged PR. Thanks.


Added delegate method to DTBonjourServerDelegate to inform its client th...

...at client connection was closed.
This way DTBonjourServer client can react when client disconnects.

Any news on that?

Thanks for the contrib. I need to check why the coverage reports are not being generated.


in BytesRefHash constructor avoid duplicate BytesStartArray.bytesUsed() call

Noticed whilst code reading. No issue or CHANGES.txt entry needed I think. For main and branch_9x branches only.

Thank you, @cpoerschke and sorry for the delay (I guess the automatic nagging bot is working though).


translation - ru

Thanks for the app, web controller is amazing.

Thanks. I really appreciate your help!

Hi @minithc,
There is another one I might need your help. How would you translate the word Loading... in Russian language? The resource file for a running cnc server is located at  https://github.com/cheton/cnc/blob/master/src/app/i18n/en/resource.json
Thanks.

I just found it at top of https://github.com/cheton/cnc/blob/master/src/web/i18n/ru/resource.json. I will move it to the proper location.

Sorrry for a delayed reply, time zones. And thank you again!
I was confused with two versions and different sources, did not realized loading word from app source.
Also, I can't find the context for Mist and Flood words -- could you please give a hint?

Some words are mapped from G-code definitions. You can find it below:
https://github.com/cheton/cnc/blob/master/src/web/components/widgets/grbl/Grbl.jsx#L66

The app source will be loaded from a Node.js server, the web source is actually for the web contents, so you might see the "Loading..." message before loading web contents.


Add new helper MakeTitleInitCaps

Updates the hugo new command to allow creating the title using
an initial capital letter format. Adds a new helper function,
MakeTitleInitCaps, and a new config file option, coerceTitleFormat.
If set to "initCaps", then createMetaData calls the new helper
instead of MakeTitle.
Implements #2743

I don't understand the Travis error. Make check works fine on my local.
$ make check
govendor test +local
?   	github.com/spf13/hugo	[no test files]
ok  	github.com/spf13/hugo/bufferpool	0.011s
ok  	github.com/spf13/hugo/commands	0.019s
ok  	github.com/spf13/hugo/create	0.016s
ok  	github.com/spf13/hugo/helpers	0.401s
ok  	github.com/spf13/hugo/hugofs	0.017s
ok  	github.com/spf13/hugo/hugolib	1.384s
?   	github.com/spf13/hugo/livereload	[no test files]
ok  	github.com/spf13/hugo/parser	0.008s
ok  	github.com/spf13/hugo/source	0.015s
ok  	github.com/spf13/hugo/target	0.017s
ok  	github.com/spf13/hugo/tpl	0.269s
ok  	github.com/spf13/hugo/transform	0.017s
?   	github.com/spf13/hugo/utils	[no test files]
?   	github.com/spf13/hugo/watcher	[no test files]
govendor test -race +local
?   	github.com/spf13/hugo	[no test files]
ok  	github.com/spf13/hugo/bufferpool	1.020s
ok  	github.com/spf13/hugo/commands	1.060s
ok  	github.com/spf13/hugo/create	1.042s
ok  	github.com/spf13/hugo/helpers	1.384s
ok  	github.com/spf13/hugo/hugofs	1.024s
ok  	github.com/spf13/hugo/hugolib	7.126s
?   	github.com/spf13/hugo/livereload	[no test files]
ok  	github.com/spf13/hugo/parser	1.018s
ok  	github.com/spf13/hugo/source	1.038s
ok  	github.com/spf13/hugo/target	1.043s
ok  	github.com/spf13/hugo/tpl	1.750s
ok  	github.com/spf13/hugo/transform	1.032s
?   	github.com/spf13/hugo/utils	[no test files]
?   	github.com/spf13/hugo/watcher	[no test files]

@moorereason , made that change you suggested on moving the issue number in the comment block but your comment disappeared when I squashed and pushed the changes back up.
You'd also asked about https://github.com/bep/inflect. bep had mentioned title case, too. I'm trying to avoid that and stick with just initial caps. I don't know if what I did is i18n friendly, so may end up digging more on this. I was hoping, though, that #2746 would address title case.

I think this is too much bits and pieces for too little to be really worth it.
#2746 will be a better solution for most people.
(btw: there is a strings.Title that does most of what the new func does)

Tried to resolve the merge conflict with #2750 and dragged too much in with it. I'll take another whack at this later.