make rat-excludes compliant with apache release policy

Description
make rat-excludes compliant with apache release policy
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] remove md

Comments

<EMAIL_ADDRESS>feedback from @lresende

Here's the Markdown files currently not in compliance
CONTRIBUTORS.md
MKLDNN_README.md
NEWS.md
README.md
amalgamation/README.md
ci/README.md
ci/publish/README.md
ci/qemu/README.md
contrib/clojure-package/README.md
contrib/clojure-package/testing.md
contrib/clojure-package/examples/captcha/README.md
contrib/clojure-package/examples/cnn-text-classification/README.md
contrib/clojure-package/examples/gan/README.md
contrib/clojure-package/examples/imclassification/README.md
contrib/clojure-package/examples/infer/imageclassifier/README.md
contrib/clojure-package/examples/infer/objectdetector/README.md
contrib/clojure-package/examples/infer/predictor/README.md
contrib/clojure-package/examples/module/README.md
contrib/clojure-package/examples/multi-label/README.md
contrib/clojure-package/examples/neural-style/README.md
contrib/clojure-package/examples/pre-trained-models/README.md
contrib/clojure-package/examples/profiler/README.md
contrib/clojure-package/examples/rnn/README.md
contrib/clojure-package/examples/tutorial/README.md
contrib/clojure-package/examples/visualization/README.md
cpp-package/README.md
cpp-package/example/README.md
cpp-package/example/feature_extract/README.md
cpp-package/example/inference/README.md
example/README.md
example/adversary/README.md
example/autoencoder/README.md
example/autoencoder/variational_autoencoder/README.md
example/bayesian-methods/README.md
example/bi-lstm-sort/README.md
example/caffe/README.md
example/capsnet/README.md
example/captcha/README.md
example/cnn_chinese_text_classification/README.md
example/cnn_text_classification/README.md
example/ctc/README.md
example/deep-embedded-clustering/README.md
example/distributed_training/README.md
example/dsd/README.md
example/fcn-xs/README.md
example/gluon/audio/urban_sounds/README.md
example/gluon/dc_gan/README.md
example/gluon/embedding_learning/README.md
example/gluon/sn_gan/README.md
example/gluon/style_transfer/README.md
example/gluon/tree_lstm/README.md
example/gluon/word_language_model/README.md
example/kaggle-ndsb1/README.md
example/kaggle-ndsb2/README.md
example/model-parallel/matrix_factorization/README.md
example/module/README.md
example/multi-task/README.md
example/multivariate_time_series/README.md
example/named_entity_recognition/README.md
example/nce-loss/README.md
example/neural-style/README.md
example/neural-style/end_to_end/README.md
example/numpy-ops/README.md
example/profiler/README.md
example/rcnn/README.md
example/recommenders/README.md
example/reinforcement-learning/a3c/README.md
example/reinforcement-learning/ddpg/README.md
example/reinforcement-learning/parallel_actor_critic/README.md
example/restricted-boltzmann-machine/README.md
example/rnn/README.md
example/rnn/bucketing/README.md
example/rnn/old/README.md
example/rnn/word_lm/README.md
example/sparse/factorization_machine/README.md
example/sparse/linear_classification/README.md
example/sparse/matrix_factorization/README.md
example/sparse/wide_deep/README.md
example/speech_recognition/README.md
example/ssd/README.md
example/ssd/dataset/pycocotools/README.md
example/ssd/model/README.md
example/ssd/symbol/README.md
example/ssd/tools/caffe_converter/README.md
example/stochastic-depth/README.md
example/svm_mnist/README.md
example/svrg_module/README.md
example/vae-gan/README.md
julia/LICENSE.md
julia/NEWS.md
julia/README-DEV.md
julia/README.md
julia/examples/char-lstm/README.md
julia/plugins/README.md
matlab/README.md
perl-package/README.md
perl-package/AI-MXNet/examples/gluon/style_transfer/README.md
perl-package/AI-MXNet/examples/sparse/matrix_factorization/README.md
perl-package/AI-MXNet/examples/sparse/wide_deep/README.md
plugin/caffe/README.md
python/README.md
python/minpy/README.md
scala-package/README.md
scala-package/memory-management.md
scala-package/examples/src/main/java/org/apache/mxnetexamples/javaapi/infer/objectdetector/README.md
scala-package/examples/src/main/java/org/apache/mxnetexamples/javaapi/infer/predictor/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/benchmark/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/cnntextclassification/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/customop/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/gan/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/imclassification/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/infer/imageclassifier/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/infer/objectdetector/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/neuralstyle/README.md
scala-package/examples/src/main/scala/org/apache/mxnetexamples/rnn/README.md
scala-package/mxnet-demo/java-demo/README.md
scala-package/mxnet-demo/scala-demo/README.md
scala-package/native/README.md
scala-package/packageTest/README.md
scala-package/spark/README.md
tests/README.md
tests/nightly/README.md
tests/nightly/apache_rat_license_check/README.md
tests/nightly/broken_link_checker_test/README.md
tests/nightly/model_backwards_compatibility_check/README.md
tests/nightly/straight_dope/README.md
tests/python/README.md
tools/accnn/README.md
tools/bandwidth/README.md
tools/caffe_converter/README.md
tools/caffe_translator/README.md
tools/caffe_translator/build_from_source.md
tools/caffe_translator/faq.md
tools/cfn/Readme.md
tools/coreml/README.md
tools/dependencies/README.md
tools/staticbuild/README.md

Markdown license headers have been added.

@szha Thanks for your contribution!
@mxnet-label-bot add [pr-awaiting-review]

API docs are breaking:
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-14142/9/index.html

@szha as I said on the dev list, adding license headers to the markdown isn't required and might break the website. You also had that comment from Justin that referred to the same policy. I realize you're getting mixed signals on the general list. The policy clearly states we don't need to add licenses for information files and for the website.
If you check your preview, you'll see that the site is broken.
I just cancelled the website publish job that was going to push these changes to production. If you revert this PR, we can avoid publishing a broken website.
Thanks.

@aaronmarkham adding license header is required. I'm happy to submit patch to fix the website but we should not take a backward step.

The Beam project seems to embed the licenses in their markdown files. Maybe we can do the same thing?
Example: https://raw.githubusercontent.com/apache/beam/88acc8eb84c128bab6f8c655cdbba9270f44b94c/website/src/get-started/quickstart-go.md

Oh I see this PR has the license embedded in the same way as the Beam project. They are using https://github.com/apache/beam/tree/master/website Jekyll though for generation.

It might have been caused by unpaired number of dashes in the comment. I'm verifying this assumption in the PR above.


BandProtocol.com v4 Implementation

With the upcoming Kovan testnet launch, we want to also have a new website with updated information on the current tech of Band Protocol
Motivation

Current Band Protocol website still presents deprecated tech interfaces which no longer reflects what Band Protocol offers
With the current implementation, our message offers a broad view of the products we have built. With the focus we now put on the TCD, we want to shape the messages to be more

Suggested Implementation
We already planned out the implementation detail. Here's what we need to do:

Create a sitemap - this will help to guide the content draft
Get a content draft - create a text-only version of the website. With this we try to make sure that when we put down the layout we have the narration ready, and that graphics should be supplementary to the content

https://docs.google.com/document/d/1mxRn0uzCZ-E2qngM2F_xPozl0Qf6uDkDihTEjsjOz_M/edit#

Get the layout down - with this step, we will have a working (design) prototype of the  website that we can interact with. The goal is to make sure with got all the key navigation down and that the only thing left is graphics

Link gone > see full mockup instead

Full Mockups - now it's when things get real. This is what users will see on the fina implementation

https://invis.io/RETDW4S3NTK#/378112190_Landing

Implementation - this is where we'll put most energy on keeping track of things we need to accomplish before we release the website into the wild. Next section will underline the implementation checklist.

Implementation Checklist
Design

[x] Landing
[x] Feature > Overview
[x] Feature > Dual-Token
[x] Feature > TCD
[x] Feature > Data Governance Portal
[x] For Developer
[x] Company > About Us
[x] Company > Career
[x] Navigation

[x] Navbar > Features
[x] Navbar > Company
[x] Navbar > Community

Desktop (Layout-only)

[x] Landing
[x] Feature > Overview
[x] Feature > Dual-Token
[x] Feature > TCD
[x] Feature > Data Governance Portal
[x] For Developer
[x] Company > About Us
[x] Company > Career
[x] Navigation

[x] Navbar > Features
[x] Navbar > Company
[x] Navbar > Community

Desktop (Full)

[x] Landing
[x] Feature > Overview
[x] Feature > Dual-Token
[x] Feature > TCD
[x] Feature > Data Governance Portal
[x] For Developer
[x] Company > About Us
[x] Company > Career
[x] Navigation

[x] Navbar > Features
[x] Navbar > Company
[x] Navbar > Community

Mobile (Full)

[x] Landing
[x] Feature > Overview
[x] Feature > Dual-Token
[x] Feature > TCD
[x] Feature > Data Governance Portal
[x] For Developer
[x] Company > About Us
[x] Company > Career
[x] Navigation

[x] Navbar > Features
[x] Navbar > Company
[x] Navbar > Community

Analytics

[x] GA
[x] Amplitude

@evilpeach Please make sure we keep track of what's implemented

Most work are done! 🙌Now the only thing left would be the last-mile bug hunts / styling, which I'll add as issue in here.


Fix/blocked after host restart

Issue
On host system reboot (lxd host, juju controller, vm) a deployed cluster, single or multi units, go into blocked state, as described by in dpe-907.
Also, related to this issue, is that more often than not the attached storage is not being reattached on reboot, as described in dpe-1007 .
Solution
Refinements on the initialization handling for better framing the unit state and follow up treatments. Added workaround for flaky lxd storage mount.
Context
On reboot of the host (or the juju controller for that matter), the charm will receive on_start event, which must test if the unit is already initialized, avoiding re-initialization of the workload.
Additionally this change deals with LXD occasionally failing to mount attached storage, i.e. the storage path, as defined in metadata.yaml, is not always a mountpoint. This is tested and when the fail is detected, a unit reboot is triggered.
Testing
Done replicating failures scenarios as described in jira tasks. Integration tests are possible and will be added in future PR.
Review focus

lib/charms/mysql/v0/mysql.py - add flag for reboot from outage when other nodes are unreachable (or single node case)
src/charm.py - test for storage attached, skip workload initialization when already done
src/mysql_vm_helpers.py - couple of new machine helpers
src/relations/db_router.py and src/relations/shared_db.py - avoid running handler when no relations in place (and db calls which can raise errors)
tests/unit/test_charm.py - refactor unit tests so we avoid reboot of the machine running the test

Recreate to merge to main


An option to just output final message?

