Change Feed to off by default, Change default GC threshold

The feed is a non tarkov feature that doesn't make sense to be on by default.
512 is too low of a threshold considering the minimum requirements for tarkov is 8GB. 1024 makes more sense.

2048 probably "should" be the setting most people (16GB) use. But 1024 being 1/8th of the official minimum makes sense as a default.


NMR spectrum by phase state

@nmrML/nmr-ml-developers
are this class and subtypes really needed? What are these meant for?
having the sample phase + spectrum should allow retrieving the requirement information.
currently, should we consider deprecating those classes ? If not, provide an example of usage + query
thx

I think these can be deprecated if the phase is indicated at sample level.
Cheers, Daniel.
Am 01.04.2015 um 15:49 schrieb Philippe Rocca-Serra:

@nmrML/nmr-ml-developers
https://github.com/orgs/nmrML/teams/nmr-ml-developers
are this class and subtypes really needed? What are these meant for?
having the sample phase + spectrum should allow retrieving the
requirement information.
currently, should we consider deprecating those classes ? If not,
provide an example of usage + query
thx
—
Reply to this email directly or view it on GitHub
https://github.com/nmrML/nmrML/issues/129.

--
Dr. Daniel Schober
Leibniz Institute of Plant Biochemistry, http://www.IPB-Halle.de
Dept. for Stress and Developmental Biology Bioinformatics & Mass Spectrometry
Weinberg 3 Tel. +49 (0) 345 5582 - 1476
06120 Halle

Indeed this was redundant information.  have retired these spectrum classes now. Thanks PRS.


Mistral tasks() function errors when used in input: section

Problem
When coding a Mistral workflow i'm unable to utilize the built-in function tasks() anywhere in the input: section. Upon doing so i get the following error:
| result          | {                                                            |
|                 |     "traceback": "  File "/opt/stackstorm/st2/lib/python2.7  |
|                 | /site-packages/st2api/controllers/v1/actionexecutions.py",   |
|                 | line 180, in _schedule_execution                             |
|                 |     liveaction_db.context)                                   |
|                 |   File "/opt/stackstorm/st2/lib/python2.7/site-              |
|                 | packages/st2common/util/param.py", line 230, in              |
|                 | render_live_params                                           |
|                 |     _validate(G)                                             |
|                 |   File "/opt/stackstorm/st2/lib/python2.7/site-              |
|                 | packages/st2common/util/param.py", line 145, in _validate    |
|                 |     raise ParamException(msg)                                |
|                 | ",                                                           |
|                 |     "error": "Dependecy unsatisfied in tasks"                |
|                 | }                                                            |

This backtrace is also present in the st2api logs.
Steps to reproduce
Simply run the following action/workflow
---
description: "Reproduce errors when running tasks() function in a mistral workflow"
enabled: true
runner_type: mistral-v2
entry_point: workflows/mistral-tasks-error-simple.yaml
name: mistral-tasks-error-simple
pack: examples
parameters:
  str:
    required: false
    type: string

version: '2.0'

examples.mistral-tasks-error-simple:
    description: "Reproduce errors when running tasks() function in a mistral workflow"
    type: direct
    input:
        - str

    output:
      tasks_published_jinja: "{{ _.tasks_published_jinja }}"
      tasks_published_yaql: "{{ _.tasks_published_yaql }}"

    tasks:

        # this works
        tasks_in_publish:
            action: std.noop
            publish:
                tasks_published_jinja: "{{ tasks(execution().id) }}"
                tasks_published_yaql: <% tasks(execution().id) %>
            on-success:
                - tasks_in_input_jinja
                #- tasks_in_input_yaql
                #- tasks_in_input_jinja_plain
                #- tasks_in_input_jinja_variable

        # this breaks
        tasks_in_input_jinja:
            action: core.local
            input:
                cmd: "echo '{{ tasks(execution().id) }}'"

        # this breaks
        # tasks_in_input_yaql:
        #     action: core.local
        #     input:
        #         cmd: "echo '<% tasks(execution().id) %>'"

        # this breaks
        # tasks_in_input_jinja_plain:
        #     action: core.local
        #     input:
        #         cmd: "{{ tasks(execution().id) | string }}"

        # this breaks
        # tasks_in_input_jinja_variable:
        #     action: core.local
        #     input:
        #         cmd: "echo '{{ _.published_jinja }}'"

Debugging notes
I've tried several different combinations of YAQL and Jinja in the input stanza using the tasks() function but all fail in the same manner. My attempts are show as commented out tasks in the workflow YAML.
If you notice i've also tried publishing the variable at a previous task, then utilizing the published variable later in tasks_in_input_jinja_variable and this also fails in the exact same way. It's very weird, because if you just run the first task with the publish: it works just fine. It's only when you start working in the input: section that it begins to break.

More debugging - Graphs
I modified render_live_params() to look like the following:
def render_live_params(runner_parameters, action_parameters, params, action_context):
    '''
    Renders list of parameters. Ensures that there's no cyclic or missing dependencies. Returns a
    dict of plain rendered parameters.
    '''
    config = get_config(action_context.get('pack'), action_context.get('user'))

    G = _create_graph(action_context, config)

    [_process(G, name, value) for name, value in six.iteritems(params)]
    _process_defaults(G, [action_parameters, runner_parameters])

    # BEGIN NICKS DEBUGGING ADDITIONS
    from networkx.readwrite import json_graph
    import time

    millis = int(round(time.time() * 1000))
    graph_path = "/var/log/st2/st2_nx_link_data_{}.json".format(millis)
    data = json_graph.node_link_data(G)
    json_str = json.dumps(data, default=_graph_to_dict)
    with open(graph_path, "w") as f:
        f.write(json_str)
    # END NICKS DEBUGGING ADDITIONS

    _validate(G)

    context = _resolve_dependencies(G)
    live_params = _cast_params_from(params, context, [action_parameters, runner_parameters])

    return live_params

This allowed me to print out the "graphs" that were generated during the next run.
Here is the graph that failed with the "tasks" no that has no corresponding value or template.
{
  "directed": true,
  "graph": {
  },
  "nodes": [
    {
      "id": "config_context",
      "value": {
      }
    },
    {
      "id": "tasks"
    },
    {
      "id": "env",
      "value": null
    },
    {
      "template": "echo '[{'state_info': None, 'workflow_execution_id': u'd85aa54a-1b02-4001-8b39-3045356e3b17', 'state': 'SUCCESS', 'name': u'tasks_in_publish', 'result': {u'failed': False, u'stderr': u'', u'return_code': 0, u'succeeded': True, u'stdout': u'hello world'}, 'published': {}, 'type': u'ACTION', 'id': u'f670a124-0f4e-49e7-9fed-fb1941b86694', 'spec': {u'version': u'2.0', u'name': u'tasks_in_publish', u'on-success': [u'tasks_in_input_jinja'], u'action': u'st2.action', u'input': {u'ref': u'core.local', u'parameters': {u'cmd': u\"echo 'hello world'\"}}, u'type': u'direct', u'publish': {u'published_jinja': u'{{ tasks(execution().id) | string }}'}}}]'",
      "value": null,
      "id": "cmd"
    },
    {
      "id": "action_context",
      "value": {
        "mistral": {
          "workflow_execution_id": "d85aa54a-1b02-4001-8b39-3045356e3b17",
          "action_execution_id": "e8e9255f-8101-4cda-8233-84f8e9b1a613",
          "task_name": "tasks_in_input_jinja",
          "task_id": "fa2db7bd-f4bb-4638-9a41-8e64f4a183af",
          "task_tags": null,
          "workflow_name": "examples.mistral-tasks-error-simple",
          "callback_url": "/v2/action_executions/e8e9255f-8101-4cda-8233-84f8e9b1a613"
        },
        "user": "st2admin",
        "parent": {
          "user": "st2admin",
          "execution_id": "59ea44dfa814c03d3e3c9a9a",
          "pack": "examples"
        },
        "pack": "core"
      }
    },
    {
      "id": "st2kv",
      "value": {
        "system": {
          "KeyValueLookup": "st2kv.system"
        }
      }
    },
    {
      "id": "kwarg_op",
      "value": "--"
    },
    {
      "id": "timeout",
      "value": 60
    },
    {
      "id": "execution"
    },
    {
      "id": "sudo",
      "value": false
    },
    {
      "id": "cwd",
      "value": null
    }
  ],
  "links": [
    {
      "source": 1,
      "target": 3
    },
    {
      "source": 8,
      "target": 3
    }
  ],
  "multigraph": false
}

Also notice that the execution node has no value:.
And finally at the bottom there are two links... both of those are links from tasks(1) -> cmd(3) and execution(8) -> cmd(3) .... very interesting.

More debugging - Trying task() function
So i wondering why this works with the task() function but not the tasks() function... turns out i can also get it to break using the task() function...
Broken task()
version: '2.0'

examples.mistral-tasks-error-simple:
    description: "Reproduce errors when running tasks() function in a mistral workflow"
    type: direct
    input:
        - str
        - test_array:
            - abc
            - def

    output:
      published_jinja: "{{ _.tasks_published_jinja }}"
      #published_yaql: "{{ _.tasks_published_yaql }}"

    tasks:

        # this works
        tasks_in_publish:
            action: core.local
            input:
                cmd: "echo 'hello world'"
            publish:
                published_jinja: "{{ task('tasks_in_publish') }}"
            on-success:
                - tasks_in_input_jinja
                #- tasks_in_input_yaql
                #- tasks_in_input_jinja_plain

        # this breaks
        tasks_in_input_jinja:
            action: core.local
            input:
                cmd: "echo '{{ _.published_jinja }}'"

Working task()
However if i change it to published_jinja: "{{ task('tasks_in_publish').result }}" somehow this fixes it and works just fine
version: '2.0'

