Update license once 2024 comes out

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
See https://github.com/conda-forge/cppad-feedstock/issues/19#issuecomment-1870180232 .
Installed packages
,

Environment info
.

cppad-20240000.0 is available
The following file is an example of how I build and test CppAD on Fedora
https://src.fedoraproject.org/rpms/cppad/blob/rawhide/f/cppad.spec
Please feel free to contact me if you have trouble understand it; e.g., how to create a recipe/run_test.sh for this project.
The documentation for the 20240000 version of the cmake command can be found at
https://cppad.readthedocs.io/stable-20240000/cmake.html
The documentation for xrst (which is used to build the CppAD documentation) can be found at
https://xrst.readthedocs.io/latest/
I have included a build of the CppAD documentation for 2024, as well and the latest version on ReadTheDocs; see
https://cppad.readthedocs.io/latest/
https://cppad.readthedocs.io/stable-20240000/

Thanks @bradbell, I updated the license and added running the tests as part of the build in https://github.com/conda-forge/cppad-feedstock/pull/24 .
The linux tests are failing with:
[  4%] Built target check_speed_cppad
[  4%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/__/main.cpp.o
[  4%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/det_lu.cpp.o
[  5%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/det_minor.cpp.o
[  5%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/mat_mul.cpp.o
[  5%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/ode.cpp.o
[  5%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/poly.cpp.o
[  5%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/sparse_hessian.cpp.o
[  5%] Building CXX object speed/cppad_jit/CMakeFiles/speed_cppad_jit.dir/sparse_jacobian.cpp.o
[  6%] Linking CXX executable speed_cppad_jit
[  6%] Built target speed_cppad_jit
cppad_jit_det_lu_available = false
sh: gcc: command not found
link_det_minor: err_msg = create_dll_lib: following system comamnd failed
gcc -c -fPIC -O2 gradient_det.c -o /tmp/fileIk4S2z
/bin/sh: line 1:  1414 Segmentation fault      (core dumped) ./speed_cppad_jit correct 54321
make[3]: *** [speed/cppad_jit/CMakeFiles/check_speed_cppad_jit.dir/build.make:70: speed/cppad_jit/CMakeFiles/check_speed_cppad_jit] Error 139
make[2]: *** [CMakeFiles/Makefile2:2837: speed/cppad_jit/CMakeFiles/check_speed_cppad_jit.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:909: CMakeFiles/check.dir/rule] Error 2
make: *** [Makefile:169: check] Error 2

I guess that the problem is that ccpad assumes that the gcc binary is available in the path, while in conda-forge the compiler has a different name, that is typically specified to build scripts via the CC (for C) or CXX (for C++) environment variables.

Probably the easiest fix is to exclude for now the cppad_jit tests by commenting out https://github.com/coin-or/CppAD/blob/20240000.1/speed/CMakeLists.txt#L14 .

As a temporary fix, can you create an alias for gcc command for the testing. In general, the git compile should be using the C compiler that cmake found.

Just a heads up here. I am having some trouble with the Fedora build. They have included a 32-bit linux system.
I fixed a problem due to  unsigned int and size_t being the same type. I fixed that with cppad-20240000.1. But now I have run into another problem on this system. The CppAD allocation routine is detecting that doubles are not aligned and I need to fix that (or it will be slow).

In general, the git compile should be using the C compiler that cmake found.

I am not sure about this. I think this could work for files that are only used for tests like https://github.com/coin-or/CppAD/blob/master/example/jit/compile.cpp, however it will not work for files like https://github.com/coin-or/CppAD/blob/3636ba8fd7eeca16522a1dc6cd465cd4f4eb218c/include/cppad/utility/create_dll_lib.hpp#L115C22-L115C25 that are distributed as part of the library, as in general (at least in the conda world) it is perfectly possible that the compiler (specified with full path) that exists in the machine in which the package is built does not exists on the machine in which the binary package is used. A more robust mechanism I think could be to mimick what cmake or autotools do, so use $CC if it is defined, of fallback to gcc if $CC is not defined. This could be do but a code such as:
std::string gcc_compiler_command;
const char* cc_env_var = std::getenv("CC");
if (cc_env_var) {
    gcc_compiler_command = cc_env_var;
} else {
    // CC environment variable is not defined, fallback to gcc
    gcc_compiler_command = "gcc";
}
compile = gcc_compiler_command + " -c -fPIC -O2";

probably this logic can also moved in some utility function to avoid duplicating it around.

By the way, we also have a failure in macos (amd64 arch, https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=854549&view=logs&jobId=58ac6aab-c4bc-5de2-2894-98e408cc8ec9&j=58ac6aab-c4bc-5de2-2894-98e408cc8ec9&t=933f325c-924e-533d-4d95-e93b5843ce8b), not sure if this is related to the problem you are seeing:
[ 61%] Building CXX object example/json/CMakeFiles/example_json.dir/json.cpp.o
[ 61%] Building CXX object example/json/CMakeFiles/example_json.dir/mul_op.cpp.o
[ 61%] Building CXX object example/json/CMakeFiles/example_json.dir/pow_op.cpp.o
[ 62%] Building CXX object example/json/CMakeFiles/example_json.dir/print_op.cpp.o
print_op            OK
sparse              OK
sub_op              OK
sum_op              OK
to_json             OK
unary_op            OK
memory_leak         Error
1 tests failed.
End test group example/json
make[3]: *** [example/json/CMakeFiles/check_example_json] Error 1
make[2]: *** [example/json/CMakeFiles/check_example_json.dir/all] Error 2
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2

Is it possible in the case above that the system is using microsoft DLL's instead of unix dlls and that is causing the problem ?

Is it possible in the case above that the system is using microsoft DLL's instead of unix dlls and that is causing the problem ? (Microsoft DLLS handel global variables differently.)

The case above is macOS, not sure if there are any microsoft DLL's  involved. The Windows tests passed fine.

cmake detects windows and uses static instead of dynamic linking (because of the DLL problem).

I installed conda on my mac, cloned the current cppad.git, checked out stable/20240000, and added come debugging print to include/cppad/CMakeLists.txt. The result was
-- CMAKE_C_COMPILER_ID = AppleClang

So the check
IF( "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" )

is failing.

What do you suggest for determining if the compiler is Clang, Gnu, or MSVC ?

A SO answer in https://stackoverflow.com/questions/10046114/in-cmake-how-can-i-test-if-the-compiler-is-clang suggests to use CMAKE_CXX_COMPILER_ID MATCHES "Clang". However, note that the CI in this package actually use the conda-forge compiled packages that are installed by the compilers package, so I guess that if you use those the CMAKE_CXX_COMPILER_ID should be Clang, AppleClang is tipically used for the compilers that ship with Xcode.

I was able to solve the remaining  problema with the build on fedora for 32 bit systems. See
https://src.fedoraproject.org/rpms/cppad/c/592496bf4b1cc26796dd02bf37524f3be8a83b34?branch=rawhide

AppleClang is tipically used for the compilers that ship with Xcode.

It appears that I was using the Xcode version of Clang (and gcc);
~>source ~/miniconda/bin/activate
(base) ~>which clang
/usr/bin/clang
(base) ~>which gcc
/usr/bin/gcc

I was able to get the tests to pass for the Xcode version using more general logic for detecting clang.
I was also able to install clang using conda and got the tests to pass the tests.

I think I have fixed the problems mentioned above in the following release:
https://github.com/coin-or/CppAD/archive/20240000.2.tar.gz
There were lots of things that needed fixing to get the jit examples and tests to run on all the workflows. See the stable/20240000 branch on
https://github.com/coin-or/CppAD/actions
One thing I would like to mention is that I added -D cppad_static_lib=TRUE to the cmake command for all the builds that use windows DLLS.

@traversaro may we close this issue?

The following location is for an old version, cppad-20221105,  before it was converted from OMhelp to Sphinx (actually the xrst Sphinx wrapper):
https://coin-or.github.io/CppAD
This is referenced in README.md and recipe/meta.yaml

In meta.yaml I think you should change 20230000.0 to 20240000.7 (Note that the number after the decimal increases with each bug fix but no new features are added) . The corresponding documentation can be found at
https://cppad.readthedocs.io/stable-20240000/
You can find a complete list of the cppad releases at
https://github.com/coin-or/CppAD/tags

The documentation for the latest version of the master branch can be found at
https://cppad.readthedocs.io/latest/

The SPDX license identifier for CppAD is  EPL-2.0 OR GPL-2.0-or-later but I do not know if conda can handle this; see
Secondary License on
https://www.eclipse.org/legal/epl-2.0/faq/#epl-secondary

When I run

./build-locally.py >& build-locally.out
tail build-locally.out

I get the following output
Traceback (most recent call last):
  File "/home/bradbell/repo/cppad-feedstock.git/./build-locally.py", line 105, in <module>
    main()
  File "/home/bradbell/repo/cppad-feedstock.git/./build-locally.py", line 93, in main
    run_docker_build(ns)
  File "/home/bradbell/repo/cppad-feedstock.git/./build-locally.py", line 29, in run_docker_build
    subprocess.check_call([script])
  File "/usr/lib64/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['.scripts/run_docker_build.sh']' returned non-zero exit status 1.

If I run grep WARNING build-locally.out I get
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
+ echo 'WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils'
WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
WARNING: Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
cppad-feedstock.git>grep WARNING build-locally.out
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
+ echo 'WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils'
WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
WARNING: Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22

@traversaro may we close this issue?

No, apparently the license is still not updated, I will update it in a dedicated PR.

The following location is for an old version, cppad-20221105,  before it was converted from OMhelp to Sphinx (actually the xrst Sphinx wrapper):
https://coin-or.github.io/CppAD
This is referenced in README.md and recipe/meta.yaml

In meta.yaml I think you should change 20230000.0 to 20240000.7 (Note that the number after the decimal increases with each bug fix but no new features are added) . The corresponding documentation can be found at
https://cppad.readthedocs.io/stable-20240000/
You can find a complete list of the cppad releases at
https://github.com/coin-or/CppAD/tags

The documentation for the latest version of the master branch can be found at
https://cppad.readthedocs.io/latest/

The SPDX license identifier for CppAD is  EPL-2.0 OR GPL-2.0-or-later but I do not know if conda can handle this; see
Secondary License on
https://www.eclipse.org/legal/epl-2.0/faq/#epl-secondary

When I run

./build-locally.py >& build-locally.out
tail build-locally.out

I get the following output
Traceback (most recent call last):
  File "/home/bradbell/repo/cppad-feedstock.git/./build-locally.py", line 105, in <module>
    main()
  File "/home/bradbell/repo/cppad-feedstock.git/./build-locally.py", line 93, in main
    run_docker_build(ns)
  File "/home/bradbell/repo/cppad-feedstock.git/./build-locally.py", line 29, in run_docker_build
    subprocess.check_call([script])
  File "/usr/lib64/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['.scripts/run_docker_build.sh']' returned non-zero exit status 1.

If I run grep WARNING build-locally.out I get
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
+ echo 'WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils'
WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
WARNING: Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
cppad-feedstock.git>grep WARNING build-locally.out
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
+ echo 'WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils'
WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
WARNING: Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22

Which docker version are you using? For which architectural are you building (i.e. the question asked by the script).

Everything else in @bradbell comment should be addressed in https://github.com/conda-forge/cppad-feedstock/pull/34 .

@traversaro
docker --version
Docker version 27.3.1, build ce12230

Can you report the full build-locally.out instead of just the tail?

Can you report the full build-locally.out instead of just the tail?

build-locally.txt


MasterDetail; Setting Detail Grid conditionally to "readonly" on condition of value from entity from master

Hi all,
I have a master detail dialog on which I want to set certain fields (including the detail grid and the detail buttons) into a readonly state on condition of the value of a field in the master entity (field is called isCheckedIn).
How to set the fields on the master to readonly programmatically I know.
I have read this thread here: https://github.com/volkanceylan/Serenity/issues/2609 and I understand how to generally remove the standard buttons from the detail grid.
I also know how to pass a value from the master dialog to the detailEditor.ts.
Problem:
The method "getButtons()" within the detail editor.ts is called before the AfterLoadEntity method of the master dialog but I have to show/remove the buttons within getButtons().
So how can I conditionally show/remove the detail grid buttons when the condition is only given when the entity data is loaded within the afterLoadEntity method within the master dialog?
Also where would I overwrite the editItem method mentioned in the above thread?
Thanks for any help and
with kind regards,
John

To answer the 1st half of my question above (maybe this is helpful to someone else):
In order to dynamically hide/show buttons in the detail grid from within the master dialog after the detail grid is initialized, do the following:
In the detailEditor.ts, add the following methods:
public DisableAddButton()
        {
            this.toolbar.findButton('add-button').hide();
        }

        public EnableAddButton() {
            this.toolbar.findButton('add-button').show();
        }

And then you can dynamically show/hide the add button of the detail grid from the master dialog with the following code:
this.form.DetailList.EnableAddButton();   // show
this.form.DetailList.DisableAddButton();  // hide

But the 2nd part still is open: How to dynamically show/hide the edit links within the detail rows.
Any hint on how to achieve this?
With kind regards,
John

To answer the 2nd half of my question (in case it helps somebody):
In order to disable/enable the editing of the detail rows dynamically from the master dialog, do the following:
In the detailEditor.ts, add the following code (freely "borrowed" from @Brunobola):
// *******************************************************************************************************************

        //Override Columns
        protected getColumns(): Slick.Column[] {
            var columns = super.getColumns();

            // *** Add magnifying glass (edit)
            columns.unshift({
                field: 'Edit Details',
                name: '',
                format: ctx => '' +
                    '',
                width: 24,
                minWidth: 24,
                maxWidth: 24,
                visible: true
            });

            return columns;
        }

        // *******************************************************************************************************************

        //Override onClick
        protected onClick(e: JQueryEventObject, row: number, cell: number): void {
            super.onClick(e, row, cell);

            if (e.isDefaultPrevented())
                return;

            var item = this.itemAt(row);
            var target = $(e.target);

            // if user clicks "i" element, e.g. icon
            if (target.parent().hasClass('inline-action'))
                target = target.parent();

            if (target.hasClass('inline-action')) {
                e.preventDefault();

                // *** has clicked on edit magnifying glass icon ***
                if (target.hasClass('view-details')) {

                    var editRow = (('``' + (row) as RALayoutManager2.Ressorts.RessortLayoutTransformationDetailsRow) as number);
                    var id = this.view.getIdxById(editRow);
                    if (id == null) {

                        editRow = (('`' + (row) as RALayoutManager2.Ressorts.RessortLayoutTransformationDetailsRow) as number);
                        id = this.view.getIdxById(editRow);
                        if (id == null) {
                            editRow = row;

                            id = this.view.getIdxById(editRow);
                        }
                    }

                    // *** Edit Row ***
                    this.createEntityDialog(this.getItemType(), dlg => {
                        var dialog = dlg as RALayoutManager2.Common.GridEditorDialog<RessortLayoutTransformationDetailsRow>;
                        dialog.onDelete = (opt, callback) => {
                            if (!this.deleteEntity(editRow)) {
                                return;
                            }
                            callback({});
                        };

                        dialog.onSave = (opt, callback) => this.save(opt, callback);
                        dialog.loadEntityAndOpenDialog(item);
                    });;
                }
            }
        }

        // *******************************************************************************************************************

            public DisableModifyIcon() {
            var columns = this.slickGrid.getColumns();
            columns.splice(0, 1);   // *** Delete modify icon column ***

            this.slickGrid.setColumns(columns);
        }

Then remove all [editlink] tags within the detailColumns.cs file. This will remove all possibility to edit a detail row when clicking on the text on this row.
Standardbehavior is now that the detail rows can be edited by clicking on the orange magnifying glass at the very left of each row.
To make the detail rows all readonly (=removing the magnifying glass in front of each detail row) from the master dialog, simply call:
this.form.DetailList.DisableModifyIcon();

(where DetailList is your detail grid field on the master dialog).
With kind regards,
John


totally newbie question

thx a lot for putting together a nice template, planning to use it for a simple web app that i'm doing as side project. although i use react on a daily basis, i've used graphql on toy projects only and i'm a newbie on gatsby. So please forgive me if what i'm asking looks like a dumb question :)
just tried to create a new page called test, created test.js in pages folder:
import React from 'react';
import PropTypes from 'prop-types';
import { graphql } from 'gatsby';
import Layout from 'components/layout';
import Box from 'components/box';
import Head from 'components/head';

const Test = ({ data }) => (
  <Layout>
    <Head pageTitle={data.testJson.title} />
    <Box>
      <div
        dangerouslySetInnerHTML={{
          __html: data.testJson.content.childMarkdownRemark.html,
        }}
      />
    </Box>
  </Layout>
);

Test.propTypes = {
  data: PropTypes.object.isRequired,
};

export default Test;

export const query = graphql`
  query TestQuery {
    testJson {
      title
      content {
        childMarkdownRemark {
          html
        }
      }
    }
  }
`;

Just copy of about page, renamed all about things to test.
created test folder with test.json and content.md under /content folder, just copy of about (markdown file is just a line of text though).
I got the following error when I save the project:
Unknown field 'testJson' on type 'Query'. Source: document `TestQuery` file: `GraphQL request`

Obviously it's related with this part it looks:
export const query = graphql`
  query TestQuery {
    testJson {
      title
      content {
        childMarkdownRemark {
          html
        }
      }
    }
  }
`;

As I remember from the gatsby tutorial in gatsby's website, the queries are created using gatsby-node.js file, but it looks it's just a boilerplate in this template. Just trying to understand where aboutJson query is defined, so I can define testJson accordingly but no joy so far. Can you please explain, how can I add a new page using this template?
Cheers,

well, nevermind, i just stopped and rerun gatsby develop, now it works, just to understand, do we need to restart for every page we add?

Hey @ahmetcetin! Generally when adding new pages in Gatsby, there's no need to restart the dev server. However, new GraphQL queries are not created on-the-fly as far as I know, and are only initialized once the server starts or a build is made. So if you're depending on a new GraphQL query, just quickly restart the server :)


Test spec files for unit testing components?

Development on this has stopped and only light maintenance will continue for now. Potentially in the future, I will jump back on when I have enough time


Support list in response body

Description
When an array as a string in parameter, the string in list are not escaped.
This PR will escape the string when it's a json array.
for example, before this change:
POST /_plugins/_ml/connectors/_create
{
  "name": "Amazon Bedrock Connector: Claude Instant V1",
  "version": "1",
  "description": "The connector to bedrock Claude model",
  "protocol": "aws_sigv4",
  "parameters": {
    "max_tokens_to_sample": "8000",
    "service_name": "bedrock",
    "temperature": "1.0E-4",
    "response_filter": "$.completion",
    "region": "us-west-2",
    "anthropic_version": "bedrock-2023-05-31",
    "inputs":"please summerize the documents"
  },
  "credential": {
    "access_key": " ",
        "secret_key": " ",
        "session_token": "" },
  "actions": [
    {
      "action_type": "PREDICT",
      "method": "POST",
      "url": "https://bedrock-runtime.us-west-2.amazonaws.com/model/anthropic.claude-instant-v1/invoke",
      "headers": {
        "x-amz-content-sha256": "required",
        "content-type": "application/json"
      },
      "request_body":  "{\"prompt\":\"${parameters.prompt}\",\"max_tokens_to_sample\":300,\"temperature\":0.5,\"top_k\":250,\"top_p\":1,\"stop_sequences\":[\"\\n\\nHuman:\"]}"
    }
  ]
}

POST /_plugins/_ml/models/_register
{
  "name": "Bedrock agent model with prompt",
  "function_name": "remote",
  "description": "test model",
  "connector_id": "0CwoD5EB6KAJXDLxYDvd"}

POST /_plugins/_ml/models/2SwoD5EB6KAJXDLxezto/_deploy

## success with string
POST /_plugins/_ml/models/2SwoD5EB6KAJXDLxezto/_predict
{
  "parameters": {
    "prompt":"\n\nHuman: You are a professional data analysist. You will always answer question based on the given context first. If the answer is not directly shown in the context, you will analyze the data and find the answer. If you don't know the answer, just say I don't know. Context: ${parameters.context}. \n\n Human: please summarize the documents \n\n Assistant:",
    "context":"Dr. Eric Goldberg is a fantastic doctor who has correctly diagnosed every issue that my wife and I have had. Unlike many of my past doctors, Dr. Goldberg is very accessible and we have been able to schedule appointments with him and his staff very quickly. We are happy to have him in the neighborhood and look forward to being his patients for many years to come."
  }
}

##failed with list

POST /_plugins/_ml/models/2SwoD5EB6KAJXDLxezto/_predict
{
  "parameters": {
    "prompt":"\n\nHuman: You are a professional data analysist. You will always answer question based on the given context first. If the answer is not directly shown in the context, you will analyze the data and find the answer. If you don't know the answer, just say I don't know. Context: ${parameters.context}. \n\n Human: please summarize the documents \n\n Assistant:",
    "context":["Dr. Eric Goldberg is a fantastic doctor who has correctly diagnosed every issue that my wife and I have had. Unlike many of my past doctors, Dr. Goldberg is very accessible and we have been able to schedule appointments with him and his staff very quickly. We are happy to have him in the neighborhood and look forward to being his patients for many years to come."]
  }
}

Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[ ] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

match by regex expression is not a good way and it only solve the type casting from jsonstring(list) into a jsonstring(escape list). I will rethink about a better way to do this

came up with a better solution to try fix the invalid payload by adding escape,
in this fix, we don't worry if the parameter is a list of a map, we try help to fix the invalid payload by adding escape,
if adding escape helps, return the payload after adding escape,
else, throw the same illegal argument exception, and indicate the payload is still invalid.
please help review @Zhangxunmt @dhrubo-os

Test is failing

Details

What went wrong:
Execution failed for task ':opensearch-ml-plugin:integTest'.

Could not resolve all files for configuration ':opensearch-ml-plugin:opensearch_distro_extracted_testclusters-opensearch-ml-plugin-integTest-0-3.0.0-SNAPSHOT-'.

Could not resolve opensearch-distribution-snapshot:opensearch:3.0.0-SNAPSHOT.

@dhrubo-os any ideas for the linux test failure? I saw the window tests passed all the way through.

all tests passed, merging now.


coffeescript support

Is there a way to work with coffeescript in sails ? i've tried #sails-generate-new-coffee but it not seem to work for me for compiling my coffeescript controllers and models.
Any Issue ?

Hi @t1djani, we'll dig into this as soon as possible.  In the mean time, have a look at https://github.com/balderdashy/sails/issues/2262 if you haven't already.  Thanks!

(see also https://github.com/balderdashy/sails/issues/1544)

@konstantinzolotarev I know you were working on this in sails-generate-new -- would you mind chiming in on the current status?  I know this was working previously, but as @sgress454 has pointed out in the past, since we're not actively using CoffeeScript ourselves, we don't have an everyday test case like we do with most of the rest of Sails.
@t1djani There has been a lot of entropy when it comes to CoffeeScript in the generator code base for a long time, so I'd like to either stabilize and finish that up or rip it out of core.  Obviously, it would be preferable to maintain support in core, and I have nothing against this feature, but I'm only willing to keep it around if someone who is actively using CoffeeScript in their Sails apps is willing to help get this 100% stable and tested.  Does that make sense?
Thanks guys.

Hello @t1djani, I use Coffeescript for write code for my controllers, models, services, etc. I will tell you how in your project do the next steps:

Install locally coffeescript and save it in your package.json
npm install --save coffee-script
Install generators for coffeescript (optional)
npm install --save-dev sails-generate-controller-coffee sails-generate-model-coffee

Thats it, now you can write your code using coffeescript, even config files of sails

Thanks for posting your solution, @leosuncin.  If you have a moment, would you mind adding a "Notes" section to http://sailsjs.org/documentation/reference/command-line-interface/sails-generate via a PR editing this page in sails-docs?  I think this would be a great addition to the official documentation.

Added pull request https://github.com/balderdashy/sails-docs/pull/617

@leobudima thank you!  :+1:


AutoSuggestBox doesn't set the selected value

When I enter something in a AutoSuggestBox the list is shown but when I select a value (by mouse or keyboard) the selected value is not set. It shows only the entered pattern.
<win-auto-suggest-box query-text="orderCtrl.variant" on-suggestions-requested="orderCtrl.requestSuggestions('variant', $event)"></win-auto-suggest-box>
Here the controller  function:
function requestSuggestions(type, eventObject) {
      var queryText = eventObject.detail.queryText;

      if (!queryText || queryText.length === 0) {
         return;
      }

      eventObject.detail.setPromise($http.get("/api/suggestions/" + type + "/" + queryText).then(function(response) {
         var suggestionCollection = eventObject.detail.searchSuggestionCollection;
         angular.forEach(response.data, function(item) {
            suggestionCollection.appendQuerySuggestion(item);
         });
      }).catch(function(err) {
         console.log(err);
      }));
   }

Is this project still alive????


Vision predictor always download resnet50_v1b

Vision predictor always downloads resnet50_v1b, even I specify the models.

Thanks for highlighting!
I believe this may be related to the other issues regarding downloading unnecessary models / weights:
#1111
#1115

According to my understanding, it's not related to #1111 or #1115. The issue is that if I want to use densenet , instead of using densenet it still use resnet. This is what I think.

@zhreshold  look like the gluoncv update has resolved this issue.


Get government approval to conduct likelihood of referral, customer satisfaction survey

Problem Statement
As a government product, ReportStream falls under Public Records Act rule to reduce paperwork for the public and must apply for approval to send a customer satisfaction survey.
Acceptance criteria:

[x] Fill out form, "Request for Approval under the “Generic Clearance for the Collection of Routine Customer Feedback” (OMB Control Number: 0920-1050)"

[x] Submit form

[ ] Get form approved

Note
Draft form

Here is where I am drafting it. https://cdc.sharepoint.com/:w:/r/teams/USDSatCDC/_layouts/15/Doc.aspx?sourcedoc={7050465F-82E0-4E58-9A9D-EBD3EE2A335D}&file=0920-1050_Customer_Service_GenIC_Clearance_Template (002).docx&action=default&mobileredirect=true

@victorialb-usds and I discussed this work, and I've updated the ticket. cc @BerniXiongA6

emailed CDC contact to ask how to submit it was not clear on the form.

sent for approval 3/7/22


allow customization of event source (fixes #26)

Adds optional source and sourceRaw field to customization. source will default to { "source": "serverless-plugin-warmup" } if not configured.

I added the sourceRaw field because the Go code running our lambdas didn't like it when I wrapped the source in JSON.stringify().

@juanjoDiaz I've updated the README and fixed the merge conflicts.

Hi @codemoomba. Thanks for the PR. I will let Juan do the merge.
I will release as soon as it's merged.

Need to merge this asap as the payload that I merged is not in string form and throwing. Cheers.


Prevent errors if the 'resize' event is fired before the eventBus has been initialized

When opening a PDF file that triggers the browser fallback bar in the Firefox addon/built-in version, e.g. http://web.archive.org/web/20110918100215/http://www.irs.gov/pub/irs-pdf/f1040.pdf (with forms disabled), and then reloading the document an error can be thrown.
The reason is that displaying the fallback bar triggers 'resize' events, and they can arrive before the viewer has had a chance to run all the necessary initialization code.

/botio-windows preview

Thank you


(maint) Speed up storage.clj <hash> in (?,?,?...) queries

This commit addresses an issue where the above query for both
resources and facts was very slow on Postgres because we were
trimming the bytea hash to a string which was causing Postgres to do a
table scan. This commit fixes this issue by changing the parameters in
the (?,?...) to be munged bytea hashes so we don't do a table scan.

@mullr Preformed the factchurn.sh test on this a few times and it looks like the minimum gap I could get between the hash query and the GC query was about 2x, ie the hash query is still 2x slower than the GC on average.

How does it compare to the pre-patch perf?
On Fri, Apr 24, 2015 at 3:12 PM, Andrew Roetker<EMAIL_ADDRESS>wrote:

@mullr https://github.com/mullr Preformed the factchurn.sh test on this
a few times and it looks like the minimum gap I could get between the hash
query and the GC query was about 2x, ie the hash query is still 2x slower
than the GC on average.
—
Reply to this email directly or view it on GitHub
https://github.com/puppetlabs/puppetdb/pull/1366#issuecomment-96080726.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1085/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1088/

@pljenkinsro retest this please

@mullr I feel like I'm going crazy, it actually looks about the same (2x as long) but the query plans are definitely different...

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1089/

^transient

I'm perf testing this patch.

I think this patch is great! I've tested it with a really big structured fact to generate a lot of path/value churn. Here are the query plans and timings compared:
master: https://gist.github.com/c1b8e5004e23d0816631
this patch: https://gist.github.com/634aea9202de24057708


Fix missing check that ranger's authorization challenge is solved

trading-ui does send jwt token to ranger, but there is no check that authorization challenge is solved, need to add the check and show an alert if authorization is failed.
Good example of such check is here: https://github.com/rubykube/ranger-example-nodejs
related issues #102 #105

Not working

and after refresh page

node app.js Not update
node app.js --jwt (JWT PRIVATE KEY) = [ERROR] Authentication failed.

@huuhait can you please tell me how did you manage to solve this issue. I have the exact same problem tried also with ranger node test script, same results.

fixed

@huuhait how u managed to fix?


LayerExtension is not exported from<EMAIL_ADDRESS>

Description

I would like to use the new DataFilter extension (@deck.gl/extensions/data-filter) but the current @deck.gl/core seems to not have been updated to support that and I get the error "LayerExtension is not exported from<EMAIL_ADDRESS>Environment (please complete the following information):

Framework Version: @deck.gl 7.1.9

@sam-coxon The feature will be included in the upcoming 7.2 release. If you want to try it you can install<EMAIL_ADDRESS>

Got it, thanks for the quick response, and for adding this extension!


Output template

Hi!
I wanna help for this issue.
youtube-dl --extract-audio --audio-format mp3 --write-all-thumbnails --audio-quality 5 --write-info-json -l https://www.youtube.com/watch?v=d0FdAicAJKg -o "%(title)s.%(ext)s"
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: using output template conflicts with using title, video ID or auto number

Just remove the -l, which tells youtube-dl to include the title in the filename. Since you are also setting the output template we can't decide which one to use.

Thank you!


FIX YOUR MAUI INSTALLATION PLEASE ITS BEEN LIKE 3 YEARS.

https://github.com/dotnet/maui/issues/12080
I AM ON .NET 9.0 AND STILL CANT COMPILE A SIMPLE HELLO WORLD IN C#  , what kind of trash are you guys selling up there   ?
why cant we develop .NET apps on C# ?
https://github.com/dotnet/maui/issues/13276
--- Pay me to handsomly fix it , or we (  the company  ) will have issues.  - You got 1 week to respond fully.

You guys have a lot too lose , I don't.
----- And I don't tolerate those sloppy games. ----------

Good day.

'MyFirstMauiApp.exe' (CoreCLR: clrhost): Loaded 'C:\Users\mohit\source\repos\MyFirstMauiApp\MyFirstMauiApp\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyFirstMauiApp.exe' (CoreCLR: clrhost): Loaded 'C:\Users\mohit\source\repos\MyFirstMauiApp\MyFirstMauiApp\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[4884] MyFirstMauiApp.exe' has exited with code<PHONE_NUMBER> (0x80070005).

'MyFirstMauiApp.exe' (CoreCLR: clrhost): Loaded 'C:\Users\mohit\source\repos\MyFirstMauiApp\MyFirstMauiApp\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyFirstMauiApp.exe' (CoreCLR: clrhost): Loaded 'C:\Users\mohit\source\repos\MyFirstMauiApp\MyFirstMauiApp\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[4884] MyFirstMauiApp.exe' has exited with code<PHONE_NUMBER> (0x80070005).

What does this have to do with VS Code?

I must confess , I was looking for the Visual Studio Repository last night , and I frantically posted it in the first forum for VS Code I could find.     - To give you an accurate response  what does this have to do with VS Code ?

Well , Considering I cannot even compile a simple C# MAUI application on visual studio ,

I see this as an opportunity for VS Code to excel , where others have failed.   Simple as that.
I see there is less and less support for VS code , in light of the new apple M2 chips , - That is a mistake.
What does this have to do with VS Code  ?    - - -Well , were not compiling any C#  / .NET MAUI apps on VS Code now are we?
The only real question I have with all of these failures in front of me is ,
Why not ? and what steps need to be taken , to ensure a fully owned and supported IDE for developers ?
With the recent failures of Visual Studio ,
( That have now continued for 3 years , past 3 updates , on .NET9.0 )
Will , (  Support for )  , C# Compilation of .NET MAUI Apps ,  be considered  for VS Code ???
Thank you sir.
At the rate things are going , im tempted to ask , WHEN , will .net MAUI app support be available for it?
Because there seem to be no viable alternatives  with solid support for the language.
Microsoft handles the situation like a rabid dog.

Have you checked the docs? https://code.visualstudio.com/docs/csharp/get-started


Whitespace addition

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

not required.

not required.


ROS broadcasts fail for Pepper

As discussed in #78, with the latest pybullet version, The odometry cannot be broadcasted. The parameters passed to getBaseVelocity should be updated. Additionally, the laser broadcast for Pepper also seem to be broken.

Solved with release 1.4.5


Dead links in documentation

Reported by beutlich on 3 Mar 2016 20:11 UTC
The following links give eror 404

http://www.robotic.dlr.de/Christian.Schweiger/
http://www.control.lth.se/~hubertus/

Migrated-From: https://trac.modelica.org/Modelica/ticket/1951

Modified by beutlich on 3 Mar 2016 20:22 UTC

Modified by beutlich on 3 Mar 2016 21:03 UTC

Comment by dietmarw on 4 Mar 2016 10:59 UTC
FIXED in 124d98bdf65453d4ac1c9f25617094d4e36d55b7

Modified by dietmarw on 4 Mar 2016 12:00 UTC

Changelog modified by dietmarw on 4 Mar 2016 12:00 UTC
Removed and updated dead HTML links in documentation.


Update ERC-6123: Move to Review

As we are actively using this ERC for a while now, we would like to lift it from draft to review.  The only minor change that we that we added recently is the possibility to pass the termination terms that the two parties agree on.
Thanks for reviewing.

will close this one and open a new one with an additional function


Security Issues

tesseract-Build-20190703-144816.pdf
I am trying to integrate tesseract into an enterprise workflow and had to a scan for vulnerabilities. I tried scanning tesseract build through nexus vulnerability scanner and got security issues related to:
jquery 1.6.2
bundler 2.0.2
simplecov-html 0.10.2
Have attached the security issues in attached pdf.
Any idea on what these threats could be? How to resolve them?

Are you serious??? If you want to "integrate" tesseract do you understand what tools/libraries it use.
Hit: it does not use jquery or bundler or simplecov-html...


Step debugger

PR checklist:

[ ] Test coverage for the proposed changes
[ ] PR description contains example output from repl interaction or a snippet from unit test output
[ ] Any changes that could be relevant to users have been recorded in the changelog

Additionally, please justify why you should or should not do the following:

[ ] Confirm replay/back compat
[ ] Benchmark regressions
[ ] (For Kadena engineers) Run integration-tests against a Chainweb built with this version of Pact

Closing this branch: stale. Step debugger work will resume in the future


[BUG] Copy functionality failes to retrieve password when GnuPG key wasn't unlocked earlier

What is the bug?
When attempting to use the --copy option in BashPass-Remote, if the GnuPG key has not been unlocked on the server beforehand, the program will not prompt the user to enter the password like it does with the --list option. Instead, it will continuously attempt to decrypt the password file until it fails. Once it fails, the program will write an empty string to the clipboard instead of the correct password.
How can one reproduce the bug?
First we have to make sure that it will prompt us for a password. We can do this by executing the command below. No worries, gpg will start again by itself.
$ ssh -t <user>@<host> "gpgconf --kill gpg-agent"

Now we can try to retrieve the password and write it to our clipboard.
$ bashpass-remote <user>@<host> -c <password-name>

What is the expected behavior?
When the user tries to retrieve a password from the server using BashPass-Remote, it will prompt them to enter their GnuPG key password if it has not been unlocked before. This behavior is similar to that of the --list option, which also prompts the user for their password. Once the password is entered correctly, BashPass-Remote will successfully retrieve the password from the server and function as intended.
Do you have any screenshots?

Current behavior (sped up, as it takes more than a minute to finish):

Intended behavior (from the --list option):

If we try to print out the password variable, it will literally print out the GnuPG prompt. So we just need to find a way to avoid this.
password=$(ssh -t "${user}@${host}" '$(command -v bashpass) --show' "${1}") || \
    error_out "failed to retrieve password '${1}' from remote" 1

printf '%s\n' "${password}"
password=${password#*: }
printf '%s\n' "${password}"


Upgrade to notify-rs 5.0.0 and the new debouncing mechanism

It seems notify-rs 5.0.0 changed the debouncing mechanism. Now it's in a separate crate:
https://crates.io/crates/notify-debouncer-mini
Maybe it would fix this debounce issue: https://github.com/emoon/dynamic_reload/issues/27

Looking at switching over to 5.1 and it's kinda annoying as the Debouncer has been removed. The mini crate doesn't really fit with with what dynamic_reload does so I will have to investigate a bit more.

Actually... it might not be that bad. I will take a look at it during the weekend.

Work has been done and passes the tests on Linux. Please give this a test now.

There is also debouncer-full, just so you know.

Thanks.
I have updated the code to using the debouncer-mini and it seems to work fine so I will close this issue now.


[ENH] Include linked reports, papers, citations in model descriptions

either in the model card/description or on the project page: #391

Probably depends on #342


Implement bls12-381

Fixes #46

[X] Feature: Implement BLS12-381 in Cairo

Task

[X] Add go reference implementation and test programs
[X] Create protostar tests for the new curve
[X] Implement Pairing related functions
[X] Implement e12
[X] Implement e6
[ ] Implement e2
[ ] Implement low-level BigInt
[ ] Pass tests

looks good to me. A strong foundation to build the pure Cairo bls12. We can merge this into develop branch as suggested to go further. This is a task should have been splitted.


Gradle 'implementation' dependency isn't compile with correct code

I have a compilation issue with implementation dependency when compiling with Gradle the following project that contains of 3 modules:

test-impl
test-lib
my-test

My error:
/Users/igor/projects/my-test/src/main/java/MyTest.java:4: error: cannot access TestImpl
        lib.foo("");
           ^
  class file for TestImpl not found

It is compiled when I change implemention to api or if I rename any of foo methods in TestLib class.
Gradle 6.0.1, Java 1.8.0_271-b09, OSX
Doesn't it look like a bug? Where to report?
All build.gradle files:
Module test-impl build.gradle:
apply plugin: 'java-library'

Module test-lib build.gradle:
apply plugin: 'java-library'

dependencies {
    implementation project(':test-impl')
}

Module my-test build.gradle:
apply plugin: 'java-library'

dependencies {
    api project(':test-lib')
}

All source codes:
TestImpl.java in test-impl module:
public class TestImpl {
}

TestLib.java in test-lib module:
public class TestLib {
    public void foo(String s) {
    }

    private void foo(TestImpl impl) {
    }
}

MyTest.java in my-test module:
public class MyTest {
    public void test() {
        TestLib lib = new TestLib();
        lib.foo("");
    }
}

Thank you for your interest in Gradle!
Please ask such a usage question on https://discuss.gradle.org or https://stackoverflow.com where to get answers by the community of Gradle users.
If, after investigation, it turns out to be a Gradle bug or missing feature, please file another issue describing the problem or use case and add a reproducer.

test-lib says that test-impl is an implementation dependency however it leaks it in its API since it is a parameter method.
Either hide TestImpl or make the dependency an api one in test-lib.
See the documentation for details.

Thank you for your interest in Gradle!
Please ask such a usage question on https://discuss.gradle.org or https://stackoverflow.com where to get answers by the community of Gradle users.
If, after investigation, it turns out to be a Gradle bug or missing feature, please file another issue describing the problem or use case and add a reproducer.

test-lib says that test-impl is an implementation dependency however it leaks it in its API since it is a parameter method.
Either hide TestImpl or make the dependency an api one in test-lib.
See the documentation for details.

@ljacomet TestImpl is not leaked in its API, because it is a private method. This is the bug.

@ljacomet TestImpl is not leaked in its API, because it is a private method. This is the bug.

@ljacomet TestImpl is not leaked in its API, because it is a private method. This is a bug.

@ljacomet TestImpl is not leaked in its API, because it is a private method. This is a bug.

@zubchenok , I believe this has nothing to do with Gradle, and the error comes from javac. So this is either javac bug, or it is expected behavior. In any case, Gradle works fine here.
Here's a pure javac reproducer for your sample:
#!/bin/sh -x

rm test-impl/*.class
rm test-lib/*.class
rm my-test/*.class

javac test-impl/TestImpl.java
javac -cp test-impl test-lib/TestLib.java

# Try building my-test without test-impl on the classpath
javac -cp test-lib my-test/MyTest.java

I get the following output:
$ ./build.sh
+ rm 'test-impl/*.class'
rm: test-impl/*.class: No such file or directory
+ rm 'test-lib/*.class'
rm: test-lib/*.class: No such file or directory
+ rm 'my-test/*.class'
rm: my-test/*.class: No such file or directory
+ javac test-impl/TestImpl.java
+ javac -cp test-impl test-lib/TestLib.java
+ javac -cp test-lib my-test/MyTest.java
my-test/MyTest.java:4: error: cannot access TestImpl
        lib.foo("");
           ^
  class file for TestImpl not found
1 error

@zubchenok , I believe this has nothing to do with Gradle, and the error comes from javac. So this is either javac bug, or it is expected behavior. In any case, Gradle works fine here.
Here's a pure javac reproducer for your sample:
#!/bin/sh -x

rm test-impl/*.class
rm test-lib/*.class
rm my-test/*.class

javac test-impl/TestImpl.java
javac -cp test-impl test-lib/TestLib.java

# Try building my-test without test-impl on the classpath
javac -cp test-lib my-test/MyTest.java

I get the following output:
$ ./build.sh
+ rm 'test-impl/*.class'
rm: test-impl/*.class: No such file or directory
+ rm 'test-lib/*.class'
rm: test-lib/*.class: No such file or directory
+ rm 'my-test/*.class'
rm: my-test/*.class: No such file or directory
+ javac test-impl/TestImpl.java
+ javac -cp test-impl test-lib/TestLib.java
+ javac -cp test-lib my-test/MyTest.java
my-test/MyTest.java:4: error: cannot access TestImpl
        lib.foo("");
           ^
  class file for TestImpl not found
1 error

I've filed https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/issues/356 to detect such cases.

I've filed https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/issues/356 to detect such cases.


Introductory Session to Chamber Ensemble

Session Name
Introductory Session to Chamber Ensemble
Abstract
We will guide players of all backgrounds (regardless of experience) to try out string instruments and aim towards playing some music
Student Organisation organising this session
SUTD Chamber Ensemble
Event Format
Physical
Session intent (what to expect)
Participants will learn basic skills required to play string instruments. Participants should look forward to playing a short group piece together with current members/other participants at the end of the session.
Pre-requisites:
-Knowing how to read music is a bonus, but not necessary!
-Bring your own instruments if you have as we have limited instruments to loan.
Session details
No. of participants: 8-10 including facilitators
Venue: MR1 (level 2 of ISH)
Dates:
-Session 1: 22/09/21 7.30-9.30pm
-Session 2: 29/09/21 7.30-9.30pm
Speakers/Workshop facilitators
Chamber Ensemble EXCO members and/or more experienced players
Sign up link(if any)
Telegram Group: https://t.me/joinchat/uN0KkLWZyWM5NjM1
Sign-up link will be found in the telegram group
Logistical details / Budget Needed
No budget needed.

Dear @Vemrthiss,
Our original deadline for event proposals was on 12 Aug and thus we would not be processing this submission.
All the best!


Attempt to complete pipeline change

Together with the companion PR in Plots, I managed to get the default grid displayed, but without the data.

I tried to make the minimal changes such that something like plot(1:5,1:5) would not throw errors. I'm not sure if the implementation is sufficiently general. Also, there are certainly some problems because no data is displayed. Not sure how to debug that.
@BeastyBlacksmith I tried to follow your implementation, but I did not understand the series recipes handling part, so I just copied what I thought was the corresponding part in Plots.

It's really weird that this results in an empty plot. Same thing happened to me in #11. We did not really change the code, just move it somewhere else ...

I think there is an uncaught error somewhere (probably due to some undefined stuff or things like that) and the process continues.

We still have to get the (series_list)[ https://github.com/mkborregaard/RecipeUtils.jl/blob/45964ca7abfeb72593571f6df8b567d6b949a60a/src/pipeline.jl#L20]. Maype via a accessor function on the plot object?

@BeastyBlacksmith Can you explain a bit more that part?
I did not understand what happens there.
That's why I took this part from Plots._plot!

I see, scratch my prior comment.  You are doing it fine

Would you mind also changing the module name and filename to RecipePipeline here and in the Plots PR @SebastianM-C ? Otherwise I can do that after we merge this.

Sure

Regarding the obvious implementation problem (no data is shown), I think that the problem is (at least) in the user recipes part. Stepping with the debugger through the pipeline on Plots#master gives
debug> kw_list
1-element Array{Dict{Symbol,Any},1}:
 Dict(:plot_object => Plot{Plots.GRBackend() n=1},:series_plotindex => 1,:y => [1.0, 2.0, 3.0, 4.0, 5.0],:fillrange => nothing,:ribbon => nothing,:z => nothing,:x => [1.0, 2.0, 3.0, 4.0, 5.0])

after https://github.com/JuliaPlots/Plots.jl/blob/20a290792f92b3f53b8e5ba91ccfb2cdd8759d0d/src/plot.jl#L178
with this PR I get
debug> kw_list
0-element Array{Dict{Symbol,Any},1}

OK ,thanks for investigating and thanks a lot for these PRs! I'll merge now and tomorrow we can continue from here.


Revise Web Servers How To Guides

Now that Paketo's docs have been split up into categories: Concepts, Reference, and How To, it's a good time to bring fresh eyes to each type of documentation and help them fulfill their intended purposes.
The guiding ideas for what makes a good How To guide come from Divio.
Some key takeaways about How To guides:

How-to guides take the reader through the steps required to solve a real-world problem.
How-to guides are wholly distinct from tutorials and must not be confused with them:

A tutorial is what you decide a beginner needs to know.
A how-to guide is an answer to a question that only a user with some experience could even formulate.
A how-to guide should not explain things. It’s not the place for discussions of that kind; they will simply get in the way of the action. If explanations are important, link to them.

In other words, if someone comes to a How To guide, it's probably because they have experienced a problem they don't know how to solve. Therefore, Paketo's how-to guides shouldn't just enumerate or expose a buildpack's features (e.g. the existence of a certain configuration environment variable). They should each address a user's problem, and (probably) use buildpack features to achieve the desired result. Many buildpack users' problem is, "I have a _______ app and the buildpack isn't building it correctly." So sections like "Build a  ________ app" might be useful. (e.g. "Build a React app", "Build a Rails app")
For the sake of consistency, each guide title in Paketo docs should complete the sentence "How do I ..." . For instance, use "Install a Custom CA Certificate" instead of "Installing a Custom CA Certificate" or "Custom CA Certificates"
For some examples/inspiration, see the Paketo Go how to guides, which have been revamped with Divio's guidelines in mind.
Specifically, for this issue, the @paketo-buildpacks/web-servers-maintainers  should have a look at the How To documentation for Web Servers and see how the guides there can be improved.

Now that  Web Servers RFC 0005 has been accepted, the Web Servers documentation should be updated accordingly.

The Node.js Front End Framework docs should also be updated to use the Web Servers buildpack https://paketo.io/docs/howto/nodejs/#build-and-serve-a-front-end-framework-app


feat: allow http calls without origin header

Example Clerk auth provider does not work when both Authorization and Origin headers are set. This allows one to skip setting the origin header explicitly.
In my application I'm routing all requests via tauri-http by patching global fetch. And I'm using custom Clerk setup to get the token shared between js and rust. To do that I need to use Authorization header instead of cookies to communicate with Clerk. And Clerk fails if there is both Authorization header and Origin header, as such I need a way to send requests without origin header.
I do like the default behavior of setting the origin header if it's not set as that mimics the browser behavior. But I also need a way to not send it. This does not change any existing behaviors, and Origin header can anyways be:
Origin: null
Origin: <scheme>://<hostname>
Origin: <scheme>://<hostname>:<port>

So empty string would be invalid header value according to the spec. As such I was thinking that if client has sent empty origin header we could just omit the origin header.

Thank you


arch: arm: Add z_arch_irq_current_prio function

Added function and extended test to cover new api.

What is the use case of this ARM-only aPI?

@ioannisg

What is the use case of this ARM-only aPI?

See #17293
https://github.com/zephyrproject-rtos/zephyr/blob/8de2f920eb9cdfae0c9e780873f5e08f61b209e3/drivers/clock_control/nrf_power_clock.c#L93
Function should not be called from interrupt priority higher than clock control because it may lead to deadlock since clock state will never be updated if status is read in a loop waiting for clock on and clock interrupt cannot be handled (since it has lower priority).
It maybe extended to other platforms as well if there is a use case.

Right, I need to think how this works with trustzone, there are some tricky parts there

Agree on the naming.  Further, if the only use of this is an assert to catch priority inversion bugs, can't you do that via static analysis?  For example, just make sure clock_control is at the highest available priority.

I'd rather you called this z_arm_irq_current_prio()

Done

For example, just make sure clock_control is at the highest available priority.

I wouldn't like to force that to the user, especially that this does not help if context is on the same highest, priority level.

@ioannisg you mean that function would check if current context can be preempted by given interrupt?

@ioannisg you mean that function would check if current context can be preempted by given interrupt?

Yes, that's what I meant.

@ioannisg changed as you suggested to z_arm_irq_can_preempt.

@andyross could you please review this?

Will you continue working on this @nordic-krch or should we close the PR?

will close it for now. Maybe feature need will come back.


[FeatureSuggestion] Configuration option for duration of introduction

It would be nice to have a configuration option to set the duration that the introduction remains visible. If I add a good bit of flavor text, I don't think the current setting will allow most people to take it all in before it disappears.

Good idea 😄
Version <IP_ADDRESS> is now available for download with this feature.


feat: Optimism L2 Block Validation

This PR adds support for validating OP L2 Blocks by passing in the --network=optimism parameter.
The main changes for this feature are:

A dedicated op-block guest binary for optimism L2 block validation.
A generic ConfiguredBlockBuilder parameterized by a NetworkStrategyBundle that wraps around the BlockBuilder.

EthereumBlockBuilder is an alias for ConfiguredBlockBuilder<EthereumStrategyBundle>.
OptimismBlockBuilder is an alias for ConfiguredBlockBuilder<OptimismStrategyBundle>.

Abstraction of TxEssence and implementation of EthereumTxEssence and OptimismTxEssence.
Profiling of guest runs through the --profile argument at runtime rather than a feature flag on compilation.
Introduction of the optimal --network parameter with ethereum and optimism as valid arguments.
Delegation of the state update logic to the implementation of the DatabaseCommit trait from revm.
Introduction of the OptimismTxExecStrategy.

The readme is updated to include a quick optimism test example:
$ RUST_LOG=info ./target/release/zeth \
    --network=optimism \
    --rpc-url="https://opt-mainnet.g.alchemy.com/v2/YOUR_API_KEY" \
    --cache \
    --block-no=107728767

Tested (and works) on Bonsai:
$ RUST_LOG=info ./target/release/zeth --cache --network=optimism --block-no=107728767 --submit-to-bonsai
[2023-09-18T20:52:38Z INFO  zeth_lib::host] Initial block: 107728766 (0x3c41ea6e43267510dcbc482866bca3530250466c1478b3f39e69301d8d0e2444)
[2023-09-18T20:52:38Z INFO  zeth_lib::host] Final block number: 107728767 (0x74ba2ecbd7e8d85998c32c446f1dc3616d994b40e23c3bc51344b650f959d31e)
[2023-09-18T20:52:38Z INFO  zeth_lib::host] Transaction count: 15
...
[2023-09-18T20:52:47Z INFO  zeth] Starting session
Bonsai session UUID: cd39188d-446a-4dfd-bd17-fcc0b78dec14
[2023-09-18T21:15:45Z INFO  zeth] Block hash (from Bonsai): 0x74ba2ecbd7e8d85998c32c446f1dc3616d994b40e23c3bc51344b650f959d31e


Minor cleanup related to colorB -> color

As color is now the canonical, it makes sense to update some of these tests to say colorB instead.
Ref #3012

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against a7eed424d56b870e0aba2b58a14194a1310b4c3a


Fix trace headers for existing cloud events

Closes https://github.com/dapr/dapr/issues/6800.

Codes looks good, could we add tests to cover it?

LGTM but It would be nice if this code (that adds trace headers) could be moved to a function, for example in the universal package, so it’s not repeated twice (and we don’t risk it drifts in the future)

Changed, addressed two feedbacks with one commit.


Kubernetes

What is the point of this config? Do we want to setup a production-ready environment?

@DavidRouyer rather an example of running an application in the k8s environment using a single-node environment, without network-specific configurations and PV/PVC.
Production-ready setup requires a knowledge of the specific k8s infrastructure and its "challenges". These files are rather a proof-of-concept.

I think we should use https://www.helm.sh, it's a package manager for Kubernetes.
For a production-ready ES cluster we can redirect people to https://hub.kubeapps.com/charts/incubator/elasticsearch and create a Chart for vue-storefront-api.

Sure, I heard about it, but I don't have experiences with it.
Feel free to propose the complex solution!

Some articles a saw yesterday:

For a Elasticsearch cluster https://engineering.bitnami.com/articles/create-a-fault-tolerant-and-scalable-elasticsearch-cluster-with-bitnami-and-helm.html
For a Redis cluster https://engineering.bitnami.com/articles/deploy-and-scale-a-redis-cluster-on-kubernetes-with-bitnami-and-helm.html


How to use this library with the new Firebase api?

i wanted to ask how are we suppose to use this library with the new Firebase api.
I tried using this library but while initializing GeoFire object it asks for a Firebase object which is not there in the new api.

We are upgrading this library to the new Firebase SDK in https://github.com/firebase/geofire-java/pull/24.


DO NOT MERGE! Fast Forward stable to c6fee1fe303a83c1dbd9d1a88a3d465764c62de7.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed

Jenkins job mixer/e2e-suite passed


where can i find the dataset used in this paper ?

Hi, I really liked your project, the approach is unique and innovative. Could you direct me the where can i find the dataset used in this project for pre-traning the model? the link provided in the readme section doesnt work. Thanks

I appreciate your interest in our project, the dataset can be downloaded from the Paderborn University website: Konstruktions- und Antriebstechnik (KAt). I hope which can help you.

请问是在这里下载吗？现在好像404访问不到了

Hello, where can I download the HIL-HST data set?


Nixpkgs support for dhall-to-nixpkgs

The motivation for this change is to enable a new Dhall command-line
utility called dhall-to-nixpkgs which converts Dhall packages to
buildable Nix packages.  You can think of dhall-to-nixpkgs as the
Dhall analog of cabal2nix.
You can find the matching pull request for dhall-to-nixpkgs here:
https://github.com/dhall-lang/dhall-haskell/pull/1826
The two main changes required to support dhall-to-nixpkgs are:

Two new buildDhall{Directory,GitHub}Package utilities are added
dhall-to-nixpkgs uses these in the generated output

pkgs.dhallPackages now selects a default version for each package
using the prefer utility
All other versions are still buildable via a passthru attribute

Motivation for this change
Things done

Built on platform(s)

[x] NixOS

[x] Fits CONTRIBUTING.md.

I also verified that all of pkgs.dhallPackages still builds and I also verified that several
representative Nix packages generated by dhall-to-nixpkgs successfully build with
these changes.

@Profpatsch: Is there anything left to do here?

No, I’m sorry, this stagnated in my open tabs. Thanks for pinging again, I’ll merge.

I think we can try to build everything with ofborg:
@GrahamcOfBorg build dhallPackages

@Profpatsch: Thank you! 🙂


Add icon travis

place the icon travis showing the status of his biuld: [BuildStatus](https://travis-ci.org/HubYard/HubYard)

done


git hash to model settings

It could be handy to add an option for saving the git hash to the model settings.
In a terminal, one can simply get the code by git rev-parse HEAD, within python one can use gitpython https://stackoverflow.com/questions/14989858/get-the-current-git-hash-in-a-python-script.

We now save the Dingo version in all the output files. This includes the git hash if not using a tagged version. However, it does require a reinstall to update the version. Should we consider this issue closed?

I think this is fine. When people update from PyPI this will automatically happen, and this is our main use case.


Display better help messages

Implement:
ee help - which will work as ee -h
ee help site which will also work as ee site --help | -h .
ee help site and ee site --help | -h  will display site command help only.
We need to this for all commands.

ERROR: For commands we show description on new line but for positional arguments we are showing it on same line.

@rahul286
This help is autogenerated and i guess its correct as show  and  update are sub-commands while site_name is argument

@mbtamuli remember this in v4

  ee site

DESCRIPTION

  Creates a simple WordPress Website.

SYNOPSIS

  ee site <command>

SUBCOMMANDS

  create       Runs the standard WordPress Site installation.
  delete       Deletes a website.
  disable      Disables a website. It will stop and remove the docker containers of the website if they are running.
  enable       Enables a website. It will start the docker containers of the website if they are stopped.
  info         Display all the relevant site information, credentials and useful links.
  le           Runs the acme le.
  list         Lists the created websites.
  reload       Reload services in containers without restarting container(s) associated with site.
  restart      Restarts containers associated with site.
  start        Starts containers associated with site.
  stop         Stops containers associated with site.

EXAMPLES

    # Create simple WordPress site
    $ ee site create example.com --wp

GLOBAL PARAMETERS

  --sites_path=<path>
      Absolute path to where all sites will be stored.

  --locale=<locale>
      Locale for WordPress.

  --le-mail=<le-mail>
      Mail-id to be used for letsencrypt.

  --[no-]color
      Whether to colorize the output.

  --debug[=<group>]
      Show all PHP errors; add verbosity to EE bootstrap.

  --prompt[=<assoc>]
      Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.

  --quiet
      Suppress informational messages.

Example ee help site.
Also, either typing ee site with no arguments or typing ee help site will show the help menu.

I think we can close this issue @rahul286

Yep.


Native Windows support

Hi @qstanczyk!
I made some changes to the engine and GFootball to be able to run it on Windows natively. It’s been tested on Linux and macOS and even compiles and runs on Apple Silicone, although Python dependencies (opencv, numpy, etc.) must be installed manually for now.
The main changes to the engine are:

use of vectors instead of variable-length arrays on Windows (MSVC doesn’t support VALs),
OS-specific file path handling,
platform-specific clauses in CMakeLists.txt.

I also ensured that development install (pip install -e .) works well on all supported platforms. Because of a peculiar location of packages in the source tree (gfootball and third_party/gfootball_engine), gfootball_engine has to be copied into the project’s root (as you already doing it on Unix). The only alternative solution I could find requires editing PYTHONPATH, which is prone to errors.
I have created a document with guides on compiling the engine on different platforms. I will add macOS-related instructions and will go through the issues to compile a list of common problems and solutions.
Windows has a package manager, vcpkg, but it’s not as easy to install and use as brew on macOS. On the other hand, Windows build collects all the dlls and puts them next to the compiled extension, making it painless to create and distribute wheels.
I am thinking of creating a GitHub workflow to compile and upload wheels to PyPI automatically.  In such a case, Windows users will only need Python and Git installed on their machines. Will you accept it, or are there some company policies that don’t allow such automation?
I’ll comment on code changes and will ask folks to test it out on their machines. Please let me know if you have any conflicting changes waiting to be published.

@WesleyKhoiVo At first, I replaced all VLAs with std::vector, and of course it worked. But, as I mentioned above, since I cannot reliably test if there is any performance drop, I decided to do it only for Windows, and leave Unix version as it was before. We can easily change it to std::vector in the future, if the engine will undergo a significant refactoring.
Same logic goes for filesystem calls: since the engine was optimized for speed, I would leave it as it is on Unix, and change behaviour only on Windows. Although I don't think there is any significant overhead.
As for the third point, I recommend installing VS2019 because it's the latest version, but I agree that it should compile on VS2017 or even earlier.

Which OS drop performance? Unix or Windows? Visual Studio include profiling tool, I will try to debug it to find out why

@qstanczyk Hi Piotr!
I finished with the PR. Now it includes a GitHub workflow that on publishing the release will build eight wheels for Windows (Python 3.6-3.9 both x86 and x64), run the tests, and, in case of success, upload them to the PyPI together with the source code. I wanted to set up continuous integration (and possibly wheel generation) for other platforms, including on pull requests, but it is better to do it one mile at a time. I will prepare other PRs later with the CI and updated build instructions for the remaining platforms.
To automate uploading the wheels and source code, you need to create API token on PyPI and an associated GitHub secret PYPI_API_TOKEN for the repository. Please refer to the description here. There is no need to create TestPyPI token.
As for some minor changes since the previous commits that I'd like to clarify:

I have updated expected_hash_values to pass rendering tests. The values differ by platform, but there are some of the checks that seem outdated, see football_env_test.py lines 150, 159, 168. Feel free to remove them or to leave them as is.
I added requirements.txt to install GRF from the built wheel. It adds extra work to keep the list of required packages here and in the setup.py, but it provides greater flexibility.

This PR and previous commits solve some existing issues (#214 #238 #249 #247 #241 #233 #136). I think they can be closed now.

Thanks for all the changes. I have created an API token, so feel free to play around with it. It would be great if we could automate releases for all platforms.

@qstanczyk
Yes, we'll automate builds for all platforms. Continuous Integration is the first step, followed by distributing binary wheels for macOS and Linux with the help of delocate and auditwheel.
But to publish the new version of gfootball that supports Windows to PyPI now, please don't forget to create a new release by going to the corresponding page, creating a new tag v2.10 and clicking Publish release button. It will automatically run the workflow that builds wheels for Windows, runs the tests, and, in case of success, uploads wheels and the zipped source code (sdist) to the PyPI. From now on no more more manual uploading for the future releases: updating version string in the setup.py and publishing the release through the GitHub interface will suffice.
And what about closing some of the existing issues that I pointed above? Do you need more time or details, or you simply haven't noticed the suggestion?

Thanks Victor, closed the issues you pointed at.
Also, triggered 2.10 release, but building failed with (can you investigate it? Thanks a lot):
-- Downloading https://github.com/python/cpython/archive/v3.6.4.tar.gz -> python-cpython-v3.6.4.tar.gz...
-- Extracting source D:/a/football/football/vcpkg/downloads/python-cpython-v3.6.4.tar.gz
-- Applying patch D:/a/football/football/vcpkg/buildtrees/versioning/versions/python3/31048e50e35696fa4eaa3cecf873a2cc96cb58fb/0004-Fix-iomodule-for-RS4-SDK.patch
-- Applying patch D:/a/football/football/vcpkg/buildtrees/versioning/versions/python3/31048e50e35696fa4eaa3cecf873a2cc96cb58fb/0005-Fix-DefaultWindowsSDKVersion.patch
-- Applying patch dev16.patch
-- Applying patch Microsoft.VisualStudio.Setup.Configuration.Native.patch
-- Using source at D:/a/football/football/vcpkg/buildtrees/python3/src/v3.6.4-e4fea3fdbc.clean
-- Building D:/a/football/football/vcpkg/buildtrees/python3/src/v3.6.4-e4fea3fdbc.clean-Lib-dynamic-crt-dynamic/PCBuild/pythoncore.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: msbuild D:/a/football/football/vcpkg/buildtrees/python3/src/v3.6.4-e4fea3fdbc.clean-Lib-dynamic-crt-dynamic/PCBuild/pythoncore.vcxproj /p:Configuration=Release /t:Rebuild /p:Platform=x64 /p:PlatformToolset=v142 /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=10.0.22000.0 /p:VcpkgManifestInstall=false /p:VcpkgManifestEnabled=false /m /p:VcpkgEnabled=false
Working Directory: D:/a/football/football/vcpkg/buildtrees/python3/x64-windows-rel
Error code: 1
See logs for more information:
D:\a\football\football\vcpkg\buildtrees\python3\build-x64-windows-rel-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_msbuild.cmake:129 (vcpkg_execute_required_process)
buildtrees/versioning/versions/python3/31048e50e35696fa4eaa3cecf873a2cc96cb58fb/portfile.cmake:57 (vcpkg_build_msbuild)
scripts/ports.cmake:140 (include)
Error: Building package python3:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: python3:x64-windows
Vcpkg version: 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04
Additionally, attach any relevant sections from the log files above.
-- Running vcpkg install - failed
CMake Error at D:/a/football/football/vcpkg/scripts/buildsystems/vcpkg.cmake:827 (message):
vcpkg install failed.  See logs for more information:
C:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-4okp6qo1\gfootball-2.10\third_party\gfootball_engine\build_win\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:28 (project)
-- Configuring incomplete, errors occurred!
error: Google Research Football compilation failed.
Please follow the guide on how to install prerequisites: https://github.com/google-research/football/blob/master/gfootball/doc/compile_engine.md#windows
ERROR Backend subproccess exited when trying to invoke build_wheel
Error: Process completed with exit code 1.

@qstanczyk
I'm investigating it now. Looks like there were some changes to the default software (like Visual Studio or CMake) in the virtual machine in the past 9 days or so. As you can see some previous runs in the temporary repository it worked well as recent as last week.
I will try to fix it asap and get back to you tomorrow.

Thanks a lot.

I think I found the cause of the problem: Windows 11 Preview SDK (10.0.22000.0) was added recently to the GitHub's virtual environment and causing troubles to build Python. There is even a corresponding issue on Python's bug tracker posted 7 days ago, that prevented CI for Python builds.
It seems that the issue affects not only Python language development team, but also any vcpkg CI pipeline that builds Python from sources. I tried creating the simplest job that runs vcpkg install python3 and it fails. I will open the corresponding issues in the vcpkg and virtual-environment repositories, and report to Windows SDK team.
As for the Windows users of the gfootball, unless someone installs buggy Windows 11 Preview SDK, they shouldn't run into this problem. I couldn't reproduce it on the local Windows machines, even after installing exact versions of Visual Studio, CMake and other software as in the GitHub's virtual environment.
But for building the wheels on GitHub's CI and publishing them to PyPI automatically, I'm still looking for a quick fix. We can always fork vcpkg repository and apply patches to Python sources to ignore the above mentioned version of SDK (as it is currently done by Python team), but I'm looking for a less hacky solution, such as defining environment variables. I'll get back to you as soon as the fix is ready.

Well, the issue has been already reported to vcpkg and the PR with patch is ready. As it is pointed out, the problem was introduced with the PR to the virtual-environments and by default vcpkg gets the latest WinSDK available in the system.

I guess we can wait for the fix to hit production then. WDYT?

I'm afraid that it might take some time for the proper fix to arrive. In the meantime I think we should run the build on windows-2016 machines. It has Visual Studio 2017 installed (instead of 2019) and it uses its SDKs. I successfully built the wheels and tested them on the latest version of Windows. Everything works well, although the hashes for the rendering tests had to be updated. I will send a PR shortly.


(#2) Option DEX with 0x

Build a DEX with 0x api to enable p2p order trading on ETH options.
Related Issue: #2
UI Componenets:
Buy and sell

[ ] DatePicker
[ ] Enable token transfer (erc20 approve)
[ ] More helper message

Orderbook

[ ] Empty orderbook page

Web3 Features:

[x] Create order
[x] Cancel orders
[x] Fill single order
[x] Fill multiple orders
[x] Fill and create order
[x] Calculate which above should be displayed based on selected orders, amount entered and price

Add one more to the ToDo list:

[ ] use Forwarding contract so user can fill orders with ETH

Enable token transfer (erc20 approve)
Original idea:

For the first time user, they might not be able to realize the function of buy and sell section if it is covered by unlock. Alternatively, we just show a default message from the wallet which user has selected if the allowance is 0.


[topgen] Generate PLIC Enums

This PR lays the groundwork for ensuring that the PLIC interrupt names used by software always correspond to the interrupt ids that hardware understands. We do this by generating the enums into top_earlgrey.h.

This came up in the Silicon meeting on 2020-04-21, and in looking into how easy it would be, I managed to implement it. These definitions are not yet used by dif_plic.h because the interface there needs to be refactored slightly to use them.

Changes incoming, this creates linker errors if you include the header in multiple places.


Q: Is there any ready to use SMPP server?

Hi!
At the moment I'm looking robust SMPP server in order to replace Selenium SMPPSim.
Are there any sources of smppex.rubybox.ru?
If not, as I understand, I will need to implement a server based on SMPPEX.MC?

Hello!

I will need to implement a server based on SMPPEX.MC?

In general, yes, you need to implement actual PDU handling.

Are there any sources of smppex.rubybox.ru?

Yes, they are here: https://github.com/savonarola/smppex_web

Looks awesome, thanks!


Adding fetching and storing of groups

This builds on #159
A couple caveats:

This only fetches group_emails and group_ids
This only works running locally, DM execution will be in a follow-up CL
A follow-up CL will be done to update the documentation given the extra requirements for using DWD

I took a little bit of both from your nit's. PTAL.

Thanks for the review. PTAL.
RE: Tests
I had hoped to follow-up with that once I've actually started flattening groups data.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


修改IP库、完成基础用户管理

Coverage increased (+0.3%) to 92.778% when pulling 5eb6bb8212781a7ecf6efcee10437c6590594c9d on develop into 2ba35101177a3f0ed10fb7ceb8a7fc74bec3e7eb on master.


Remove division-by-zero tests again because

of too many problems with different compilers / architectures.

I feel sad about removing it. Just now we knew how to cheat the compiler :)

No problem. I started a file I call XtremeTest.cpp. I'll keep this test case in there plus some others that you never accepted :-)
I imagine one day we might start a test suite that only gets run on demand, by interested persons, on interesting compilers and architectures. Let me know if you are interested...


Replace cats.implicits.* with cats.syntax.all.*

Implementation Details
Deprecated imports have been corrected

Fixes
Fixes #xxxxx
Pull Request Checklist

[ ] Wrote unit and integration tests
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code formatting by scalafmt (sbt scalafmtAll command execution)
[ ] Add copyright headers to new files

References

https://github.com/takapi327/ldbc/issues/235

Thanks!


doc: fix netpoll readme

修正了一些大小写和语法问题：Haproxy → HAProxy；KiteX → Kitex；to be open sourced → coming soon

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

感谢，但还请完善一下改动，包括同步修改中英文，并批量更新要修改的链接


bug(virtual-scroll): no re-rendering on itemSize-change

Reproduction
Steps to reproduce:

Use autosize-strategy with different itemSizes
Collapse a single list-item to change the itemSize (item-height) from e.g. 250px to 50px (from large to small)
The items beneath are not re-rendered. Therefore, an empty space is displayed
As soon as the user scrolls the re-rendering is triggered and the items are displayed

Expected Behavior
What behavior were you expecting to see?
The itemSize-change should not produce an empty space beneath. The scrollStrategy "autosize" in the "experimental-cdk"-library should either force a re-measuring/re-rendering of all cached item sizes by default or provide a "invalidateAllCachedMeasurements" method to force the re-rendering.
https://github.com/rintoj/ngx-virtual-scroller provides such a method.
Actual Behavior
What behavior did you actually see?
The list is not re-rendered, but an empty space beneath the item, that has shrunk, is displayed. As soon as the user scrolls the re-rendering is done. However, this should be either done automatically or with the help of a "invalidateAllCachedMeasurements"-function.
Environment

Angular: 10.2.3
CDK/Material:
"@angular/cdk": "10.2.3",
"@angular/cdk-experimental": "10.2.3",
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOS and Windows

I suspect that the height change doesn't get picked up, because we'd have to poll the DOM for changes which is inefficient. Now that we don't support IE11, we might be able to use ResizeObserver for it.
That being said, I think that having a method to trigger a re-render programmatically makes sense.