This would be nice, maybe have it pop up the chain messages fleetingly similar to when microsoft copilot searches for things, then just display the final answer.

Yes, this should definitely be an option. What do you think of something like this? Separating the chain log from the final message while preserving a way for the user to check what's going on

I just woke up, but i think this will be the first thing i implement today haha

I also like the idea of collapsing log messages by default like this

https://github.com/nilsherzig/LLocalSearch/assets/72463901/177e9760-4378-4317-b214-44775e7d3f0e
hi, I added a log toggle :)
I'm still going to implement a better way to display logs (collapsing them and their children) but hopefully this will serve as a workable hotfix

That looks excellent! :)

Thanks :)


Grinds to a halt on 3g2 files; can't tell it to "keep going"

I have 3g2 files in my picture collection. What happens is:
2019/05/21 13:47:06 Uploading SSPX0014.3g2.skip
2019/05/21 13:47:07 failed uploading image
 --- at /go/src/github.com/nmrshll/gphotos-uploader-cli/upload/fileUpload.go:33 (StartFileUploadWorker.func1) ---
Caused by: failed uploading image
 --- at /go/src/github.com/nmrshll/gphotos-uploader-cli/upload/fileUpload.go:53 (FileUpload.upload) ---
Caused by: status message should be OK, found: NOT_IMAGE: There was an error while trying to create this media item.
 --- at /go/src/github.com/nmrshll/google-photos-api-client-go/lib-gphotos/client.go:147 (Client.UploadFile) ---

Is there a way to tell the uploader to keep going?

This is clearly an issue with the underlying tool used for the actual file uploading, gphotos-uploader-cli. Please report this problem on it's own repository.


Gridsome site not displaying HTML content after build and deployment

I am currently working on a static site that is being deployed to Netlify. After building and deploying the site none of the content is displayed but the style sheet is present. This is my first time using Gridsome so it's probably user error. I have also tried uploading the static files to another hosting provider and got the same result which leads me to believe it's a problem on my end. I get no errors when running the build both locally and on Netlify.
Environment:
OS - MacOS Catalina 10.15.7
Browser(s) - Firefox & Chrome
IDE - Webstorm 2021.2.1
Site URL:
https://reverent-nobel-6d466a.netlify.app/
Git repo:
https://github.com/DRD161/Gridsome-Portfolio
Build output:
Gridsome v0.7.23

Initializing plugins...
Load sources - 0s
Create GraphQL schema - 0.02s
Create pages and templates - 0.02s
Generate temporary code - 0.01s
Bootstrap finish - 1.28s
Compile assets - 9s
Execute GraphQL (2 queries) - 0s
Render HTML (2 files) - 0.22s
Process files (0 files) - 0s
Process images (0 images) - 0.2s

  Done in 11.35s

package.json:
{
  "name": "my-website",
  "private": true,
  "scripts": {
    "develop": "gridsome develop",
    "explore": "gridsome explore",
    "build": "gridsome build"
  },
  "dependencies": {
    "@chakra-ui/vue": "^0.8.0",
    "emotion": "^11.0.0",
    "gridsome": "^0.7.0",
    "vue-animejs": "^2.1.1",
    "vue-feather-icons": "^5.1.0"
  },
  "devDependencies": {
    "@emotion/css": "^11.1.3",
    "chakra-loader": "^1.0.3",
    "node-sass": "^6.0.0",
    "sass-loader": "^10.2.0",
    "vue-svg-loader": "^0.16.0"
  }
}

I haven't tested, but just an idea. What happens if you change the root node in App.vue from <ClientOnly> to something else like a plain div, then nest client only inside that? It looks like there is no container for the app to mount to on client-side after SSR.

I found that my problem was in fact the way I was using . I had initially wrapped my whole Index.vue file in it and that was causing the build to go through but not allowing the content to render. Instead I moved  to the Layout.vue file.


Use semantic versioning

For now, this project uses the following versioning 0.x.y, where a change in x is an incompatible API change and a change in y is every thing other, i.e. new features and bug fixes.
Once this project is mature enough, version 1.0.0 will be released and after that semantic versioning will be used.

This project is now mature enough. 1.0.0 was released.


"Copy to clipboard" doesn't work #2819

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
set a warning message on copyToClipboard if user use http
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

ок

@armenuikafka yes i showing warning  message because the connection is non Https and not secure  and the copy functionality is disabled for http, so it's working fine


Option to prevent placing items on non-nauvis surfaces

To prevent working around the 200 tile limit by using mods such as factorissimo

Sorry to bump but this would be good for Space Ex. Or even option for same surface subspace restriction.

Well, I guess this has become relevant again


How to wrap nodes in a ReactWrapper in 3.0?

Previous to React 16 I had a function that took a bootstrap modal component, found it's portal location and then returned a new ReactWrapper which I could use to make assertions on the content of the modal. Since upgrading to enzyme 3.0 I can make the ReactWrapper but any finds on it don't find anything, but running those same selectors on .querySelector on the modal work.
This is what i use to have:
import { ReactWrapper } from 'enzyme';
import findReactComponent from '../utils/findReactComponent';

export default (modalComponent) => {
    return new ReactWrapper(
        findReactComponent(
            modalComponent.props().manager.modals[0].getDialogElement(),
        ),
        modalComponent.root(),
    );
};

Any hints on how I can get this to work again? I've been trying to get it working all day.

I have been asking this question myself to in order to migrate Material-UI test suite. I have noticed that the v3 behavior is different from the v2.

My workaround is to convert to HTML first, then find the selector
wrapper.html().includes('ClassName');

@danactive I tried that and unfortunately it's not even an option for me, wrapper.html() returns null, even though getDialogElement().innerHTML has HTML in it.

I was able to get this working by using the children API, it seems that creating a wrapper instance around a ref (which is a pure HTML node) no longer works.
My code is something like:
const FooModal = () => <Dialog><DialogContent/></Dialog> //Dialog is a portal component so DialogContent is in body root

const contentWrapper = new ReactWrapper(mount(<FooModal/>).children().prop('children'))

Best solution so far for me is to remove the usage of ReactWrapper and to rely on native DOM operations.

Same issue. I have tests for a popup component and this little helper method:
function mountPopup(popupElement) {
    const wrapper = mount(popupElement);

    return new ReactWrapper(wrapper.find(Portal).instance().$portal, true);
}

What is the new way to do this?

Super temporary solution:
function mountPopup(popupElement) {
    const wrapper = mount(popupElement);
    const portalInstance = wrapper.find(Portal).instance();

    return new ReactWrapper(
        portalInstance.props.children,
        undefined,
        { attachTo: portalInstance.$portal }
    );
}

It works, but not always, because you can't wrapper.update(), etc.

Does the .wrap method in a ReactWrapper/ShallowWrapper help?

No so much:
const wrapper = mount(<Popup>Test</Popup>);
const portalInstance = wrapper.find(Portal).instance();

wrapper.wrap(portalInstance).debug();
/*
"<undefined onClose={[Function]} />"
*/
wrapper.wrap(portalInstance.$portal).debug();
/*
"<undefined />"
*/
wrapper.wrap(portalInstance.props.children).debug();
/*
"<PopupContent posX={0} posY={0} />"
*/
new ReactWrapper(portalInstance.props.children).debug();
/*
"<PopupPosition posX={0} posY={0}>

      Test

</PopupContent>"
*/

Not sure if I'm doing it right.

Related to Portals specifically, I don't think enzyme has proper react 16 portal support yet.

It's React 15. I have no issues with React 16 so far (as it should be, because it has all nodes in single tree).

Prior to React 16's Portal API, React has no facility for managing elements outside the render tree, and thus neither does enzyme.
If there's a specific bug with test cases, I'm happy to reopen this and address it.


[YUNIKORN-2230] Placement rule does not behave as expected

What is this PR for?
Fix issue with the placement rules, specifically the one where the provided rule (when created is true) is applied before the tag rule, is not functioning as intended. The root cause lies in the GetQueueNameFromPod function in the shim, which automatically adds a default queue name to a pod if none is specified. As a result, the provided rule (when created is true) is consistently applied, preventing the tag rule from being triggered.
What type of PR is it?

[x] - Bug Fix

Todos
N/A
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2230
How should this be tested?
covered by e2e test
Screenshots (if appropriate)
N/A
Questions:

[x] - There is breaking changes for older versions. This Pull Request removed the default queue name on the shim side. If a user is using YuniKorn without enabling the Admission Controller (which adds a default queue name), pods that do not provide a queue name will be rejected.

This is more a design and behavioural question than a code review.
Should we not have a similar behaviour as we have on the admission controller and allow specifying the default queue? In other words should we re-use the setting for the default queue in the K8shim. We do something similar also for the application ID generation.

This is more a design and behavioural question than a code review.
Should we not have a similar behaviour as we have on the admission controller and allow specifying the default queue? In other words should we re-use the setting for the default queue in the K8shim. We do something similar also for the application ID generation.

Thank's for the comment! Indeed, that is a better way and doing so won't break anything. I'll make the setting admissionController.filtering.defaultQueue to also determine whether K8shim should add the default queue name or not. And we should emphasize in document that this setting still takes effect even without the admission controller, I'll open another pr to do that after this one is merged.

I also have another minor question: should we consider renaming these two settings (admissionController.filtering.defaultQueueName and admissionController.filtering.generateUniqueAppId)? Since they not only control the admission controller but also influence K8Shim, perhaps a more descriptive name would be appropriate.

gentle ping @wilfred-s
I'm trying to follow the logic of GenerateUniqueAppIds and add a new variable DefaultQueueName in schedulerconf.go. However, I encountered a challenge. I believe DefaultQueueName must be placed in handleNonReloadableConfig to make it a configuration that takes effect only after restarting YuniKorn. Without this, changes to DefaultQueueName might lead to inconsistencies when getAppMetadata returns the queueName in the existing pod, as it could change due to configmap modifications in DefaultQueueName.
However, if I set DefaultQueueName as non-reloadable, changing the default queue name to "" would require restarting the entire YuniKorn. Otherwise, the K8shim might still return the queue name as root.default (the current default value of DefaultQueueName). I think this could make things more complex, not unsure if there are better suggestions or approaches... thank you.

if I set DefaultQueueName as non-reloadable, changing the default queue name to "" would require restarting the entire YuniKorn

pardon me, is this a potential issue? Are there any reasons that users have to change the default queue name by re-reconfiguring?

The admission controller handles it as a reloadable value. We can do either. However I think that the value should be reloadable as we can change the queue config and placement rules on the fly also.
If you do not allow it to be reloadable a queue config change could be applied by the default queue would not change causing rejects etc. Keeping them both reloadable would be better.

Obsolete after YUNIKORN-2711 and YUNIKORN-2703.


