[KED-2027] Missing dependancies in spaceflights tutorial

Description
The following python libraries required by the kedro spaceflights tutorial are missing from requirements.txt:

pandas
xlrd

Context
Cannot run the completed spaceflights tutorial without manually installing the above two libraries from pip.
Steps to Reproduce

Create a fresh conda environment (python 3.7.7): conda create --name=argo python=3.7 -y
Install kedro: pip install kedro
cd into kedro-tutorial
Run kedro install
Run kedro run

Expected Result
I expect the pipeline to run and complete succesfully.
Actual Result

Get the following traceback:

$ kedro run
/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/context/__init__.py:46: DeprecationWarning: All the modules in `kedro.context` have been moved to `kedro.framework.context`, and `kedro.context` will be removed in Kedro 0.17.0. Please update import paths from `kedro.context` to `kedro.framework.context` in your Kedro project.
  DeprecationWarning,
Traceback (most recent call last):
  File "/usr/local/anaconda3/envs/argo/bin/kedro", line 8, in <module>
    sys.exit(main())
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/framework/cli/cli.py", line 725, in main
    cli_collection()
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/kedro_cli.py", line 221, in run
    context = load_context(Path.cwd(), env=env, extra_params=params)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/framework/context/context.py", line 886, in load_context
    context_class = load_obj(context_path)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/utils.py", line 53, in load_obj
    module_obj = importlib.import_module(obj_path)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/src/kedro_tutorial/run.py", line 36, in <module>
    from kedro_tutorial.pipeline import create_pipelines
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/src/kedro_tutorial/pipeline.py", line 32, in <module>
    from .pipelines.data_science import pipeline as ds
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/src/kedro_tutorial/pipelines/data_science/pipeline.py", line 30, in <module>
    from .nodes import evaluate_model, split_data, train_model
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/src/kedro_tutorial/pipelines/data_science/nodes.py", line 33, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'

After doing a pip install pandas and re-running kedro run I get the following:

$ kedro run
/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/context/__init__.py:46: DeprecationWarning: All the modules in `kedro.context` have been moved to `kedro.framework.context`, and `kedro.context` will be removed in Kedro 0.17.0. Please update import paths from `kedro.context` to `kedro.framework.context` in your Kedro project.
  DeprecationWarning,
/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/_pytest/mark/structures.py:443: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
  @attr.s(cmp=False, hash=False)
2020-08-27 02:29:46,336 - root - INFO - ** Kedro project kedro-tutorial
/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/fsspec/implementations/local.py:33: FutureWarning: The default value of auto_mkdir=True has been deprecated and will be changed to auto_mkdir=False by default in a future release.
  FutureWarning,
2020-08-27 02:29:46,474 - kedro.io.data_catalog - INFO - Loading data from `companies` (CSVDataSet)...
2020-08-27 02:29:46,533 - kedro.pipeline.node - INFO - Running node: preprocessing_companies: preprocess_companies([companies]) -> [preprocessed_companies]
2020-08-27 02:29:46,584 - kedro_tutorial.pipelines.data_engineering.nodes - INFO - Running 'preprocess_companies' took 0.05 seconds
2020-08-27 02:29:46,584 - kedro_tutorial.pipelines.data_engineering.nodes - INFO - Running 'preprocess_companies' took 0.05 seconds
2020-08-27 02:29:46,585 - kedro.io.data_catalog - INFO - Saving data to `preprocessed_companies` (CSVDataSet)...
2020-08-27 02:29:46,864 - kedro.runner.sequential_runner - INFO - Completed 1 out of 6 tasks
2020-08-27 02:29:46,864 - kedro.io.data_catalog - INFO - Loading data from `shuttles` (ExcelLocalDataSet)...
2020-08-27 02:29:46,866 - kedro.runner.sequential_runner - WARNING - There are 5 nodes that have not run.
You can resume the pipeline run by adding the following argument to your previous command:
  --from-nodes "preprocessing_shuttles,create_master_table([preprocessed_companies,preprocessed_shuttles,reviews]) -> [master_table],split_data([master_table,parameters]) -> [X_test,X_train,y_test,y_train]"
Traceback (most recent call last):
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/io/core.py", line 213, in load
    return self._load()
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/src/kedro_tutorial/io/xls_local.py", line 87, in _load
    return pd.read_excel(self._filepath, **self._load_args)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/pandas/util/_decorators.py", line 296, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 304, in read_excel
    io = ExcelFile(io, engine=engine)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 867, in __init__
    self._reader = self._engines[engine](self._io)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/pandas/io/excel/_xlrd.py", line 21, in __init__
    import_optional_dependency("xlrd", extra=err_msg)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/pandas/compat/_optional.py", line 93, in import_optional_dependency
    raise ImportError(msg) from None
ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/anaconda3/envs/argo/bin/kedro", line 8, in <module>
    sys.exit(main())
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/framework/cli/cli.py", line 725, in main
    cli_collection()
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/kedro_cli.py", line 230, in run
    pipeline_name=pipeline,
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/framework/context/context.py", line 737, in run
    raise error
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/framework/context/context.py", line 729, in run
    run_result = runner.run(filtered_pipeline, catalog, run_id)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/runner/runner.py", line 101, in run
    self._run(pipeline, catalog, run_id)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/runner/sequential_runner.py", line 90, in _run
    run_node(node, catalog, self._is_async, run_id)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/runner/runner.py", line 213, in run_node
    node = _run_node_sequential(node, catalog, run_id)
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/runner/runner.py", line 221, in _run_node_sequential
    inputs = {name: catalog.load(name) for name in node.inputs}
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/runner/runner.py", line 221, in <dictcomp>
    inputs = {name: catalog.load(name) for name in node.inputs}
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/io/data_catalog.py", line 393, in load
    result = func()
  File "/usr/local/anaconda3/envs/argo/lib/python3.7/site-packages/kedro/io/core.py", line 222, in load
    raise DataSetError(message) from exc
kedro.io.core.DataSetError: Failed while loading data from data set ExcelLocalDataSet(engine=xlsxwriter, filepath=/Users/nasef_khan/dev/kedro-examples/kedro-tutorial/data/01_raw/shuttles.xlsx, load_args={'engine': xlrd}, save_args={}).
Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.

After installing xlrd throough pip, the pipeline runs cleanly without error.

Your Environment
Include as many relevant details about the environment you experienced the bug in:

Kedro-Example: Latest spaceflights tutorial
Kedro version used (pip show kedro or kedro -V):

$ pip show kedro
Name: kedro
Version: 0.16.4
Summary: Kedro helps you build production-ready data and analytics pipelines
Home-page: https://github.com/quantumblacklabs/kedro
Author: QuantumBlack Labs
Author-email: None
License: Apache Software License (Apache 2.0)
Location: /usr/local/anaconda3/envs/argo/lib/python3.7/site-packages
Requires: toposort, PyYAML, python-json-logger, setuptools, jupyter-client, click, anyconfig, cookiecutter, cachetools, jmespath, fsspec, pip-tools, pluggy
Required-by: kedro-viz

Python version used (python -V):
Python version:

$ python -V
Python 3.7.7

Conda info:
$ conda info

     active environment : argo
    active env location : /usr/local/anaconda3/envs/argo
            shell level : 2
       user config file : /Users/nasef_khan/.condarc
 populated config files : /Users/nasef_khan/.condarc
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.8.3.final.0
       virtual packages : __osx=10.15.6
       base environment : /usr/local/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /usr/local/anaconda3/pkgs
                          /Users/nasef_khan/.conda/pkgs
       envs directories : /usr/local/anaconda3/envs
                          /Users/nasef_khan/.conda/envs
               platform : osx-64
             user-agent : conda/4.8.3 requests/2.24.0 CPython/3.8.3 Darwin/19.6.0 OSX/10.15.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Operating system and version:

Darwin/19.6.0 OSX/10.15.6

Thanks for flagging this @nakhan98! I've created a ticket to fix it.

We've fixed this and the repo has been moved to kedro-training


[TEP-0091] return VerificationResult from GetPipeline

Changes
This commits updates GetPipeline to return
VerificationResult. VerificationResult is returned by VerifyResource in remote resolution.
4th PR of https://github.com/tektoncd/pipeline/issues/6665
This PR is similar to https://github.com/tektoncd/pipeline/pull/6691
/kind feature
Signed-off-by: Yongxuan Zhang<EMAIL_ADDRESS>
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
 GetPipeline is updated to return VerificationResult, VerificationResult is the from trusted resources to indicate the result of the verification

/assign @lbernick
/assign @chuangw6


Base statistics currently does not report full numbers for some species

Reported by Mike.
Production AmiGO is currently reporting incorrect numbers for some species in the statistics section: http://amigo.geneontology.org/amigo/base_statistics#experimental-annotations-by-species

Compare to the same release of AmiGO in dev:

A cursory inspection seems to indicate that the data is otherwise the same.
I suspect that the cache was built while the GOlr was either rebuilding, fluttering, or pointed at the wrong load balancer terminal machine (or some combination). @stuartmiyasato Would it be possible to rerun the cache command on the production machines?

@kltm I'm not sure what the source of "dev" is above (your servers?), but I can't get the production graphs to match yours which tells me the issue is somehow with our data load.  (I haven't seen any load error reports though...)  The "gulp cache" command is run as the last step with each load, and I just ran it by hand on each production AmiGO server but there's been no change to the graph.  Also for comparison, amigo2-test.stanford.edu has a similar looking graph to production and that load was from last November.
Not sure what you want to do about this...  Of course, my question is going to be how long until production AmiGO moves to Berkeley? (Or AWS or whatever non-Stanford site?)  :)

The "dev" one is indeed the production branch run over here.
As an experiment, I just ran gulp cache script over here against the production server with:
node ./scripts/amigo-create-base-stats-cache.js --server http://golr.geneontology.org/