examples.mistral-tasks-error-simple:
    description: "Reproduce errors when running tasks() function in a mistral workflow"
    type: direct
    input:
        - str

    output:
      published_jinja: "{{ _.tasks_published_jinja }}"
      #published_yaql: "{{ _.tasks_published_yaql }}"

    tasks:

        # this works
        tasks_in_publish:
            action: core.local
            input:
                cmd: "echo 'hello world'"
            publish:
                published_jinja: "{{ task('tasks_in_publish').result }}"
            on-success:
                - tasks_in_input_jinja
                #- tasks_in_input_yaql
                #- tasks_in_input_jinja_plain

        # this works (with the .result added above)
        tasks_in_input_jinja:
            action: core.local
            input:
                cmd: "echo '{{ _.published_jinja }}'"

So, it looks like https://github.com/StackStorm/st2/blob/master/st2common/st2common/util/param.py#L116-L117 is returning back the task(), tasks(), and execution() functions because it's not loaded in the Jinja environment.

Working if we only use Mistral actions
If i restrict the workflow to just using Mistral actions std.echo this works just fine:
version: '2.0'

examples.mistral-tasks-error-simple:
    description: "Reproduce errors when running tasks() function in a mistral workflow"
    type: direct
    input:
        - str

    output:
      published_jinja: "{{ _.published_jinja }}"

    tasks:

        # this works
        tasks_in_publish:
            action: std.echo
            input:
                output: "hello world"
            publish:
                published_jinja: "{{ tasks(execution().id) }}"
            on-success:
                - tasks_in_input_jinja

        # this break
        tasks_in_input_jinja:
            action: std.echo
            input:
                output: "{{ _.published_jinja }}"

Experimentation Update
Adding task, tasks, and environment to Jinja Environment (didn't work)
My initial thought was, why don't i just add a "dummy" function for the Mistral builtins to the ENV in https://github.com/StackStorm/st2/blob/master/st2common/st2common/util/param.py .

ENV = jinja_utils.get_jinja_environment()

def _fake_mistral_builtin(value):
    return value

FAKE_MISTRAL_BUILTINS = {'env': _fake_mistral_builtin,
                         'execution': _fake_mistral_builtin,
                         'task': _fake_mistral_builtin,
                         'tasks': _fake_mistral_builtin}

ENV.filters.update(FAKE_MISTRAL_BUILTINS)

This did NOT work, and a simply Jinja test script i wrote confirmed this
#!/usr/bin/env python
import jinja2
import jinja2.meta

def _fake_mistral_builtin(value):
    return value

class JinjaUtils:

    @staticmethod
    def simulate_process(template):
        env = jinja2.Environment()
        env.filters['task'] = _fake_mistral_builtin
        env.filters['tasks'] = _fake_mistral_builtin
        env.filters['environment'] = _fake_mistral_builtin
        template_ast = env.parse(template)
        dependencies = jinja2.meta.find_undeclared_variables(template_ast)
        return dependencies

if __name__ == "__main__":
    template = "{{ tasks() }}"
    print JinjaUtils.simulate_process(template)

How does Mistral do it then?
So, digging in to mistral to see how they create the task(), tasks(), etc...  i found this: https://github.com/openstack/mistral/blob/master/mistral/utils/expression_utils.py#L89-L93
What they're doing is changing the Mistral context and setting the variables in the context to functions. Jinja must then translate these into function calls under the hood instead of expanding them as variables.
I confirmed this by modifying my test script to the following (which works!)
#!/usr/bin/env python
import jinja2
import jinja2.meta

def _fake_mistral_builtin(value=None):
    if value is None:
        value = "you're calling the fake mistral function with no args"
    return value

class JinjaUtils:

    @staticmethod
    def simulate_process(template):
        env = jinja2.Environment()
        env.filters['task'] = _fake_mistral_builtin
        env.filters['tasks'] = _fake_mistral_builtin
        env.filters['environment'] = _fake_mistral_builtin
        template_ast = env.parse(template)
        dependencies = jinja2.meta.find_undeclared_variables(template_ast)
        return dependencies

    @staticmethod
    def render_str(jinja_template_str, context):
        env = jinja2.Environment()
        tmpl = env.from_string(jinja_template_str)
        return tmpl.render(context)

if __name__ == "__main__":
    template = "{{ tasks() }}"
    #print JinjaUtils.simulate_process(template)

    context = {"tasks": _fake_mistral_builtin}
    print JinjaUtils.render_str(template, context)

This prints out you're calling the fake mistral function with no args!
Going forward
Now, the problem is that when we call jinja2.meta.find_undeclared_variables() it doesn't (and don't think it can) take into account the context. So, the question becomes, how do we modify the code to take this into account?

Closing in favor of Orquesta.


Replace recordtype using standard dataclasses module

Mandatory Checklist
Please ensure that the following criteria are met:

[x] Title of pull request describes the changes/features
[x] Request at least 2 reviewers
[x] If new files are being added, the files are no larger than 100kB. Post the file sizes.
[x] Code coverage did not decrease. If this is a bug fix, a test should cover that bug fix. If a new feature is added, a test should be made to cover that feature.
[x] New features have appropriate documentation strings (readable by sphinx)
[x] Contributor has read and agreed with CONTRIBUTING.md and has added themselves to CONTRIBUTORS.md

As a general rule of thumb, try to follow PEP8 guidelines.
Description

@jan-janssen does this work for you?

@jan-janssen does this work for you?

That is an even cleaner solution - thanks!

@jhcollins I had accidentally reverted the change to https for submodule URL's, but that is fixed here. What I do if I need to work on submodule code is use git remote set-url... to switch to<EMAIL_ADDRESS>in the submodule so I can push changes, which doesn't affect the protocol specified in .gitmodules.


Program blocked while receiving camera data, at fgets(), waiting for EOL(0x0D,0x0A).

Hi Jose,
Thanks for your UART camera library, it helps me a lot.
You suggested to run an Arduino script to configure the Edison board prior to run this program. Otherwise, the program would stuck at where fgets() function is called.
Is there any solution to do this serial port configuration with C code, since I am going to embed Edison into a microwave oven to take the photo of food. After then I will not have access to the USB OTG cable, the only way to communicate with the Edison is through SSH console and SFTP file exchange over WiFi.
Thank you,
Yang

Yes there is a way. Let me test it and I will share with you.
Regards!

Also if you do that once, you don't have to do it again at all. Just once after it is flashed, even after reboot it will still work.
Even so, I will work in the C setup.

Thank you very much， I am just wondering how Arduino could do the tricky， it overrides linux kernel.

I think I'll have an answer by tomorrow, gotta get it tested.
Regards!


AwsProxyHttpServletRequest#getParameterValues does not support multiple query string

Framework version: 1.3.2
Implementations: Spring Boot

Scenario
http request is <scheme>://<host>/<path>?state=xxx&state=yyy
Function in controller is func(@RequestParam(value = "state", required = false) List states)
Expected behavior
Param states contains {"xxx", "yyy"}
Actual behavior
Param states contains {"xxx"}
Proposed fix
In AwsProxyHttpServletRequest#getParameterValues instead of using AwsProxyHttpServletRequest#getFirstQueryParamValue
use AwsProxyHttpServletRequest#getParameterValues
Possible workaround
request in form  <scheme>://<host>/<path>?state=xxx,yyy will work with spring

As

was closed by a miss click

Thanks for the report @yeDor. I'm working on a fix and we'll push it out with the next release soon.


Lerna is a dependency but is not installed automatically nor listed in documentation

Describe the bug
If you sync the SDK and do 'npm install' it will complain about lerna not being there.  Either install should work or it should be documented you need to install it.
[bug]

Hey @chrimc62! After reviewing your issue we agreed that lerna should be listed bellow the devDependencies to make working of the SDK a smoother experience. We will add it on the PR #802. Meanwhile, we also found some documentation regarding this topic here, where lerna is described as required to work with the SDK.


Patch webhooks instead of deleting

To avoid having to delete the webhooks after a crash, we tried to integrate an objectSelector which excludes the cf-operator pod from the MutatingWebhook. However, this is a larger change because it requires updating to a newer version of k8s.io/apimachinery. As a first step, we added it to the README as a patch.
Do you think adding an exception for cf-operator to the webhook is a good idea? If so, we could try to provide a PR that does this directly in the go-code.

What's the benefit of this change? We still need to change mutatingwebhookconfiguration after the crash

For the UX it does not really make a difference, yes.
But it certainly is a small improvement: Deleting the webhook means that now all pods can be restarted and the webhook will only fire once cf-operator is fully booted and has recreated the webhook. On the otherhand, using this solution only the cf-operator pod can start and only after the operator is started and responds to webhooks again the other pods will start.  (I don't know if this even matters.) TL;DR we don't miss any events.
Our idea behind this change was: It is one step closer to a real solution and at least it's now documented how it could work, once dependencies are updated.
BTW: I signed the CLA. How can I trigger the @cfdreddbot to check again?

Please note that there's already a story in tracker to exclude the operator pod from the webhooks (https://www.pivotaltracker.com/story/show/167425277). We decided to postpone it for a while, though because it requires kubernetes 1.15 which is pretty new and we don't want to depend on it yet.
For the same reason I think we should rather not refer to 1.15+ features in the documentation.
@phil9909 In order to re-trigger cfdreddbot you have to close and re-open the pr afaik.

Maybe the time to require Kubernetes 1.15 is now, it's already 3 month old ;)
Anyhow, before we can solve this in code, it might be helpful improve our 'recovering from crash' documentation.
@aduffeck  would it be agreeable if the new text was in an explicit "if you are on Kubernetes 1.15" section?

:+1: having it as an additional section specific to 1.15+ environments sounds good to me.

Good to know there is already a story for solving the problem with the webhooks:)
@aduffeck Could you please give us access to the 'test' logs, so we can check whether the test fails because of our PR? I get a 401 unauthorized when trying to access them.