EE core will now utilize the original LoadExecPS2 syscall & slimmed down IGS

Pull Request checklist
Note: these are not necessarily requirements

[ ] I reformatted the code with clang-format
[x] I checked to make sure my submission worked
[x] I am the author of submission or have permission from the original author
[ ] Requires update of the PS2SDK
[ ] Requires update of the gsKit
[ ] Others (please specify below)

Pull Request description
EE core: utilize LoadExecPS2 syscall (inclusive of peripheral reset, memory wipe and argument storage).
IGS: Removed dependency on libmc (was never used), reduced cache flushes by using uncached segment instead, replaced its DI and EI functions with their libkernel counterparts, changed load address to 0x00086000 since 0x00082000 is used for the games' alarm patch, merged linkfile.

The LoadExecPS2 method was from PS2ESDL, which was designed based on input from Silverbull (author of Kermit ODEM).
There are likely other areas that can be trimmed, but these were the ideas that I had on hand. I have tested and verified that we can compile OPL with all compile-time options enabled.

Thanks for looking through the commits.
I didn't realize that I had not deleted linkfile.igs. I have deleted it.
-nostdlib has been added to EE_LDFLAGS
I seem to have forgotten to build with the CHEAT option. With these, then there still isn't enough  space:  GSM VMC IGS CHEAT
There should still be things that can be cut down. Just that not everything that should be remove are obvious.

I can't test right now, but if you merge the two memory areas (ram86 and ram88) you'll probably have some extra space.
For testing you should build with all options enabled, or just run make clean release, that also has all options (besides HIRES) enabled.

I've had issues with changing the address as well, I think they where related to this:
https://github.com/ifcaro/Open-PS2-Loader/blob/master/ee_core/src/syshook.c#L106
And this:
https://github.com/ifcaro/Open-PS2-Loader/blob/master/include/iosupport.h#L67
When changing the ee_core to use ramD0, the WipeUserMemory will crash becouse "start" (where ee_core ends) is then bigger than "end" (where modules are loaded).

 A project that was developed independently of OPL, which also has a different memory map. It was a basic game loader, with much less components.
But back then, I had a lot less experience with PS2 development, so anything could have gone wrong.
Even if we relocate the EE core, the _end will always point to the end of the EE core.
However, I hardcoded the address of the stack address within linkfile, so that has to be updated as well (otherwise, the stack might point to the wrong place or have a negative size). All code in asm.S will now use _end to set up the stack pointer, so there is no need to update asm.S anymore.
The OPL in-game memory wipe is in 2 parts:

From _end to the module storage.
From the end of module storage to the end of memory.

Either one may be 0 in length. The only assumption is that the EE core itself is before module storage. With the other PR, this is still the same, but the higher-range (from module end to end of memory) will be done by the EE kernel.
Thanks for looking through my work!

Just wanted to report that we seem to still have to disable one module in order to make OPL run.  It will compile, but it won't run.  This is the version I tested today: Open PS2 Loader 0.9.3+.1107-Beta-13d89c8
I did update to the latest PS2SDK, but that didn't help.
So far, if I run this: It will fail
make clean && make VMC=1 GSM=1 IGS=1 PADEMU=1 CHEAT=1 HIRES=1
But when I run this: It will work.
make clean && make VMC=1 GSM=1 PADEMU=1 CHEAT=1 HIRES=1
So just removing one module (in this case IGS=1 will work).
Luckily, if I then add RTL=1 to the above working version, it will still compile and load successfully.  So at least that is a plus! :)
make clean && make VMC=1 RTL=1 GSM=1 PADEMU=1 CHEAT=1 HIRES=1
I'm not even sure if anyone even uses the IGS feature in OPL?  I've always loaded an OPL version with the IGS module enabled on my console, and never had any issues whatsoever with VMC.  Perhaps the VMC issue that @ElPatas1 mentions in another pull request was perhaps an early bug that was later fixed?
-- Saying that, I don't think the IGS feature will be missed much, so I will now upload new OPL versions to the group at PS2-HOME without the IGS module enabled for now...
Hopefully, you guys can figure out how to get all those modules working again...

Did you try using the uncompressed file (opl.elf)? There is still that ps2-packer bug that could not be found and fixed.

@sp193 , thanks for the quick reply...
I didn't have to test that, I think I was able to fix it this on my end.
All I did was update gsKIT.  I notice there were some new updates since my last update: 0517a91 > ed20b40
So it seems that was the magic trick??
So with that, I am now able to run this without an issue:
make clean && make VMC=1 GSM=1 IGS=1 PADEMU=1 CHEAT=1 HIRES=1
P.S. in case you are wondering, I've been verifying MD5 checksums of the ELFs that I transfer from my FTP to MASS, just in case it's that bug when the files don't transfer fully and etc.
I'll report back if I find more issues to this.  But I will keep in mind of also testing the uncompressed elf, just in case.

"Saving Config"? So this probably means you have the "remember last game played" option left on.
I cannot replicate this issue, unfortunately. I did find one config-related bug, but it should only matter if the OPL network settings file is missing: https://github.com/sp193/Open-PS2-Loader/commit/0350a210d9d1804ff1e42c901d7f36fdc90a13db
As for the PlayStation 2 getting stuck after the PlayStation 2 logo: there was a mistake that prevents it from working if you have GSM built in, but disabled.
If you want to see whether any of it mattered, you can check out the config-fix branch:

git clone https://github.com/sp193/Open-Ps2-Loader open-ps2-loader-sp193
git checkout config-fix
make VMC=1 GSM=1 IGS=1 PADEMU=1 CHEAT=1 HIRES=1

If reducing the number of features do somehow help, can you try to find out which one of them seems to be related to the freeze?

Okay, I got an error when trying to compile it.  I followed your instructions above to a tee.
$ git clone https://github.com/sp193/Open-Ps2-Loader open-ps2-loader-sp193
Cloning into 'open-ps2-loader-sp193'...
remote: Counting objects: 11937, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 11937 (delta 22), reused 27 (delta 10), pack-reused 11882
Receiving objects: 100% (11937/11937), 6.33 MiB | 2.39 MiB/s, done.
Resolving deltas: 100% (8813/8813), done.

$ cd open-ps2-loader-sp193

$ git checkout config-fix
Switched to a new branch 'config-fix'
Branch 'config-fix' set up to track remote branch 'config-fix' from 'origin'.

$ make VMC=1 GSM=1 IGS=1 PADEMU=1 CHEAT=1 HIRES=1
Building Open PS2 Loader 0.9.3+.1111-Beta-ebf9fb1...
-Interface
make[1]: *** No rule to make target `misc/icon_C.sys', needed by `asm/icon_sys_C
.s'.  Stop.
make: *** [all] Error 2

Oops. I forgot to add that file.
Please pull. From open-ps2-loader-sp193, just issue a git pull.

After I do the above, do you want me to switch to the config-fix branch or do you want me to now work with the HEAD branch?

Do it from config-fix.

Okay, my first test:
I enabled all the modules you listed above.  I was able to run OPL, but when I got to the point of launching the PS2 Game via SMB it froze up and displayed on the screen: Saving config.

"Saving Config"? So this probably means you have the "remember last game played" option left on.

Yes, I have that enabled under Settings, but I have it disabled so it doesn't try to auto-launch the game.  Should I also disable this?
I will now make a few test to see what module "combo" will work or not....

Okay, after trying several combinations, I was able to find the culprit.
It's when we build OPL with VMC=1 it will fail to load the PS2 Game.
make VMC=1 - NOT WORKING
We can run all the other modules/features without an issue as long as we don't enable VMC:
make GSM=1 IGS=1 PADEMU=1 CHEAT=1 HIRES=1 - WORKING

UPDATE:
Make sure to read my previous post above....
I discovered another situation.
During my tests above, I had disabled both PS2 Logo and Remember Last Game features.
Well, if I compile OPL with the one that I listed above as WORKING, but if I enable either of those two features or both at the same time, it will fail to load the game.
So the issue seems to be VMC and those two features when they are enabled.
I hope this helps....

It's because I made a mistake while revamping system.c for the IOP-side patches. Only VMC doesn't work.
Here's the related pull request: #118

Okay, when compiled with VMC enabled, it no longer freezes when trying to launch the game.  Doesn't get stuck at Saving config.
But... if we enable PS2 Logo under OPL Settings it will refuse to load the game via SMB -- gets a black screen after the PS2 Logo appears.
So that seems to be broken, since before all these recent chances, I never had this happen before.
But VMC is working and also the game does load the VMC.