and it generates the good image (when I had nothing before, as I generally don't load annotation locally).
The script should create a file "amigo/perl/bin/amigo-base-statistics-cache.json"; could you check that it is being created and updated properly on the clients? I could imagine a scenario where a user with a different permission created them as a one off and now the automated script is having trouble.
As far as the switch to Berkeley goes, I am the time limiting step, and I don't have as much time as I'd hoped for. These days, I've mostly been sinking my time into helping figure out the new pipeline.

duplicate of
https://github.com/geneontology/go-site/issues/293
which reports a series of other  (possibly related) issues and was closed as a dupe of
https://github.com/geneontology/amigo/issues/364
v
(maybe should check  when this issue is closed that all in 293 are fixed)

Ugh, sorry--I missed the functional issue you had in with the visual issues (which I tried to part out into geneontology/go-site#364 ). I'm having trouble imagining the issue, but I'm now thinking that there was once a bad load and now that data is frozen in production (user perms on the file?).

From @ValWood other ticket (from embarrassingly long ago):

[ ]  first graph EXP by species has no cerevisiae?
[ ]  Annotations by aspect/species by evidence is missing cerevisiae
[ ] I think the numbers in EXP annotations by publication are incorrect. For pombe  you have 21,000 but we have curated <3000 publications, the number for SGD (91,000) exceeds the number of GO annotations. Flybase has 2 entries (FlyBase/FLYBASE)

The last one may be something different, but the first two are likely related to this issue.

Ugh, okay. I've caught up on all these threads again: this issue is a dupe of #364 , which never got closed out. While I like the pictures here, there is more context over there.


Missing .NET 4.5 support on NuGet package

NuGet install fails when using .NET 4.5 with the following error:

Could not install package 'UrlUtilities 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Thanks for opening this issue.
I'm going on holiday today, so I will have to take a look when I get back.


Support named and positional arguments on bound Parameterized methods

If you have a standalone function you can do
@pn.depends(value1=object1.param.value, value2=object2.param.value)
def view(value1, value2):
    ...

But if its a class method you cannot have named or positional arguments.
import panel as pn
import param
pn.extension()

class Custom(param.Parameterized):
    value1 = param.String()
    value2 = param.String()

    @param.depends("value1", "value2")
    def view(self, value1, value2):
        return value1+value2

custom=Custom()
pn.Column(custom.view, pn.Param(custom)).servable()

TypeError: view() missing 2 required positional arguments: 'value1' and 'value2'

Enabling this would make it easier to

reason about which parameters are being using in the method.
Use the values
Refactor code between functional and class based
write in a reactive style ala react.

I would prefer this change would be implemented down to the param level.
Additional Context
If you added the posibility to provide a set_parameters function you would be able to develop in the React style of Idom and Solara.
import panel as pn
import param
pn.extension()

class Custom(param.Parameterized):
    value1 = param.String()
    value2 = param.String()

    @param.depends(value1="value1", value2="value2", react=True, watch=True)
    def view(self, value1, value2, set_parameters):
        ....
        set_parameters(value1=10)

If you simplified we could have yet another api 😄
@param.react(value1="value1", value2="value2", watch=True)
def view(self, value1, value2, set_parameters):
    set_parameters(value1=10)

@MarcSkovMadsen could you explain what react and set_parameters is supposed to do?

The reactive programming style consistof providing 1) the state 2) a function to update the state.
set_params is the function 2) to update the state.

I like the idea of allowing the keyword specification to tell it to pass the parameters in explicitly but I absolutely don't follow the point of the react thing. Why would we provide set_parameters if you can simply do self.param.update(value1=10)?

So currently I'm a strong -1 on react=True and @param.react() but may be missing something.

The reason why I mention the react api is that there are some suppl and demand for react apis. And we spend resources on supporting that via Idom and Reacton. So why does Param/Panel not just provide a built in react api.
Its not currently important to me personally. The named arguments to the function is.


sails.sockets.broadcast() causes pingTimeout on SSL sockets