@jkbschmid we're currently trying to figure out how to solve this logs issue best. We'll let you know...
Spoiler: Tests failed because of issues with the cloud environment, not because of your changes :)


Is there REST API to list individual blobs in a blob container?

I am looking for REST API to list individual blobs in a blob container. Do you have such an API? I did not see it in your REST API doc for blobs.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4a056685-6734-380e-562c-92e30b8976a3
Version Independent ID: 1d17cc5e-f2b1-5489-79fa-e8557fadc5b5
Content: Introduction to Blob storage - Object storage in Azure
Content Source: articles/storage/blobs/storage-blobs-introduction.md
Service: storage
Sub-service: blobs
GitHub Login: @tamram
Microsoft Alias: tamram

@sonnycloudtp - Yes, please https://docs.microsoft.com/rest/api/storageservices/list-blobs

@sonnycloudtp - let us know if you need anything else.
#please-close


Is it possible to use a nswag.json for the settings when using OpenApiReference or OpenApiProjectReference

I've been poking around but I can't seem to figure it out, I'm guessing the only option is to use NSwag.MSbuild directly?
If it isn't possible, is it something that you would consider adding?

It should work as far as i know - but i personally dont use it (i use NSwag.MSbuild) and the MS docs are quite sparse...
The NSwag docs for that can be found here, please add links and update the wiki if you find out more:
https://github.com/RicoSuter/NSwag/wiki/ServiceProjectReference

"Sparse" seems like an understatement :)
But I'm using NSwag,MSbuild with run and variables and that works for now.
I did find out that the OpenApiProjectReference ends up calling nswag like this:
      <CurrentOpenApiReference>
        <Command>$(_NSwagCommand) swagger2tsclient /className:%(ClassName) /namespace:%(Namespace)</Command>
      </CurrentOpenApiReference>
      <CurrentOpenApiReference>
        <Command>%(Command) /input:"%(FullPath)" /output:"%(OutputPath)" %(Options)</Command>
      </CurrentOpenApiReference>

and based on what I've seen, you cannot use the nswag.json in conjunction with anything but the run command, is that correct?

and based on what I've seen, you cannot use the nswag.json in conjunction with anything but the run command, is that correct?

correct, the nswag.json is like a simple "pipeline" which does the openapi generation/loading and then passes it to the command
we'd need a way to specify a config file for the swagger2tsclient command (ie the sub object in the nswag.json config)

Is this already an option?
I'm trying to generate a C# client but with some predefined options and, since I'm setting a lot of stuff, that could give a lot of help..

I think this calls directly into the generators and not via the nswag.json file... but i agree that it should be possible to provide a json file which is used instead of inline options


XInput gamepads not detected in Firefox

For some reason, Firefox doesn't discover XInput gamepads but does discover DInput gamepads. Chrome is fine.

Firefox is v90.0.2 for anyone wondering.

I don't think there's anything we can do here. Gonna keep this ticket open to re-check whenever the next version of Firefox comes out

Working fine for me! Mapped correctly as well.
http://offalynne.nfshost.com/input/

https://www.amazon.ca/Microsoft-Xbox-Wired-Controller-Windows/dp/B004QRKWLA

Bizarre!

Tested and confirmed good on Win10 as well


Add default values when instantiating OnMessage from sendText response

This PR addresses issue 12

Maybe you can change all the fields in OnMessage to be nullable?

@jiangzhiguo1992 , ok if you think that's cleaner I've made the fields nullable.


Suggest/tooltip triggers on wdt: without PREFIX, but gives local results

If I type wdt:[CTRL+SPACE] (or wd:/ps: etc.) I get a popup box offering to autocomplete an entity. I can type P1 or Q2 and get results - but they're local results, not Wikidata results. This is cool… but it isn't right, as that PREFIX isn't redefined in the query.
Conversely, using prefixes that are defined in the query, and refer to local entities, doesn't work:

Unknown prefix 'wfd:'.

Similarly, mousing over wdt:P6 gives a popup with data on the local P6, even though it will actually use another P6.
This may mislead the user into writing queries that run, but not as expected, because the query service uses Wikidata as wdt:.
The situation is different to e.g. the Wikibase Registry where wdt: has been modified. (I don't think doing this is a good idea.)
Ideally, autosuggest would use prefixes defined by the server, modified by any PREFIX within the query - but this may not be easy. Perhaps using the new way of adding local prefixes would be helpful? It might also lead to fragmentation and incompatible queries. Adding such site prefixes automatically (if defined) might at least give a strong hint that you should declare them to use them.

moved https://phabricator.wikimedia.org/T357116


object reference not set to an instance of an object

hey, i was just donwloading data for CheckDlc AddOn in playnite, i always get this message when done, also owned DLC for some eipc games are listed to buy them. dont know where to find the log file

Can you post your extension.log ?


Callback when logout success

When I call authManager.logout(), how to know it logout success to me do something ?

You can tray catch like below , but basically you don't need to worry of logout success since it will basically remove the local access token cache.
try { 			authManager.logout().get(); 		} catch (InterruptedException e) { 			e.printStackTrace(); 		} catch (ExecutionException e) { 			e.printStackTrace(); 		}


Add Rust geometry transform tool

[x] projections

[x] PCA 2D
[x] PCA 3D

[x] WKB I/O
[x] Decide whether to keep supporting the flattened geometry format
[x] How to describe composing affine transformations from the CLI?
[x] How to support 3D geometries? At all?
[ ] Rotate
[ ] Scale (in x/y)
[ ] Skew
[ ] Translate

The wkt/wkb crates don't support 3D geometries. So I think that instead of combining project.py and transform to do both projections and affine transformations, I

keep project.py
remove --scale from project.py
do only affine transformations in transform


Planner which work with Search Debugger

Hello, i'm trying to use the Search Debugger but it does not work with the planners I use (default one or pddl4j).
In your youtube video : https://www.youtube.com/watch?v=_NOVa4i7Us8 you use "Latest Schlumberger Planning Engine comman..." which look like to be the one that works.
Can you inform me about where I can find it please ? Or maybe add informations about how to get it on the main branch.
Thanks you

That is a pain point. I've published the interface the planners would need to implement in order to participate in the visual search debugger, but so far none of the planners implemented it to my knowledge.
https://github.com/jan-dolejsi/vscode-pddl/wiki/Search-tree-debugger-API
It may not be hard to do in pddl4j.

Thanks for your answer, i'll try to do it so !

I do have some code that could be handy for pddl4j (because it is in Java). I should find some time to put it into my fork of pddl4j and you could pull it from there. The bulk of the work is to manage the http communication and creating the json messages. Depending on which version of Java is pddl4j compiled with and whether it has dependencies on some packages that help with JSON serialization, the implementation of this connector is simple or tedious. I have implementation that does not need any extra dependencies and work with just plane Java8. Would be happy to donate through the fork.
Then someone more familiar with pddl4j would need to weave it into the search and heuristic.


Get-RubrikSQLInstance seems to ignore the local value for PrimaryClusterID

Current Behavior:
Provide information about the failure by issuing the command using the -Verbose command.
1.)Get-RubrikSQLInstance seems to ignore the local value for PrimaryClusterID
From what I have seen, running Get-RubrikSQLInstance to pull back all SQL Instances gets all instances including instances on a remote Rubrik Cluster. Using the local flag should exclude all instances from a remote rubrik cluster.
2.)Help text is incorrect in the value it should use for PrimaryClusterID. It states you should use _local, when the value should be local

Thanks for reporting this Chris, I'll take a look at reproducing this


Fix keyboard interrupt on x86-64

This should be fixed as of https://github.com/hermit-os/kernel/pull/1523.


feat(labels): update max labels

Most APIs are being updated to allow for 50 labels. The UI also needs to be updated to reflect this change, but the API support is there.
Preparing this PR so it can be merged when deemed appropriate by the product/docs teams
Description

Testing instructions
Preview link:
Checklist

[ ] Review label added
[ ] Conditional version tags added, if applicable.

@Mierenga Is this ready to review?

@Mierenga Is this ready to review?

The UI is not yet updated to allow 50, we should probably wait to update the docs until that is done. TDX-4122 is tracking the progress for API products.

The UI has been updated to accept 50 labels for API products and API product versions. Portals labels will be 50 upon release of multi-portal. Control Plane labels are still at 5 in the UI, but accept up to 50 in the API.

@Mierenga is this ready to review?


WhatsApp adds support for stickers

https://blog.whatsapp.com/10000653/Introducing-Stickers

That will have new mimetype "image/webp" and new message type:
OUTWARD_TYPES.STICKER || (e.mimetype = "image/webp")
MSG_TYPE: {
                NOTIFICATION: "notification",
                NOTIFICATION_TEMPLATE: "notification_template",
                GROUP_NOTIFICATION: "group_notification",
                GP2: "gp2",
                BROADCAST_NOTIFICATION: "broadcast_notification",
                E2E_NOTIFICATION: "e2e_notification",
                CALL_LOG: "call_log",
                PROTOCOL: "protocol",
                CHAT: "chat",
                LOCATION: "location",
                PAYMENT: "payment",
                VCARD: "vcard",
                CIPHERTEXT: "ciphertext",
                MULTI_VCARD: "multi_vcard",
                REVOKED: "revoked",
                IMAGE: "image",
                VIDEO: "video",
                AUDIO: "audio",
                PTT: "ptt",
                STICKER: "sticker",
                DOCUMENT: "document",
                UNKNOWN: "unknown"
            }

Hi,
Any idea how to send stickers to others users?
How to select and send the stickers?
Any example will be appreciate
Regards