I found another bug (make sure to read my previous post above).
The CHEATS are not loading for a game that I have cheats for.  So that seems to be broken also. :(

The inability to boot the game after PS2LOGO is booted, has got to do with a mistake that caused the boot filename to be missing from the argument list itself... which caused the arguments list to be off by 1.
Related pull request: https://github.com/ifcaro/Open-PS2-Loader/pull/119
As for the cheats - I don't see how it's related to the recent patches. What do you mean by it does not load?

The (PS2RD) cheats problem:  The game loads, but without the cheats enabled during game play.
I don't know if you recall, but the cheats feature was moved from being a global setting to a per game setting -- just like GSM, and PADEMU.
  Well, it won't load the game cheats.  The game loads, but without any cheats you have enabled for it.  Like if there was no cheats for this game and etc.
And I did notice you had edited something about PS2RD (cheats) in this commit: https://github.com/ifcaro/Open-PS2-Loader/commit/6aaed8325473c09ba2d2fb91e506b040849b43fa -- NOTE: there could be other commits, but that is at least is one...

It should all work now.
There's this thing about the cheat engine: arguments are passed via pointer. Since LoadExecPS2 is now used, the memory that the GUI used to reside at is wiped.
So with some variation to how the EE core is set up, it can work.
Thanks for bringing this up.

You didn't do make clean first. The old binary files from the previous tests are still there.

Hahaha, I though I had run it before anything, but yes, that what it took to compile correctly.
I now tested it and now the PS2 Game loads fine.
A summary of what got fixed:

VMC  = works.
PS2 LOGO = works
PS2RD = works.

I am now going to test both GSM and IGS features in OPL.  Just to see if they are also operational during game play.
As to PADEMU, I won't be able to test that feature.  So crossing fingers that isn't also broken.  But I guess we'll soon learn this once we push this new beta out in the open.
Be right back with the results of the other two tests.

(Follow up to my previous reply above...)
Tested the following:

GSM = works.
IGS = works.

I had to remind myself how to use IGS: Instructions. -- it seems to work, I just don't recall if it has to exit the game after taking the screenshot?  It did exit the game, so not sure if that's its normal behaviour or not.  I never tested this feature fully during that time.
Saying that, I think we are good to go!
I'll wait until someone accepts your pull request on the ifcaro repo.   And then push out a new build for the masses. :)
I still appreciate everything you do, so thanks!
I will now jump to the ongoing issue with FTP and MASS corruptions.  I got something new to report...  See you in that thread, soon...

@sp193, are you still planning on making a new pull request to the recent fix you made in your main-fix branch?

I made the pull request 2 days ago (Under "pull requests"). Thanks for your help.


Ray issue while running API server

Hi All ,
I am trying to run
python3 -m vllm.entrypoints.api_server     --model huggyllama/llama-13b     --tensor-parallel-size 4
I am using local build of vllm.
Hardware I am using .

A100 40GB
Python 3.10
Cuda 12.0

Traceback (most recent call last):
  File " suresh.bhusare/anaconda3/envs/vllm-test/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File " suresh.bhusare/anaconda3/envs/vllm-test/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File " suresh.bhusare/inference-llm/vllm/vllm/__init__.py", line 4, in <module>
    from vllm.engine.async_llm_engine import AsyncLLMEngine
  File " suresh.bhusare/inference-llm/vllm/vllm/engine/async_llm_engine.py", line 7, in <module>
    from vllm.engine.llm_engine import LLMEngine
  File " suresh.bhusare/inference-llm/vllm/vllm/engine/llm_engine.py", line 9, in <module>
    from vllm.engine.ray_utils import initialize_cluster, ray, RayWorker
  File " suresh.bhusare/inference-llm/vllm/vllm/engine/ray_utils.py", line 8, in <module>
    from ray.air.util.torch_dist import TorchDistributedWorker
  File " suresh.bhusare/anaconda3/envs/vllm-test/lib/python3.10/site-packages/ray/air/__init__.py", line 1, in <module>
    from ray.air.checkpoint import Checkpoint
  File " suresh.bhusare/anaconda3/envs/vllm-test/lib/python3.10/site-packages/ray/air/checkpoint.py", line 22, in <module>
    from ray.air._internal.remote_storage import (
  File " suresh.bhusare/anaconda3/envs/vllm-test/lib/python3.10/site-packages/ray/air/_internal/remote_storage.py", line 142, in <module>
    _cached_fs: Dict[tuple, Tuple[float, pyarrow.fs.FileSystem]] = {}
AttributeError: 'NoneType' object has no attribute 'fs'

Please let me know whats wrong with this.

running into same issue

I fixed it by installing ray v2.5.1
pip install ray==2.5.1

I believe this is a ray issue. Can you update pyarrow via pip install -U pyarrow and try again?

i tried ray-2.5.1 and pyarrow==12.0.1
this is the next error
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/vllm/lib/python3.11/site-packages/vllm/__init__.py", line 4, in <module>
    from vllm.engine.async_llm_engine import AsyncLLMEngine
  File "/vllm/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 7, in <module>
    from vllm.engine.llm_engine import LLMEngine
  File "/vllm/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 9, in <module>
    from vllm.engine.ray_utils import initialize_cluster, ray, RayWorker
ImportError: cannot import name 'RayWorker' from 'vllm.engine.ray_utils' (/vllm/lib/python3.11/site-packages/vllm/engine/ray_utils.py)```

i tried ray==2.5.1 and pyarrow==12.0.1 this is the next error
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/vllm/lib/python3.11/site-packages/vllm/__init__.py", line 4, in <module>
    from vllm.engine.async_llm_engine import AsyncLLMEngine
  File "/vllm/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 7, in <module>
    from vllm.engine.llm_engine import LLMEngine
  File "/vllm/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 9, in <module>
    from vllm.engine.ray_utils import initialize_cluster, ray, RayWorker
ImportError: cannot import name 'RayWorker' from 'vllm.engine.ray_utils' (/vllm/lib/python3.11/site-packages/vllm/engine/ray_utils.py)

I am getting this exact same error after following the same steps.

Latest vLLM main branch and the latest ray should resolve this issue. Feel free to reopen if there are any further problems.


Incorrect indentation in @code block when adding a newline after a member with a generic type

Describe the bug
When hitting "Enter" after a line with a generic type the indentation on the new line is too far.
Gif is from VS, but VSCode behaves the same way.

To Reproduce

dotnet new blazorserver
Open Counter.razor
type:
@code {  List<string> stuff = new List<string>(); }
At the end of the list line hit enter
See that the indentation is too deep.

Further technical details

ASP.NET Core version:

.NET Core SDK (reflecting any global.json):
 Version:   3.1.300
 Commit:    b2475c1295

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.15
 OS Platform: Darwin
 RID:         osx.10.15-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.1.300/

Host (useful for support):
  Version: 3.1.4
  Commit:  0c2e69caa6

.NET Core SDKs installed:
  3.0.103 [/usr/local/share/dotnet/sdk]
  3.1.102 [/usr/local/share/dotnet/sdk]
  3.1.300 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

VSCode

Fixed in VS on latest.


Publication time incorrect

I have the following item in my feed:
 <item><pubDate>Mon, 03 Dec 2018 13:03:47 PST</pubDate>
In my local time (set up correctly in miniflux), this is 22:03, but my reader (using the fever API) is showing 14:03. The same feed in the same reader on a different service is showing 22:03. The web interface is also showing '8 hours ago', so it doesn't seem related to the fever API.
Here is the entire feed file: macrumors.txt

I'm using the hosted version. On my clients (including my web browser), the timezone is set to Europe/Brussels, the same as what is set in my preferences on the hosted version.

It should work better now for the new feed items (commit https://github.com/miniflux/miniflux/commit/56efd2eb3f554b590fad8bebc4a1d752b66e5363).


Support verdaccio v5

How to test it:

checkout this branch and build npm run build
Install verdaccio globally npm install --location=global verdaccio
Create new project (simply make new directory and open it)
Install dependencies, run npm install verdaccio@5 verdaccio-auth0-ui verdaccio-aws-s3-storage verdaccio-github-oauth --force
create config.yaml (take it from registry server or contact @aju)
replace dist from node_modules/verdaccio-auth0-ui with dist folder from this project.
run registry server verdaccio -c config.yaml
set your registry to use local server, go to http://localhost:4873/, login and next open configuration
run commands to setup registry

Now you can use this local registry to install @matterway packages, for example creating new skill from template:
yarn create @matterway/assistant-skill --template @matterway/assistant-skill-template-v10 skill-name

when installing you should see logs in verdaccio server

Verified locally and the update resolve the issue of unauthorised  and package not found
Tested with 5 parallel yarn create @matterway/assistant-skill and yarn add @matterway/sdk
Uploading Screen Recording 2022-10-10 at 5.38.18 PM-[onlinevideoconverter.com].mp4…
https://user-images.githubusercontent.com/10897611/195059543-11366a6c-2779-4a3d-9d64-ec5b092c62d9.mov


Bump version for notification drawer

Bump version for new notification drawer feature

Hold for https://github.com/patternfly/patternfly-ng/pull/349


ANGLE rolls breaking on Windows after ICD json change

Hello,
After the change regarding the ICD json logic update (9616098f617c4a53ecb72a1456bb229989e2d0e4), we see that ANGLE rolls fail on some tests on Windows with the following error:
RendererVk.cpp:191 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
RendererVk.cpp:191 (VerifyExtensionsPresent): Extension not supported: VK_KHR_win32_surface
Display.cpp:1052 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ..\..\src\libANGLE\renderer\vulkan\RendererVk.cpp, enableInstanceExtensions:1698.

The output JSON file (VkICD_mock_icd.json) has been changed to include the following:
"library_path": "..\\VkICD_mock_icd.dll",

If the line above is changed to .\\VkICD_mock_icd.dll, the failing tests from above pass.
CC: @juan-lunarg

I have a PR up which should address this.

Thank you! The issue has been fixed.


Text on footer form is covered

URL's  affected :
/agency-partners/
/events-and-webinars/
/mindshare/

https://github.com/zesty-io/nextjs-website/pull/687


Refactor Calc_Rf_sh to use a dictionary

Seriously? We create a DataFrame and then loop through it to find the row matching ShadingType and then return the value?
Code should be this:
def Calc_Rf_sh(ShadingType):
   coefficients = {'T0': 1.0, 'T1': 0.08, 'T2': 0.08, 'T3': 0.15, 'T4': 0.57, 'T5': 0.1}
   return coefficients[ShadingType]

And then refactor function name to calc_Rf_sh (maybe) and ShadingType to shading_type

@daren-thomas is this still the case? would you take care of it?

I can take care of it.

I can't find this in our code anymore. Closing.


Data conversion code (convert raw jpeg and annotations to TFRecord).

@richardaecn kindly share following examples :

Data conversion code (convert raw jpeg and annotations to TFRecord).

It will be very helpful for us to see as how we prepare data and train Attribute Mask RCNN network.
Thank You

I have the same problem， hoping help


slog

Not sure if it makes sense to think how to leverage or work nicely with https://pkg.go.dev/golang.org/x/exp/slog

I don't think slog and emf are related concepts. Happy to accept a merge request in case there is something more to it.


adding nan: noise aware nerf

Pull requests instruction

Put the bibtex in awesome-NeRF/citations/<YOUR-PROJECT>.txt.
Modify the README and follow the format TITLE, AUTHOR, CONFERENCE YEAR | OPTIONAL LINK | BIBTEX. For example:

NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis, Mildenhall et al., ECCV 2020 | github  | bibtex

Hi. I've just joined to help maintain the list. Any chance of resubmitting this as there's now conflicts.

Closing this as I didn't get any response.


go: update to use go1.16.x

Signed-off-by: Carlos Panato<EMAIL_ADDRESS>
What type of PR is this?
/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area tests

What this PR does / why we need it:
go: update to use go1.16.x
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign cpanato after the PR has been reviewed.
You can assign the PR to them by writing /assign @cpanato in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

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

Needs approval from an approver in each of these files:

OWNERS [leogr]

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

LGTM label has been added.  Git tree hash: e2739ec05033a3deeec95d268a4c5dc260140e57


Add logo image to header

When adding an image (svg or png, tried both) as logo to the header of the pdf before exporting in my Angular project, the logo is not exported.
html2pdf().from(report).set(opt).toPdf().get('pdf').then(function(pdf) {
      const totalPages = pdf.internal.getNumberOfPages();
      pdf.setPage(1);
      const logo = assetUrl('images/logo.svg'); //also tried .png
      pdf.addImage(logo, 'PNG', 15, 40, 200, 114);
    }).save();

addImage() function seems to do nothing, with no error. Do I also have to install jsPdf (although I tried that too and still nothing, no error when exporting) ?
If I don't install jsPdf, then addImage() function seems to come from another library (in my IDE).
I also tried converting the image to base64 like here, but still nothing.
Is there another way? Thank you.

Fixed by adding JPEG instead of PNG: pdf.addImage(logo, 'JPEG', 15, 40, 200, 114);


Update windows script

And move requirements file to conform to documentation.

Can you file any issues with the windows script against the upstream project: https://github.com/geerlingguy/JJG-Ansible-Windows
Then if there are other follow-up changes needed for Drupal VM, can you open a new PR for them?

Pull request for upstream: https://github.com/geerlingguy/JJG-Ansible-Windows/pull/16


Should we add FastAuth wallet to examples?

as title

@alice202308 We are closing this issue for now. Let us know if you have any other questions. Thanks!


java.lang.NullPointerException: FcmListenerService.onMessageReceived (Unknown Source)

Step 1: Are you in the right place?
Here,Issue related to FCM messing service.
Step 2: Describe your environment

Android device:  All
Android OS version: 6.0,7.0
Google Play Services version: 10.2.4
Firebase/Play Services SDK version: 10.2.4

Step 3: Describe the problem:
Steps to reproduce:
I'm got crashes from Play Store and At my end working properly.
Observed Results:
*```
java.lang.NullPointerException:
at com.viram_fcm_demo.service.FcmListenerService.onMessageReceived (Unknown Source)
at com.google.firebase.messaging.FirebaseMessagingService.zzl (Unknown Source)
at com.google.firebase.messaging.FirebaseMessagingService.zzJ (Unknown Source)
at com.google.firebase.messaging.FirebaseMessagingService.handleIntent (Unknown Source)
at com.google.firebase.iid.zzb$1.run (Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)

#### Expected Results:

  * What did you expect to happen?

#### Relevant Code:

// TODO(you): code here to reproduce the problem

Hi @ViramP The current version of the SDK is 11.6.0 could you try that and file another issue if the problem persists?


React component looking for non-existent image

If you click on stroke or fill you get this error in console
   DOMPropertyOperations.js:159 GET http://localhost:9005/images/checkerboard-8x8.png 404 (Not   Found)
it seems to be coming from here
https://github.com/literallycanvas/literallycanvas/blob/2f27c1dfec9af46579f596dee53973399a7f3d7e/src/reactGUI/ColorWell.coffee#L182
I assume the file doesn't exist? Or was it forgotten somewhere

Looks like you never set imageURLPrefix.

Or you never added the images to your server.

I did both. For example the canvas on http://literallycanvas.com/index.html also throws the error. Doesn't seem to impact anything from what I can tell though

Oh, fun, that image is just missing. You can pull it out of /lib/img/ in this repo.


chore: move max idle millis setting into transport strategy

This addresses one of the outstanding items from the list
of fast-follows for the Configuration API:
https://github.com/momentohq/client-sdk-javascript/issues/146
Prior to this commit we were exposing 'maxIdleMillis' as a
top-level setting on the Configuration.  However, we do not
expect users to need to know about this setting in the 90%
use case, so this commit moves it down into the TransportStrategy.

Looks like I merged the PRs in the wrong order.


Wayland: use init_from_env() to create windows and allow server-sid…

[x] Tested on all platforms changed
[x] Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users

init_from_env() allows the creation of windows with server-side decorations when appropriate (when the compositor allows and supports it). Some compositors will never support server-side decorations on wayland like gnome's mutter however other compositors like kde's kwin actively support and encourage its usage.

LGTM apart from the changelog nit. :+1:


Cannot work on iPhone X.

Related to:
    /* The standard status bar is 20 pixels. The navigation bar extends 20 pixels up so it is overlapped by the status bar.
     * When there is a larger than 20 pixel status bar (e.g. a phone call is in progress or GPS is active), the center needs
     * to shift up 20 pixels to avoid this 'dead space' being visible above the usual nav bar.
     */
    if (statusBarHeight > 20)
    {
        statusBarHeight -= 20;
    }

This seems pretty urgent

There are quite a few forks of this that seem to have corrected for this, like this one: https://github.com/receipt-bank/TLYShyNavBar/blob/f4004c7b1ce0989b4ab60dfc465554fb94f2883c/TLYShyNavBar/ShyControllers/TLYShyStatusBarController.m

@winzig  Thank you.

Thank you

@winzig Nice job! Thank you.


[docs-infra] Allows to use codeblock in the docs

Experiments on #36766
Preview: https://deploy-preview-37643--material-ui.netlify.app/experiments/docs/installation/
@siriwatknp I experimented a bit from your PR. To avoid deleting code I open a distinct one.
I modified the markdown parser such that <codeblock></codeblock> can can be managed manually
Basically, it allows to write to next code and get a code view with two tab name.
<codeblock>

```<language name> <tabname>
your code
```

```<language name> <tabname>
your code
```

</codeblock>

I did not keep the select interface, because it's very edge cases for X. So it could be more interesting to create a custom component as you did, by reusing the <HighlightedCodeWithTabs/>

@alexfauquette Great improvements!

@samuelsycamore You can now update all the install script you want on core :)


send_from_directory unclosed file error

When warnings are set to error, pytest claims there is an unclosed file when send_from_directory is called.  I assume this indicates there is a resource leak.  Even if Python garbage collects this at some point, this causes issues with testing flask applications that use send_from_directory with warnings as errors enabled.

Create app

app.py:
from flask import Flask, send_from_directory
app = Flask(__name__)

@app.route('/<path:name>')
def download_resources(name):
    return send_from_directory('resources', name)

Add resources/file.txt

mkdir resources
echo file > resources/file.txt

Add tests

tests/conftest.py:
import pytest

from app import app as flask_app

@pytest.fixture
def app():
    yield flask_app

@pytest.fixture
def client(app):
    return app.test_client()

tests/test_app.py:
def test_download(app, client):
    res = client.get('/file.txt')
    assert res.status_code == 200

Run tests

Execute pytest -Werror.
The results (results.txt) include the following error:
 ResourceWarning: unclosed file <_io.BufferedReader name='/flask-test/resources/file.txt'>
Expected Results:
Execute pytest without warnings as errors.  This is the expected result:
============================= test session starts ==============================
platform darwin -- Python 3.11.9, pytest-8.2.0, pluggy-1.5.0
rootdir: /flask-test
collected 1 item

tests/test_app.py .                                                      [100%]

============================== 1 passed in 0.02s ===============================

Environment:

Python version: 3.11.9
Flask version: 3.0.3

Call response.close() at the end. See Flask itself for examples of this in tests.

Call response.close() at the end. See Flask itself for examples of this in tests.

@davidism, I assume you are referring to the call to rv.close() in the test_send_from_directory code.
Unfortunately, the call to send_from_directory and the associated close both happen in the test code proper.  When called by production code the call to response.close() cannot be done without error.  When I modify download_resources to the following it causes additional errors:
@app.route('/<path:name>')
def download_resources(name):
    response = send_from_directory('resources', name)
    response.close()
    return response

Error:
self = <werkzeug.wsgi.FileWrapper object at 0x10c061150>

    def __next__(self) -> bytes:
>       data = self.file.read(self.buffer_size)
E       ValueError: read of closed file

venv/lib/python3.11/site-packages/werkzeug/wsgi.py:332: ValueError

The documentation does not mention a call to response.close().
Other documentation similarly does not call response.close().
It seems to me that the rv.close() in Flask's test case masks the unclosed file error, as you are not using send_from_directory via an external call like a Flask app would.
Thoughts?

You don't call it in your application, only in your test. WSGI servers close the response automatically, the test client cannot.


Add priority parameter to keybase1.PutMetadata

Yeah looks like the order doesn't matter. Otherwise merging this should have caused some problems by far! I'm thinking about merging this to client first, then vendor into KBFS in the kbfsmd PR, then merge that, then we can vendor from master client/KBFS in kbfs-server. Does that sound good?


Allow customization of internalResolversPrefix

Problem
Currently, internalResolversPrefix is overwritten. https://github.com/mercurius-js/mercurius-typescript/blob/58d9fa1a61854f13cde376308d31d15512018e02/packages/mercurius-codegen/src/code.ts#L82-L86
Research/Background
I use makeExecutableSchema from @graphql-tools/schema -- the same as shown in the mercurius-js tests.  However, in the single test for unions I notice makeExecutableSchema is not used.
https://github.com/mercurius-js/mercurius/blob/67f0fb31536a13274f8b9460556c3ca5a3dbc6cd/test/app-decorator.js#L808-L898
If I pass the schema with resolveType rather than __resolveType, then makeExecutableSchema will throw an error saying I must define resolveType within my schema (it thinks that resolveType is a field).  I can bypass the error by passing in the appropriate setting into resolverValidationOptions, but then I lose other types of errors/warnings, so I think this is suboptimal.
When I did bypass the error, resolveType did not work as expected with mercurius-js (the union did not resolve correctly). When I use __resolveType rather than resolveType, then the schema works as expected, but typescript gets angry.
Solution
I think the best solution is to allow users to overwrite the internalResolversPrefix setting.
There may also be something wrong with the test in the mercurius-js repo, but I'm not sure.

Fixed in the just released v1.6.1, thank you for reporting this issue/use-case


[UI] Inconsistency between axis values in charts

Hello, I've found an inconsistency on how the axis values were shown, as you can see in the screenshot below, the MB/s values for network traffic are displayed in two lines (left side), instead of one (see the Docker Network graph, right side).

I'm aware of this and it annoys me too.
The problem is that there doesn't seem to be a built-in way to dynamically adjust the axis width in Recharts. If anyone knows of a good solution to this, let me know.
I added a hacky workaround which works most of the time, so it will probably be fixed if you refresh the page.
I'll try to improve it at some point. Or maybe just rebuild the whole app with SvelteKit / LayerChart. This is the first React app I've done in a long time, and I regret that decision.

This should be fixed in 0.4.0, hopefully.
Let me know if you see it happen again :+1:


Footer is missing on homepage.

On staging.quran.com 's homepage  somehow footer is missing.

Fixed


fix obda-to-r2rml covert script: rr:column needs to be quoted

See ontop/ontop-api-examples#2
The obda-to-r2rml does not produce correct mapping
E.g. the column in,
 <http://www.w3.org/ns/r2rml#column>                                     "wr_name"
needs to be quoted:
 <http://www.w3.org/ns/r2rml#column>                                     "\"wr_name\""

It should have been fixed in the version4 branch. If it is not the case, please re-open it.


[GetAllAssetAdministrationShellIdsByAssetLink] Wrong example

What happens?
In the operation GetAllAssetAdministrationShellIdsByAssetLink, there's an error in the example.
The last bulletpoint on p. 113 mistakenly has "key" instead of "name" as json-property for specificAssetIds.
Why is this wrong?
Should be "name".
How should it be fixed?
Update the example
...

[x] I have signed the required Developer Certificate of Origin (DCO) already.

Will be solved with the V3.0.2 of the specification document.


Jfoenix 9 is empty

When i am going to add jfoenix.jar of version 9 its shows that there is not ui components and jfoenix.jar of version 8 is not supported to java 8

if you are adding JFoenix to SceneBuilder make sure you are using compatible versions of SceneBuilder and JFoenix.


Local .clasprc.json Support

Expected Behavior
Be able to use only local .clasprc.json for CI environments
Actual Behavior
Ignores completely the local file and prefers the one on the user folder, which is not CI friendly.
Steps to Reproduce the Problem

Move the file @ ~/.clasprc.json to ./ (your project folder)
Try any command that needs authentication. eg. clasp versions, clasp deploy, etc...

Specifications

Node version (node -v): v10.13.0
Version (clasp -v): 1.7.0
OS (Mac/Linux/Windows): probably any but now I'm using Windows 10

Having the same issue local .clasprc.json handling is fully broken.
This is broken since introduction of the local parameter here:
https://github.com/google/clasp/blob/cc6673905c69f7ee364d07ab68ccecf6eae3f0f6/src/auth.ts#L189
As the local parameter is never set (and therefore is always false), the global config is always used.
This is not related to service account usage as described in #225 but a breakage introduced in 87a48109. @grant please re-open this and treat as a bug, not a feature-request.

I've opened this issue asking for local credential support.

Still has the same issue for 2.3.0. Any work around?

This seems to be related to #42 and should probably be merged.
There was previously a discussion about adding a --local parameter here.

I'm still running 1.7.0 due to this feature missing...

Try replacing @google/clasp 2.3.0 with forked-clasp which is more advanced: https://github.com/PopGoesTheWza/clasp/blob/forked/docs/config-files.md
npm uninstall -g @google/clasp
npm install -g forked-clasp

Fixed in https://github.com/google/clasp/releases/tag/v2.3.1


[MM-17786] Handle window focus events (a11y_controller.js)

Summary
This PR updates the a11ycontroller.js to keep track of window focus so that it doesn't inadvertently make a11y visual updates when the windows comes back into focus again.
The problem was that once the window came back into focus, the element that last had focus received a focus event again and since that event wasn't triggered by a mouse click, the a11y_controller assumed it was a legit focus event and highlighted the element.
Test Steps:

Click on a post (not a button or link in a post)
Switch to a new tab and switch back
Move the mouse without clicking

Expected: There should be no visual updates to the post (i.e. the post should not receive an a11y focus outline.
Ticket Link
https://mattermost.atlassian.net/browse/MM-17786

Okay for QA to test post-merge. Removing QA Review label.


Grunt crash on syntax error parser

Hi,
Is it possible to not crash grunt on syntax error during the compilation ?
It's not really comfortable to re-launch grunt every time we save a file with syntax error in it.
A "force" option could be helpful to prevent grunt exit.
Error: Parse error using esprima for file

That option for grunt-contrib-watch only handles grunt.fatal and grunt.warn, unhandled errors aren't going to be caught.
The issue is that any errors that are thrown by requirejs are not being caught. This grunt plugin should be catching these errors and calling grunt.fail instead of not handling them at all.
This plugin is supposed to make requirejs compatible with grunt. Catching errors and interfacing them with grunt's fail API should be a part of that process.


Expose CanvasItemEditor.snap_point() and CanvasItemEditor.snap_angle() to GDscript to use in EditorPlugins.

I would like to make an EditorPlugin that has draggable points that snap to the 2d canvas grid. Plugins like Path2DEditor, CollisionPolygon2DEditor, Line2DEditor, ect, all use CanvasItemEditor.snap_point() to snap to the grid. I don't think there is a good way to even get the snap settings alone in gdscript. Right now I use get_editor_interface().get_base_control(), then I recursively search through all the child nodes to find the SnapDialog and the MenuButton with "Edit" text. Then I read all the snap settings directly from the UI so I can make my own snap_point(). Would be very convenient if these functions were available in some way to GDscript.

I'm currently working on improving this function to perform smart snapping. I can make it available to gdscript on the way.

This ended up more diffcult than I though to implement. It needs the editor classes to be available to GDscript which is not the case yet. Should be done but only when 'tool' is set in a script.

@groud Have you figured it out?

Well I'm not sure it is clear enough for it to be exposed. I'll have a look someday.

I'm having this issue as well, the lack of these functions makes creating custom nodes with editable settings really annoying.

+1, this is pretty crucial to both 2D and 3D tools.

I would like to make custom snap settings (for a hex grid) would that be covered in what you're doing here @groud, or should I create a new issue?

Handling a hex grid requires a rework of the grid system, it's unrelated to this issue.

@groud What's the status on this issue?

@groud What's the status on this issue?

Not done yet ^^. However, I'd like to have a simple way to declare functions as editor (or tool scripts) only, I am not sure it can be done in a clean way for now.

@efirdc Did you find the function/variable that gets the snap settings by any chance? I'm looking for a way for my plugin such that when Configure Snap > Grid Step is step, it'll then set the snap settings in, say, a TileMap in the process.

Anyone wondering about the last missing steps for this mentioned hack - how to apply the values - the key is to set the values to the SpinBox controls and then press the OK button of the SnapDialog virtually (no need to popup):
For example, horizontal grid size to 100:  spin_boxes[2].set_value(100), and to apply: snap_dialog.get_ok().emit_signal("pressed").
Documented the stuff here:
https://godotengine.org/qa/39440/can-i-get-snap-settings-in-a-script?show=79083#a79083

Hi all. Is there any improvement? I need to this feature.

^ @groud is most likely too busy with godot 4.0's tilemap update. However, since I've done a PR on this before, I could give it a shot here.
Theoretically, I could expose few methods in EditorPlugin (editor/editor_plugins.cpp) to set and get some snaps. For these methods, I could get_singleton() from CanvasItem (editor/plugins/canvas_item_editor_plugin.cpp) to set_state(dict) and get_state().

I have made the above PR to expose snap settings; however, it does not close this issue as I thought, now that I've read the title carefully.

This is old and has a workaround, so it should be reopened as a proposal.


Calculator component

MILESTONES

Use React components.
Use React props.
Style components

@gemmen29 thanks for the review and approval


Added a dark mode

Still needs some minor tweaks or colors adjusted

I've already done some work on the wip-dark-mode branch as well (#104), so could you check it out first? I’m really sorry if we've duplicated any effort. Also, could you change the PR target branch to wip-dark-mode so we can collaborate on that branch?
Overall, I see your PR is clean and easy to review, and I really appreciate that! Since this is UI changes, one or two screenshots would be a nice addition.
Thank you for your contribution!

No worries. I was unaware that branch existed before this. I have changed the target and attached a few screenshots. Please let me know if I need to update anything on my end! Thanks!

Alright, thanks! Could you check the existing conflicts?
My existing branch should look similar to yours, the main UI is mostly done, but I haven't worked in modal popups (about, settings, lyrics editor,...) yet. It would be great if you can continue from that!


Api Gateway cloud formation behaviour

Hello..
previously i have been working with api_Swagger_cors example and it worked fine but for some reason when i try to make a deployement via ci/cd while making the deployment it create a seperate Api Group for all functions .. Like my Stack name is CardStack and i have like 8 functions written and i am getting like 8 different Api groups with same name but different physical id's.. When i check my cloud formation stack detail it created only 1 group  with 1 physical id but for some reason there are like 8 stacks with same name but different physical id's in APi Gateway
I am not sure if its a swagger issue ...
P.S : it was working fine and i made no changes as i believe i just logged in and saw like i had 8 Api Groups instead of one and all had different physical id's i tried to delete them All make a new Code Pipeline new CF stacks and still the problem persist.
i believe the api gateway should never have same Name and it should throw an error so that we can trace out whats going wrong and where..
and if i can get some help regarding this it would be very helpful...

@ahmadsn26 I guess it would be helpful if you post the cloudformation template here, maybe also Code Pipeline configuration, created resources etc

This was resolved as i had discussion with the support staff and was told that this is the default behavior and is not a bug i'll close this


API Product resources page in Publisher

API Product resources page in Publisher
API Product resources create page wireframe V1

API Product resources create page revised wireframe V1.1

API Product resources create page revised wireframe V1.1

UI for API product resources view page
https://github.com/erangatl/carbon-apimgt/commit/f2a47f537c9b7a0539e8aca1723b46ab1640f2cd

Add resource view page to APIM Product
https://github.com/wso2/carbon-apimgt/pull/6834

Initial UI for API product resources create page
https://github.com/erangatl/carbon-apimgt/commit/eb0b87746476b9b20ad26e274b2c568e41dc6eaf

Fixed with https://github.com/wso2/carbon-apimgt/pull/6902


feat: added install-google-chrome && enable-luks-autounlock

google-chrome: https://github.com/bsherman/ublue-custom/blob/main/install-google-chrome.sh
enable-luks-autounlock: https://github.com/rubixcube199/OS-Setups-Configs/blob/main/laue.sh

I'm a -1 on adding a layered browser, but let's at least echo a warning that it's an unsupported configuration with a confirm dialog or something (similar to homebrew)

I am also -1 on layering a browser. The reason is browsers need to be updated on a regular basis and you will only get updates whenever the image is built. Flatpaks can be updated much more quickly and would not require the user to reboot.


[ARG] Add EPG for sports channels

I'd like to request EPG for Argentina's ESPN and DirecTV sports channels. Please note that these are different from Mexican or other versions.
DirecTV Argentina lists their EPG here, maybe it can be used as a source?
https://www.directv.com.ar/guia/guia.aspx
Namely: ESPN 1 (Channel 621), ESPN (622), ESPN 3 (623), DirecTV Sports (1610), DirecTV Sports 2 (1612), and DirecTV Sports+ (1613).
Thank you!

The guide from directv.com.ar is now available at this link:
https://iptv-org.github.io/epg/guides/ar/directv.com.ar.epg.xml


Add an "order()" method for re-arranging the backing buffer of HistoryBuffer from oldest data to newest

This is a simple no-copy method for re-arranging the underlying buffer from oldest data to newest.  Very useful when used in from of as_slice(), which makes no such guarantees.

Squash commits, please.

Hi, thanks for the PR!
I'm not 100% onboard the design idea behind this feature.
To me it makes more sense to implement on an iterator over the buffer and then do .reverse() on that iterator.

@korken89,
I think I see what you mean.  I'll take a crack at that implementation as a separate branch.  I am actually using this feature in firmware "scope" feature which can capture RTIC shared resource variables in a buffer and send captures over the UART.  Very useful for debugging real-time DSP.  I got the feature working on my project yesterday so I want to keep this pull-request alive until I prove out the new approach works as well.

@korken89 ,
Pseudo-code for what I am thinking.
/// Returns an iterator for iterating over the buffer from oldest to newest
    ///
    /// # Examples
    ///
    /// ```
    /// use heapless::HistoryBuffer;
    ///
    /// let mut buffer: HistoryBuffer<u8, 6> = HistoryBuffer::new();
    /// buffer.extend([0, 0, 0, 1, 2, 3, 4, 5, 6]);
    /// let expected = [1, 2, 3, 4, 5, 6];
    /// for (x, y) in buffer.ordered().zip(expected.iter()) {
    ///     assert_eq!(x, y)
    ///
    /// ```
    pub fn ordered(&self) -> OrderedIter {
        if !self.filled {
            OrderedIter{buf: self, cur: 0}
        }
        OrderedIter{buf: self, cur: self.write_at}
    }

OK, after the Rust compiler fixed all my lifetime and ownership errors, here is the working version.  I will submit a new pull request once I confirm that this iterator is usable in my application.
    /// Returns an iterator for iterating over the buffer from oldest to newest
    ///
    /// # Examples
    ///
    /// ```
    /// use heapless::HistoryBuffer;
    ///
    /// let mut buffer: HistoryBuffer<u8, 6> = HistoryBuffer::new();
    /// buffer.extend([0, 0, 0, 1, 2, 3, 4, 5, 6]);
    /// let expected = [1, 2, 3, 4, 5, 6];
    /// for (x, y) in buffer.ordered().zip(expected.iter()) {
    ///     assert_eq!(x, y)
    /// }
    ///
    /// ```
    pub fn ordered<'a>(&'a self) -> OrderedIter<'a, T, N> {
        if !self.filled {
            return OrderedIter { buf: self, cur: 0 };
        }
        OrderedIter {
            buf: self,
            cur: self.write_at,
        }
    }