I've tested this with nginx SSL termination as well as normal/native sails.js SSL.
Server
ubuntu 14.04
node: v5.3.0
npm: v3.3.12
Clean install of<EMAIL_ADDRESS>Nginx proxy setup with ip_hash defined in upstream app and with
location / {
client_max_body_size 1000M;
proxy_buffering off;
proxy_request_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://myapp;
}
Client
<EMAIL_ADDRESS><EMAIL_ADDRESS>Client is a node.js script initiated with:
var socketIOClient = require('socket.io-client');
var sailsIOClient = require('sails.io.js');
var io = sailsIOClient(socketIOClient);
io.sails.url = 'https://mydomain.com';
io.sails.environment = 'production';
io.socket.on('connect', function(data){
            io.socket.get('/joinroom', function (cpx, JWR) {
});

I have the client socket join a room via the /joinroom controller with sails.sockets.join(req.socket, 'foo');
When I use a non-SSL connection and then the server performs a broadcast, the connection on both ends are stable and stay alive.
When I use an SSL connection (self-signed), the server performs the broadcast successfully, received by the client just fine, and after a minute the server dumps the client, without letting the client know..or at least that's what it seems like on the client side, it seems to just stay open, thinking the connection is okay.
What seems to happen is a pingTimeout is triggered with the pingTimeoutTimer function in what seems to be engine.io.
Any insight might be helpful. I'm happy to expand on specifics.
Thanks!

@odnarb thanks for the detailed info.  Looping in @sgress454 on this since he's currently working on the sockets hook.  In the mean time, to troubleshoot a bit here: have you had any issues with this on older versions of Sails, or is 0.11.4 the first version in which you've tried this?  No worries either way, but it'll help to know.  Thanks!

@odnarb also, which transports do you have configured?

@odnarb Just to clarify, are you only seeing this issue after doing a broadcast?

@odnarb one more thing (sorry to blow up your inbox!) to help in your debugging efforts:
We default the pingTimeout to 60s which is also the implicit default for engine.io.  Assuming this is happening even on a single instance using built-in sails/express/socket.io SSL support, it could be that some intermediate proxy is causing issues and increasing this timeout config would help (however with secure sockets, this isn't normally a problem). Here's how you do that just in case.  But if this is happening when you have multiple node processes or servers and/or are using the cluster module, then it's probably unrelated.

Thank you for the replies!
Addressing them in order:
@mikermcneil I will have to confirm if this issue is on any older versions of sails. I just did an upgrade on a branch to sails v0.11.4. The earliest I can go back to since there really weren't any changes to my codebase pertaining to this functionality is about 9-10 months. That might be in the 0.10.x stack. Not sure. If that helps I will be happy to do so, but I think my time at work is running short for hunting this down.
@mikermcneil Both polling and websockets are configured on sails, but the current thing that seems to work for this client setup I'm using is polling. If I exclude polling from the sockets.js config my client simply cannot connect.
@sgress454 I haven't tried .emit() or other ways to communicate. Which others shall I try for degbugging purposes?
@mikermcneil I'm using a Windows machine for the socket client and an Ubuntu VM on the same host for the server. It's a bridged network adapter. So yea, I hope there's no proxy! This also happens with a setup where I have multiple sails instances (non-forked) lifted and sitting behind the nginx proxy (on the same server of course)
Thanks again!

@odnarb re: using other methods, I was more wondering whether the server disconnects the socket after timeout regardless of whether any communication has taken place.  That is, if you have a client connection and you just let it sit there for 60 seconds and don't do anything, does it stay connected or does it disconnect?  Trying to determine whether this actually has anything to do with socket communication, or just a problem with the connections in general.

This is definitely only happening after the fact something is sent. If I just let it stay there, the connection is stable and stays open.

Well, I tracked it down to some bad code on my end. Thanks for the replies, they were very helpful.
I really thought this was an issue since I thought I had tested my previous code thoroughly.

@odnarb Glad you worked it out. Feel free to post any relevant details if you think someone else might encounter a similar issue!


Ensure that PhoneNumber does not throw invalid US area codes

Related: #181
This fixes issues with FFaker::PhoneNumber.phone_number generating numbers with area codes that begin with 0. According to this list (wikipedia.org), area codes beginning with 0 and 1 are reserved.

:+1:

self-merging, hope no one minds.


Missing files

Hello, I clone the C-41 project, but I can't run it successfully in xcode. It seems like some class files are missing, like RVMViewModel class.
Could you tell me how to fix it, please?

Hey @gongruike – did you get this figured out?

yes, and thank you. I'm learning MVVM, it's a very good example.
发自我的 iPad

在 2015年1月23日，下午8:08，Ash Furrow<EMAIL_ADDRESS>写道：
Hey @gongruike – did you get this figured out?
—
Reply to this email directly or view it on GitHub.


JSON output option for issue view

Is your feature request related to a problem? Please describe.
Hey! Thanks a lot for this great tool! I want to use it in a release automation project for a client company. However, I'll need to be able to format the output of the jira issue view in a machine-readable way (JSON). Additionally, I'll also need to add the emailAddress field to the issue data structure. Would that be OK, @ankitpokhrel?
Use case: Jira automation from Jenkins pipeline scripts; using email to link users between various systems f.e. Slack.
Describe the solution you'd like
I'd like to create two PRs:

A PR adding the emailAddress field to the pkg/jira/IssueFields data structure and update the jira view issue to display the field as well (for consistency) https://github.com/ankitpokhrel/jira-cli/pull/719
A PR adding --json option to the jira view issue command that would make the command print the output as plain JSON if the flag is set https://github.com/ankitpokhrel/jira-cli/pull/720

Describe alternatives you've considered
Parsing the current output programmatically is hard and not reliable

Closed with #720


feat: add ability to approve and revoke connections

Closes #200.
Expected behaviour

When the interface loads at first nothing happens.
When the user clicks on the connect button, an approval pop-up appears in the extension. The interface connect button starts spinning.
a. If the reject button is clicked, the interface connect button stops spinning and the approval window closes. The extension cannot make any extension requests other than trying to connect again.
If the approve button is clicked, the interface account overview is loaded and the approval window closes.
The approved origin now exists in the extension local storage and the interface can make any extension requests normally.

Revoking a connection

Open the extension and click the settings icon.
Click the 'Connected sites' link.
The list of approved origins is listed.
Click the 'x' beside an origin to revoke it.
When the origin has been revoked, reloading the interface will show the initial connect screen and the interface cannot make any extension requests other than trying to connect again.

Changed

Make interface wait until connect button is clicked to try to connect

Added

Add ability to approve or reject an interface connection in the extension
Add ability to revoke a previously approved connection in the extension

I was able to test the approve part. For revoking I get "browser is not defined error" when clicking on extension 😞

Oops, that was my fault for forgetting to test on Chrome :man_facepalming: I've added a new commit that should fix it now.


Swarm Integration Test Suite is Poorly Documented

Swarm integration tests have a lot of helper functions and utilities that are really useful, but really poorly organized and documented. Most of the tests themselves are in integration-cli/docker_api_swarm_test.go, but the helpers are spread out across files like integration-cli/docker_utils.go. These helper functions need doc comments describing their usage, and there needs to be a short guide written on how to use the swarm integration helpers.
For example,
func waitAndAssert(c *check.C, timeout time.Duration, f checkF, checker check.Checker, args ...interface{})

has no documentation explaining usage.
Further, there are things like:
type checkF func(*check.C) (interface{}, check.CommentInterface)
type reducer func(...interface{}) interface{}

It's totally unclear what a checkF or a reducer does or how to implement one.
Adding this documentation would make writing new swarm integration tests way easier. Further than just adding documentation, a good refactoring of the testing suite might be in order, to improve clarity. Breaking the swarm suite into multiple smaller suites might also be good. Pretty much the whole integration suite is a mess and it needs work, but documentation and light-touch refactoring is a really great place to start on improving it.

safari ate my comment
those particular functions look to execute testing in a more functional-programming way vs the usual data/table way.
would not mind reviewing a PR written against this.


Setup initial structure for the merge

I didn't add all the subprojects, I'll leave it up to you guys. The old files are moved to the old directory. README and issues templates should remain the same. I've updated the LICENSE to MIT as well, as discussed.

File of interest is: https://github.com/utopia-rise/godot-kotlin/blob/ranie/rework-structure/settings.gradle.kts

Once request though :-)
Please make full commit messages about what you have changed so we can leave them in the squashed commit and later in time one can see why something was changed :-)


Epoch/Unix timestamp in received csi data

Hello,
I was wondering if in addition to the radio timestamp available in the atheros csi tool, can an epoch/unix timestamp be included for each packet received? If yes, I would be really grateful if you can explain to me how can that be done.
Thanks for your amazing work in building the real-time monitor tool and making it available. Is it possible to install this tool on an AP running OpenWrt, or it it applicable only to 2 PCs running the Ubuntu version of the atheros csi tool, with one configured as AP with hostapd?
Many thanks.
Kind regards

Hello @junstriker,
What do you mean with "epoch/unix timestamp"? The CSI packet timestamp is a epoch unix timestamp. Why you can't just use it?
About the installation, i have only deployed the application on 2 PCs, but if you can change the collector (csi-device-manager) to get the information from the AP, i don't think that is a problem to the monitor tool. Unfortunately there is needed a change in the device manager.
Best.,

Hello @brunosoaresds
Thank you for your reply.
For example, for the first packet I get the value of 2.5582e9 microseconds, and the next one is 2.5583e9. These do not convert to the present human date/time. So I'm wondering what these values actually mean.

@junstriker,
I think that in the ubuntu version this information is the unix timestamp. Maybe that is a openwrt issue, but i think that u can convert it to a unix timestamp, we just need to know what exactly is it.
What is the purpose of this information for you?


performance micro-optimizations

Changes from an average full parse time on ghostscript tiger from 267.875 ms to 267.875 ms. Interested in how this impacts your device too.

I don't think we should land this. i'd be worried about improvements to the compiler "regressing" performance in the future. Lets get things further along before we optimizie


[Feature Request] Destination Drive

Hello, Thanks for this amazing plotter, I tested it on my machine and it works very well (3800 seconds for 1 plot)
I was wondering if you could add an argument so that I can specify a destination drive where the final plot will be copied to.
This would make it easier for me to try and automate it on my plotting machine.

My understanding would be that currently tmp_dir would be used as your final destination and tmp_dir2 as your nvme-ssd / ramdisk. Which would be fine. But I see that the first tmp_dir still needs to handle 25% of all writes. Can an HDD do this without bottlenecking? Or is it recommended to use like nvme/ram disk for tmp_dir2 and then use ssd for tmp_dir and move plots to your HDD's once they are done?

Or is it recommended to use like nvme/ram disk for tmp_dir2 and then use ssd for tmp_dir and move plots to your HDD's once they are done?
=> yes

tmp_dir still needs to be fast for phase 2 reading + writing and phase 3 reading. phase 1 writing to tmp_dir is not very much.
Copy to destination will be the next feature yes.

@madMAx43v3r Ah alright so I understood it correctly. I wish I knew C and so I could contribute but unfortunately I am a complete noob at it so I'll leave it to you :)

Or is it recommended to use like nvme/ram disk for tmp_dir2 and then use ssd for tmp_dir and move plots to your HDD's once they are done?

=> yes
tmp_dir still needs to be fast for phase 2 reading + writing and phase 3 reading. phase 1 writing to tmp_dir is not very much.
Copy to destination will be the next feature yes.

Will you use rsync to copy the file?

No, I planned to run a thread that copies the data via reading + writing, parallel to running phase 1 of the next plot (if you do more than one).

If you need rsync, you can simply do:
chia_plot ...
rsync *.plot destination/ && rm *.plot

or do rsync plot*.plot /path/to/destination -avh --remove-source-files :)

No, I planned to run a thread that copies the data via reading + writing, parallel to running phase 1 of the next plot (if you do more than one).

I was just curious. :smile:

How do we define final directory with the new release?

chia_plot <pool_key> <farmer_key> [tmp_dir] [tmp_dir2] [final directory] [num_threads] [log_num_buckets]

Looks like there is a bug in the final copy branch

Looking at the final destination folder it's already been copied successfully. It just tries to do it multiple times for no apparent reason?

fixed and merged

i use :~$ rsync -avh --info=progress *.plot /mnt/pfolder/ --remove-source-files in linux to move final .plot to my main farmer, and so far its working fine, but I have to run it manually, I want to make it permanent listening? similar to @echo off :loop set "source=C:\PLOT" set "destination=Z:\PLOT" robocopy "%source%" "%destination%" /mov *.plot timeout /t 300 goto loop in windows?
Linux >

Windows>

Just add "while true; do rsync ......; sleep 60; done"
On Thu, 17 Jun 2021, 00:16 iw777 @.***> wrote:

i use :~$ rsync -avh --info=progress *.plot /mnt/pfolder/
--remove-source-files in linux to move final .plot to my main farmer, and
so far its working fine, but I have to run it manually, I want to make it
permanent listening? similar to @echo off :loop set "source=C:\PLOT" set
"destination=Z:\PLOT" robocopy "%source%" "%destination%" /mov *.plot
timeout /t 300 goto loop in windows?
Linux >
[image: Screen Shot 2021-06-16 at 6 14 18 PM]
https://user-images.githubusercontent.com/85085939/122301526-c9410b00-cece-11eb-84eb-0761f5765f52.png
Windows>
[image: Screen Shot 2021-06-16 at 6 14 43 PM]
https://user-images.githubusercontent.com/85085939/122301551-d0681900-cece-11eb-8140-9a2d1f74ccbb.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/madMAx43v3r/chia-plotter/issues/13#issuecomment-862765844,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNMMHEQQ6YVNQCMYRLK4JLTTEPCNANCNFSM46HLM56A
.

Just add "while true; do rsync ......; sleep 60; done"

not sure what i am doing wrong. :(
this is my scrip >

the error >


Support for JSR-303: @Pattern annotation

For starters, this is a great library and has been of great help.
I am currently using 2.4.0 version and springfox-bean-validators plugin for JSR 303 bean validation annotations @NotNull @Min @Max.
Have seen #356 and comments on this commit, which states the support for @Pattern annotation is not available.
I could not find ModelPropertyBuilderPlugin for Pattern annotation. Am I missing out on something or this annotation is not yet supported?

Its not supported.... but it could be :) PR?

Perhaps this issue should be tagged as "can-use-for-docs"?
https://github.com/springfox/springfox/labels/can-use-for-docs
Related: https://github.com/springfox/springfox/issues/1227