https://github.com/WhatsApp/stickers

https://github.com/alfred82santa/whalesong/pull/30/files

hi marcelocecin,
Also I 'm follow this project but I've not found how to send an sticker,  only I found the new message's type.
I know that the image must be PNG 512x512 with transparent background and the image must  be converted to webp format (similar to telegram stickers)
Do you know if the webp image could be send using send media function?
Regards

Stickers must be either in PNG or the WebP format. Currently, animated WebP, animated PNG, or animated stickers of any kind are not supported. See the section Converting to WebP below for information on how to create WebP files.

https://github.com/alfred82santa/whalesong/pull/31/files

Buddy, I have no idea of what you mean with all those random links that only makes sense to you, are you just trying to advertise another repo?

hey @lfdelphino this repo already implemented the stickers class at whalesong/managers/message.py

After a long series of trial and errors, I've successfully been able to send a custom sticker from Whatsapp Web. The caveat is that you need to know some of the custom sticker's info (like clientUrl, filehash, etc). It's a huge hack and is not guaranteed to work in the future. (@marcelocecin 's repo helped a bit).
window.WAPI.sendSticker = function ({sticker, chatid, quotedMsgId}, done) {     var idUser = new window.Store.UserConstructor(chatid, { intentionallyUsePrivateConstructor: true });     // create new chat     return Store.Chat.find(idUser).then(async (chat) => {         //var mediaBlob = window.WAPI.base64ImageToFile(sticker.data, 'file.webp');         // Since Whatsapp Web doesn't really support sending custom stickers, we have to trick it by using one          // of the built-in sticker objects and changing some of the properties before we send it.         let prIdx = Store.StickerPack.pageWithIndex(0);         await Store.StickerPack.fetchAt(0);                 if (Store.StickerPack._models.length == 0) {             console.log('Could not fetch any sticker packs.');             if (done !== undefined) done(false);             return;         }         await Store.StickerPack._pageFetchPromises[prIdx];         await Store.StickerPack._models[0].stickers.fetch();         if (Store.StickerPack._models[0].stickers._models.length == 0) {             console.log('Could not fetch any stickers in the first pack.');             if (done !== undefined) done(false);             return;         }         let stick = Store.StickerPack._models[0].stickers._models[0];         stick.__x_clientUrl = sticker.url;         stick.__x_filehash = sticker.filehash;         stick.__x_uploadhash = sticker.uploadhash;         stick.__x_mediaKey = sticker.mediaKey;         //stick.__x__mediaObject.filehash = sticker.filehash;         //stick.__x__mediaObject.mediaBlob._blob = mediaBlob;         //stick.__x__mediaObject.size = mediaBlob.size;         await stick.initialize();         stick.sendToChat(chat);         if (done !== undefined) done(true);     }); }

Not sure why the formatting is screwing up there.  Here's my repo: https://github.com/gfaraj/super-bot

Not sure why the formatting is screwing up there.

Really? Can't believe you can code but not to diferentiate "quote" button and "code" button :-)
window.WAPI.sendSticker = function({
    sticker,
    chatid,
    quotedMsgId
}, done) {
    var idUser = new window.Store.UserConstructor(chatid, {
        intentionallyUsePrivateConstructor: true
    });
    // create new chat
    return Store.Chat.find(idUser).then(async (chat) => {
        //var mediaBlob = window.WAPI.base64ImageToFile(sticker.data, 'file.webp');
        // Since Whatsapp Web doesn't really support sending custom stickers, we have to trick it by using one
        // of the built-in sticker objects and changing some of the properties before we send it.
        let prIdx = Store.StickerPack.pageWithIndex(0);
        await Store.StickerPack.fetchAt(0);
        if (Store.StickerPack._models.length == 0) {
            console.log('Could not fetch any sticker packs.');
            if (done !== undefined) done(false);
            return;
        }
        await Store.StickerPack._pageFetchPromises[prIdx];
        await Store.StickerPack._models[0].stickers.fetch();
        if (Store.StickerPack._models[0].stickers._models.length == 0) {
            console.log('Could not fetch any stickers in the first pack.');
            if (done !== undefined) done(false);
            return;
        }
        let stick = Store.StickerPack._models[0].stickers._models[0];
        stick.__x_clientUrl = sticker.url;
        stick.__x_filehash = sticker.filehash;
        stick.__x_uploadhash = sticker.uploadhash;
        stick.__x_mediaKey = sticker.mediaKey;
        //stick.__x__mediaObject.filehash = sticker.filehash;
        //stick.__x__mediaObject.mediaBlob._blob = mediaBlob;
        //stick.__x__mediaObject.size = mediaBlob.size;
        await stick.initialize();
        stick.sendToChat(chat);
        if (done !== undefined) done(true);
    });
}

Not sure why the formatting is screwing up there.

Really? Can't believe you can code but not to diferentiate "quote" button and "code" button :-)
window.WAPI.sendSticker = function({
    sticker,
    chatid,
    quotedMsgId
}, done) {
    var idUser = new window.Store.UserConstructor(chatid, {
        intentionallyUsePrivateConstructor: true
    });
    // create new chat
    return Store.Chat.find(idUser).then(async (chat) => {
        //var mediaBlob = window.WAPI.base64ImageToFile(sticker.data, 'file.webp');
        // Since Whatsapp Web doesn't really support sending custom stickers, we have to trick it by using one
        // of the built-in sticker objects and changing some of the properties before we send it.
        let prIdx = Store.StickerPack.pageWithIndex(0);
        await Store.StickerPack.fetchAt(0);
        if (Store.StickerPack._models.length == 0) {
            console.log('Could not fetch any sticker packs.');
            if (done !== undefined) done(false);
            return;
        }
        await Store.StickerPack._pageFetchPromises[prIdx];
        await Store.StickerPack._models[0].stickers.fetch();
        if (Store.StickerPack._models[0].stickers._models.length == 0) {
            console.log('Could not fetch any stickers in the first pack.');
            if (done !== undefined) done(false);
            return;
        }
        let stick = Store.StickerPack._models[0].stickers._models[0];
        stick.__x_clientUrl = sticker.url;
        stick.__x_filehash = sticker.filehash;
        stick.__x_uploadhash = sticker.uploadhash;
        stick.__x_mediaKey = sticker.mediaKey;
        //stick.__x__mediaObject.filehash = sticker.filehash;
        //stick.__x__mediaObject.mediaBlob._blob = mediaBlob;
        //stick.__x__mediaObject.size = mediaBlob.size;
        await stick.initialize();
        stick.sendToChat(chat);
        if (done !== undefined) done(true);
    });
}


Direct Support For Localhost Loopback

Is your feature request related to a problem? Please describe
Our native windows apps supports connecting to local devices (high accuracy bluetooth GPS) via TCP/IP.  WSA is not able to connect localhost (Windows 11 hosting machine) unless you run a couple PowerShell commands to open the firewall.  It would be preferred to have the localhost loopback capability enabled by default - or perhaps with a settings UI toggle.
Describe the solution you'd like
Localhost (<IP_ADDRESS>) loopback setting enabled out of the box would allow our app running in WSA to talk to the hosting Window 11 machine via TCP/IP.
Describe alternatives you've considered
The following powershell commands enable loopback*:
Set-NetFirewallHyperVVMSetting -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -LoopbackEnabled True

New-NetFirewallHyperVRule -DisplayName LoopbackAllow -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -Direction Inbound -Action Allow -LocalPorts 443
*Notes:

min version of Windows 11 required HH2H
Powershell must be ran as administrator

Please specify the version of Windows Subsystem for Android
2211.40000.11.0

Just a note - the above is related to a workaround to for bluetooth support.  #103

Dear @jake-brown-maps. I'm also having trouble with this problem. Are the commands that you mentioned working without the need for any change? I mean, are these VMCreatorIds the same for every device? If not, can you please let me know how can I get it for myself?
Thank you for the information provided.

@matinmn87, did you try running powershell as administrator?  I did not change the VMCreatorId; you may need to change the port depending on what port you're wanting to open up.

Yes, I did. But for both commands, I'm getting errors:
New-NetFirewallHyperVRule: The term 'New-NetFirewallHyperVRule' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Set-NetFirewallHyperVVMSetting: The term 'Set-NetFirewallHyperVVMSetting' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Shall I cd a special directory?
Thanks for your help

Oh, I think this is the reason. Still, I haven't gotten the 22H2 update.

these commands not working for me, i'm using antivirus program norton 360, but wsa is "allowed" in norton 360 firewall settings

This is a different type of firewall than what norton would provide. We're still experimenting in this space, which is why we haven't enabled advanced networking by default yet.

found a workaround
suppose you are using adb, and want app to use localhost port 8080
after calling adb connect ip:port to wsa
call adb reverse tcp:8080 tcp:8080 afterwards
then app will be able to call localhost:8080
adb reverse expose a port on your Android device to a port on your computer.

Dear @agufagit! Thanks for your answer. It's working like a charm! Just another thing. Is it possible to make it listen to all ports? Because in my usage I can't know the exact port. Something like this: adb reverse tcp:* tcp:*

you can do multiple ports, but only 1 port at a time, etc. adb reverse tcp:80 tcp:80 adb reverse tcp:8080 tcp:8080 adb reverse --list
but port doesn't matter in development, you are just testing the service/server code that's running behind port

@timkur @agufagit
One of our users try to run

Set-NetFirewallHyperVVMSetting -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -LoopbackEnabled True

Then he/she run into an error. Any idea?
I have asked them to try the workaround following @agufagit comment too.

That workaround is mainly for developer for simple environment setup, but it doesn't work with docker.  Docker will give "address already in use" error, whereas if you start the server from command line, it works.  I ended up using Android studio emulator now.
I doubt that workaround will work in your case, unless the service you are trying to use doesn't throw "address already in use" error

@agufagit how can I tell this is a docket environment based on the error message? I am curious as I will need to know that and then I can help with other users.

not only docker, it's any service/server that checks if address is already in use before binding to that port.
There can't be any service/server listening to that port before calling adb reverse tcp:Port tcp:Port, or adb will throw an error
likewise, after calling adb reverse, adb is listening to that port, if you call any service/server   that does port binding pre-check such like docker to bind to that port, it will throw an error "Address already in use"
Only service/server that doesn't do a port binding pre-check will work

@timkur  - has the workaround approach to local loopback changed with build 2305.40000.2.0?

Hi there.
The screen shot shows "-PolicyStoreLoopbackEnabled' as one parameter. These are 2 different parameters: -PolicyStore, and -LoopbackEnabled. You'll need to specify them separately. (you don't need to set PolicyStore, you can just set -LoopbackEnabled).

Thanks @keith-horton - that was indeed the problem

Noticed that the advanced networking feature had been overhauled in 2306
Local networking (under Advanced settings - Experimental features) now replacing "Advanced networking". Android apps can connect to devices on the same network, on all versions of Windows, respect Windows firewall rules, and work with VPNs
Was there an update to local loopback settings?  It appears that the above workaround is still needed
cc @timkur @keith-horton

Yeah I see the new rules, I have a screen shot below
BTW - I'm trying to connect to a device streaming on port 20175

Yeah I see the new rules, I have a screen shot below
BTW - I'm trying to connect to a device streaming on (<IP_ADDRESS>)port 20175, but not able to

Are you referring to the adb workaround above? The NetFirewallHyperVRules should not have any effect in 2306.

This might be related:
w 2306 - Local network access does not seem to work for me - it gives me an IP on the local LAN, but the only device it can talk to is the network gateway router.  Fire TV Remote does not work.
With local network access turned off, it gives me an IP on a different subnet, but I can talk to devices on the local LAN if I directly connect to them via IP.  - Fire TV Remote works
Testing it out with various network scanners.

@nieubank

Are you referring to the adb workaround above? The NetFirewallHyperVRules should not have any effect in 2306.

yeah my guess was that was related, thanks for noting it should not be.
Any thoughts on why 2306 can't see device that's on port 20175?  Let me know if I can provide any more detail

@nieubank

Are you referring to the adb workaround above? The NetFirewallHyperVRules should not have any effect in 2306.

yeah my guess was that was related, thanks for noting it should not be.
Any thoughts on why 2306 can't see device that's on port 20175? Let me know if I can provide any more detail

How are you trying to connect? Note that ICMP has limited if any support in the current preview of this new iteration of the feature so if you're trying to ping that will not work at the moment.

@nieubank - just to clear up - we have not been using a adb workaround - we have been using the powershell commands provided by @timkur .
Set-NetFirewallHyperVVMSetting -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -LoopbackEnabled True

New-NetFirewallHyperVRule -DisplayName LoopbackAllow -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -Direction Inbound -Action Allow -LocalPorts 20175

As of 2306 these commands no longer allow our app running in WSA to connect to the local host - port 20175 (or any other port we define)

@nieubank - just to clear up - we have not been using an adb workaround - we have been using the powershell commands provided by @timkur .

Set-NetFirewallHyperVVMSetting -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -LoopbackEnabled True

New-NetFirewallHyperVRule -DisplayName LoopbackAllow -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -Direction Inbound -Action Allow -LocalPorts 20175

As of 2306 these commands no longer allow our app running in WSA to connect to the local host - port 20175 (or any other port we define)

We've done some investigation here and there is a gap in the new preview local host networking stack where connecting to a port on Windows fails. We're actively working on a solution and will keep you updated on its progress. The adb workaround may be the only option in the immediate term but that does require enabling developer mode.
Unfortunately, we can't make guarantees on these preview features, but we're actively pushing to get this feature rolled out more broadly and fix up these remaining gaps.

Issue looks to be resolved in preview version of 2308.40000.1.0
cc @timkur @nieubank  nice work!

Issue looks to be resolved in preview version of 2308.40000.1.0
cc @timkur @nieubank nice work!

Works for me without any problems.


n-tree can not select a node when setting "v-model"

TuSimple/naive-ui version (版本)
2.15.3
Vue version (Vue 版本)
3.1.4
Browser and its version (浏览器及其版本)
91.0.4472.124
System and its version (系统及其版本)
win10
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/zw5iz
Reappearance steps (重现步骤)
n-tree can not select a node when setting "v-model" in single select or multiple
Expected results (期望的结果)
select a node correctly
Actual results (实际的结果)
can not select
Remarks (补充说明)

You should use ref.


refactor: smoother impl of Mention on borrowed types

Refactors Mention to have an easier implementation on borrowed types, I didn't know how to write docs for it so if someone wants to let me know that would be great

Could you write a short blurb about the change, mentioning the purpose of the change and what it does?

In the PR description or elsewhere?

Sure, the PR description works.

Done, hopefully it's to standards 😄


Xulichi patch 1

@xulichi thanks! because your PR was conflicting I merged manually master to feature/container. Closing.


Skipping unknown message in SW

.. and writing warning to log.
the same behavior as in DBW.

Current coverage is 67.59% (diff: 66.66%)

Merging #194 into master will decrease coverage by <.01%

@@             master       #194   diff @@
==========================================
  Files            70         70
  Lines          4451       4456     +5
  Methods           0          0
  Messages          0          0
  Branches        531        531
==========================================
+ Hits           3009       3012     +3
- Misses         1308       1309     +1
- Partials        134        135     +1

Powered by Codecov. Last update 50a36ac...f07019a


CreateDistanceRequest in App

Please follow the plan in the design doc: CreateDistanceRequest in App

On HOLD, changing to a weekly while I wait.

On hold

Still holding

We are taking this off hold and decided it can be built in parallel, just not hooked up to anything for now. I'll take this over and write up a PR.

The PR is created and is now in review.

Payouts due:
Contributor+: $500 @allroundexperts (NewDot) internal review

Updated!

Thank you, Jason! I'm going to close this out.


size mismatch for bert.pooler.dense.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shapein current model is torch.Size([768]).

resolved


Ammonia Multifluid

https://doi.org/10.1016/j.fluid.2020.112496
https://doi.org/10.1016/j.fluid.2020.112749 (corrigendum)
Basically, a GERG2008-like model for fluids containing ammonia and related mixtures.

Interesting; seems like it should be quite quick to implement into Clapeyron?
It also covers a lot of funky species which is kinda neat!

Yes, this model is not too complicated to implement, similar to existing multi-parameter empirical EOS, aside from the new term. It is implemented in teqp and CoolProp

The EOS has been published: https://aip.scitation.org/doi/abs/10.1063/5.0128269
The SI includes implementation, and it is also already in teqp.


test_exception_aborts_write: the writer sometimes can get IOError/EPIPE

That is expected, so ignore that error.
See https://clusterhq.atlassian.net/browse/FLOC-2507

There are test failures in several builders:

vagrant/build/tutorial
acceptance/rackspace/centos-7/rackspace
acceptance/rackspace/ubuntu-14.04/rackspace
osx-10.10
functional/rackspace/centos-7/storage-driver

Merging master might fix some of them.
Please make sure tests are passing on all builders before landing.

@jml I've rebased the branch on top of the latest master, but there are still some failures. However, it seems that all of them are because of failures to clone from github.


Reduce multiple stops

When debugging audioipc ipctest example I noticed:
stream Started
stream Stopped
stream Stopped
stream Stopped

Moving the stop into Stream<F>::drop removes one of the stream stops (in conjunction with changing audioipc server to use the low-level cubeb_core::Stream)
@kinetiknz can you verify my assumptions in the comments of Stream<F>::drop (ie. verify that removing ManuallyDrop is OK, although I'm not to precious about removing it or leaving it in. The debug_assert_eq! is intended as a poor test if we mess up stream layout again)

This change is

The idea of cubeb-core is that it shouldn't be used directly; that it's
for implementing cubeb-api and cubeb-backend.
I'm happy to close this and not accept it for now.
On 18 April 2018 at 02:33, Matthew Gregan<EMAIL_ADDRESS>wrote:

@kinetiknz requested changes on this pull request.
I don't think this is the right approach. The aim of the previous changes
to Drop for these structs was to preserve safety at each level of the
abstraction. With these changes, a core::Stream is risky to use unless the
wrapper does the correct thing, etc.
I don't think reducing excess stream stops is a bad thing, but I'd rather
we do that by tracking the stream state and only stopping when necessary.
In cubeb-core/src/stream.rs
https://github.com/djg/cubeb-rs/pull/33#discussion_r182293379:

ffi_type_heap! {
type CType = ffi::cubeb_stream;

fn drop = wrapped_cubeb_stream_destroy;

fn drop = ffi::cubeb_stream_destroy;

This means it's (again) unsafe for a core::Stream to drop if it's running,
which seems like a bad thing.
In cubeb-api/src/stream.rs
https://github.com/djg/cubeb-rs/pull/33#discussion_r182293522:

     let user_ptr = self.user_ptr();

   unsafe { ManuallyDrop::drop(&mut self.0) };

This means we free StreamCallbacks before the cubeb_stream, which is
generally unsafe.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/djg/cubeb-rs/pull/33#pullrequestreview-113060009, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJhrT6TcDkLO7-tAhkgmDb0SC3VJ6vCks5tpqXfgaJpZM4TZT39
.

--
Dan Glastonbury, Dan dot Glastonbury at gmail dot com
`Pour encourjay lays ortras'


[tabs] Fix Tabs.Indicator and Tabs.Panel export for API gen

Tabs.Indicator produces tabs-tab-indicator.json instead of tabs-indicator.json
Search keywords:

Panel also doesn't work
Tabs.Panel produces tabs-tab-panel.json instead of tabs-panel.json

Do you mean renaming:

TabsTabInicator -> TabsIndicator
TabsTabPanel -> TabsPanel
?

I chose these names purely for readability. Tab sounds better than TabsTab, for example. It's a pretty unique situation as we don't have the plural form as a component name elsewhere. I'm ok with renaming them to whatever works, as these names won't be used by developers anyway.

@mnajdova whatever TabsTabInicator and TabsTabPanel is, it's not a part of the public API. The public API is Tabs.Indicator and Tabs.Panel and there seems to be some discrepancy between the internals and the public API, which results in this docs gen issue

Got ya, alright, it makes sense, I'll do the rename in https://github.com/mui/base-ui/pull/997


I don't know if the problem should be submitting requirements or bug

I want to link a Waterfall's lobby to another Waterfall But it failed
I don't know if this function is supported XD
waterfall：Waterfall-Bootstrap:1.12-SNAPSHOT:4adb1b4:181
forge：forge-1.12.2-<IP_ADDRESS>05-universal
sponge：spongeforge-1.12.2-2705-7.1.0-BETA-3328
Cosole ERROR Log：https://gist.github.com/OldKingisdie/4b30c14fbb6e5c9af6cac96ef744e96f
waterfall config a ：https://gist.github.com/OldKingisdie/6a61810676d07d079d74398c52724436
waterfall config b：https://gist.github.com/OldKingisdie/950f53a5d7e7571d1e01eaeb3ff88c72

Not supported.


Move documentation to a hugo site

We are building gh-pages via github workflows since it makes things
easier than doing this from tekton. (we need a catalog task that
replicate the actions for that)
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>
Changes

Submitter Checklist

[ ] ♽  Run make test lint before submitting a PR (ie: via pre-push github hook no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please make sure to document it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please make sure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then make sure to get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it.

See the developer guide for a bit more details.

let there be the dragons!
will be merging this myself since there is quite  a bit of setup involved,


chore(deps): update helm release kube-prometheus-stack to v44

This PR contains the following updates:

Package
Update
Change

kube-prometheus-stack (source)
major
40.5.0 -> 44.2.1

Release Notes

prometheus-community/helm-charts
v44.2.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v44.2.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v44.1.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v44.0.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.3.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.3.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.2.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.2.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.1.4
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.1.3
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.1.2
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.1.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.1.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v43.0.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.3.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.2.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.2.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.1.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.1.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.0.3
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.0.2
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.0.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v42.0.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.9.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.9.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.8.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.7.4
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.7.3
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.7.2
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.7.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.7.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.6.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.6.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.5.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.5.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.4.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.4.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.3.2
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.3.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.3.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.2.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.1.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.0.1
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
v41.0.0
Compare Source
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Availability in Apple App Store Russia and China

Avoid duplicates

[x] This enhancement request has not already been raised before
[x] Enhancement request is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in CWA-Wishlist
[ ] If you are proposing a new feature, please do so in CWA-Wishlist

Current Implementation
Currently the CWA is not available in the Apple App Store Russia and China
Suggested Enhancement
Make CWA available in the Apple App Store Russia and China
Expected Benefits
As more and more German states do not prolong their contract with LUCA App, there is no other App for foreign researchers and students to store their vaccination QR code on their Apple device. Therefore it would be beneficial if the CWA would be available in additional countries, e.g. Russia and China.

Requests to publish the app in new regions should be made in the https://github.com/corona-warn-app/cwa-wishlist repository. It even has a designated issue template for this: https://github.com/corona-warn-app/cwa-wishlist/issues/new?assignees=&labels=country&template=03_additional_country.md


Added EH,GG,YT,IM,JE countries dial code

Hi @fishman1986 thank you so much for re-doing this pull request. Currently the tests are failing because you need to run grunt js to re-build the JavaScript after changing data.js. Are you setup to do this? Instructions in the Contributing section of the readme.

I manually merged it in: https://github.com/Bluefieldscom/intl-tel-input/commit/228f726b6ac54c89726da9b1a413078685b73c5c
Thanks for your help!

If you have time, I have added a small list of other countries I think we should add too! https://github.com/Bluefieldscom/intl-tel-input/issues/297


Fix position calculations of String.startsWith

Fixes two bugs in the index calculations that affect the result of the String.startsWith function:

Fixes the implementation of ECMA-262 v6, <IP_ADDRESS>, step 14: "If searchLength+start is greater than len, return false".
Fixes the return value of the helper function ecma_builtin_helper_string_find_index. If it is called with a starting search position, the returned index should be not less than that.

These changes fix the following test cases in the test262 suite:

built-ins/String/prototype/startsWith/return-true-if-searchstring-is-empty.js
built-ins/String/prototype/startsWith/searchstring-found-with-position.js

JerryScript-DCO-1.0-Signed-off-by: Mátyás Mustoha<EMAIL_ADDRESS>

Ok, updated the patch with some test cases that fail on the current master but fixed by this PR.


Roll engine 498bbd5ef9c1..00e4abff84a6 (2 commits)

https://github.com/flutter/engine/compare/498bbd5ef9c1...00e4abff84a6
git log 498bbd5ef9c1..00e4abff84a6 --no-merges --oneline
00e4abff8 Roll src/third_party/skia 44764000b49c..7d2aae3165a2 (1 commits) (flutter/engine#6861)
2c6be93fa Clean up stale cache entries in Skia's GrContext (flutter/engine#6859)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Auto-roller completed checks. About to merge.


Check / Update smart contracts for the security update

https://forum.onflow.org/t/breaking-changes-coming-with-secure-cadence-release/3052

(branch secure-cadence-upgrade)
fix cadence-analyzer tools
check if _libs contracts are the same (contracts + addresses) and update the locally
check all txs and scripts
check dapper whitelisted transactions


Separate functionality for new tab button vs ctrl+t or right click + new tab

It would be awesome to have the new tab button in the tab bar behave normally, while all other New Tab options open next to the current tab. That would allow the option of expanding a pile of new tabs at the end of the line if desired.
New Issue Checklist (tick off like this: [x])

[ ] I checked existing issues (open and closed) for possible duplicates
[ ] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

[x ] Firefox
[ ] Chrome

What is your operating system?

[ ] Linux
[ ] Mac
[ ] Windows

Description (please include examples/screenshots where applicable)

It's not possible.


Update documentation for using MSI

Need to add conceptual code snippets for MSI support to docs.
https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-token
https://docs.microsoft.com/azure/cloud-shell/msi-authorization
https://docs.microsoft.com/azure/azure-arc/servers/managed-identity-authentication

The docs above do not have code samples from language SDKs.
They send a HTTP request and parse JSON from a response.
If there are docs.microsoft.com that use Azure SDK in their samples, with multiple tabs for Java, C#, and so on, C++ should be there as well. I extracted that purpose to #2706.


fix: Default value for number winners

Summary
On Boost, the number of winners should default to 1
How to test

Go to boost creation page
You should see the number of winners as 1
Try switching between lottery and proportion

Initially when going to the boost creation page I see default number of winners being 1. But when switching to "Proportional" and back to "Lottery" it defaults to 5.


add Travis CI

please remember to enable the repo. also using greenkeeper would be nice then.

sorry, totally missed that you already added a .travis.yml, my bad. adding the latest node versions would be nice though. also sudo: false helps them because the test environment will be more lightweight containers instead of vms.


docs: this is different from python script, the readme doc should be a mistake.

 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.

Please sign the CLA.

I’ve signed the CLA.

Thanks ... I would be happy to mere it.


Request bundle size from BundlePhobia

The horrible formatting is needed to remove extra space before the comma

Don't forget about the homepage too, we also show the file size there

Also maybe we should do this at build time? Makes more sense to me, since this is a static value

Oh, so the "Please help me" text was actually for me to fill? I thought it was for the user to click.
I also thought about having it at build time, but then I realized that the docs are built simultaneously as package is being published to npm (and will probably be done before it). And even if we can guarantee publishing to npm before building the docs, who knows how long it takes for bundlephobia to update its database?


Department menu translations on desktop client

Does anyone know is it possible to translate menu in Business Central, automatically created when extension is published, if you have pages with usage category property define?
This name is actually extension name, defined in app.json file, and I thought maybe to add somehow to .xlf translation file.

I believe this is one of the areas not opened for translations, just like #4105

I think that issue is fixed. At least we were able to add or update tenant profiles with Icelandic captions, from .xlf file.

@tomasevicstefan how did you accomplish getting it to show local captions?

This GitHub repository is dedicated to handling issues and feedback for the latest Developer Preview releases of the AL development tools for Dynamics 365 Business Central.
If you can reproduce the problem on the latest Business Central Developer preview version we will be happy to look further into it. Otherwise please contact the regular support channel.


Address recent, non-data file false positives

This PR addresses many of the recent false positives for non-data files; however, there are likely a few more false positives to fix.
Two of the main improvements are the probably_js rule changes (which was alerting on files that were definitely not JavaScript) and turning off the SECUINFRA_SUSP_Powershell_Base64_Decode third-party rule which explicitly states that it can result in many false positives.

Two of the main improvements are the probably_js rule changes (which was alerting on files that were definitely not JavaScript)

I didn't notice any improvements here in the tests; any chance you have a sample you can add that validates that we've improved it?
Once #696 is fixed we can get rid of the probably_js rule.

Removing the extra additions and fullword removed a false positive. I was noticing non-JS files (not captured in the tests) matching so I wanted to tighten that up a bit.


Update artifactId 、groupId and version

For azure-spring-boot track 2
update artifact id, group id
and version for spring boot module

You'll need to update version_client.txt in eng/versioning to match the library name and version changes.

All right，done.

From: Alan Zimmer<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 1:02
To: Azure/azure-sdk-for-java<EMAIL_ADDRESS>Cc: Jack Wu (CSI Interfusion Inc<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Azure/azure-sdk-for-java] Update artifactId 、groupId and version (#15035)
You'll need to update version_client.txt in eng/versioning to match the library name and version changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-java%2Fpull%2F15035%23issuecomment-690517801&data=02|01|v-wujack%40Microsoft.com|6acbd8f0317a4f31d58d08d855ab5c35|72f988bf86f141af91ab2d7cd011db47|1|0|637353542381559817&sdata=3j9%2BO8jyt47HqOiVOb47r9caLeHw46W5Wg55dbF%2BhLM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQSGX36MEVKBNY6YVH66PDTSFEBD5ANCNFSM4REUWPZA&data=02|01|v-wujack%40Microsoft.com|6acbd8f0317a4f31d58d08d855ab5c35|72f988bf86f141af91ab2d7cd011db47|1|0|637353542381559817&sdata=hMiFRY%2BXOHdUb16C%2BLtWWZLZkuYBk7qMaRfWG8PXk%2Fw%3D&reserved=0.

i will open a new pr for this.


Add pa11y testing and reporting

Hi folks!
This is an 80% solution to the up-front work of integration pa11y-ci as proposed in #292. I can split this up, if needed, but kinda felt like getting it working end-to-end (up to CI reporting) was important for demonstrating value. Note that it shouldn't fail right now, as I've whitelisted all the known error codes... that's where the 20% comes in, and each of them will likely require a design decision.

dependencies

[x] adds sphinx-sitemap to docs/requirements.txt
[x] adds pa11y-ci and pa11y-ci-reporter-html to package.json
[x] add .yarnrc to do a local, offline package cache

the pa11y stack brings in a fair number of new dependencies, this helps reduce the impact

docs/conf.py

[x] use sphinx-sitemap (naievly) to generate a (simple) sitemap.xml

this is skipped on RTD, as they generate a better one with timestamps, etc.

docs/a11y.py

[x] runs pa11y-ci and the report generator
[x] reads docs/a11y-roadmap.txt

the built-in stuff just hides the reports for codes... we want to see them, so we can fix them, but not fail builds while in-progress

workflows/tests.yml

[x] adds python 3.9, and uses it for most tasks
[x] adds pip/yarn caching
[x] adds pip check so we don't get "fun" surprises, especially with the new pip solver
[x] normalize the ports for the tornado server
[x] call docs/a11y.py
[x] upload report

docs/*.rst

[x] add metadata which ends up in the meta tags on the built HTML to maintain lighthouse score

docs/accessibility.rst

[x] adds some of this stuff (definitely the most WIP)

docs/contributing.rst

[x] update with how to run locally, etc.

I realized ignoring all of the a11y roadmap items doesn't make for good review, have commented out one to show some :x: . Also, haven't run down the lighthouse issue, but it probably good to show that both audits run, even if one fails.
The audit step was already the long pole in CI at ~3min... we could split them up, but it would be even more duplication, etc.

Ok, I'm pretty happy with my self-review of the docs, and the output that shows up in both the log and the annotations. Probably no further work planned on this, gonna bop over to #293...

Just updated this to master...

I'll also go ahead and un-comment the demonstration rule in the roadmap, so that the audits start passing.

Alright, back to :green_heart:... hardly seems like i could let some of the scores slide on this particular PR!

Great - this looks really nice @bollwyvl, thanks :-)  I'll await @jorisvandenbossche's (and maybe @hoetmaaiers if he's interested) thoughts since it's a big-ish change to the CI/CD and we should get some team buy-in

Is there something still blocking this PR? I'd love to see this merged since so many projects use this theme to produce documentation and this could be a great way to start bringing accessibility into more communities.

Mostly I think it is waiting a 👍 from others in the team (maybe in particular @jorisvandenbossche ) since it is a big ish change to the codebase

I can't comment on the changes since I don't know much about CI, but NumPy would certainly appreciate this!


atuin requires postgresql 14

Describe the bug
The atuin module currently fails to start as it uses the default postgresql version - 11 - while atuin requires 14.
Related upstream issue: https://github.com/ellie/atuin/issues/1031
Steps To Reproduce
Steps to reproduce the behavior:

enable the atuin server

Expected behavior
Atuin should start
Additional context
The logs for where my instance chokes:
[609897.412467] postgres[272]: [272] ERROR:  syntax error at or near "trigger" at character 766
[609897.412561] postgres[272]: [272] STATEMENT:  -- We do not need to run the trigger on deletes, as the only time we are deleting history is when the user
[609897.412630] postgres[272]:  -- has already been deleted
[609897.412666] postgres[272]:  -- This actually slows down deleting all the history a good bit!
[609897.412702] postgres[272]:
[609897.412940] postgres[272]:  create or replace function user_history_count()
[609897.412981] postgres[272]:  returns trigger as
[609897.413023] postgres[272]:  $func$
[609897.413056] postgres[272]:  begin
[609897.413087] postgres[272]:          if (TG_OP='INSERT') then
[609897.413146] postgres[272]:                  update total_history_count_user set total = total + 1 where user_id = new.user_id;
[609897.413183] postgres[272]:
[609897.413212] postgres[272]:                  if not found then
[609897.413248] postgres[272]:                          insert into total_history_count_user(user_id, total)
[609897.413287] postgres[272]:                          values (
[609897.413325] postgres[272]:                                  new.user_id,
[609897.413362] postgres[272]:                                  (select count(1) from history where user_id = new.user_id)
[609897.413401] postgres[272]:                          );
[609897.413437] postgres[272]:                  end if;
[609897.413472] postgres[272]:          end if;
[609897.413508] postgres[272]:
[609897.413537] postgres[272]:          return NEW; -- this is actually ignored for an after trigger, but oh well
[609897.413570] postgres[272]:  end;
[609897.413602] postgres[272]:  $func$
[609897.413635] postgres[272]:  language plpgsql volatile -- pldfplplpflh
[609897.413667] postgres[272]:  cost 100; -- default value
[609897.413699] postgres[272]:
[609897.413811] postgres[272]:  create or replace trigger tg_user_history_count
[609897.413851] postgres[272]:          after insert on history
[609897.413884] postgres[272]:          for each row
[609897.413918] postgres[272]:          execute procedure user_history_count();
[609897.413954] postgres[272]:
[609897.414736] postgres[272]: [272] LOG:  could not send data to client: Broken pipe
[609897.415643] atuin[267]: Error: failed to connect to db: postgresql:///atuin
[609897.415916] atuin[267]: Caused by:
[609897.415962] atuin[267]:    0: while executing migrations: error returned from database: syntax error at or near "trigger"
[609897.415994] atuin[267]:    1: while executing migrations: error returned from database: syntax error at or near "trigger"
[609897.416065] atuin[267]:    2: error returned from database: syntax error at or near "trigger"
[609897.416390] atuin[267]:    3: syntax error at or near "trigger"
[609897.416436] atuin[267]: Location:
[609897.416484] atuin[267]:     /build/source/atuin-server/src/lib.rs:25:10
[609897.418149] postgres[272]: [272] FATAL:  connection to client lost
[609897.421973] systemd[1]: atuin.service: Main process exited, code=exited, status=1/FAILURE
[609897.422110] systemd[1]: atuin.service: Failed with result 'exit-code'.

Notify maintainers
@0x4A6F @devusb

Metadata
 - system: `"aarch64-linux"`
 - host os: `Linux 6.1.37, NixOS, 23.05 (Stoat), 23.05.20230704.62fed67`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.15.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@lunik1 I use the module as
  services.atuin = {
    enable = true;
    host = "<IP_ADDRESS>";
    openRegistration = false;
  };

on unstable, which results in PostgreSQL 14 being used with no other manipulations. I also have no other postgres options declared other than the ones added by the atuin module. I verified the Postgres version being used is 14 by
[root@atuin:~]# systemctl status postgresql
● postgresql.service - PostgreSQL Server
     Loaded: loaded (/etc/systemd/system/postgresql.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-06-17 12:07:15 CDT; 4 weeks 1 day ago
    Process: 280263 ExecStartPre=/nix/store/f54zrvc9cyhvbp4cpr9f6q3yjxl34c29-unit-script-postgresql-pre-start/bin/postgresql-pre-start (code=exited, status=0/SUCCESS)
    Process: 280305 ExecStartPost=/nix/store/n8mpgy1q88y0xhankbc44rzc62ih4j42-unit-script-postgresql-post-start/bin/postgresql-post-start (code=exited, status=0/SUCCESS)
   Main PID: 280267 (postgres)
         IO: 0B read, 0B written
      Tasks: 9 (limit: 38405)
     Memory: 29.1M
        CPU: 10min 21.494s
     CGroup: /system.slice/postgresql.service
             ├─280267 /nix/store/v2wcahxwihjikrz0yh2l8znz1arfzi87-postgresql-14.8/bin/postgres
             ├─280299 "postgres: checkpointer "
             ├─280300 "postgres: background writer "
             ├─280301 "postgres: walwriter "
             ├─280302 "postgres: autovacuum launcher "
             ├─280303 "postgres: stats collector "
             ├─280304 "postgres: logical replication launcher "
             ├─378772 "postgres: atuin atuin [local] idle"
             └─378773 "postgres: atuin atuin [local] idle"

It seems like 23.05 should default to 14 as well though -- if you actually ended up with 11, possible it's being influenced by some other option?

Ah it might be my stateVersion.


Error 500 when using Wiremock response templates

Hi
I'm using the latest of Quarkus and Wiremock Dev service and like to use response templates in Wiremock.
According to the documentation in Quarkiverse the feature is disabled but when I enable it I still get errors from Wiremock.
I don't really know what to do or what I'm doing wrong but my other mappings is working (not templates).
Here is the mappings json:
{
  "request": {
    "method": "GET",
    "url": "/your-endpoint"
  },
  "response": {
    "status": 200,
    "body": "{{#if (randomBoolean)}}Hello{{else}}Goodbye{{/if}}",
    "transformers": ["response-template"]
  }
}

I get an Error 500 back from Wiremock:
<title>Error 500 wiremock.com.google.common.util.concurrent.UncheckedExecutionException: wiremock.com.github.jknack.handlebars.HandlebarsException: inline@5613d36d:1:7: could not find helper: 'randomBoolean'
{{#if (randomBoolean)}}[
       ^
</title>
</head>
<body><h2>HTTP ERROR 500 wiremock.com.google.common.util.concurrent.UncheckedExecutionException: wiremock.com.github.jknack.handlebars.HandlebarsException: inline@5613d36d:1:7: could not find helper: 'randomBoolean'
{{#if (randomBoolean)}}[
       ^
</h2>

In my yaml file I have set the properties:
quarkus:
    wiremock:
      devservices:
        global-response-templating: true
        extension-scanning-enabled: true

Any clues?
Thx
M

cloud only


list index out of range in search_tweet

tweets = client.search_tweet('#elonmusk', 'Latest')
File "x\twikit\client.py", line 469, in search_tweet
instructions = find_dict(response, 'instructions')[0]
IndexError: list index out of range
i got error but i don't now why?

The cause is under investigation currently.

It seems that your account has been temporarily locked by Twitter, so you'll need to unlock it.
You may start the authentication process by accessing https://twitter.com/ and logging into your account.


Decrease visibility of classes in Jimple EvoSuite package

Classes that do not implement the interface should not be public. Therefore, these have been made internal. Their functions have also been made internal, and some have been made private.
The ValueIsNotLocalException has been made internal as this should also not be part of the interface, it is only thrown.

Codecov Report

Merging #184 into master will increase coverage by 0.16%.
The diff coverage is 80%.

@@             Coverage Diff              @@
##             master     #184      +/-   ##
============================================
+ Coverage     82.26%   82.42%   +0.16%
- Complexity      316      353      +37
============================================
  Files            39       41       +2
  Lines           733      774      +41
  Branches        153      163      +10
============================================
+ Hits            603      638      +35
- Misses           59       60       +1
- Partials         71       76       +5

Impacted Files
Coverage Δ
Complexity Δ

...peline/testgenerator/jimpleevosuite/ClassWriter.kt
100% <100%> (ø)
4 <1> (ø)
:arrow_down:

...tgenerator/jimpleevosuite/EvosuiteTestGenerator.kt
79.31% <100%> (ø)
0 <0> (ø)
:arrow_down:

...ine/testgenerator/jimpleevosuite/ClassGenerator.kt
89.13% <50%> (ø)
25 <1> (ø)
:arrow_down:

...n/src/main/kotlin/org/cafejojo/schaapi/Pipeline.kt
100% <0%> (ø)
4% <0%> (+1%)
:arrow_up:

...i/pipeline/patterndetector/spam/PatternDetector.kt
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...line/patterndetector/prefixspan/PatternDetector.kt
100% <0%> (ø)
3% <0%> (ø)
:arrow_down:

...tterndetector/prefixspan/FrequentSequenceFinder.kt
90% <0%> (ø)
23% <0%> (?)

...ine/patterndetector/spam/FrequentSequenceFinder.kt
83.33% <0%> (ø)
13% <0%> (?)

Continue to review full report at Codecov.

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

@FWDekker Yes but they are used in the tests, so they need be public.


Removed CSS?

In react-placeholder 3, you've obviously removed the css file from the npm package. Is it not needed anymore? If so, wouldn't it make sense to update the docs as well?

Yeah - I also experienced that.

I released 3.0.1 with the fix


useFormik initialValues pass object props

❓Question
I build a simple project  to explain my problem
here  the full code
https://codesandbox.io/s/check-it-4d2g1?file=/src/App.tsx:585-598
I want to pass initialValues from App component to Step1 component and after that show the firstName in Step2 component
here my initialValues in useFormik hooks
  const formik = useFormik({     initialValues: {       firstName: "",       lastName: ""     }   });
This is step 1
here the user fill the firstName input

here the firstName field

This is step 2

So how can I displat firstName at Step2 ?
How I try is the right way?
I know there is 3 way for that
1.Passing a component to the component prop of Formik
2.Using the render method and passing your forms markup in JSX
3.Wrap your form with Formik and add your form as JSX
What is the fit way can you fill my codesandbox example according this way...?
https://codesandbox.io/s/check-it-4d2g1?file=/src/App.tsx:585-598

I don't get your three options and I think you could've found a solution to that on your own - e.g. by having a look at the examples folder on github MultistepWizard.
But I had a good laugh about your "I want it will show here" illustration - so here you go:
https://codesandbox.io/s/check-it-forked-mp3ux
You only need one Formik instance at the top. Every single field is connected via Formik's React.Context. For further detail on spreading individual fields on multiple steps study the linked example
cheers


An error in a mariadb docker-entrypoint-initdb.d script does not throw an error or fail the init

A buggy migration for the lagoon api-db caused initialization of the database to end up in a bad state and fail the tests. It took a lot longer to figure out the error was a migration because the initialization didn't error out, it just caused a reboot (and at that point the data dir exists so it doesn't run migrations a second time).
I expect that a if a SQL statement fails, the mariadb init should also fail.

Would this also be fixed by using proper migrations and versioning of the DB schema as per https://github.com/uselagoon/lagoon/issues/2995 ?

Yes, this won't be a problem for the api-db in the long term, but that still leaves the underlying issue there to ruin the day for other users of this feature.


Can you host your package on pkg.go.dev?

I spent past few days implementing these functionalities. It is unfortunate that I couldn't find this repository sooner.  If possible you should integrate this into the go-iap package.  https://pkg.go.dev/github.com/awa/go-iap/

I will try to add it to https://pkg.go.dev/github.com/awa/go-iap/, however, it seems there is one same PR https://github.com/awa/go-iap/issues/144

The new PR https://github.com/awa/go-iap/pull/170 is done

@piyushdivyankar1994 , my package could be found here https://pkg.go.dev/github.com/richzw/appstore#section-readme. I will add more docs later.

Let me know if I can help.


Bug on serial_append_time.py, does not output a csv a "binary file" with non-utf8 encoded characters

Describe the bug
Running this doesn't work. This is for active_sta by the way. I see that the last update was meant to fix this issue, but it didn't fix the issue.
idf.py monitor -p /dev/ttyUSB1 | python ../python_utils/serial_append_time.py > my-experiment-file.csv
Above line results to a csv file being a binary file, with the non-utf8 encoded characters also printed along with the whole serial output.
Below is an example msg. It does output CSI data to the csv turned binary file. Thought to ask you if you have any ideas for this! I feel like it may be Python version related? Not sure. I have Python 3.9.12 running.
$ idf.py monitor -p /dev/ttyUSB1 | python ../python_utils/serial_append_time.py > my-experiment-file.csv
/data/Espressif/esp-idf-v4.3.4/tools/idf_monitor.py:518: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if StrictVersion(serial.VERSION) < StrictVersion('3.3.0'):
--- idf_monitor on /dev/ttyUSB1 1552000 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
0x4008135c: call_start_cpu1 at /data/Espressif/esp-idf-v4.3.4/components/esp_system/port/cpu_start.c:150

0x4008135c: call_start_cpu1 at /data/Espressif/esp-idf-v4.3.4/components/esp_system/port/cpu_start.c:150

Tool Settings

Baud Rate: 1552000
WiFi Channel per Device: 6
FreeRTOS > Tick rate (Hz): 1000

To Reproduce
Steps to reproduce the behavior:
Flashed active_sta. It works properly with the serial monitor.
idf.py monitor -p /dev/ttyUSB1 | python ../python_utils/serial_append_time.py > my-experiment-file.csv
Results to the log being piped into the file, with the log being just the entire output +
It's just that I can't seem to get the append time tool working properly, so thought to ask.
Desktop (please complete the following information):

OS: Ubuntu
ESP-IDF Version: v4.4.3
ESP32-CSI-Tool Git Hash: 28085b9282be446e26e60b0a34c823e927a53f8f (not sure if this is correct, but it's the latest one https://github.com/StevenMHernandez/ESP32-CSI-Tool/commit/28085b9282be446e26e60b0a34c823e927a53f8f )

Additional context
None

Thank you for noticing this new bug. I have updated the codebase (https://github.com/StevenMHernandez/ESP32-CSI-Tool/commit/478944f50af3c1f4a8e5c1e0c8ae3abc26679dee) to fix the issue.
Please let me know if this works for you.

It now works thank you!


Make release please. Current 2.8.1 version contains bugs. But have fixes in master

Versions:

ide-helper Version: 2.8.1
Laravel Version: 7.25.0

https://github.com/barryvdh/laravel-ide-helper/pull/1059

Yeah, that would be nice indeed 👍 @barryvdh

Done

\o/


TNO-2786: Advanced Search including columnist name

Added columnist name to search in query to elasticsearch when the name is checked.

Story: https://apps.itsm.gov.bc.ca/jira/browse/TNO-2786

Implemented different logic. This implementation included columnist name in the search terms, but this was getting undesired content.


[dxvk] Remove unnecessary Parameter

Obsoleted in 79a1703aea52d7b48558d391ad81b7fbb872086b

That's being awfully picky (this parameter was used until i removed the log messages), but whatever.

Code gotta be so clean you can see your reflection in it ;)