pub struct OrderedIter<'a, T, const N: usize> {
    buf: &'a HistoryBuffer<T, N>,
    cur: usize,
}

impl<'a, T, const N: usize> Iterator for OrderedIter<'a, T, N> {
    type Item = &'a T;

    fn next(&mut self) -> Option<&'a T> {
        let mut next = self.cur + 1;

        // roll-over
        if next == self.buf.len() {
            next = 0;
        }

        // end of iteration
        if next == self.buf.write_at {
            return None;
        }

        let item = &self.buf[self.cur];
        self.cur = next;
        Some(item)
    }
}

Given that I think most people who would be iterating over such a buffer would want the data arranged from oldest to newst anyways, should I re-name the function just .iter()?

Closing as #253 provides a more efficient means of accomplishing similar functionality.


Support for AWS EC2 Instance SCP or SFTP

How to setup for deplay AWS EC2 instance. I have a .PEM key for authentication, but i dont know how to configure your VS Code extension.

s. here


feat: history screen new UI

- What I did - added new UI for history screen
ticket link - https://github.com/atsign-foundation/atmosphere_pro/issues/294

@Sardar1208 I have faced the issues when I sent a file the history was duplicated (3 times) and after reloading the app, the sent history disappeared.

@Sardar1208 I have faced the issues when I sent a file the history was duplicated (3 times) and after reloading the app, the sent history disappeared.
sent_history_bug.mp4