Its not supported.... but it could be :) PR?
Here you are! (:


forward provider connect information to interceptor

          The code is beyond this changeset but wanted to mention that `connect` listener may not be implemented or runs an empty function.

https://github.com/DarkFlorist/TheInterceptor/blob/4a96b4115a002908b72acf7802c58ef7ae3e97ed/app/inpage/ts/inpage.ts#L618-L620
Originally posted by @jubalm in https://github.com/DarkFlorist/TheInterceptor/pull/820#pullrequestreview-1785105030

already implemented


readiness checks disappears if service config changes

If I add modify default config like that:
service:
  ports:
    - name: http
      port: 80
      targetPort: 80

readiness checks will be removed. Here is a diff command results:
+               containerPort: 80
+               protocol:
-               containerPort: 6333
-               protocol: TCP
              - name: grpc
                containerPort: 6334
                protocol: TCP
              - name: p2p
                containerPort: 6335
                protocol: TCP
-           readinessProbe:
-             httpGet:
-               path: "/readyz"
-               port: 6333
-             initialDelaySeconds: 5
-             timeoutSeconds: 1
-             periodSeconds: 5
-             successThreshold: 1
-             failureThreshold: 6

Ok, found it. I needed to also add checksEnabled: true
to make it work. You can close the issue, as it is not an issue.


Frends.Instagram.Request to replace Get-Post-Delete-etc tasks

The current Get task needs to essentially get deleted and replace by a simpler Request task instead.

Implemented with latest instructions.


Rails 4 with font-face

Using Rails 4 and Bourbon, and some issues have reared their ugly heads. I'm using the font-face mixin:
+font-face(OpenSans, opensans-regular, normal, normal, true)

However, the path generated in the stylesheet is /fonts/opensans-regular... but Rails 4 claims it doesn't exist. I have put all my font files under app/assets/fonts and added:
    config.assets.paths << Rails.root.join('app', 'assets', 'fonts')

to my application.rb. It seems the correct path in rails 4 is now /assets/opensans-regular. Is it possible to redirect fonts to assets, or should Bourbon be using asset-path in the font-face helper instead? Would this break Rails 3 compatibility?
~ Jonathan

@plapier Thanks for the excellent how-to!  It's remains super useful!

@plapier I think this issue still exists in Proteus for Middleman. Any ideas how to fix?

@plapier Thanks a bunch! This worked for me today.


chore(npm): update dependecis

What:  依存の更新
Why:
How:
Checklist:

[ ] Documentation
[ ] Tests
[ ] Ready to be merged
[ ] Added myself to contributors table

Coverage remained the same at 100.0% when pulling ec10ba34441d8c0134e3c55109eb1d55f3b1ac99 on update-pkgs into f9304f1120ecd94e0b60335f7a1fcc11acfb9af1 on master.


Add support for exemplars during recording rule evaluation

This PR adds support for recording rules to emit exemplars. Would like to get some early feedback before I add things like unit test cases, feature flags (if necessary).
I wanted to add a sampling ratio to only append a subset of exemplars along with the recorded metric but would love to get feedback before hand.

Thanks for this PR.  Could you please write some words about the requirements you intended to meet?
E.g. for a rule which outputs fewer series than it inputs, how are exemplars mapped from input to output series.
Perhaps you can add this to #8798.
It's best if we can debate the requirements separately from the implementation.
I also fear the implementation will be expensive.  One or two benchmarks might help to answer this.

@bboreham thanks for getting back. I somehow missed this comment.
The requirements that we intend to meet overall is that given a recording/alert rule, to add exemplars into the recorded metric/alert. This can either be done as append all raw exemplars into the new series that matches the labels on the new metric or to append a sample of them (0-1 sample ratio, with a sane default limit say 0.01).
This PR has done the first part of it which is the recording rule. (I needed some help to understand how best to add it into alerting rules as the implementation right now makes it not so straight forward to do the same).
The current implementation of ExemplarAppender expects the exemplar to be appended only into a head series that already exists if not it fails. To be true to the current requirements, the exemplars from the raw series are matched against the labels of the new recorded metric and then added into the recorded series. That being said raw metric exemplars have raw series labels. Recorded metric exemplars have recorded series labels.
I felt that this is a happy compromise given that it is important for us to be able to have access to the exemplars on recorded metrics even if it means that all of the raw labels arent necessarily present.
there is one portion that i yet to be done on this PR which is to have queries be made via fanout storage instead of just local storage similar to how EngineQueryFunc does today but i wanted to get a first review in case i am totally off on the implementation :)

E.g. for a rule which outputs fewer series than it inputs, how are exemplars mapped from input to output series.

I did not follow your answer to this question.  Please could you explain it more simply for me.

@bboreham
let's say there is a metric latency which has pod, namespace, instance, le, http_path and http_verb as labels.
a recording rule histogram_quantile(0.99, sum(rate(latency[5m])) by (le, http_path, http_verb, namespace) would:

create a rolled up metric that is the 99th percentile of latency and only record path, verb and namespace as the series labels.
queries all exemplars for the raw query and tries to match them against series that were newly generated. ie, an examplar of series pod="abc", namespace="def", path="/", verb="GET", le="+Inf" would get appended into the newly created series path="/", namespace="def", verb="GET"

the reason we do this is because all exemplars that get appended into the exemplar storage need to have an already existing head series entry.
does this clarify?

@bboreham could you kindly take a look?

@bboreham thank you for the review. i have the same concern about how things like label_replace would work. I will do a rebase, add test cases and address all the comments that you had.

if I run a rule count by (job)({job!=""}) does it fetch and re-append every exemplar?
unfortunately yes. i have contemplated on adding a sampling ratio (0-1) to only add a few into the recorded metric unless the end user absolutely opts for 100% of the exemplars to be re-appended. do you think this is something that i should do?

what happens if the query does a label_replace so the label names don't match?
if i am not wrong, they would work fine because i am only doing:

selectors := parser.ExtractSelectors(rule.vector)
	if len(selectors) < 1 {
		return nil, nil, err
	}

once the exemplar is available, i overwrite all the labels with the labels from the vector which would take care of label_replace. please correct me if my assumption is invalid.

@bboreham , added some test cases and realized that the promql test utility doesnt support loading exemplars :) is there a simpler way to test this feature or do i figure out how to enhance the utility?
(hope you had a nice KubeCon)

hello @vjsamuel, are you still interested to go on with this pull request and address @bboreham's comments?
Thanks!

apologies for the massive delay @roidelapluie @bboreham, i got pulled into some internal priorities and will restart work on this in a couple of days. I will have it for review by next week.

@bboreham i have done the crudest possible hack to add in the tests. would appreciate your guidance to formally add in the parsing logic for properly loading exemplars with exemplar labels.

This is the new code when exemplars are turned on but there are no exemplars
BenchmarkRuleEvalWithNoExemplars
BenchmarkRuleEvalWithNoExemplars/no_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEvalWithNoExemplars/no_labels_in_recording_rule,_metric_name_in_query_result-10         	  126202	      9662 ns/op
BenchmarkRuleEvalWithNoExemplars/only_new_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEvalWithNoExemplars/only_new_labels_in_recording_rule,_metric_name_in_query_result-10   	  126406	      9486 ns/op
BenchmarkRuleEvalWithNoExemplars/some_replacement_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEvalWithNoExemplars/some_replacement_labels_in_recording_rule,_metric_name_in_query_result-10         	  125504	      9517 ns/op
BenchmarkRuleEvalWithNoExemplars/no_labels_in_recording_rule,_no_metric_name_in_query_result
BenchmarkRuleEvalWithNoExemplars/no_labels_in_recording_rule,_no_metric_name_in_query_result-10                    	   68275	     17202 ns/op

This is when the feature is turned on and has exemplars
BenchmarkRuleEvalWithExemplars
BenchmarkRuleEvalWithExemplars/no_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEvalWithExemplars/no_labels_in_recording_rule,_metric_name_in_query_result-10                         	  114679	     10341 ns/op
BenchmarkRuleEvalWithExemplars/only_new_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEvalWithExemplars/only_new_labels_in_recording_rule,_metric_name_in_query_result-10                   	  113203	     10366 ns/op
BenchmarkRuleEvalWithExemplars/some_replacement_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEvalWithExemplars/some_replacement_labels_in_recording_rule,_metric_name_in_query_result-10           	  114609	     10297 ns/op
BenchmarkRuleEvalWithExemplars/no_labels_in_recording_rule,_no_metric_name_in_query_result
BenchmarkRuleEvalWithExemplars/no_labels_in_recording_rule,_no_metric_name_in_query_result-10                      	   66717	     18087 ns/op

This is the current baseline
BenchmarkRuleEval
BenchmarkRuleEval/no_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEval/no_labels_in_recording_rule,_metric_name_in_query_result-10                                      	  136940	      8617 ns/op
BenchmarkRuleEval/only_new_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEval/only_new_labels_in_recording_rule,_metric_name_in_query_result-10                                	  137937	      8669 ns/op
BenchmarkRuleEval/some_replacement_labels_in_recording_rule,_metric_name_in_query_result
BenchmarkRuleEval/some_replacement_labels_in_recording_rule,_metric_name_in_query_result-10                        	  137877	      8624 ns/op
BenchmarkRuleEval/no_labels_in_recording_rule,_no_metric_name_in_query_result
BenchmarkRuleEval/no_labels_in_recording_rule,_no_metric_name_in_query_result-10                                   	   73915	     16336 ns/op
PASS

There seems to be a 7% slow down from the baseline when turning on the feature even when there is no exemplars.

Tip: run your benchmarks several times to account for random slow-downs on your computer. For example -count=6.
Then use the benchstat tool to analyze the timings and give you the difference and variance.
Install instructions here: https://cs.opensource.google/go/x/perf

Yup, see  https://github.com/bwplotka/go-proto-bench/blob/main/Makefile#L75 as an example framework to use (make bench and make cmp)

Hello from the bug scrub @vjsamuel : we think this is  a useful feature, but some might not want to take the performance hit. We suggest the following:

Adding a feature flag to be able to turn the feature on, but avoid performance regression. Documentation among feature flags.
Documentation should mention the performance impact

Hey @vjsamuel @bboreham @krajorama, I would like to start working on this issue, based on the changes made as part of this PR. I will focus on recording rules, and would leave alerts alone for now.

@bboreham @krajorama created PR https://github.com/prometheus/prometheus/pull/15555, picking up the work where @vjsamuel ended. I adjusted the test parser to be able to process exemplars data as part of the series definition, also adding an experimental feature flag exemplars-in-recording-rules. Would appreciate any feedback.