@sonle-geekyants Is this happening every time? I just tested it and its working fine for me.
Also, I have now added a fix that prevents clicking the send button multiple times and show appropriate message in this pr - https://github.com/atsign-foundation/atmosphere_pro/pull/306
So if this issue is happening if the file is set multiple times then the above Pr should prevent it

@Sardar1208 I have faced the issues when I sent a file the history was duplicated (3 times) and after reloading the app, the sent history disappeared.
sent_history_bug.mp4

@sonle-geekyants Is this happening every time? I just tested it and its working fine for me. Also, I have now added a fix that prevents clicking the send button multiple times and show appropriate message in this pr - #306
So if this issue is happening if the file is set multiple times then the above Pr should prevent it

The bugs have gone for now but the issue of clicking send button multiple times is still remaining so please check again

@Sardar1208 I have faced the issues when I sent a file the history was duplicated (3 times) and after reloading the app, the sent history disappeared.
sent_history_bug.mp4

@sonle-geekyants Is this happening every time? I just tested it and its working fine for me. Also, I have now added a fix that prevents clicking the send button multiple times and show appropriate message in this pr - #306
So if this issue is happening if the file is set multiple times then the above Pr should prevent it

@Sardar1208 The bugs have gone for now but the issue of clicking send button multiple times is still remaining so please check again

@Son This issue is fixed in PR that I mentioned in above comment. Once everything is merged it will work fine


Camera glitching while walking

When using the Example map, just moving the Player arround on the map make the camera glitch.
The camera go up and down even when not moving the mouse at a regular interval.
Example of the issue:
GIF

What Unity version are you using? Did you do any changes to player?

I'm using 5.4.1f1, nothing changed, just the Project from Github.

The issue has been fixed. The project has been upgraded to Unity 2017.1


Enable property path reasoning for never_in_taxon constraints.

See issue #3942.

This reveals an unsatisfiability that needs to be fixed before merging:
adenylate cyclase-activating G protein-coupled cAMP receptor signaling pathway SubClassOf Nothing

adenylate cyclase-activating G protein-coupled cAMP receptor signaling pathway SubClassOf adenylate cyclase-activating G protein-coupled receptor signaling pathway

adenylate cyclase-activating G protein-coupled receptor signaling pathway EquivalentTo adenylate cyclase-modulating G protein-coupled receptor signaling pathway and (has_part some activation of adenylate cyclase activity)

adenylate cyclase-modulating G protein-coupled receptor signaling pathway SubClassOf has_part some cAMP-mediated signaling

cAMP-mediated signaling SubClassOf in taxon some (not (Dictyostelia))

adenylate cyclase-activating G protein-coupled cAMP receptor signaling pathway SubClassOf only in taxon some Dictyostelia

only in taxon SubPropertyOf: in taxon

in taxon some Dictyostelia DisjointWith in taxon some (not (Dictyostelia))
has_part o in taxon SubPropertyOf: in taxon

@pgaudet could you help with that? ☝

This should fix it
https://github.com/geneontology/go-ontology/pull/22511


add opcache preloading from php 7.4

may be this task for this repo https://github.com/roquie/composer-parallel