Define KFServing related area labels

It would be good to define an an appropriate set of area labels for kfserving and add them to our list of labels.
Labels should be added here:
https://github.com/kubeflow/testing/blob/master/label_sync/kubeflow_label.yml
In order to get added to all the Kubeflow repos automatically.
Owners (people responsible for issue triage) can be listed in
https://github.com/kubeflow/community/blob/master/labels-owners.yaml
It would probably be good to define a top level label e.g. "area/kfserving".
As well as possible subareas e.g. "area/kfserving/modelservers" as appropriate.

/close


iOS.Device: handle name updates again

This is an attempt to fix #703. @piotrusspan, could you try to use the nupkg generated by this PR to check if it solves your problem?

The nupkg generated by the GitHub Actions build is available here:
https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/actions/runs/5458290654#artifacts

I rebased this PR to the 3.0.0-rc.1 tag. The new nupkg artifact is here: https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/actions/runs/6391461333#artifacts
I will only merge it if someone confirms that it actually solves a problem (e.g. #541, #703 or #749). It would be great to get some user feedback on this.

We are using 3.0.0-rc.1 and we are able to discover using both iOS with Maui .Net 7 on iOS 16 + 17.
BTW: We just learned today that the Id in the Apple implementation does NOT contain the 48 bit address, but something else.
Eg... https://stackoverflow.com/questions/18973098/get-mac-address-of-bluetooth-low-energy-peripheral-in-ios


Unable to infer what parts of trace are doing with graphql

Description
Lots of times when tracing various requests in our app, we get a trace that is very hard to infer where time is being spent. We'll see that time is being spent in the top level query or graph, with no other indication what is happening. Let me show an example with one of our queries
query getDocumentsForSymbols($param1: [String!]!, $param2: [String!]!) {
    documentsForSymbols(param1: $param1, param2: $param2) {
      id
     ...fields
    }
  }

This resolver and request is pretty straightforward. It first hits some middleware for auth and things like that which we do for every end point, then in the resolver we do some validation and make three sql queries, combine them, and return the data. If I were to look at the data naively, I would assume almost all the time would be in sql. However looking at the trace we see a slightly different story.

From this screenshot, we can see that a fair amount of time is being spent in resolve/ApolloServer/documentsForSymbols and a bit is spent is operation/ApolloServer/query/getDocumentsForSymbols/documentsForSymbols, but I have no idea how to interpret that?
Looking at a specific trace summary, also gives me the same result.

Knowing the implementation, I would assume that both the document select and the symbol select as shown above should be encapsulated within GraphQL/resolve/ApolloServer/documentsForSymbols, but they are shown as two distinct things. Also the time adds up to the final response time so it looks like they are different things unless the tracing is wrong.
When I dive into the specific trace, I see that the sql queries are encapsulated within documentsForSymbols but there is still a lot of time that is unaccounted for. Adding up everything under documentsForSymbols does not equal the one 1.97 seconds it says it takes

Expected Behavior
I would expect that the trace show something more specific where the time is being spent in regards to GraphQL/resolve/ApolloServer/documentsForSymbols, so that we would know where to look to remedying that problem.  If this time being spent in graphql internals, and not necessarily in the code we wrote. I would expect there to be more documentation around this and maybe a different name to signify that. I also would expect to see something for the unaccounted for time in the trace summary.
Steps to Reproduce
I don't think this is unique to our setup, but happy to provide more details need be. All we are doing is hitting our endpoint as mentioned above and returning data.
Your Environment
Node version: v12.13.1
New Relic: v8.7.1
New Relic Apollo server Plugin: v1.2.0
Apollo Server express: v2.25.2
Running on Heroku stack 18

@bizob2828 no worries, thanks for getting back to me and for the help. I've been diving into a separate issue but I think it could be very much be related to the trace. I've been looking at the issues of https://github.com/graphql/graphql-js/issues/2262 and https://github.com/apollographql/apollo-server/issues/801 because I think we are having some event loop blocking due to large graphql responses. In the case of event loop blocking due to graphql internals, could this explain the missing time in the distributed trace break down? Also in that case, why not augment the trace with an unknown section so the time adds up? Is this in the docs anywhere? It may just be my team, but we found this very confusing and unintuitive at first glance.


Introduce nullable field type

Currently we are using "missing" function as a placeholder
in cases where no value was specified in the particular field.
This might be confusing and can introduce issues when not
understood correctly. This patch is removing concept of the
missing function together with "allow_null" and "required"
parameters and switch to using a new nullable field type.
In this case every field which is not nullable has to be
specified. If we want to allow a field to be None we need to
wrap it around the nullable field.
E.g. fields.nullable(fields.String())

Can one of the admins verify this patch?

Thanks @vinzenz for helping with this...

There are still documentation changes missing and probably the tests will need some more love but this is mainly for discussion.

From a cursory look LGTM, however I'd rename nullable to Nullable to stay consistent with the capitalization of other classes.
I'm gonna give this deeper look in the afternoon.

The suggestions were implemented. The docs should be ok. The only thing which may need further polishing are tests. It then depends on how quick (should this solution be accepted) we want to implement it, whether to open a proper follow-up on testing or wait and work on it here.

Was testing further and it turned out I omitted one fail:
  File "/usr/lib/python2.7/site-packages/leapp/models/fields/__init__.py", line 379, in _validate_model_value
    self._elem_type._validate_model_value(entry, name='{}[{}]'.format(name, idx))
  File "/usr/lib/python2.7/site-packages/leapp/models/fields/__init__.py", line 432, in _validate_model_value
    resolved_model.__name__, name, type(value)))
ModelViolationError: Expected an instance of RPM for the items[0] attribute but got <class 'installedrpm.RPM'>

which seems to be related to the fact that at this part the model is "_resolved". Fixed.


Replace Bootstrap CSS Framework with Tailwind CSS

Can you assign this to me!

This issue is now assigned to you.


Non-ASCII characters in argument for retwist.Param cause UnicodeDecodeError on Python 2

Reproduce by calling a JsonResource with a non-ASCII value for retwist.Param, e.g. /resource?param=ümläüt
Works on Python 3, but fails on 2.7

Several parameters call bytes.decode() and str.encode() without providing an encoding. On Python 3, the default encoding is "utf-8", while on Python 2 it tends to be "ascii", so that's why the two versions behave differently.
Fixing by passing an encoding explicitly.

Several parameters call bytes.decode() and str.encode() without providing an encoding. On Python 3, the default encoding is "utf-8", while on Python 2 it tends to be "ascii", so that's why the two versions behave differently.
Fixing by passing an encoding explicitly.


Add License.Acknowledgement

This is to track the addition of the "acknowledgement" field to type License (spec 1.6).
See:

https://cyclonedx.org/docs/1.6/json/#components_items_licenses_oneOf_i0_items_license_acknowledgement
https://github.com/CycloneDX/specification/pull/408

Implemented in #167.


StopHost() doesn't trigger OnStopServer() functions

Describe the bug
OnStopServer() functions are not being called when using StopHost()
[IMPORTANT] How can we reproduce the issue, step by step:
Create a new NetworkBehaviour Class and add the next function:
public override void OnStopServer()
    {
        base.OnStopServer();
        Debug.Log("ON STOP SERVER()");
    }

Start hosting your game, and then use StopHost(), and the function OnStopServer() won't be called, and you won't see the log.
Expected behavior
OnStopServer() functions should be called when StopHost()
Desktop (please complete the following information):

OS: Ubuntu 20.04
Build target: Unity Editor
Unity version: 2020.3.14f1
Mirror branch: Master 43.4.0

This looks like a duplicate that's addressed in this PR
https://github.com/vis2k/Mirror/pull/2662

Yep, it seems related with that PR @MrGadget1024
This PR has been opened since March 20 of last year.
@vis2k why are you not fixing this bug?


Cannot build the hello world example on Windows 10 (TFMIC-25)

Hi, I have some problem in building the hello world example accompanying with the esp-tflite-micro repo after cloned it into my local hard disk. Here are some information and I appreciate you engineers can take some time looking into it and give some suggestions. Thanks a lot.
`D:\esp-tflite-micro\examples\hello_world>idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'D:\esp-tflite-micro\examples\hello_world\build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory D:\esp-tflite-micro\examples\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 D:\esp-tflite-micro\examples\hello_world"...
-- Found Git: D:/Espressif/tools/idf-git/2.43.0/cmd/git.exe (found version "2.43.0.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Dependencies lock doesn't exist, solving dependencies.
.Using component placed at D:\esp-tflite-micro for dependency espressif/esp-tflite-micro(), specified in D:/esp-tflite-micro/examples/hello_world/main\idf_component.yml
CMake Error at D:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/build.cmake:544 (message):
ERROR: Because no versions of espressif/esp-tflite-micro match >
and espressif/esp-tflite-micro () depends on espressif/esp-nn (^1.0.0-rc1), espressif/esp-tflite-micro (>=) requires espressif/esp-nn (^1.0.0-rc1).
So, because no versions of espressif/esp-nn match ^1.0.0-rc1
and project depends on espressif/esp-tflite-micro (*), version solving failed.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:3 (project)
...-- Configuring incomplete, errors occurred!
See also "D:/esp-tflite-micro/examples/hello_world/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the D:\esp-tflite-micro\examples\hello_world\build\log\idf_py_stderr_output_25124 and D:\esp-tflite-micro\examples\hello_world\build\log\idf_py_stdout_output_25124
`
The following are some build system information:
`D:\esp-tflite-micro\examples\hello_world>idf.py --version
ESP-IDF v5.2.1-dirty
D:\esp-tflite-micro\examples\hello_world>git log origin/master -n 1
commit 7fd66e40112590056aeae4937c4506759775eea1 (HEAD -> master, tag: v1.3.0, origin/master, origin/HEAD)
Author: Vikram Dattu<EMAIL_ADDRESS>Date:   Wed May 8 18:51:55 2024 +0530
CI: Add builds for IDF v5.3

D:\esp-tflite-micro\examples\hello_world>ver
Microsoft Windows [Version 10.0.22631.3593]
D:\esp-tflite-micro\examples\hello_world>cmake --version
cmake version 3.24.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
D:\esp-tflite-micro\examples\hello_world>`
Feel free to contact me for any extra information helpful to diagnose the problem.