For now (28/06/2019) composer does not support PHP 7.4 :(
https://github.com/composer/composer/issues/7777


SI-4712 Improve accuarcy of parameter timestamp

Change param_t.timestamp from uint32_t to csp_timestamp_t to support higher stored resolution.
Incorporate receiver timestamp annotation into libparam (where it is currently done in param_sniffer.c)
Consider support for sending higher parameter timestamp resolution over CSP.

It looks good!
The initialization of the global variables are unneeded. Instead of changing from 0 -> {0}, we can simply remove the assignment altogether.
You can also change the param_print_file(...) timestamp argument, it is anyway coming from a csp_timestamp_t in param_slash.c

Glad to hear you like it Troels :smile: .
I understand that initialization to 0 isn't necessary on global scope, but I still feel it's a good habit to do it anyway.
For example PARAM_DEFINE_REMOTE_DYNAMIC() could be used in a local scope, where I believe initialization would matter (I realize this example isn't the best, you probably wouldn't ever use PARAM_DEFINE_REMOTE_DYNAMIC() in a local scope.)


'oncancel' not working

Hi,
I am trying to execute the oncancel.daterangepicker hook from my component. Tried it in the ngAfterViewInit using @ViewChild element.
 $(this.el.nativeElement).on('cancel.daterangepicker', function(ev, picker) {         console.log('clear called');       });.
I was able to add the 'clear' button, but the hook is not executing. Can you please help on how I can get there?
Thanks.

We have added support for events using the Angular EventEmitter so now you should be able to use the events in your component. See the documentation for more detailed usage example. https://github.com/evansmwendwa/ng2-daterangepicker#using-daterangepicker-events
Don't forget to update to the latest version 1.1.0


updating from 4.9 to master breaks ssl

tried to use
gem 'kubeclient', git: "https://github.com/abonas/kubeclient.git"

and got:
Kubeclient::HttpError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
.gem/ruby/3.0.2/bundler/gems/kubeclient-967f4a179eaa/lib/kubeclient.rb:173:in `rescue in handle_exception'
.gem/ruby/3.0.2/bundler/gems/kubeclient-967f4a179eaa/lib/kubeclient.rb:159:in `handle_exception'
.gem/ruby/3.0.2/bundler/gems/kubeclient-967f4a179eaa/lib/kubeclient.rb:466:in `create_entity'

... even this did not fix it:
ssl_options[:verify_ssl] = OpenSSL::SSL::VERIFY_NONE

this blocks testing of https://github.com/abonas/kubeclient/issues/525

@grosser I'm trying to reproduce now but I don't see this happening.  Can you give more details?

what ruby version?
which auth_opitons & ssl_options options are you using? (without sensitive values of course)
does your cluster use a self-signed cert? (though I agree VERIFY_NONE not supressing that is a bug)
does it happen on .discover? on faraday actions (get/create/update/patch)?  http.rb actions (watch)?
(your traceback shows create_entity but I'm curious what else)

most usefully, any chance you can bisect when this started?  (at a guess, it's likely we messed up some options during faraday switch)

If I comment out certificate-authority-data in kubeconfig (with a local k0s cluster, self-signed),  I do see SSL error, but that's correct (kubectl agrees), and that error is slightly different: certificate verify failed (unable to get local issuer certificate).
However, what's weird in that situation context.ssl_options[:verify_ssl] is already 0 == VERIFY_NONE (yet still getting that error!), and forcing it to VERIFY_NONE makes zero difference.
      if cluster_ca_data?(cluster)
        cert_store = OpenSSL::X509::Store.new
        populate_cert_store_from_cluster_ca_data(cluster, cert_store)
        ssl_options[:verify_ssl] = OpenSSL::SSL::VERIFY_PEER
        ssl_options[:cert_store] = cert_store
      else
        ssl_options[:verify_ssl] = OpenSSL::SSL::VERIFY_NONE
      end

Umm this looks bad :fearful:  Absent custom CA data in config, we should NOT be setting VERIFY_NONE!  We should be checking clusters against system CA, shouldn't we?

this was with in-cluster config ... not during discover (since we don't use that)
I think it's from faraday switch too ... I can debug more once I'm on a more stable internet connection.

this was with in-cluster config ... not during discover (since we don't use that)
I think it's from faraday switch too ... I can debug more once I'm on a more stable internet connection.

@grosser hey, please do not release the fix with OpenSSL::SSL::VERIFY_NONE this is leading our services using kubclient into security risk. If that was already pushed can you please remove this change and apply a more secured solution?

The original report here is about TSL issues on master branch only — not in released versions — and is not debugged yet.  The "even this did not fix it" statement was just observation for debugging, not intended as fix.
What I mentioned is a separate bug in config parsing that was there as long as kubeclient existed :sob:  I'll open a new issue, hoping to release a fix today(?) with full analysis but needs some more work on tests...

can close, something on master was fixed or our cluster is no longer funky :D

welp ... still happens on watches :(

https://github.com/ManageIQ/kubeclient/pull/537 fixes it :D

can close, something on master was fixed or our cluster is no longer funky :D

Oh yes, I forgot to link that #540 fixed this.

welp ... still happens on watches :(

Kubeclient::HttpError: Forbidden
File "/usr/bundle/ruby/3.1.0/bundler/gems/kubeclient-ae46d2d6161e/lib/kubeclient/watch_stream.rb" line 23 in each

I was confused how #537 helped here — in my testing #540 was enough, with it TLS validation worked for me both in get_* and watch_* methods.
But both Forbidden and the line inside WatchStream#each don't look like a TLS error — sounds like the HTTPS connection was established and you got a 403 Forbidden response?
In that case it makes sense that #537 helped, if bearer token was not sent right on watches you'd get 403.

I'll reopen if I see it again 🤷


[TC-ICDM-3.4] - Manual Yaml Script has to be updated as per Verification Step document

Description:
[TC-ICDM-3.4] - The manual YAML script needs to be updated to reflect the latest changes in the Verification Step document, including Precondition and Log updates.
Script Reference
https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_ICDM_3_4.yaml
Verification Document reference
https://docs.google.com/spreadsheets/d/13zltSz50GRs_kidvobceEuIT8kAAHSK64ANyWcc3xQI/edit?usp=sharing
Steps that require Update:
Full Test case

Addressed in PR
https://github.com/project-chip/connectedhomeip/pull/32116


Group uploaded resources by projects

Added group uploaded resources by projects
Closes #767

Why? Now files get not overwritten

But still, with current implementation any user can get a list of and download any files from any project, including private ones

OK. Added a check for the user's role in the project. We will not give the ability to upload files to those who have a role lower than Admin

Logic is incorrect:


Questions about Dataset Retargeting

Hi @kevinzakka , thanks you for your great work! I firmly believe that it will promote the development of the whole robot community!
There is a question I'd love to inquire. What if I want to use mink to retarget some datasets like AMASS. Is there any way to handle SMPL format data or do some transformation to let them fit mink?
I'm sorry for my disturbance as I'm new to robotics. Expect your reply!

Have you found a way to do this?


How to access HighState while doing low level control?

Hi,
I'm trying to do low-level control but would like to use the in-built state estimator and would like to access the variables in HighState to perform low level control. Any leads on this will be helpful

@xyq1223    mate  ,  do  you  know  how to get /gazebo/model_states    and  /aliengo_gazebo/joint_states    in  a  real  robot ?

Hi! Is there a way to get the estimated state while in low level mode? Or access the state estimator separately and run it ourselves while in low state mode? Why can't the state estimator keep working while in lowlevel control mode?

Hi! Is there a way to get the estimated state while in low level mode? Or access the state estimator separately and run it ourselves while in low state mode? Why can't the state estimator keep working while in lowlevel control mode?

what is   estimated state ?

Hi! Is there a way to get the estimated state while in low level mode? Or access the state estimator separately and run it ourselves while in low state mode? Why can't the state estimator keep working while in lowlevel control mode?

what is estimated state ?

When running the SDK in HighLevel mode, one can access to an estimate of the robot body position and velocity, which I assume is inferred by a built-in state estimator that leverages the onboard sensors of the robot as well as maybe leg kinematics. The problem is that when switching to LowLevel mode, you  cannot access that information anymore, which doesn't make sense to me because state estimation should not be coupled to the joint commands outputed by the built-in controller in highlevel mode.

@alvarobelmontebaeza  Oh , do you  mean  you  want  to  get  robot's   body  position and velocity in  low level ?   It's  definitely  cound ,  because  I  used  to   access  these  information  by  Ros   ,   and  I  run  my  RL  model  in  real  robot   in  low_level  control   successfully.

@heartInsert Are you sure? I mean, the reason for this topic is issue is that the estimated state is not accessible in LowLevel mode. When you set the robot into lowlevel mode, it stops updating the values of the highLevel state message.
If it is working for you, could you share some code?

@alvarobelmontebaeza   I  don't  know  what  messages you  want  ,  I  remember  that  I   can  get   robot's  12  joint's  position and  acceleration  and  orientation ,  all  of  these  information  is  updating  all the time ,  do you want these ?   I  didn't  run  my  robot  in  High-level , so  I   don't  know the   information  in  High-level.

That information is joint-level information and IMU sensor raw info, which is quite noisy and you cannot really rely on that. If you run in HighLevel mode, you get also an estimate of global position and velocity of the body, which is what I'm interested in. Maybe @xyq1223 who replied earlier in this thread has more insight


How to help get the react template working properly?

Hi :)
I have been looking for a decent starter for dotnet core and React (with none of the Typescript) and this is the only sane project I've found.
The only problem I have is that when I make a change to the UI, the dotnet server freezes (or at least it seems that way on the browser).
How could I help fix this?
EDIT: this particular problem seems to somehow be related to fiddler! I don't show up when I've closed it down. However I'd still like to know what I can do to help take it to the finish line!

@georgiosd can you provide more info on what you'd like help with?

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.


Response without match

Seeing lots of these errors
{"level":"WARN","timestamp":"2019-02-04T15:33:30.509Z","logger":"kafkajs","message":"[RequestQueue] Response without match","clientId":"client","broker":"localhost:29092","correlationId":145}

This is the command
          this.producer.send({
            topic: 'messages',
            idempotent: true,
            messages: [
              { value: JSON.stringify(message) }
            ],
          })

Sending 100K of these messages, and interestingly enough, I end up with anywhere between 110- 120K messages (retried 5 times).

Hi @jafri, interesting. Are you using 1.5.0-beta.1? And can you add here how are you posting these messages, is it a Promise.all, sequential, etc?
Thanks.

Its a for loop using 1.5.0-beta.1, my newer tests show that messages are delivered properly when timeout is increased to 60 seconds.
I thought idempotent mode handles timeouts and prevents duplicates?

for (let messages of messageBox) {
              this.producer.send({
                topic: 'messages',
                idempotent: true,
                messages: [
                  ...messages.map(message => ({ value: JSON.stringify(message) }))
                ],
              })
}

I think this is a bug, the request queue should ignore timeouts when using idempotent. Can you increase the timeout for now, I will get this fixed on the next version (1.5.0.beta.2).

Looking at your code now, can you add await to the send calls? This way you are generating a lot of concurrent promises

I will look into it, but as the NodeJS app can easily handle the concurrent promises, I do believe there is an issue somewhere with the experimental idempotency guarantee.

So, I ran some tests, and it looks fine. Since you are not awaiting send you are spawning a huge amount of promises at once (100k) and completely overloading the system. I used the example producer in the repo to test:
const run = async () => {
  await producer.connect()
  for (let i = 0; i < 100000; i++) {
    await Promise.all([sendMessage(), sendMessage()])
  }
}

run().catch(e => console.error(`[example/producer] ${e.message}`, e))

sendMessage generates between 10 to 1000 messages, so I end up with ~1M published messages.
[ { topicName: 'topic-test',
    partition: 1,
    errorCode: 0,
    baseOffset: '161592',
    logAppendTime: '-1' },
  { topicName: 'topic-test',
    partition: 4,
    errorCode: 0,
    baseOffset: '159825',
    logAppendTime: '-1' },
  { topicName: 'topic-test',
    partition: 2,
    errorCode: 0,
    baseOffset: '162346',
    logAppendTime: '-1' },
  { topicName: 'topic-test',
    partition: 5,
    errorCode: 0,
    baseOffset: '161405',
    logAppendTime: '-1' },
  { topicName: 'topic-test',
    partition: 0,
    errorCode: 0,
    baseOffset: '161060',
    logAppendTime: '-1' },
  { topicName: 'topic-test',
    partition: 3,
    errorCode: 0,
    baseOffset: '161235',
    logAppendTime: '-1' } ]

But I agree that even if it overloads the system, it should work. I will check the Java implementation to see if they also ignore the timeouts when using idempotent producers. It shouldn't be a problem in real work scenarios, but I will take a look anyway. Thanks.

I checked the java client, and the request timeout is used even for idempotent producers. My opinion is the same here; you just generated too many promises on the same tick. We are still looking at this to see if we can make some improvements, but for now, I will close this issue. Feel free to re-open.


Expose CMake options in the binary

Useful for figuring out with people which version they built with. We can just ask for --caffe2_version gflag or get core.build_options from python.
Also adds CMAKE_INSTALL_RPATH_USE_LINK_PATH - without it wasn't building on my Mac. How should it be tested?

Random comment: it's probably a good time to consider finally writing a casse2Config.cmake file :)

Nice. I always wished C1 had this feature: https://github.com/BVLC/caffe/issues/2495.


help

File "train_frcnn.py", line 261, in  selected_neg_samples = np.rando

823/1000 [=======================>......] - ETA: 3:08 - rpn_cls: 2.9711 - rpn_regr: 0.0832 - detector_cls: 0.3042 - detector_regr: 0.1486Traceback (most recent call last):
File "train_frcnn.py", line 261, in
selected_neg_samples = np.random.choice(neg_samples, C.num_rois - len(selected_pos_samples), replace=False).tolist()
File "mtrand.pyx", line 1126, in mtrand.RandomState.choice
ValueError: a must be non-empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_frcnn.py", line 263, in
selected_neg_samples = np.random.choice(neg_samples, C.num_rois - len(selected_pos_samples), replace=True).tolist()
File "mtrand.pyx", line 1126, in mtrand.RandomState.choice
ValueError: a must be non-empty

效果巨差，要怎么改进
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年5月1日(星期三) 下午3:06
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [you359/Keras-FasterRCNN] help  (#11)
823/1000 [=======================>......] - ETA: 3:08 - rpn_cls: 2.9711 - rpn_regr: 0.0832 - detector_cls: 0.3042 - detector_regr: 0.1486Traceback (most recent call last):
File "train_frcnn.py", line 261, in
selected_neg_samples = np.random.choice(neg_samples, C.num_rois - len(selected_pos_samples), replace=False).tolist()
File "mtrand.pyx", line 1126, in mtrand.RandomState.choice
ValueError: a must be non-empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_frcnn.py", line 263, in
selected_neg_samples = np.random.choice(neg_samples, C.num_rois - len(selected_pos_samples), replace=True).tolist()
File "mtrand.pyx", line 1126, in mtrand.RandomState.choice
ValueError: a must be non-empty
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[Do not merge] old working branch

Think this should probably just be its own branch for your experiments?