Hi @mingyr it is expected that esp-nn is automatically pulled in by component manager. This seems to be not happening in your case.
For component manager to download new component, you will need internet connection active and also the component manager installed. Which gets installed and added to the path with IDF's installation process.
If your problem persists, can you please make a directory named components in your project directory and clone esp-nn with folder name esp-nn inside this components directory.
This should override, component manager issue and get your build through.

Dear @vikramdattu, appreciate your response. I would think I have done as you mentioned in your response, however, the problem is STILL there. I would think I have no problem in accessing the Internet, please check whether it is the directory structure as you indicated:
D:\esp-tflite-micro\examples\hello_world>tree
Folder PATH listing
Volume serial number is 88E6-C63B
D:.
├───build
│   ├───CMakeFiles
│   │   ├───3.24.0
│   │   │   ├───CompilerIdASM
│   │   │   ├───CompilerIdC
│   │   │   │   └───tmp
│   │   │   └───CompilerIdCXX
│   │   │       └───tmp
│   │   ├───CMakeTmp
│   │   ├───git-data
│   │   └───pkgRedirects
│   └───log
├───components
│   └───esp-nn
│       ├───.github
│       │   └───workflows
│       ├───include
│       ├───src
│       │   ├───activation_functions
│       │   ├───basic_math
│       │   ├───common
│       │   ├───convolution
│       │   ├───fully_connected
│       │   ├───pooling
│       │   └───softmax
│       ├───tests
│       │   ├───include
│       │   └───src
│       └───test_app
│           └───main
└───main
D:\esp-tflite-micro\examples\hello_world>

Dear @vikramdattu, appreciate your response. I would think I have done as you mentioned in your response, however, the problem is STILL there. I would think I have no problem in accessing the Internet, please check whether it is the directory structure as you indicated:
D:\esp-tflite-micro\examples\hello_world>tree
Folder PATH listing
Volume serial number is 88E6-C63B
D:.
├───build
│   ├───CMakeFiles
│   │   ├───3.24.0
│   │   │   ├───CompilerIdASM
│   │   │   ├───CompilerIdC
│   │   │   │   └───tmp
│   │   │   └───CompilerIdCXX
│   │   │       └───tmp
│   │   ├───CMakeTmp
│   │   ├───git-data
│   │   └───pkgRedirects
│   └───log
├───components
│   └───esp-nn
│       ├───.github
│       │   └───workflows
│       ├───include
│       ├───src
│       │   ├───activation_functions
│       │   ├───basic_math
│       │   ├───common
│       │   ├───convolution
│       │   ├───fully_connected
│       │   ├───pooling
│       │   └───softmax
│       ├───tests
│       │   ├───include
│       │   └───src
│       └───test_app
│           └───main
└───main
D:\esp-tflite-micro\examples\hello_world>

@mingyr the directory structure looks correct.
What happens when you edit esp-tflite-micro/idf_component.yml contents to relax the esp-nn dependency?
dependencies:
  idf:
    version: ">=4.2"
  espressif/esp-nn:
    version: "*"

Also, can you please do one clean build? (rm -r build/ sdkconfig sdkconfig.old dependencies.lock managed_components/) and attach the cmake logs files for me to analyse? (hello_world\build\log\idf_py_stdout_output_<>)

I did as instructed above, seems the problem is still pending, please check the output from the commandline and attached files:
D:\esp-tflite-micro\examples\hello_world>type ....\idf_component.yml
description: TensorFlow Lite Micro component for ESP-IDF
url: https://github.com/espressif/tflite-micro-esp-examples
repository: https://github.com/espressif/tflite-micro-esp-examples.git
issues: https://github.com/espressif/tflite-micro-esp-examples/issues
documentation: https://github.com/espressif/tflite-micro-esp-examples#readme
dependencies:
idf:
version: ">=4.2"
espressif/esp-nn:
version: "^1.0.0-rc1"
version: "*"
pre_release: true

files:
exclude:
- scripts
- .gitlab-ci.yml
- .github
D:\esp-tflite-micro\examples\hello_world>idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'D:\esp-tflite-micro\examples\hello_world\build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory D:\esp-tflite-micro\examples\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 D:\esp-tflite-micro\examples\hello_world"...
-- Found Git: D:/Espressif/tools/idf-git/2.43.0/cmd/git.exe (found version "2.43.0.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Dependencies lock doesn't exist, solving dependencies.
.Using component placed at D:\esp-tflite-micro for dependency espressif/esp-tflite-micro(), specified in D:/esp-tflite-micro/examples/hello_world/main\idf_component.yml
CMake Error at D:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/build.cmake:544 (message):
ERROR: Because no versions of espressif/esp-tflite-micro match >
and espressif/esp-tflite-micro () depends on espressif/esp-nn (), espressif/esp-tflite-micro (>=) requires espressif/esp-nn ().
So, because no versions of espressif/esp-nn match *
and project depends on espressif/esp-tflite-micro (*), version solving failed.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:3 (project)
The following are files grabbed from the mentioned log directory. However, to upload them here, I just append the .txt file extension which required by the system and without any touch of the file contents:
idf_py_stdout_output_5100.txt
idf_py_stderr_output_5100.txt

Hello @mingyr,
Could you please check if the issue still exist with the idf-component-manager from master branch?
https://github.com/espressif/idf-component-manager?tab=readme-ov-file#installing-a-development-version-of-the-component-manager
This version, while compatible with ESP-IDF 5.2 may won't satisfy the constrain,
so you should either to remove line for idf-component-manager from [HOME DIRECTORY]\.espressif\espidf.constraints.v5.2.txt or try it with the master branch of ESP-IDF

Dear @kumekay , thanks for your suggestions. However, after I tried all aboves, seems the problem is still there.

This version, while compatible with ESP-IDF 5.2 may won't satisfy the constrain,
so you should either to remove line for idf-component-manager from [HOME DIRECTORY].espressif\espidf.constraints.v5.2.txt or try it with the master branch of ESP-IDF

I first tried to give a try of this one, because it sounds just removing an item can solve the problem. However, the directory [HOME DIRECTORY].espressif seems NO exist in my system. The below is the command I tried to locate it:
D:\esp-tflite-micro\examples\hello_world>dir %userprofile% | findstr .espressif
I would believe the above command is correct, since I tried on other hidden folders such as .conda, it correctly pins it out:
D:\esp-tflite-micro\examples\hello_world>dir %userprofile% | findstr .conda
2023/09/18  16:00    <DIR>          .conda
2023/09/25  14:32                36 .condarc
2023/09/18  15:45    <DIR>          miniconda3

Later, I found it locate in the the installation directory D:\Espressif. However, after I commented the line "idf-component-manager~=1.2" out, and retry the build process, the same error showed up threre again.
Because I just installed the idf toolset offline, I am not sure updating to the master branch will break the compatibility or not, so I didn't do it.
Then I turned to your first suggestion, I read through the thread of the link, did as instructed perticular below:
# remove old version of the component manager
python -m pip uninstall -y idf-component-manager
# install the development version (from the main branch)
python -m pip install git+https://github.com/espressif/idf-component-manager.git@main

However, after I did it, the ESP-IDF command line terminal refuses to start up correctly. It complains something, sounds like there might be some conflicts and indicates I have to install something more. (I thought I need the administrative privilege and I simply closed the window withou copy the error message, only the instruactions. So I don't remember exactly what did it complain later)
After I installed more packages and try to relaunch the idf terminal and to rebuild the project, it works FINALLY.
So up to now, the root cause seems to be with the component manager.
BIG thanks to you. @kumekay

Since it can work at least temporarily, just close the issue.


Enhance securityContexts of hubble-ui, hubble-relay and, cilium-operator

What this PR does / why we need it
Checklist

[ ] Updated CHANGELOG.md.

Trigger E2E tests

/run cluster-test-suites

/run cluster-test-suites

Shouldn't this be in the default values of the app?


managing local confluent cluster

I have local dev machine confluent cluster running
curl -O https://raw.githubusercontent.com/confluentinc/cp-all-in-one/7.5.0-post/cp-all-in-one-kraft/docker-compose.yml
podman-compose up -d

I have setup provider
provider "confluent" {
  kafka_id            = "EkWLeDPzTP2H5Md-tG83_A" # var.kafka_id                   # optionally use KAFKA_ID env var
  kafka_rest_endpoint = "http://localhost:8082" # var.kafka_rest_endpoint        # optionally use KAFKA_REST_ENDPOINT env var
  kafka_api_key       = "LOCAL" # var.kafka_api_key              # optionally use KAFKA_API_KEY env var
  kafka_api_secret    = "LOCAL" # var.kafka_api_secret           # optionally use KAFKA_API_SECRET env var
}

Trying to create a topic, givbes me Error: error creating Kafka Topic: 404 Not Found
resource "confluent_kafka_topic" "orders" {
  topic_name         = "test-topic"
  partitions_count = 1
}

I think it is because in local the endpoint for http-server is different
https://docs.confluent.io/platform/current/kafka-rest/api.html#cluster-v3
When using the API in Confluent Server, all paths should be prefixed with /kafka as opposed to Standalone REST Proxy. For example, the path to list clusters is:

    Confluent Server: /kafka/v3/clusters
    Standalone REST Proxy: /v3/clusters

Did anyone have any success using confluent provider with locally installed cluster, and how can it be achieved?

👋 @ekozynin thanks for creating this issue!

Did anyone have any success using confluent provider with locally installed cluster

Currently TF Provider for Confluent only supports Confluent Cloud. Feel free to subscribe to https://github.com/confluentinc/terraform-provider-confluent/issues/145 to track the progress of CP support.


Cypress tests update

The code generally looks good, the only change I'm after before approving is to delete the npm-debug.log - that doesn't normally need to be checked in and should probably be ignored.


⚠ Bofrost.be has degraded performance

In 5962a68, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 952 ms

Resolved: Bofrost.be performance has improved in 6ca39df after 6 minutes.


How to define channel types on the fly

In my lab we use multiple synced signals (EEG, eye-tracking, ...), and one of them is information of spatial markers (ndigital optotrak). I create RawArrays from the spatial data with 'misc' channel types. The problem is that every time I want to plot the evoked data a ValueError: Non-data channel picked. is raised. My temporary (lazy) solution is to change the channels types to a valid one (as those defined in _DATA_CH_TYPES_SPLIT), but it is far from a good solution. So it would be nice if I could define a channel type (with its units to plot, etc) when using other non-standard data types (e.g. eye-tracking/mouse-tracking channels in pixels or mm, spatial markers in mm, among others) while profiting of this great software.

you mean evoked.plot crashes when you try to plot a misc channel?

I don't know if it is a crash or expected behavior. For example, in plot_compare_evokeds line 1475 If any channel doesn't belong to _DATA_CH_TYPES_SPLIT (defined in io.pick here) the value error is raised.
That is not the case with plot_evoked as misc channels are defined as valid here. So my apologies for not specifying the function with the problem.

if evoked.plot supports misc then it should also be the case for the
plot_compare_evokeds function
can you open a PR to fix it yourself?

I open PR #3965 with fixes for plot_compare_evoked. So I close this issue now.


Method Not Found ...EventCollector

I'm getting this logging error on a couple servers, but not on the majority (> 50). It is affecting a Windows Server 2016 Standard with .Net 4.6.2 and a Windows Server 2012 R2 Standard .Net 4.6.1. I am not aware of any differences specific to these servers.
I have updated all the NuGet packages and I'm not sure what else to look at.
System.MissingMethodException: Method not found: 'Serilog.LoggerConfiguration Serilog.SplunkLoggingConfigurationExtensions.EventCollector(Serilog.Configuration.LoggerSinkConfiguration, System.String, System.String, System.String, System.String, System.String, System.String, System.String, Serilog.Events.LogEventLevel, System.IFormatProvider, Boolean, Int32, Int32, System.Nullable`1, System.Net.Http.HttpMessageHandler, Serilog.Core.LoggingLevelSwitch)'.

Closing as a part of larger Serilog contrib reorg
Checkout serilog/serilog#1627


Profile: command line switch for virtual machine

Fix #313
This PR introduces a new command line argument to the profile example, allowing users to specify the platform type (host or guest, default is host). This ensures the correct performance monitoring attributes are used based on user's input.
Key Changes:

Adjust performance monitoring attributes based on the -p argument.
Provide a hint when a perf_event_open error occurs, recommending the -p guest option for virtual machines.

Thanks for the pull request. My suggestion would be to not talk about virtual machines at all. A virtual machine may very well support the physical thing and vice versa. So I think we should instead talk about software event or something like that. Basically, call the switch --sw-event or something along those lines. Also, we may want to hint at its presence when perf_event_open fails with ENOENT or whatever the error.
Edit: Sorry, you already did the latter partly. But let's not do it on generic failure but for specific error.

Thanks for your suggestion! A command line option for more specific event is much better.
I have updated the PR and now only ENOENT error will print software event hint for user.

@danielocfb Thanks for your helpful review. Just fixed these problems and squashed into one commit.


followup: we should reserve some read handlers for reads.

This makes sense for a subscribe, but should a regular read just return Busy?  Or is it that too many subscriptions can keep reads from working?  If so, followup: we should reserve some read handlers for reads.
Originally posted by @bzbarsky-apple in https://github.com/project-chip/connectedhomeip/pull/11667#discussion_r747747362

@mrjerryjohns @tcarmelveilleux This seems pretty critical to do: persistent subscriptions should not be able to completely lock out reads, which right now they can.
@franck-apple Do we have a label or project of some sort tracking "must happen for 1.0 to have sanity" work that is not really part of a bigger project?  I guess I'll toss in "spec" for now....

Yes, agreed. I'd recommend we reserve no more than 2 handlers (preferably, 1), since reads are not long-lived exchanges, and the chances of coincidental reads from multiple peers simultaneously is low.
Cases where that might not be true based on past experience would be a highly correlated event that affects multiple clients in the system simultaneously (like resumption from a comms outage, or power outage). I'm not certain we should over-design for that scenario anyways, since recovery from those usually takes time, and clients would have to be built to be defensive towards those cases anyways.

Yes, the reservation should be pretty small.


Use Laravel IDE Helper with phpcd.vim

Hi.
Thank you for a useful phpcd.vim.
Do you know the Laravel IDE Helper?
https://github.com/barryvdh/laravel-ide-helper
Please tell me how to use Laravel IDE Helper with phpcd.vim.
Make a _ide_helper.php with called php artisan ide-helper:generate command.
Is there a way to use _ide_helper.php with phpcd.vim?
e.g: https://github.com/lvht/phpcd.vim/wiki/Laravel-Facade-Support

create a php named after '.autoload.php'
<?php
require './vendor/autoload.php';
require './_ide_helper.php';

and create the .phpcd.vim and put
let g:phpcd_autoload_path = '.autoload.php'

@maamo888 The wiki has been updated as well.

Thanks!!

Files containing namespace can not be supplemented.
OK

NG (namespace)

The DB id defined in to global namespace. If your file has a namespace, you should use \DB instead of DB. Please full fill your basic PHP knowledge before fire any issue.

Thanks!!!!


Not Supported 10.0. 22621.1

Not Supported 10.0. 22621.1

Not Supported 10.0. 22621.1

Attach your termsrv.dll zipped

termsrv.zip
Thanks

termsrv.zip
Thanks

The offsets was added
https://github.com/sebaxakerhtc/rdpwrap.ini/commit/cb617012169fb69cf9a553a95ba8b1bc09dd014b

Thank you so much!

https://github.com/anhkgg/SuperRDP
You can set the checkbox AutoSupport， then SuperRDP2 will automatically support the new version


Wrong Exception if reduce is called with undefined instead of Array

R.reduce(() => {}, 0, undefined)

leads to
TypeError: Cannot read property 'reduce' of undefined
at _reduce (C:\workspace\secure-access-api\v4\secure-access-api\node_modules\ramda\src\internal_reduce.js:46:20)
at Object.f3 [as reduce] (C:\workspace\secure-access-api\v4\secure-access-api\node_modules\ramda\src\internal_curry3.js:35:16)
at repl:1:3
at REPLServer.defaultEval (repl.js:262:27)
at bound (domain.js:287:14)
at REPLServer.runBound [as eval] (domain.js:300:12)
at REPLServer. (repl.js:431:12)
at emitOne (events.js:82:20)
at REPLServer.emit (events.js:169:7)
at REPLServer.Interface._onLine (readline.js:211:10)

Agreed: we have some type-checking and a custom error message on this function.  We shouldn't let this error escape.
We should probably do something like this in internal/_reduce.js:
     if (isArrayLike(list)) {
       return _arrayReduce(fn, acc, list);
     }
+    if(isNil(list)) {
+      throw new TypeError('reduce: list must be array or iterable');
+    }
     if (typeof list.reduce === 'function') {
       return _methodReduce(fn, acc, list);
     }

hello, is this still up for grabs? @CrossEye are you still working on this? can I take this issue?

@ahmad-reza619: Feel free to investigate, create a PR.  I haven't looked at it in ages.


chore: Update to OpenTelemetry 1.27.0

Update related dependencies to the versions used in OpenTelemetry 1.27.0

It's the SpringBootSmokeTest.testSpanDump() test which fails. I think it's racy as it doesn't always fail


Add WGLMakie output to doc

I managed to add WGLMakie output to the doc directly by basically copying the scripts from the example folder. This looks pretty good. Due to current limitations, 2D outputs are static, while single frame 3D outputs are interactive. This will surely be improved in the future. What do you think @TCLiuu? We may add more examples in this way.

The codecov report is strange, and possibly wrong. I never really understand the numbers in the coverage report.

It is very nice. I had the same idea. I guess that the problem of the codecov report is related to the configuration of BenchmarkCI, which has at least two known problems like #48 . I will fix it.

It seems that somehow src under TestParticleMakie is no longer included in the codecov?

Makes sense. Then let's merge this one.


[Feat]: DeepAr filters

Version
Latest
Environment that reproduces the issue
Android
Use case description
How would one feed video processed video frames into the Android livestream client?
What I mean is: Is it even possible? Does the API of this library allows it?
For example, in this article, using both DeepAR and Amazon IVS live streamer, this seems to go like this:

CameraX sends camera frames in the ARSurfaceProvider class.
Feed those frames into DeepAR.
DeepAR renders a preview onto the surface provided by Amazon IVS broadcast SDK

Source: https://hackernoon.com/how-to-use-deepar-for-ar-effects-on-amazon-ivs-live-streams
I am wondering if this library would allow "some kind of 3.".
Proposed solution
Have this concept of "surface" (see article) where we can feed processed videos frames instead of raw camera video frames.
Alternative solutions
No response

Or would I need to hook into CameraRtmpLiveStreamer instead?
I see some surfaceCallback as well. Would that be useful in this case?
Thanks 🙏


error decoding image: "from stdin"

Hi, I'm using Fedora Linux 39. In Simp 3.5.2, I encounter the following error message upon startup:
error decoding image: "from stdin"
This issue does not occur in the previous version of the program, 3.5.1.

How are you starting it? Command line or from a launcher?

How are you starting it? Command line or from a launcher?

I was launching the program from the launcher, i.e., by clicking the icon. I checked this out, and it turns out that this issue doesn't occur when starting it from the command line.

adbe240d0e64dba627f046eedda51cea9a2ac2c1 Could you try this commit?

adbe240 Could you try this commit?

I've compiled the new code. The issue no longer occurs. Thanks for your help!


distribution bundle size

It seems the ng-mobx.js in dist is very huge since we use webpack to bundle both angular and mobx. However, package json describes both angular and mobx are peer dependencies. Hence the bundling part seems incorrect.

this repo seems not maintained any more, u can use https://github.com/mmlpxjs/mobx-angularjs instead 🙂

Hey @kuitos , if you're up for maintaining it I would gladly point the users to your repository.

@adamkleingit Thank you, that's my pleasure, I will continue to maintain it in a period of time 😀

Should be fixed in v1.5.0


Putting the list of languages in alphabetical order A-Z

Currently, the list of available languages in Terrastories (provided via the i18n gem) is in a non-alphabetical order.
For example, on the Heroku build (http://terrastories.herokuapp.com/), the current order is EN (default), PT, JA, ES, NL. With these available languages, the order should be EN (default), ES, JA, NL, PT.
(Note that the default doesn't need to be first, although it happens to be in the above example. If we had Arabic (AR) as an available language, that should precede EN (default)).
Let's alphabetize the list of languages in a A-Z order.

Hello! Can I try this one?
This should be the preferred order

AR, EN (default), ES, JA, NL, PT.

And not this

EN (default), AR, ES, JA, NL, PT.

right?


Tests no longer run from within the IDE

It seems that in the opentorah code, the tests stopped running from the IDE - but run fine from Gradle within the IDE...
Something changed with the classpaths; either:

I broke something
Gradle changed something
sbt changed something?

if the project is configured to run the tests with Gradle and not using IDE's own runner, everything works fine ;)


Midi CC / external control of synth parameters

Hi,
Great work on this little plugin, it sounds.. kickass, pardon the pun. I like it so much that I'd like to install it on a standalone plugin host type of machine (self-built x86 box). Upon exploring that idea though, I noticed there's no mention of midi CC or any other form of external control anywhere in the docs or source (that I can find, anyway). Is this indeed missing, and is this something that you plan to implement? Alternatively I may try to implement it myself, I have some c/c++ experience, although I am completely new to Juce and the Juce development process, so I may be biting off more than I can chew in the short term.

Thanks, glad you're liking the plugin! If you're using a DAW, it's possible to map MIDI controls to individual parameters, but for a standalone thing like you mentioned, we'll need to implement some MIDI CC controls. From my perspective, the process would look something like this:

Create a map of MIDI CC controls to plugin parameters.
Parse the MidiBuffer input to the plugin to extract the MIDI CC values for those controls.
Set the parameters based on the MIDI CC values.

Here's a rough outline of a class that could maybe do this kind of thing (see also JUCE MidiMessage documentation):
class MidiController
{
public:
    MidiController (AudioProcessorValueTreeState& vts)
    {
        map.insert ({ 16, vts.getParameter ("out_level") }); // map output level to MIDI CC 16
        ... // do other parameters
    }

    void processBuffer (MidiBuffer& messages)
    {
        for (const MidiMessageMetadata mm : midi)
        {
            auto message = mm.getMessage();

            for (const auto& [ccID, param] : params)
            {
                if (message.isControllerOfType (ccID)
                {
                    auto paramVal = param->convertFrom0To1 ((float) message.getControllerValue() / 127.0f);
                    param->setValueNotifyingHost (paramVal);
                }
            }
        }
    }

private:
    std::unordered_map<int, RangedAudioParameter*> params;
};

Anyway, I have no idea if that will work, but might be worth trying.
Do you have references for other plugins that have this sort of thing implemented? I'd be curious to see how they do it, and how it's documented like in the plugin's user manual or something like that.
Thanks,
Jatin


🐛 "Additional step required" when opening fullscreen view

Describe the bug
When I try to open the full screen view, I always get the "Additional step requred" screen. Seems to happen both on Firefox and Chrome on Mac. I even tried logging in with StackBlitz as requested but it did not help, I get the below error when trying to "Connect to Project":
Step 1:

Step 2:

Step 3:

Reproduction
Firefox, MacOS 14 Sonoma. Create any project, try to open fullscreen.
Expected behavior
Project should open in new tab.
Screenshots
No response
Additional context
No response

Yeah this is unfortunately a problem that the webcontainers API has with Firefox...we can't do much  about it

@paoloricciuti I have the same problem on Chrome 118.0.5993.117. Is that expected? Do I need to sign in to StackBlitz to go into full screen? 🤔

@paoloricciuti I have the same problem on Chrome 118.0.5993.117. Is that expected? Do I need to sign in to StackBlitz to go into full screen? 🤔

I noticed sometimes it happen on chrome too...are you trying to open in incognito by any chance?

@paoloricciuti Not incognito, no extensions loaded except standard Chrome ones (Google Docs).

I will try out and eventually report back to stack blitz, thanks for reporting :pray:


updated logitech-unifying (1.2.359)

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[*] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[*] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Thank you for the submission. In the futyre, pelase use x instead of *. Difference:


Conformance view broken

The following link: https://godbolt.org/g/ehKEau shows all compilers build OK. But if you look at individual output, some compilers fail.
I just updated and then suddenly the compilers failed... hmm
Repro steps:

New CE window
Reset UI
Type in the code from below
close compiler window
create conformance view
click to add three compilers - leave them blank
paste -Wuseless-cast -std=c++1z options into each options slow
pick x86_64 gcc 6.3 as first compiler - builds OK
pick x86 gcc 7.2 as second compiler - builds OK -- BUT should fail (options make it fail)
pick x86 gcc trunk as third compiler - builds OK - BUT should fail as above
Now create a compiler window and notice suddenly the 7.2 and trunk compilers start working

(code:
enum class Enum : char { A = 0, B = 1 };
struct S {
  Enum e { Enum::A };
};

)

May require a drag of the conformance view, not a click (couldn't repro when I clicked it)

This has uncovered a nasty problem that might be present elsewhere. the configs passed to GoldenLayout have values for when they were declared, not called, which makes a lot of sense when you think about it but I somehow didn't realize until now.
Hopefuly I can fix it today, tops

And as always, I forgot to close by commit. Closed by c4d6f1a


Added Oncetold to datafile and Oncetold logo to assets folder.

I added my new Podcasting 2.0 native hosting platform Oncetold (Beta) to the data file. Go podcasting!

Okay! Corrected the elementURL tags. Thank you for pointing it out! 🤠☕


Add support for multiline string properties

If you enter a multiline string into a string property in the editor, it saves the string inside the xml node instead of inside the "value" attribute:
<property name="prop3">Line 1
Line 2
Line 3,
  etc
   </property>

which should be parsed as:
"Line 1\r\nLine 2\r\nLine 3,\r\n  etc\r\n   "

(I believe Tiled saves the file with the system's native line endings right? Not sure if the parsing in this PR should normalize it)
This PR adds support for parsing multiline strings like this.
It also adds such a property to the test files and adds a test to check that it works.
(feel free to suggest changes)

(I believe Tiled saves the file with the system's native line endings right? Not sure if the parsing in this PR should normalize it)

Doesn't that happen automatically depending on whether the file is opened in text mode? That's what happens in Tiled at least, but it might be as a result of using Qt.

Not sure if the parsing in this PR should normalize it
Didn't notice this, it'd be better if you could normalize line endings from code


Support for fans

Are there any plans to support RGB fans? I have Corsair fans and a Corsair keyboard, so with Aurora open the fans won't light up since iCUE sees them as being controlled through the SDK by another program (Aurora). I have a mouse too, so this would require adding more device slots.

Duplicate of #1055


Include animtime.com

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Any
Example URLs
Single video url: https://s3.eu-central-1.wasabisys.com/animtime/dragon-ball-dub/DragonBall-Dub-001.mp4
Home page : https://animtime.com/title/22/episode/1
Provide a description that is worded well enough to be understood
I think it's accessible anywhere
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--cookies', 'anim_cookies.txt', 'https://s3.eu-central-1.wasabisys.com/animtime/dragon-ball-dub/DragonBall-Dub-001.mp4', '-o', 'beast.mp4', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [7ea278792] (pip)
[debug] Python 3.10.15 (CPython x86_64 64bit) - Linux-6.5.0-1025-azure-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg n7.1-36-g20c8a3f5ff-20241120 (setts), ffprobe n7.1-36-g20c8a3f5ff-20241120
[debug] Optional libraries: sqlite3-3.37.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[generic] Extracting URL: https://s3.eu-central-1.wasabisys.com/animtime/dragon-ball-dub/DragonBall-Dub-001.mp4
[generic] DragonBall-Dub-001: Downloading webpage

Piracy sites won't be supported
https://github.com/yt-dlp/yt-dlp/wiki/FAQ#why-is-there-a-rule-against-websites-primarily-used-for-piracy


bclib 0.5.5 - 0.5.6 crashes launcher

betternether requires 0.5.5 up to function on minecraft 1.17, but whenever i try to run these two versions, it crashes my launcher.
the launcher says:
ERROR
Game Crashed
An unexpected issue occurred and the game has crashed. We're sorry for the inconvenience.
Exit Code: 0

Can you please provide logs?

Can you please provide logs?

So, 9 days left, no logs provided, I'm closing this