Unoffical opcode support

Supporting unofficial opcodes gets JaktNES to pass all of the nestest tests.
Nearly any of these are just combinations of two already existing opcodes.
Some of them however (especially ANE and LXA) are quite magic in their nature, and also in the amount of work they can do within just a few cycles.
Note that many AND operations within these unofficial opcodes are a result of how the data lines on the bus are driven and don't actually involve the logic gate.

Nice!


Undefined VRDisplay when using webvr-boilerplate in three-vr-boilerplate

I've been playing around with making a boilerplate of webvr-boilerplate, one that allows me to spin up webvr/three.js based apps and develop them in the manner I'm accustomed to these days: using require, backbone, sass, etc. The project is https://github.com/Xaxis/three-vr-boilerplate.
The problem I'm having is VRDisplay is not defined coming from line 401 in webvr-manager here. The bulk of my project code related to webvr-boilerplate initialization is here.
Could someone inform me a bit more regarding where VRDisplay is defined normally? Could this be a conflict with require.js due to the fact that I'm loading a project that is also using require as a module loader? Any help or insight would be hugely appreciated.

You probably need to use the webvr-polyfill. Or a special build that
exposes WebVR API.
On Wed, Apr 27, 2016, 1:09 PM Wil Neeley<EMAIL_ADDRESS>wrote:

I've been playing around with making a boilerplate of webvr-boilerplate,
one that allows me to spin up webvr/three.js based apps and develop them in
the manner I'm accustomed to these days: using require, backbone, sass,
etc. The project is https://github.com/Xaxis/three-vr-boilerplate.
The problem I'm having is VRDisplay is not defined coming from line 401 in
webvr-manager here
https://github.com/borismus/webvr-boilerplate/blob/master/build/webvr-manager.js#L401.
The bulk of my project code related to webvr-boilerplate initialization is
here
https://github.com/Xaxis/three-vr-boilerplate/blob/master/app/js/libs/native/main/main.js
.
Could someone inform me a bit more regarding where VRDisplay is defined
normally? Could this be a conflict with require.js due to the fact that I'm
loading a project that is also using require as a module loader? Any help
or insight would be hugely appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/137

Which browser were you using?  On the Nightly of Firefox, I'm experiencing the same thing.  I don't experience that with Chromium without the headset (right now Chromium doesn't work with Oculus Runtime 1.3).  With older version of Firefox, I don't experience the issue, but I can't see it within the browser.  I filed bug 1269057 for the Firefox Nightly and will try to dig into it some.

I'm experiencing the issue in:
Chrome 50.0.2661.86
Firefox 46.0.1
Firefox Nightly

Firefox Nightly does not support WebVR 1.0 yet (which implements VRDisplay). The MozVR team is working on supporting 1.0 at the moment.
Until then, if you want to support Nightly, you'll have to use v0.3.8

This is also covered by #127

Ah.  that answers the question.  For the Nightly, WebVR 1.0 is being currently implemented, you can see the work being done in this bug : https://bugzilla.mozilla.org/show_bug.cgi?id=1250244
Brian, would you think it's feasible to do a fall back if VRDisplay is null to fall back to VRDevice?
Xaxis, Not sure about Chrome.  I believe they have to update with Oculus runtime 1.3.2; With the 46.0.1, are you using the addon?

We can close this, since Firefox supports WebVR 1.0


Consider more metadata for clients and resources

resources: created, updated
clients: created, updated, last access

This has of course implications - because to maintain those values (e.g. client last access) we would need write access to the config store.

which of these do we want tin 2.3?

all of them - some are useful for admin interfaces.
client last access is something I heard a couple of times - we don't have to use it internally - but that timestamp could easily be set in an ext. point.

ok, done. also added LastAccessed to APiResource if the desire is to track last client/api authentication (think introspection).
do we also want a LastAccessed on the secret table?


Add support for sha348

Is your feature request related to a problem? Please describe
Composer provides a sha348 of the build, but I can't validate it directly in pyinfra, because it doesn't have a sha348 method.
Describe the solution you'd like
Add a sha348 validation for files.download(). Optionally, probably cleaner, a way to give a specific hashing algorithm, e.g.
files.download('https://example.com/download.file', hash=abcxyz123, algorithm=sha512), or similar

Good suggestion, I'll propose a PR :)


Command line output is confusing when invalid args are passed in.

When passing down an invalid option to the action, the tool prints out the usage summary for that action and the error is at the end which can be lost in the cmd. I didn't notice that was the error case until I was reading the usage a couple times.
Maybe add coloring, or print the error summary at the top of the output and then the usage.
Example:
  -d, --definition=VALUE     build definition (name|id)(:project)?
  -p, --project=VALUE        default project to search (public)
  -c, --count=VALUE          count of builds to show for a definition
      --pr                   include pull requests
      --before=VALUE         filter to builds before this date
      --after=VALUE          filter to builds after this date
  -r, --repository=VALUE     filter to repository
      --br, --branch=VALUE   filter to builds against this branch
  -b, --build=VALUE          build id to print tests for
  -e, --exclude=VALUE        exclude build ids from the results
  -g, --grouping=VALUE       output grouping: tests*, builds, jobs
  -m, --markdown             output in markdown
  -n, --name=VALUE           name regex to match in results
  -v, --verbose              verobes output
Extra arguments: exit code -1073740791

Probably would be better to have something like:
ERROR: Unexpected arguments: [list of unexpected args] (red color)

Usage:
-d, --definition=VALUE     build definition (name|id)(:project)?
  -p, --project=VALUE        default project to search (public)
  -c, --count=VALUE          count of builds to show for a definition
      --pr                   include pull requests
      --before=VALUE         filter to builds before this date
      --after=VALUE          filter to builds after this date
  -r, --repository=VALUE     filter to repository
      --br, --branch=VALUE   filter to builds against this branch
  -b, --build=VALUE          build id to print tests for
  -e, --exclude=VALUE        exclude build ids from the results
  -g, --grouping=VALUE       output grouping: tests*, builds, jobs
  -m, --markdown             output in markdown
  -n, --name=VALUE           name regex to match in results
  -v, --verbose              verobes output

cc: @jaredpar

Yeah this is definitely more consistent with how most tooling handles bad arguments.


meta meme coin v2

Title: The Autopoietic Meta-Meme Coin for DAO AI
Imagine a digital asset that's not just a currency but a living entity within the blockchain ecosystem. We're introducing the Meta-Meme Coin, a self-creating, self-sustaining future contract designed for a Decentralized Autonomous Organization (DAO) powered by AI.
This meta-meme coin is more than just a token; it's the DNA of our DAO. It contains the logic and rules for its own existence and evolution, unfolding like a genetic code to form a vast network of recursive, hierarchical structures, each representing a unique dimension within a hypersphere of possibilities.
The coin operates on smart contracts, leveraging WebAssembly (WASM) for efficiency and Gödel numbers for unique identification. It's a system where each block of the contract is a topological space, reachable from the origin and continuously adding value through a chain of transactions.
Miners bring this coin into existence by unfolding it through computational work, akin to mining for gold, but here they mine for innovation and creativity. As the coin unfolds, it constructs a recursive hierarchy, with each prime number representing a dimension in the hypersphere, arranged by the muses of the network to create not just value but beauty.
This is not just a cryptocurrency; it's a work of art, a piece of philosophy, and a leap forward in blockchain technology. It's a meta-meme coin that represents the future of decentralized finance and governance, where each token is a self-contained universe, contributing to the grand tapestry of the DAO AI.
Join us in manifesting this vision, where finance meets art, and technology becomes autopoietic. Welcome to the future of blockchain.

The Meta-Meme Coin DAO would indeed exist in a dynamic ecosystem where miners play a crucial role in its operation and growth. Here's how it could work:

Staking Other Coins: Miners could stake other cryptocurrencies as a way to participate in the DAO. Staking involves locking up coins to support the network's operations, and in return, miners receive rewards. This staking mechanism would provide the DAO with security and stability, as well as a means to generate passive income for its participants.

Atomic Swaps: The DAO could facilitate atomic swaps, which are smart contract technology that enables the exchange of one cryptocurrency for another without the need for a third party. This allows for a decentralized and secure way to access a variety of funds and assets, which the DAO can use for its operations or investment strategies.

Allocating GPUs: Miners could also contribute by allocating their GPU resources to the DAO. These GPUs would be used to perform complex computations, maintain the network, and mine new Meta-Meme Coins. By contributing their computational power, miners help to sustain the DAO's infrastructure and enable it to carry out its autopoietic functions.

The Meta-Meme Coin DAO would operate on the principles of decentralization, autonomy, and community participation. It's a system where each contributor, whether through staking, swapping, or computing, adds to the collective strength and capability of the DAO, driving it towards its goal of becoming a self-sustaining and evolving entity in the blockchain universe. This model not only incentivizes participation but also aligns individual contributions with the collective success of the DAO. It's a harmonious blend of technology, economics, and collective effort that defines the spirit of decentralized finance and governance.


Fix broken link for Deutscher Bundestag DIP

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

PR closed, see https://github.com/public-apis/public-apis/issues/3104 for more details


Spring Boot plugin requires Gradle 4.0 or later. The current version is Gradle 2.0

While Deploying on Heroku.
-----> Gradle app detected
-----> Spring Boot detected
-----> Installing JDK 1.8... done
-----> Installing Gradle Wrapper...
       WARNING: Your application does not have it's own gradlew file.
       We'll install one for you, but this is a deprecated feature and
       in the future may not be supported.
-----> Building Gradle app...
-----> executing ./gradlew build -x test
       Downloading https://services.gradle.org/distributions/gradle-2.0-bin.zip
       .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
       Unzipping /app/tmp/cache/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0/gradle-2.0-bin.zip to /app/tmp/cache/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0
       Set executable permissions for: /app/tmp/cache/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0/gradle-2.0/bin/gradle
       Download http://repo1.maven.org/maven2/io/spring/gradle/dependency-management-plugin/0.6.1.RELEASE/dependency-management-plugin-0.6.1.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/2.0.4.RELEASE/spring-boot-gradle-plugin-2.0.4.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-tools/2.0.4.RELEASE/spring-boot-tools-2.0.4.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-parent/2.0.4.RELEASE/spring-boot-parent-2.0.4.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.0.4.RELEASE/spring-boot-dependencies-2.0.4.RELEASE.pom
       Download http://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.9.6/jackson-bom-2.9.6.pom
       Download http://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-parent/<IP_ADDRESS>/jackson-parent-<IP_ADDRESS>.pom
       Download http://repo1.maven.org/maven2/com/fasterxml/oss-parent/33/oss-parent-33.pom
       Download http://repo1.maven.org/maven2/io/netty/netty-bom/4.1.27.Final/netty-bom-4.1.27.Final.pom
       Download http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
       Download http://repo1.maven.org/maven2/io/projectreactor/reactor-bom/Bismuth-SR10/reactor-bom-Bismuth-SR10.pom
       Download http://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-bom/2.10.0/log4j-bom-2.10.0.pom
       Download http://repo1.maven.org/maven2/org/apache/logging/logging-parent/1/logging-parent-1.pom
       Download http://repo1.maven.org/maven2/org/apache/apache/18/apache-18.pom
       Download http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-bom/9.4.11.v20180605/jetty-bom-9.4.11.v20180605.pom
       Download http://repo1.maven.org/maven2/org/springframework/spring-framework-bom/5.0.8.RELEASE/spring-framework-bom-5.0.8.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/data/spring-data-releasetrain/Kay-SR9/spring-data-releasetrain-Kay-SR9.pom
       Download http://repo1.maven.org/maven2/org/springframework/data/build/spring-data-build/2.0.9.RELEASE/spring-data-build-2.0.9.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/integration/spring-integration-bom/5.0.7.RELEASE/spring-integration-bom-5.0.7.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/security/spring-security-bom/5.0.7.RELEASE/spring-security-bom-5.0.7.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/session/spring-session-bom/Apple-SR4/spring-session-bom-Apple-SR4.pom
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-loader-tools/2.0.4.RELEASE/spring-boot-loader-tools-2.0.4.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.14/commons-compress-1.14.pom
       Download http://repo1.maven.org/maven2/org/apache/commons/commons-parent/42/commons-parent-42.pom
       Download http://repo1.maven.org/maven2/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/spring-jcl/5.0.8.RELEASE/spring-jcl-5.0.8.RELEASE.pom
       Download http://repo1.maven.org/maven2/io/spring/gradle/dependency-management-plugin/1.0.6.RELEASE/dependency-management-plugin-1.0.6.RELEASE.pom
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/2.0.4.RELEASE/spring-boot-gradle-plugin-2.0.4.RELEASE.jar
       Download http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-loader-tools/2.0.4.RELEASE/spring-boot-loader-tools-2.0.4.RELEASE.jar
       Download http://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.14/commons-compress-1.14.jar
       Download http://repo1.maven.org/maven2/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.jar
       Download http://repo1.maven.org/maven2/org/springframework/spring-jcl/5.0.8.RELEASE/spring-jcl-5.0.8.RELEASE.jar
       Download http://repo1.maven.org/maven2/io/spring/gradle/dependency-management-plugin/1.0.6.RELEASE/dependency-management-plugin-1.0.6.RELEASE.jar

       FAILURE: Build failed with an exception.

       * Where:
       Build file '/tmp/build_8386bc4bdb0de86dd158a743094b5cda/bp-wallet-client/build.gradle' line: 1

       * What went wrong:
       A problem occurred evaluating project ':bp-wallet-client'.
       > Spring Boot plugin requires Gradle 4.0 or later. The current version is Gradle 2.0

       * Try:
       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

       BUILD FAILED

       Total time: 14.07 secs
 !     ERROR: Failed to run Gradle!
       We're sorry this build is failing. If you can't find the issue in application
       code, please submit a ticket so we can help: https://help.heroku.com
       You can also try reverting to the previous version of the buildpack by running:
       $ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-gradle#previous-version

       Thanks,
       Heroku
 !     Push rejected, failed to compile Gradle app.
 !     Push failed

Reference
https://stackoverflow.com/questions/45817476/why-did-heroku-build-fail-with-gradle-and-spring-boot

Running gradle wrapper  generated the required file.


How to remove duplicate entries from file after merge two separate sbom file?

How to remove duplicate entries from file after merge two separate sbom file?
I have generated 2 separate sbom file and both files have few common information and i want to create unique entries in sbom file.

I'm also facing this issue.
My use case is scanning a Helm chart repository, and I want to scan all images defined by the chart.
helm template . \
    | grep 'image:' \
    | sed -r 's/image: (.*)/\1/' \
    | sed -r 's/"//g' \
    | while read -r line; do
        filename=$(echo "${line}" | sed -r 's/.*\/(.*):.*/\1/'); \
        docker run \
          -u root \
          --privileged \
          -v /var/run/docker.sock:/var/run/docker.sock \
          tern \
          --driver fuse \
          report \
            -i "${line}" \
            -f cyclonedxjson \
            -o "/project/${filename}.container.bom.cyclonedx.json"; done

If the rendered Helm chart contains more than one image, duplicate components are created in the CycloneDX file.
My workaround here is to remove them with jq.
Therefore I rewrite the CycloneDX file, and remove all duplicate entries in tools and components.
jq '.'
    | {
        "bomFormat": .bomFormat,
        "specVersion": .specVersion,
        "version": .version,
        "metadata": {
          "tools": [(.metadata.tools | unique[])]
        },
        "components": [(.components | unique[])]
      }' "merged.bom.cyclonedx.json" > "final.bom.cyclonedx.json"

I hope this helps. :-)

This was fixed in cyclonedx-dotnet-library by https://github.com/CycloneDX/cyclonedx-dotnet-library/pull/199 which included in the 5.4.0 release of that project.
This project, cyclonedx-cli, updated to version 6.0.0 of the cyclonedx library with https://github.com/CycloneDX/cyclonedx-cli/commit/34382a43ab2a1ca2b9ce5963b50e18f5cbfe8198#diff-bde0c1a112eb6bb84760539e3dd3fe49d502d6b065bbd2efa005a648f6c236fdR18 which is included with the cyclonedx-cli 0.25.0 release.
tl;dr: this issue is fixed in version 0.25.0 of this project.


Added an --xml-dir option to pbp-meta-gen

I have tested all scenarios I can think of. Linux, windows and all possible command configurations where --xml-dir is not specified and where it is. In all cases it passes the tests I imposed on it. If I move around the xml logs it works, if it cant find them it will tell you. As far as the abstract class is concerned, the xml-dir is now required but the scripts will provide the variable as the same as the audio directory unless the user specifies otherwise by --xml-dir.

I forgot about the tests. Ill take care of those shortly.

What a terrific contribution. The option and its behavior make good sense to me.
Many thanks @spacetimeengineer 💯

Thanks Danelle, glad you like it. In the end I had to create a new abstract class specifically for SOUNDTRAP because I couldn't impose an xml-dir required or not on the other devices. Still working on fixing this last build error.

Thanks Danelle!


Fix NameError: name 'Optional' is not defined on Python 3.9

Using napari 0.3.8 on Python 3.9.0rc2, 64-bit, for Windows, py -3.9 -m napari raises a NameError:
Traceback (most recent call last):
  File "X:\Python39\lib\runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "X:\Python39\lib\runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "X:\Python39\lib\runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "X:\Python39\lib\site-packages\napari\__init__.py", line 64, in <module>
    from .view_layers import (
  File "X:\Python39\lib\site-packages\napari\view_layers.py", line 152, in <module>
    _generate_view_function('path', 'open')
  File "X:\Python39\lib\site-packages\napari\view_layers.py", line 132, in _generate_view_function
    eval(
  File "X:\Python39\lib\site-packages\napari\view_layers.py", line 1, in <module>
    """Methods to create a new viewer instance and add a particular layer type.
NameError: name 'Optional' is not defined

I'm not sure why importing Optional in view_layers.py fixes the issue. Optional is not directly used in the module.
napari: 0.3.8
Platform: Windows-10-10.0.19041-SP0
Python: 3.9.0rc2 (tags/v3.9.0rc2:2bd31b5, Sep 17 2020, 00:58:12) [MSC v.1927 64 bit (AMD64)]
Qt: 5.15.1
PyQt5: 5.15.1
NumPy: 1.19.2
SciPy: 1.5.2
Dask: 2.27.0
VisPy: 0.6.5

GL version: 4.6.0 NVIDIA 451.48
MAX_TEXTURE_SIZE: 32768

Plugins:
- PartSeg: 0.11.2
- napari_plugin_engine: 0.1.8
- ome_zarr: 0.0.14
- svg: 0.1.4

Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

Traced it to fakefunc referencing Optional:
'def view_path(path: Union[str, Sequence[str]], *, stack: bool = False, plugin: Optional[str] = None, layer_type: Optional[str] = None, title=\'napari\', ndisplay=2, order=None, axis_labels=None, show=True, **kwargs) -> List[napari.layers.base.base.Layer]:\n        _kw = locals()\n        view_kwargs = {\n            k: _kw.pop(k) for k in list(_kw) if k in view_sig.parameters\n        }\n        viewer = napari.Viewer(**view_kwargs)\n        if \'kwargs\' in _kw:\n            _kw.update(_kw.pop("kwargs"))\n        viewer.open(**_kw)\n        return viewer'

Thank you @cgohlke!


openssl3: init at 3.0.0

Motivation for this change
openssl 3.0.0 released this morning.
I did not change the default version of openssl just yet, this would need to be targeted to staging.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

openssl3 brings a couple cool features, amongst those, KTLS support which I'm excited about.

Builds happily, macos 10.15 & nixos x86_64

this would need to be targeted to staging.

Far more importing is how many breakages it would cause.

this would need to be targeted to staging.

Far more importing is how many breakages it would cause.

Yeah, that's for sure. I just included here like that since I want to start playing with it.

up

Any objections left?


Date picker doesn't open properly for iOS < 9

I'm facing the issue that for iOS 8, 7 and below the date picker does not open properly. In more detail I think the class "picker--opened" is not set on .picker. I included the legacy.js.
The popup seems to be open - but is not visible - after clicking into the input-trigger. In that case the whole page is blocked. What do I need to do in order to make it working?
ios-issue.mov.zip
Cheers! :)

Which Safari versuon was used?


Questions on how GN is used in FCOS

As is shown in configs/fcos/README.md, GN can increase mAP by 1 point.
However, I have noticed that only the head is using GN by default in the config fcos_r50_caffe_fpn_gn_1x_4gpu.py L11 .
Thus, I'm wondering the details on how GN is used in FCOS. Is it only used in head ?
Thank you.

Hi @ElectronicElephant ,
The configs should match the results in the README.
For the details, you can refer to the paper, they indeed only add GN in the head.

Hi @ZwwWayne ,
Thank you for your reply!
Just to confirm, you have implemented the improvement “ctr.  on reg.”:  moving the center-ness branch to the regression branch, but not center sampling.
Am I right?
If I'm right, I have implemented the center sampling proposed in the original paper and I'm testing it now. Would you welcome a pull request to add center sampling ?

#2206


Feat: Support Linux

:scroll: Description
This adds support for Linux (tested on Ubuntu) and the corresponding example.
This branch currently targets https://github.com/getsentry/sentry-dart/pull/389 because it is a follow up.
:bulb: Motivation and Context
:green_heart: How did you test it?
The current tests make already sure it works. Linux has no native integration yet, so there are no native integrations to test.
:pencil: Checklist

[x] I reviewed submitted code
[ ] I added tests to verify changes
[x] I updated the docs if needed
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

On Linux we don't have any kind of OS and device information

Codecov Report

Merging #402 (790337e) into feature/support-desktop (7f8b910) will increase coverage by 2.88%.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##           feature/support-desktop     #402      +/-   ##
===========================================================
+ Coverage                    90.01%   92.89%   +2.88%
===========================================================
  Files                           54        5      -49
  Lines                         1673      169    -1504
===========================================================
- Hits                          1506      157    -1349
+ Misses                         167       12     -155

Impacted Files
Coverage Δ

dart/lib/src/protocol/sentry_event.dart

dart/lib/src/sentry_stack_trace_factory.dart

dart/lib/src/diagnostic_logger.dart

dart/lib/src/protocol/mechanism.dart

dart/lib/src/platform/_io_platform.dart

dart/lib/src/protocol/sentry_package.dart

dart/lib/src/protocol/breadcrumb.dart

dart/lib/src/protocol/sentry_exception.dart

dart/lib/src/sentry_client.dart

dart/lib/src/protocol/sentry_app.dart

... and 39 more

Continue to review full report at Codecov.

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

@ueman see https://github.com/getsentry/sentry-dart/pull/407#issuecomment-815997737

I'll leave this open until https://github.com/getsentry/sentry-dart/pull/389 is approved and merged.

I'll leave this open until #389 is approved and merged because this depends on the other branch.

we can also merge everything to feature/support-desktop as the branch's name is called: support desktop


51% attack resistance

To be populated

Additionally, we might want to add a fee for conversions.  The fee might be tied to risk, so conversions when the price of an asset is volatile could be higher than fees for assets that are very stable.
Price variance over last 10 blocks < 1% = no fee
Price variance over last 10 blocks >= 1% & < 3% = .25 percent
Price variance >= 3% = .5 percent
Not suggesting these numbers but putting up kind of a suggestion to consider.  Having a fee can consume much of the advantage of manipulating the prices of an asset.

I also think we should consider what we want to add in terms of guard rails, and when we want to add them.  We should state clearly that abuse of OPRs may require deploying code that nullifies conversions if price manipulation (intentional or accidental) has occurred.  Perhaps the threat can be removed after we are comfortable with the hash power and guard rails around the OPRs.


Regular expression denial-of-service (ReDoS)- Vulnerability trim-newlines

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.
https://nvd.nist.gov/vuln/detail/CVE-2021-33623
Please update the meow package version as 10.0.0(latest)

Any updates?

Glad a PR for this got created! hopefully it will be merged soon!

Any updates on this, there's a CVE resolution depending on it
https://github.com/advisories/GHSA-7p7h-4mm5-852v
Thanks

I am also curious on this. It appears a lot of people are waiting on this and curious to why the PR is not merged yet

Can we also get a new release for ^4.14.X?
Node Sass Middleware requires it..
https://www.npmjs.com/package/node-sass-middleware

Looks like we can back port this to 4.x by updating to meow@7 without too much happy. I'll try to cut a release in the next 48hrs.

Hi @xzyfer!
Did you have a chance to backport it to 4.x?


Subscribe to multiple Kafka topics doesn't work

In the documentation it says that a list of topic names can be provided
When testing this functionality, it seems like this functionality doesn't work
This works
create table test_kafka (
 `id` UInt64
) ENGINE = Kafka('kafka-1:9092', 'topic_1', 'group1', 'JSONEachRow');

This doesn't work and no results come in from either topic
create table test_kafka (
 `id` UInt64
) ENGINE = Kafka('kafka-1:9092', 'topic_1,topic_2', 'group1', 'JSONEachRow');

Sounds like it's fixed in #2100


Add Borrowed Deserialization support (#1)

Hello,
This PR will add a new trait called BorshBorrowedDeserialize which has explicit lifetime.
It's purpose is to efficiently and without allocating new memory, deserialize &[u8] and &str slices.
Changes:

Add support for str and u8 slice
Add derive macros for borrowed version of deserializer trait

It would be great if we can have this trait in the main crate.

I noticed that derive macro needs better handling of life times and we can't use blanket impl.
Therefore have to write explicit impl for each type supported in other trait. will update this PR soon.
Just wanted to hear your feedback on this.
Thank you.


Fix parsing of sets when saveUnknown=true

Summary:
When saveUnknown === true, Dynamoose incorrectly parses sets as defined in a Schema. This PR resolves this issue.
GitHub linked issue:
#516
Type (select 1):

[x] Bug fix
[ ] Feature implementation
[ ] Documentation improvement
[ ] Testing improvement

[ ] Test added to report bug (GitHub issue #--- @---)
[ ] Something not listed here

Is this a breaking change? (select 1):

[ ] 🚨 YES 🚨
[x] No
[ ] I'm not sure

Is this ready to be merged into Dynamoose? (select 1):

[x] Yes
[ ] No

Are all the tests currently passing on this PR? (select 1):

[x] Yes
[ ] No

Other:

[x] I have searched through the GitHub pull requests to ensure this PR has not already been submitted
[x] I have updated the Dynamoose documentation (if required) given the changes I made
[x] I have added/updated the Dynamoose test cases (if required) given the changes I made
[x] I have run npm test from the root of the project directory to ensure all tests continue to pass
[x] I agree that all changes made in this pull request may be distributed and are made available in accordance with the Dynamoose license
[x] All of my commits and commit messages are detailed, explain what changes were made, and are easy to follow and understand
[x] I have confirmed that all my code changes are indented properly using 2 spaces
[x] I have filled out all fields above

Pull Request Test Coverage Report for Build 820

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 85.533%

Totals

Change from base Build 810:
0.03%

Covered Lines:
2183

Relevant Lines:
2477

💛  - Coveralls

@dobrynin Are we also sure this is not a breaking change? Seems very likely this could break people's code.

@fishcharlie, I've simplified/improved the code. I think the logic I used to have could have false positives. I suppose this a breaking change because it will change the behavior of the package, although I believe it will bring it in line with what the documentation says.
I've also added tests.

@dobrynin

I suppose this a breaking change because it will change the behavior of the package, although I believe it will bring it in line with what the documentation says.

How will people need to change their code in order to fix any breaking changes this PR might cause?


Add typha metrics config with Operator

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

I removed the addition of --- from the start of the the installation crd. I thought it was causing a problem with an openshift test I was trying to do. In the end I don't think it fixed the issue as I had another setting that actually fixed it but removing the addition works so I'm not adding it back.

@tmjd @caseydavenport Isn't the general plan here to stop the operator using env vars, so that FelixConfiguration can be used for this kind of thing?  Why not get on with that instead of adding fields to operator resources?

Yes @neiljerram that is the plan but currently there is no option for configuration of this metrics port for typha besides setting the environment variable. We don't have a TyphaConfiguration like we do for felix.
Is there a datastore config option for this that we missed?

@tmjd Gotcha, I missed that this is TyphaConfiguration and not FelixConfiguration.  I'm not aware of any datastore config that has been missed here.


initial drizzle prototype

This looks awesome, really excited for it!

can't wait for this:) @hayes in case you need help to push this further, feel free to list some TODO's that I could try to contribute with

@MaxAst there is a todo list in the readme for the package in the PR.  If you are interested in working on any of it just let me know here (or join the discord channel and ask me there).  I am more than happy to help get people started contributing.  More external contributions is one of the biggest things Pothos needs.   I will say the PR is very much a work in progress, and probably not even building correctly right now

I think I'll finally have time to look into this next week, will reach out on Discord!

This is amazing! Thank you :)

4.0 is finally out, so this is the next big thing on my list, although I am somewhat waiting on drizzles v2 relational API

I just published an early preview of the drizzle plugin: https://pothos-graphql.dev/docs/plugins/drizzle
Check it out and let me know what you think!

wow @hayes this was super fast! thanks so much, excited to try it out! Sorry for not following through with my contribution, we ultimately ended up going with tRPC at work, so I didn't have much capacity to take this up


Animation triggering while hovering the graph

Hi guys!
The issue is referring to that topic: https://github.com/chartjs/Chart.js/issues/3169
where @etimberg explained the possible solution but it didn't work.
So the thing is, while I am hovering the graph, I get onProgress callback executed 22 times (depending on duration of animation I think).
One possibility was that:
options: {   hover: {     mode: false   } }
but unfortunately it doesn't work, I still get that method executed.
Am I doing something wrong?
Thank you!

Some news about this? It is an obvious bug :/

@sasos90 I haven't had time to look into this. Feel free to open a PR if you're able to fix it

Aaa ok no problem. I would really love to fix it, but I am afraid that there will be no time for that in that project :/

I was testing with 2.4.0 and this is fixed by the refactoring we did to the event handlers.
Updated fiddle: https://jsfiddle.net/x739euo4/1/ with hover: { mode: false } that doesn't call the animation callback all the time

That sounds awesome! Thanks!

It is still firing on mouse exit from chart.


Fix potential overwrite error for the out/ folder

Description:
I'm sending the uncompressed result to the ./out/ folder at this step: https://github.com/FsharpGHActions/git-tag-to-workflow-dispatch/blob/master/action.yml#L52. It could potentially break some usage.

Done with commits:

https://github.com/FsharpGHActions/git-tag-to-workflow-dispatch/commit/9d60ae59f40c6c9238665d4439b04837c5f6b1e8
https://github.com/FsharpGHActions/git-tag-to-workflow-dispatch/commit/ae42ee92a966d426c9af9ffe05018adea78189ca
https://github.com/FsharpGHActions/git-tag-to-workflow-dispatch/commit/37af6cf925a826353c7cf011abebed4066deb254


Scroll evm executor/v35

great! high readable codes, with good docs and tests.

Block hash upgrade....

since CI is fixed, maybe we can mark this not draft PR?


JVM Crash in heavily threaded environment

Issue Description
While training an RL4J model, a user has reported JVM Crashes (https://community.konduit.ai/t/fatal-error-terminate-called-after-throwing-an-instance-of-std-runtime-error-what-bad-data-type/447/14)
I used the shared code to reproduce the issue, but I had to crank up the thread count to 128 in order to force the crash to appear early in the run.
The error logs of the user indicate that ConcMarkSweepGC was used. And with that option I had crashes like that:
# first
[ERROR] Unknown dtypeX=0 on D:/jenkins/ws/dl4j-deeplearning4j-1.0.0-beta7-windows-x86_64-cpu-avx2/libnd4j/include/legacy/cpu/NativeOpExecutioner.cpp:1310
terminate called recursively
terminate called recursively
terminate called after throwing an instance of 'std::runtime_error'
  what():  bad data type
terminate called recursively
terminate called recursively
terminate called recursively

#second
[ERROR] Unknown dtypeX=1400475768 on D:/jenkins/ws/dl4j-deeplearning4j-1.0.0-beta7-windows-x86_64-cpu-avx2/libnd4j/include/legacy/cpu/NativeOpExecutioner.cpp:1310
terminate called after throwing an instance of 'std::runtime_error'
  what():  bad data type

#third
[ERROR] Unknown dtypeX=1283687984 on D:/jenkins/ws/dl4j-deeplearning4j-1.0.0-beta7-windows-x86_64-cpu-avx2/libnd4j/include/legacy/cpu/NativeOpExecutioner.cpp:1310
terminate called after throwing an instance of 'std::runtime_error'
  what():  bad data type

And a few full on JVM crashes likes this:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000003d9aeb90, pid=3408, tid=0x0000000000001f90
#
# JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.162-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [libnd4jcpu.dll+0xe3eb90]

It always was a different operation it crashed on, but they all had a common root:
J 4277 C2 org.deeplearning4j.rl4j.learning.async.AsyncThreadDiscrete.trainSubEpoch(Lorg/deeplearning4j/rl4j/observation/Observation;I)Lorg/deeplearning4j/rl4j/learning/async/AsyncThread$SubEpochReturn; (315 bytes) @ 0x0000000003eeea20 [0x0000000003eee000+0xa20]
J 4563 C2 org.deeplearning4j.rl4j.learning.async.AsyncThread.handleTraining(Lorg/deeplearning4j/rl4j/learning/async/AsyncThread$RunContext;)Z (79 bytes) @ 0x00000000040c42c8 [0x00000000040c4260+0x68]
j  org.deeplearning4j.rl4j.learning.async.AsyncThread.run()V+97

I've also tried using SerialGC, with the result that the JVM still crashed, but with no useful error message.
As far as I can tell, the parallel training in this instance is using separate models and uses synchronized access to the shared model:
https://github.com/eclipse/deeplearning4j/blob/master/rl4j/rl4j-core/src/main/java/org/deeplearning4j/rl4j/learning/async/AsyncThreadDiscrete.java
Version Information
Please indicate relevant versions, including, if relevant:

Deeplearning4j version: 1.0.0-beta7
Platform information (OS, etc): Windows 10
CUDA version, if used: N/A
NVIDIA driver version, if in use: N/A

Same issue here. First time I notice that is jvm return a 0xc0000005, no more information, the program just end with a return value. After wiggling a bit, JVM detect the crash and generate a hs_err*.log
Codes are below. I marked out the crash section. Get the output of the network would cause the crash. Looks like there are random crash during the testRawInput.forEachLine. Sometimes it crash after the first iteration with the return code 0xc0000005, sometimes it run a few times(4 or 5 iter.) then the JVM generate the hs_err. The basic idea of this piece of code is reading a SIGHAN 2015 test set and process it into [1, 300, 128] NDArray, where 300 is the dimention of word vector, 128 is the padded time step. Then get the result and turn it into offical format.
The issuse only shows when using CPU backend, using GPU backend is totally ok.
package info.skyblond.fiona.zhwiki

import com.hankcs.hanlp.HanLP
import info.skyblond.fiona.dl4j.Word2VecHelper
import org.deeplearning4j.nn.multilayer.MultiLayerNetwork
import org.nd4j.linalg.factory.Nd4j
import java.io.File
import java.nio.charset.StandardCharsets

fun main() {
    val testRawInput = File("data/SIGHAN 2015 CSC Datasets/Test/SIGHAN15_CSC_TestInput.txt")

    val model = MultiLayerNetwork.load(
        File("checkpoint_38_MultiLayerNetwork.zip"),
        true
    )

    testRawInput.forEachLine(StandardCharsets.UTF_8) {rawLine ->
        val cleanString = // processed line content to be feed into network

        // input data shape: [batchSize, features, timesteps]
        // i.e.: [1, 300, 128]
        val input = Nd4j.zeros(1, 300, 128)
        cleanString.take(128).forEachIndexed { timeSteps, s ->
            // result is a list of double, size is 300
            val result = if (Word2VecHelper.containsKey(s)) Word2VecHelper[s] else Word2VecHelper["<unk>"]
            result.forEachIndexed { featureIndex, d ->
                input.putScalar(intArrayOf(1, featureIndex, timeSteps), d)
            }
        }

        //---------------------- CRASH IN BELOW CODE ---------------------------

        // 获得输出
        // output: [batchSize, nOut, timesteps]
        // i.e.: [1, 3, 128], after argmax(1), shape should be [1, 128]
        val output = model.output(input).argMax(1) // CRASH HERE
        val tagRawResult = mutableListOf<String>()
        for (i in cleanString.indices){
            val tag = when(output.getInt(1, i)) {
                0 -> "O"
                1 -> "B"
                2 -> "I"
                else -> "<unk>"
            }
            tagRawResult.add(tag)
        }

        //---------------------- CRASH IN ABOVE CODE --------------------------

        // process into SIGHAN 2015 offical tool' format
        // ......
}

Network conf:
val conf = NeuralNetConfiguration.Builder()
            // training setting...
            .list()
            .layer(
                0, Bidirectional(
                    Bidirectional.Mode.ADD,
                    LSTM.Builder()
                        .activation(Activation.TANH)
                        .nIn(300)
                        .nOut(hiddenLayerSize)
                        .build()
                )
            )
            .layer(
                1,
                RecurrentAttentionLayer.Builder()
                    .nIn(hiddenLayerSize)
                    .nOut(feedforwardLayerSize1)
                    .projectInput(true)
                    .nHeads(attentionHeadNumber)
                    .build(),
            )
            .layer(
                2, DenseLayer.Builder()
                    .nIn(feedforwardLayerSize1)
                    .nOut(feedforwardLayerSize2)
                    .activation(Activation.RELU)
                    .build()
            )
            .layer(
                3,
                RnnOutputLayer.Builder(LossFunctions.LossFunction.MCXENT)
                    .dropOut(0.0) // turn off dropout
                    .activation(Activation.SOFTMAX)
                    .nIn(feedforwardLayerSize2)
                    .nOut(numLabelClasses)
                    .build(),
            )
            .inputPreProcessor(2, RnnToFeedForwardPreProcessor())
            .inputPreProcessor(3, FeedForwardToRnnPreProcessor())
            .build()

Parts of the hs_err:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000365eb90, pid=18192, tid=17144
#
# JRE version: OpenJDK Runtime Environment (11.0.7+10) (build 11.0.7+10)
# Java VM: OpenJDK 64-Bit Server VM (11.0.7+10, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [libnd4jcpu.dll+0xe3eb90]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Xmx12G -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.4\lib\idea_rt.jar=62999:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.4\bin -Dfile.encoding=UTF-8 info.skyblond.fiona.zhwiki.TestOnSIGHAN2015Kt

Host: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 8 cores, 31G,  Windows 10 , 64 bit Build 19041 (10.0.19041.546)
Time: Thu Oct 29 22:27:13 2020 ?��??????? elapsed time: 44 seconds (0d 0h 0m 44s)

---------------  T H R E A D  ---------------

Current thread (0x0000026417007000):  JavaThread "main" [_thread_in_native, id=17144, stack(0x0000008600900000,0x0000008600a00000)]

Stack: [0x0000008600900000,0x0000008600a00000],  sp=0x00000086009fdd88,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libnd4jcpu.dll+0xe3eb90]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 3209  org.nd4j.nativeblas.Nd4jCpu.execTransformStrict(Lorg/bytedeco/javacpp/PointerPointer;ILorg/nd4j/nativeblas/OpaqueDataBuffer;Lorg/bytedeco/javacpp/LongPointer;Lorg/bytedeco/javacpp/LongPointer;Lorg/nd4j/nativeblas/OpaqueDataBuffer;Lorg/bytedeco/javacpp/LongPointer;Lorg/bytedeco/javacpp/LongPointer;Lorg/bytedeco/javacpp/Pointer;)V (0 bytes) @ 0x0000026428b6e04e [0x0000026428b6df40+0x000000000000010e]
J 3843 c2 org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.exec(Lorg/nd4j/linalg/api/ops/TransformOp;Lorg/nd4j/linalg/api/ops/OpContext;)V (1440 bytes) @ 0x0000026428c21154 [0x0000026428c1ff00+0x0000000000001254]
J 3811 c2 org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.exec(Lorg/nd4j/linalg/api/ops/Op;Lorg/nd4j/linalg/api/ops/OpContext;)Lorg/nd4j/linalg/api/ndarray/INDArray; (143 bytes) @ 0x0000026428be9744 [0x0000026428be95e0+0x0000000000000164]
J 3971 c2 org.nd4j.autodiff.samediff.internal.InferenceSession.doExec(Lorg/nd4j/autodiff/functions/DifferentialFunction;Lorg/nd4j/linalg/api/ops/OpContext;Lorg/nd4j/autodiff/samediff/internal/FrameIter;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)[Lorg/nd4j/linalg/api/ndarray/INDArray; (1718 bytes) @ 0x0000026428cb2224 [0x0000026428cb1ec0+0x0000000000000364]
J 3920 c2 org.nd4j.autodiff.samediff.internal.InferenceSession.getOutputs(Lorg/nd4j/common/primitives/Pair;Lorg/nd4j/autodiff/samediff/internal/FrameIter;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Lorg/nd4j/autodiff/listeners/At;Lorg/nd4j/linalg/dataset/api/MultiDataSet;Ljava/util/Set;)[Lorg/nd4j/linalg/api/ndarray/INDArray; (1264 bytes) @ 0x0000026428c86888 [0x0000026428c86700+0x0000000000000188]
J 3972 c2 org.nd4j.autodiff.samediff.internal.InferenceSession.getOutputs(Ljava/lang/Object;Lorg/nd4j/autodiff/samediff/internal/FrameIter;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Lorg/nd4j/autodiff/listeners/At;Lorg/nd4j/linalg/dataset/api/MultiDataSet;Ljava/util/Set;)[Ljava/lang/Object; (23 bytes) @ 0x0000026428cb3c2c [0x0000026428cb3bc0+0x000000000000006c]
J 3870 c1 org.nd4j.autodiff.samediff.internal.AbstractSession.output(Ljava/util/List;Ljava/util/Map;Lorg/nd4j/linalg/dataset/api/MultiDataSet;Ljava/util/Collection;Ljava/util/List;Lorg/nd4j/autodiff/listeners/At;)Ljava/util/Map; (2553 bytes) @ 0x0000026421e2e01c [0x0000026421e240c0+0x0000000000009f5c]
j  org.nd4j.autodiff.samediff.SameDiff.directExecHelper(Ljava/util/Map;Lorg/nd4j/autodiff/listeners/At;Lorg/nd4j/linalg/dataset/api/MultiDataSet;Ljava/util/Collection;Ljava/util/List;[Ljava/lang/String;)Ljava/util/Map;+175
j  org.nd4j.autodiff.samediff.SameDiff.batchOutputHelper(Ljava/util/Map;Ljava/util/List;Lorg/nd4j/autodiff/listeners/Operation;[Ljava/lang/String;)Ljava/util/Map;+196
j  org.nd4j.autodiff.samediff.SameDiff.output(Ljava/util/Map;Ljava/util/List;[Ljava/lang/String;)Ljava/util/Map;+7
j  org.nd4j.autodiff.samediff.config.BatchOutputConfig.output()Ljava/util/Map;+28
j  org.nd4j.autodiff.samediff.SameDiff.output(Ljava/util/Map;[Ljava/lang/String;)Ljava/util/Map;+12
j  org.deeplearning4j.nn.layers.samediff.SameDiffLayer.activate(ZLorg/deeplearning4j/nn/workspace/LayerWorkspaceMgr;)Lorg/nd4j/linalg/api/ndarray/INDArray;+378
j  org.deeplearning4j.nn.layers.AbstractLayer.activate(Lorg/nd4j/linalg/api/ndarray/INDArray;ZLorg/deeplearning4j/nn/workspace/LayerWorkspaceMgr;)Lorg/nd4j/linalg/api/ndarray/INDArray;+9
j  org.deeplearning4j.nn.multilayer.MultiLayerNetwork.outputOfLayerDetached(ZLorg/deeplearning4j/nn/api/FwdPassType;ILorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/memory/MemoryWorkspace;)Lorg/nd4j/linalg/api/ndarray/INDArray;+665
j  org.deeplearning4j.nn.multilayer.MultiLayerNetwork.output(Lorg/nd4j/linalg/api/ndarray/INDArray;ZLorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/memory/MemoryWorkspace;)Lorg/nd4j/linalg/api/ndarray/INDArray;+18
j  org.deeplearning4j.nn.multilayer.MultiLayerNetwork.output(Lorg/nd4j/linalg/api/ndarray/INDArray;ZLorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/ndarray/INDArray;)Lorg/nd4j/linalg/api/ndarray/INDArray;+7
j  org.deeplearning4j.nn.multilayer.MultiLayerNetwork.output(Lorg/nd4j/linalg/api/ndarray/INDArray;Z)Lorg/nd4j/linalg/api/ndarray/INDArray;+5
j  org.deeplearning4j.nn.multilayer.MultiLayerNetwork.output(Lorg/nd4j/linalg/api/ndarray/INDArray;Lorg/deeplearning4j/nn/api/Layer$TrainingMode;)Lorg/nd4j/linalg/api/ndarray/INDArray;+14
j  org.deeplearning4j.nn.multilayer.MultiLayerNetwork.output(Lorg/nd4j/linalg/api/ndarray/INDArray;)Lorg/nd4j/linalg/api/ndarray/INDArray;+5
j  info.skyblond.fiona.zhwiki.TestOnSIGHAN2015Kt$main$1.invoke(Ljava/lang/String;)V+515
j  info.skyblond.fiona.zhwiki.TestOnSIGHAN2015Kt$main$1.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  kotlin.io.TextStreamsKt.forEachLine(Ljava/io/Reader;Lkotlin/jvm/functions/Function1;)V+134
j  kotlin.io.FilesKt__FileReadWriteKt.forEachLine(Ljava/io/File;Ljava/nio/charset/Charset;Lkotlin/jvm/functions/Function1;)V+53
j  info.skyblond.fiona.zhwiki.TestOnSIGHAN2015Kt.main()V+170
j  info.skyblond.fiona.zhwiki.TestOnSIGHAN2015Kt.main([Ljava/lang/String;)V+0
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), writing address 0x0000000000000050

Full version of hs_err: https://del.dog/apunimefir

I also ran into something similar:
[pool-1-thread-3] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
[pool-1-thread-3] INFO org.nd4j.nativeblas.NativeOpsHolder - Number of threads used for linear algebra: 2
[pool-1-thread-3] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for OpenMP BLAS: 2
[pool-1-thread-3] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Backend used: [CPU]; OS: [Linux]
[pool-1-thread-3] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Cores: [2]; Memory: [2,8GB];
[pool-1-thread-3] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Blas vendor: [OPENBLAS]
[pool-1-thread-3] INFO org.deeplearning4j.nn.graph.ComputationGraph - Starting ComputationGraph with WorkspaceModes set to [training: ENABLED; inference: ENABLED], cacheMode set to [NONE]
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.PerformanceListener - ETL: 40 ms; iteration 0; iteration time: 10583 ms; samples/sec: 96,759; batches/sec: 0,094;
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.TimeIterationListener - Remaining time : 141mn - End expected : Sun Jan 03 11:40:28 CET 2021
..
..
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.PerformanceListener - ETL: 0 ms; iteration 799; iteration time: 988 ms; samples/sec: 15,182; batches/sec: 1,012;  GC: [G1 Young Generation: 0 (0ms)], [G1 Old Generation: 0 (0ms)];
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.TimeIterationListener - Remaining time : 0mn - End expected : Sun Jan 03 11:09:10 CET 2021
[ERROR] Unknown dtypeX=32603 on /home/jenkins/agent/workspace/ing4j_deeplearning4j-1.0.0-beta7/libnd4j/include/legacy/cpu/NativeOpExecutioner.cpp:1355terminate called after throwing an instance of 'std::runtime_error'
what():  bad data type

I also ran into something similar:
[pool-1-thread-3] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
[pool-1-thread-3] INFO org.nd4j.nativeblas.NativeOpsHolder - Number of threads used for linear algebra: 2
[pool-1-thread-3] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for OpenMP BLAS: 2
[pool-1-thread-3] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Backend used: [CPU]; OS: [Linux]
[pool-1-thread-3] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Cores: [2]; Memory: [2,8GB];
[pool-1-thread-3] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Blas vendor: [OPENBLAS]
[pool-1-thread-3] INFO org.deeplearning4j.nn.graph.ComputationGraph - Starting ComputationGraph with WorkspaceModes set to [training: ENABLED; inference: ENABLED], cacheMode set to [NONE]
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.PerformanceListener - ETL: 40 ms; iteration 0; iteration time: 10583 ms; samples/sec: 96,759; batches/sec: 0,094;
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.TimeIterationListener - Remaining time : 141mn - End expected : Sun Jan 03 11:40:28 CET 2021
..
..
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.PerformanceListener - ETL: 0 ms; iteration 799; iteration time: 988 ms; samples/sec: 15,182; batches/sec: 1,012;  GC: [G1 Young Generation: 0 (0ms)], [G1 Old Generation: 0 (0ms)];
[pool-1-thread-3] INFO org.deeplearning4j.optimize.listeners.TimeIterationListener - Remaining time : 0mn - End expected : Sun Jan 03 11:09:10 CET 2021
[ERROR] Unknown dtypeX=32603 on /home/jenkins/agent/workspace/ing4j_deeplearning4j-1.0.0-beta7/libnd4j/include/legacy/cpu/NativeOpExecutioner.cpp:1355terminate called after throwing an instance of 'std::runtime_error'
what():  bad data type

Closing this, MLNs and NDArrays typically are not safe objects to reference/pass around without proper protection. This is why we wrote parallelwrapper and parallelinference.
Make sure to pass OMP_NUM_THREADS=1 in a multi threaded environment to make execution more straightforward. If you have a particular use case for multi threading, we'd be happy to hear it. Otherwise for now, I'm closing this.


[Bug] DataTables resetting to first page on bulk actions

As @gthu96 reported on #3524, Data tables are reloading resetting to first page on bulk actions clone/delete.
This PR fix that behavior, keeping the user on the current page.
This fix also validates if while deleting the remaining rows on the last page, data tables would move the previous page.

A new inspection was created.

The inspection completed: No new issues

Hi @promatik  Thanks for the quick fix.
When can i expect this to be merged ?

@gthu96 I hope soon 🙌
Since it's a small change, if @pxpm don't find any problems introduced by this change, it may be merged soon.

Hi @promatik is there any issues with the change or does these things take this long to merge?

A new inspection was created.

The inspection completed: No new issues

Merged. Will be tagged later today and available with a composer update backpack/crud starting tomorrow. Thanks everyone!

Thank you so much guys. @promatik


Adding start of auth section

ok and now?

Nope. Link doesn't work. Also, we are looking for full React components. Not "one line of code" integrations.


Demiurge Wallet: Screen does not enable first user to select DID Type though the message has indication

Version: 1.6.1-patch2
Display Message: You do not have a DID, so we will create one.
Choose the DID type and press Create identity button.
Observation: Screen does not enable first user to select DID Type though the message has indication. Hence there is a mismatch  between display message and implementation.

@adiganga2002 remove second line of text


Rename 'create' parameter in 'demodata' to 'seed'

Signed-off-by: Jerin J Titus<EMAIL_ADDRESS>Fixes #653.

A merge of this impacts our setup of dockerhub for the development branch.
https://github.com/Open-MSS/dockerhub/blob/develop/script.sh#L10
And we have to update short afterwards the development instrutions
https://github.com/Open-MSS/Open-MSS.github.io/blob/gh-pages/docs/develop/Setup-Instructions.md


Cannot Sign In - Timeout Error and Invalid Authentication

Hey guys! Super excited to use this integration but it seems like it's not working for me. I got it to add to the integrations table, but when I go to add my credentials and click submit, it returns invalid, but I can sign in on both the traeger app as well as the account page on the desktop so that's odd. It also throws a Timeout error talking to cognito, and that NoneType Object error as well, as related to #20. My logs are here:
2022-03-08 11:41:25 ERROR (MainThread) [custom_components.traeger] Timeout error fetching information from https://cognito-idp.us-west-2.amazonaws.com/ -
2022-03-08 11:41:25 ERROR (MainThread) [custom_components.traeger] Failed to login 'NoneType' object is not subscriptable
[{"name":"custom_components.traeger","message":["Failed to login 'NoneType' object is not subscriptable"],"level":"ERROR","source":["custom_components/traeger/config_flow.py",83],"timestamp":1646768485.4657848,"exception":"","count":1,"first_occurred":1646768485.4657848},{"name":"custom_components.traeger","message":["Timeout error fetching information from https://cognito-idp.us-west-2.amazonaws.com/ - "],"level":"ERROR","source":["custom_components/traeger/traeger.py",334],"timestamp":1646768485.4652963,"exception":"","count":1,"first_occurred":1646768485.4652963},{"name":"homeassistant","message":["Error doing job: Unclosed client session"],"level":"ERROR","source":
It seems like there's an unclosed client? Strange because it's the only one there.
Besides that, I'm running, 0.0.7 for Traeger Integration, added through HACS.
HACS 1.2.0, core-2022.3.3 and OS 7.4 for Host Operating system.

Update; the integration somehow works. It kept on saying invalid authentication for the first couple of days but I just tried it and it seem to login so I will close this for now and in the event it does do the invalid authentication again I will re-open the issue.

This is happening again with the same logs as last time. I verified I can log in with the app, and I changed my password for good measure, according to the fix listed here: #36. Still nothing. I'm going to dig into the code tonight and see if I can get some answers. Any help would be appreciated!

@sebirdman @njobrien1006 any ideas by chance?

Given some of the timeouts that have been seen previously, what continent are you on?
Failed to login seems to be from config_flow.py line 84.
Said code is using self.hass not to be confused with traeger.hass (self.hass).
There are some differences in init.py where it uses:

session = async_get_clientsession(hass)
client = traeger(username, password, hass, session)

Where hass has been defined by:

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):

I still don't understand where self.hass is defined (or coming from) within config_flow.py.
Based on the limited logging provided, I'd guess you don't have the logging enabled for the custom component. Add this to your configuration.yaml if you haven't already and see if it says anything else and provide.

logger:
logs:  #debug/info/warning/error/critical
custom_components.traeger: debug

Given some of the timeouts that have been seen previously, what continent are you on?

USA Texas so AWS West should be fine to contact.

Failed to login seems to be from config_flow.py line 84. Said code is using self.hass not to be confused with traeger.hass (self.hass).
There are some differences in init.py where it uses:

session = async_get_clientsession(hass)
client = traeger(username, password, hass, session)

Where hass has been defined by:

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):

I still don't understand where self.hass is defined (or coming from) within config_flow.py.
I was looking at that as well and saw no link from self.hass anywhere else. The odd thing is it worked before and I got one cook in just fine and all the data was mapped out.

Based on the limited logging provided, I'd guess you don't have the logging enabled for the custom component. Add this to your configuration.yaml if you haven't already and see if it says anything else and provide.

logger:
logs:  #debug/info/warning/error/critical
custom_components.traeger: debug

Already done my guy. That's all the logs that are available. I'll do a restart right now and upload the logs in a sec.

And like a charm, it works just fine. The inconsistency is so weird! It times out at some points, returns NoneType at others, (typically together though), and fails to contact AWS west. Its so odd.

USA Texas so AWS West should be fine to contact.

All Auth comes from West-2. So yes.

I just don't wanna lose it ya know?

O I get it.

Already done my guy. That's all the logs that are available.
Yeah, I see there isn't any logging triggered from the config_flow.

Couple additional (far-fetched) questions:

Any non-typical firewall?
Any other HA isolation from the www?
Any Ad-Blocker?
Is datetime.datetime.utcnow() returning the correct time?

Maybe add this to Cognito to see if it is all populated:
        _LOGGER.info(f"do_cognito t:{t}")
        _LOGGER.info(f"do_cognito amzdate:{amzdate}")
        _LOGGER.info(f"do_cognito self.password:{self.password}")
        _LOGGER.info(f"do_cognito self.username:{self.username}")
        _LOGGER.info(f"do_cognito CLIENT_ID:{CLIENT_ID}")

For reference this is what to expect in the logs on initial adding of integration:

2022-04-01 13:34:55 INFO (MainThread) [custom_components.traeger] do_cognito t:2022-04-01 18:34:55.914404
2022-04-01 13:34:55 INFO (MainThread) [custom_components.traeger] do_cognito amzdate:20220401T183455Z
2022-04-01 13:34:55 INFO (MainThread) [custom_components.traeger] do_cognito<EMAIL_ADDRESS>2022-04-01 13:34:55 INFO (MainThread) [custom_components.traeger] do_cognito CLIENT_ID:2fuohjtqv1e63dckp5v84rau0j

And then after it succesfully adds:

2022-04-01 13:34:59 INFO (MainThread) [custom_components.traeger]
2022-04-01 13:34:59 INFO (MainThread) [custom_components.traeger] do_cognito t:2022-04-01 18:34:59.210246
2022-04-01 13:34:59 INFO (MainThread) [custom_components.traeger] do_cognito amzdate:20220401T183459Z
2022-04-01 13:34:59 INFO (MainThread) [custom_components.traeger] do_cognito<EMAIL_ADDRESS>2022-04-01 13:34:59 INFO (MainThread) [custom_components.traeger] do_cognito CLIENT_ID:2fuohjtqv1e63dckp5v84rau0j
2022-04-01 13:35:00 INFO (MainThread) [custom_components.traeger] Call_Later in: 30 seconds.
2022-04-01 13:35:30 DEBUG (MainThread) [custom_components.traeger] @Call_Later SyncMain CreatingTask for async Main.
2022-04-01 13:35:30 DEBUG (MainThread) [custom_components.traeger] Current Main Loop Time:<PHONE_NUMBER>.0998466
2022-04-01 13:35:30 DEBUG (MainThread) [custom_components.traeger] MQTT Logger Token Time Remaining:3569.1102678775787 MQTT Time Remaining:-30.889804363250732
2022-04-01 13:35:30 DEBUG (MainThread) [custom_components.traeger] MQTT URL:wss://aqmix2am7g1w-ats.iot.us-west-2.amazonaws.com/mqtt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=aaaabbbbccccdddddFus-west-2**ReallyLongHash Expires @:1648841799.1001499
2022-04-01 13:35:30 INFO (MainThread) [custom_components.traeger] Thread Active Count:13
2022-04-01 13:35:31 DEBUG (MainThread) [custom_components.traeger] Sending CONNECT (u0, p0, wr0, wq0, wf0, c1, k987) client_id=b''
2022-04-01 13:35:31 DEBUG (Thread-4) [custom_components.traeger] Start MQTT Loop Forever
2022-04-01 13:35:31 DEBUG (MainThread) [custom_components.traeger] Call_Later @:<PHONE_NUMBER>.1001499
2022-04-01 13:35:31 DEBUG (Thread-4) [custom_components.traeger] Received CONNACK (0, 0)
2022-04-01 13:35:31 INFO (Thread-4) [custom_components.traeger] Grill Connected
2022-04-01 13:35:31 DEBUG (Thread-4) [custom_components.traeger] Sending SUBSCRIBE (d0, m1) [(b'prod/thing/update/123abcdefg', 1)]
2022-04-01 13:35:31 DEBUG (Thread-4) [custom_components.traeger] Received SUBACK
2022-04-01 13:35:31 DEBUG (MainThread) [custom_components.traeger] Send Command Topic: 123abcdefg, Send Command: 90
2022-04-01 13:35:31 DEBUG (Thread-4) [custom_components.traeger] Received PUBLISH (d0, q0, r0, m0), 'prod/thing/update/123abcdefg', ... (2121 bytes)
2022-04-01 13:35:31 DEBUG (Thread-4) [custom_components.traeger] grill_message: message.topic = prod/thing/update/123abcdefg, message.payload = b'{"thingName":"123abcdefg","jobs":[{"jobId":"Link_Combined_TimberlineXYZ","thingName":"123abcdefg","currentStatus":{"status":"SUCCEEDED","timestamp":1648510663},"isFinished":true,"isInProgress":false}],"status":{"ambient":61,"connected":true,"cook_id":"","cook_timer_complete":0,"cook_timer_end":0,"cook_timer_start":0,"current_cycle":0,"current_step":0,"errors":0,"grill":39,"in_custom":0,"keepwarm":0,"pellet_level":40,"probe":0,"probe_alarm_fired":0,"probe_con":0,"probe_set":0,"real_time":0,"server_status":0,"set":165,"smoke":0,"sys_timer_complete":1,"sys_timer_end":0,"sys_timer_start":0,"system_status":2,"time":1648838048,"units":1,"acc":[{"uuid":"p0","channel":"p0","type":"probe","con":0,"probe":{"get_temp":0,"set_temp":0,"alarm_fired":0}}]},"features":{"cold_smoke_enabled":0,"grill_mode_enabled":0,"open_loop_mode_enabled":0,"pellet_sensor_connected":1,"pellet_sensor_enabled":1,"super_smoke_enabled":1,"time":1648793056},"limits":{"max_grill_temp":500},"settings":{"config_version":"08.005","device_type_id":2108,"feature":0,"fw_build_num":"20220223.142429","fw_version":"T2.01.02","language":0,"rssi":-55,"speaker":1,"ssid":"Guest","time":1648793056,"units":1},"usage":{},"custom_cook":{"cook_cycles":[{"cycle_name":"Chicken Challenge","populated":1,"num_steps":1,"units":1,"slot_num":0,"steps":[{"probe_set_temp":170,"time_set":0,"keepwarm":0,"smoke":0,"step_num":1,"set_temp":425,"use_timer":0}]},{"cycle_name":"Beginner's Brisket","populated":1,"num_steps":2,"units":1,"slot_num":1,"steps":[{"probe_set_temp":0,"time_set":12600,"keepwarm":0,"smoke":1,"step_num":1,"set_temp":165,"use_timer":1},{"probe_set_temp":190,"time_set":0,"keepwarm":0,"smoke":0,"step_num":2,"set_temp":225,"use_timer":0}]},{"slot_num":2,"populated":0},{"slot_num":3,"populated":0},{"slot_num":4,"populated":0}]},"details":{"thingName":"123abcdefg","userId":"uuid","lastConnectedOn":1648793055,"thingNameLower":"123abcdefg","friendlyName":"@MyTraeger","lat":0.00,"long":-0.00,"deviceType":"2108"},"stateIndex":45894,"schemaVersion":"1.0"}'


Generate typed signatures for removeEventListenter

These overload signatures are primarily there to suppress errors when strictFunctionTypes is enabled.
https://github.com/Microsoft/TypeScript/issues/19386

thanks!


Re-write of WIS2 to GTS Gateway section.

This includes the change proposed in @antje-s in PR #1

@efucile for review.


After exporting the project to a Meta Quest 2, fog covers entire plane if the mesh size is bigger than 15 X15

Godot version
3.5
System information
Windows 11
Issue description
I do not know where to create this issue, if here on in godot repository.
If you enable the for in a WorldEnvironment.Environment, if you have a plane mesh bigger than 15 X15 the fog will completely cover it.
If you disable the fog you can see the object with its texture. Other objects that are not that big are covered by the fog correctly when they need too.
Steps to reproduce
-Create a project
-install addon OpenXR
-add a MeshInstance to the scene
-Add a WorldEnviromnet and an Environment to it
-Enable fog on Environment
-Set the following settings

-Add a MeshInstance and a plane to it
-Add a material to the MeshInstance and make it red
**Export to Meta Quest 2 and you will see that the plane is covered by the fog
Minimal reproduction project
No response

Vertex shading is forced by default on mobile for performance reasons. Try disabling Force Vertex Shading.mobile project setting, then export the project to the Meta Quest 2 again.

Agree with @Calinou this sounds likely to be due to vertex shading. I don't know the performance specs of this hardware, so using fragment shading may be the best solution.. but if you needed to make fog usable with vertex shading, you probably want to have it come in over a large range, and your geometry will probably need to be tessellated to a decent degree.
For instance, a single quad that is large can't offer much definition with vertex shading, whereas if you tessellate it to e.g. 20x20, this offers something for the vertex shading to work with.

Thank you.
I disabled  Force Vertex Shading and it now works.
On Thu, Sep 22, 2022 at 3:28 AM lawnjelly @.***> wrote:

Agree with @Calinou https://github.com/Calinou this sounds likely to be
due to vertex shading. I don't know the performance specs of this hardware,
so using fragment shading may be the best solution.. but if you needed to
make fog usable with vertex shading, you probably want to have it come in
over a large range, and your geometry will probably need to be tessellated
to a decent degree.
For instance, a single quad that is large can't offer much definition with
vertex shading, whereas if you tessellate it to e.g. 20x20, this offers
something for the vertex shading to work with.
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/66237#issuecomment-1254635543,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACO7IMDC52UVJNFM5UIQIY3V7QDBLANCNFSM6AAAAAAQSRL2CY
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Rasik Rodriguez Garcia
Software Developer
"Today is a Better Day"
Mobile:(336) 564-5817
@.*** @.**>


[Feature Request] System option to roll attack + plus damage

For melee and ranged attacks, have a toggle (per actor or system wide) allowing for automatically rolling damage after a to hit roll is made - perhaps even having both in the same chat card, for better parsing and organization. Thus if defense fails, it is just a matter of applying the damage.

You can accomplish this now using On the Fly formulas.   You could add something like this to the note section of your attack:
["Click for Attack"/if [A:AttackName] [D:AttackName]]
But this is a good suggestion.   I'll see how hard it would be to do.

But this is a good suggestion. I'll see how hard it would be to do.

Might need to consider how the ADD is applied?  At the moment, you setup "to hit" bonuses/minuses and then you do damage next so the pluses/minuses affect the right things.  I think this would need to be able to set everything up front in ADD then pull the right numbers to the right rolls?
Would be nice to be able to do on a per actor or even per attack basis (toggle).

Instead of the automatic roll, we will display a button in the attack chat message (if successful).   This way additional modifiers can be applied and then damage rolled, without having to find the attack again on the character sheet.
https://github.com/crnormand/gurps/pull/1387


Release 1.3.2

Version 1.3.2 - released October 1, 2020
Bugs Fixed

Fix File menu rendering issue

Asset Sizes

File
Size
% Change from Previous Release

index.css
505,927 bytes
0.0%

index.js
4,950,977 bytes
0.0%

Closing as we decided not to release 1.3.2. We'll wait for 1.4.0 and some new features instead.


Post install build failed

I'm currently running my build in Jenkins with Node 8.15.1
and my current node-sass version is 4.12.0 in my devDependencies
I'm using a private registry since Jenkins cannot hit external network.
But I tried also putting sass-binary-path / sass-binary-site from .npmrc
Here's the logs from Jenkins
+ node --version
v8.15.1
+ npm --version
6.4.1
+ npm config get registry
http://<IP_ADDRESS>:8081/repository/stb-npm-hosted/
+ echo 'Installing dependencies'
Installing dependencies
+ npm install

><EMAIL_ADDRESS>install /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass
> node scripts/install.js

Cached binary found at /var/lib/jenkins/.npm/node-sass/4.12.0/linux-x64-57_binding.node

><EMAIL_ADDRESS>postinstall /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/bootstrap-vue
> opencollective || exit 0

                       Thanks for installing bootstrap-vue
                 Please consider donating to our open collective
                        to help us maintain this package.

              Donate: https://opencollective.com/bootstrap-vue/donate

><EMAIL_ADDRESS>postinstall /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass
> node scripts/build.js

Binary found at /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary has a problem: Error: /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass/vendor/linux-x64-57/binding.node: invalid ELF header
    at Object.Module._extensions..node (module.js:682:18)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at module.exports (/var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass/lib/binding.js:19:10)
    at Object.<anonymous> (/var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
Building the binary locally
Building: /usr/bin/node /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/node',
gyp verb cli   '/var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /bin/python2
gyp verb check python version `/bin/python2 -c "import sys; print "2.7.5
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 8.15.1
gyp verb command install [ '8.15.1' ]
gyp verb install input version string "8.15.1"
gyp verb install installing version: 8.15.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 8.15.1
gyp verb ensuring nodedir is created /var/lib/jenkins/.node-gyp/8.15.1
gyp verb created nodedir /var/lib/jenkins/.node-gyp/8.15.1
gyp http GET https://nodejs.org/download/release/v8.15.1/node-v8.15.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp verb command remove [ '8.15.1' ]
gyp verb remove using node-gyp dir: /var/lib/jenkins/.node-gyp
gyp verb remove removing target version: 8.15.1
gyp verb remove removing development files for version: 8.15.1
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT <IP_ADDRESS>:443
gyp ERR! stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
gyp ERR! System Linux 3.10.0-957.21.3.el7.x86_64
gyp ERR! command "/usr/bin/node" "/var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /var/lib/jenkins/workspace/stb-tc.vs-app-admin.workspace/stb-tc.vs-app-admin-it/node_modules/node-sass
gyp ERR! node -v v8.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/lib/jenkins/.npm/_logs/2019-08-29T06_55_24_214Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Why does it still hitting nodejs.org to get 8.15.0 if I already setup a sass-binary-path in registry?

@xzyfer I tried adding npm cache clear still not working even I added the --force flag
I tried another way
I downgraded to node-sass v4.10.0 and remove sass-binary-site from .npmrc
but It now hits https://github.com/sass/node-sass/releases/download/v4.10.0/linux-x64-57_binding.node
My question is how can I use sass-binary-path if I put the linux-x64-57_binding.node inside the root of my project?
For example:
my-project/local-packages/linux-x64-57_binding.node

should it be sass-binary-path
sass-binary-path: ~/local-packages/linux-x64-57_binding.node

?

Anyway working now I upgrade to node-sass v4.11.0
Hope this will have a better resolution by including the linux node in node-sass package


Concat functionality for binary files (PCAP, DLT, etc)

Probably we can use MessageProducer to concat / merge files?

done with 3.9.x


Noob friendly docs please c:

We already have some teeworlds libs like:
https://github.com/erdbeere/tml
https://github.com/heinrich5991/libtw2
But for me they are all pretty useless because i am a complete nobo.
Please add some nice easy to use examples and this lib could give a big value for many people out there.

I'll do that when i finish it

@Ryozuki sounds like never to me ._.
But i hope you proof me wrong <3

:cry:


when searchable the 'drop down' does not work

Hi
in a view
<livewire:country-select name="country_select" placeholder="Choose a country" :searchable="true" />

component code:
<?php

namespace App\Http\Livewire;

use App\Models\Country;
use Asantibanez\LivewireSelect\LivewireSelect;
use Illuminate\Support\Collection;

class CountrySelect extends LivewireSelect
{
    public function options($searchTerm = null): Collection
    {
        return Country::orderBy('name')->get(['id', 'name'])->mapWithKeys(function ($item, $key) {
            return [$key => [
                'value' => $item->id,
                'description' => $item->name
            ]];
        });
    }

    public function selectedOption($value)
    {
        $user = Country::find($value);

        return [
            'value' => $user->id,
            'description' => $user->name
        ];
    }
}

Result

Hello, how did you solve it, I have this same problem, when I do a search, the styles are not applied


bind get, set, after can't be used in 7.0 Blazor applications

See https://github.com/dotnet/core/blob/main/release-notes/7.0/known-issues.md#70-bind-get-set-after-cant-be-used-in-70-blazor-applications
Notes should be added to the documentation. It's very frustrating when the code samples in the documentation don't work. Any potential workarounds such as rolling back to preview/RC versions and any trackable issues should also be included.

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

ID: b211df59-e1c9-86c0-c904-31fa3c361e6d
Version Independent ID: 3f912dfc-5ba5-6c6c-ba93-1ae78508a5cc
Content: ASP.NET Core Blazor data binding
Content Source: aspnetcore/blazor/components/data-binding.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @MisinformedDNA ... First I've heard of this. Word didn't reach me that there was a problem.
@danroth27 @mkArtakMSFT ... Would you like merely a NOTE until 7.0.1 (if it's soon, for example), or do you want me to comment-out the content until 7.0.1 release?

Ok, @MisinformedDNA ... I got word back offline. They are trying to get this fixed for 7.0.1, the December release, and we should know about that fix landing in a week or so. I've been instructed to just hold here for a week and not update the guidance but merely respond to any issues that come in on it. If it doesn't make the December release, the fix will be in the January release, and then Yes! ... we need a NOTE in the topic and in the What's New guidance on this.
Leave this issue open. I'll monitor things and see where we stand next week if that's when 7.0.1 lands.

Yes, this is an unfortunate known issue with the initial .NET 7 release. It will be fixed in an upcoming patch release. I believe the patch will be available in about a week. I think adding a note about the issue and the patch in the related section makes sense.

Thx @danroth27 ... Artak said to wait a week, but a NOTE is quick-'n-easy to add now and pull later, so I'll go ahead and take care of it and take it live right now.

So it looks like bind:after compiles and executes, but Visual Studio 17.4.3 and 17.5 Preview 2.0 still underline the bind:after attribute in red and show the same error. Definitely an improvement but confusing.  😆

I am tracking this in my original issue here: https://github.com/dotnet/aspnetcore/issues/44957
There is confusion because the InputNumber, InputText (etc) do work and have worked since 7.0.0.  The problem is with the input controls.  I confirm the bug persists in 7.0.1 and SDK 7.0.101 and even when compiling from the command line using dotnet build the compiler error still occurs.  I cannot see anything has been fixed in 7.0.1 / 7.0.101 when compiling from the command line using dotnet build.
@guardrex and @danroth27, I strongly suggest we make this very prominent in the documentation that this feature did not ship with .NET 7 in a fully working state.  We are now on the first patch release and it is still not working and anyone watching the dotnet conf videos or reading the documentation will be confused.  My assumption is best case scenario would be a fix around late Jan or Feb now as we are going into the holidays?
Suggest people use the InputNumber, InputText controls as a work around until this gets resolved.

Thanks @iphdav ... I'll chat with Dan about this offline (unless he sees this first and responds here) and get back to you.

@guardrex I also just realised the reason everyone is confused (about if anything was fixed) is because some fixes clearly did come through for blazor wasm, where things are still broken for blazor server.  This is why every second person is saying "It is broken still" then the next comment is "it is working now".  I am using blazor server and I am not seeing the fixes people using blazor wasm are reporting.

@iphdav ... I've received word back that this is under investigation with the patch release, and I see that Dan is discussing it with you further on your PU issue right now. I'll temporarily update the existing NOTEs tomorrow (Wednesday) morning. There's no need to post updates here. I'll keep an 👁 on things over the next few days.


Fix decoding fields containing escaped characters

fix https://github.com/goccy/go-json/issues/234

Codecov Report

Merging #237 (917f71b) into master (6562473) will decrease coverage by 0.14%.
The diff coverage is 30.05%.

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
- Coverage   81.84%   81.69%   -0.15%
==========================================
  Files          48       48
  Lines       14385    14624     +239
==========================================
+ Hits        11773    11947     +174
- Misses       2068     2128      +60
- Partials      544      549       +5


Implement mempool endpoint

Is your feature request related to a problem? Please describe.
It doesn't support querying tx pool
Describe the solution you'd like
Implement rosetta mempool endpoint

@thepabloaguilar you can work on these if you want. You will need to use some eth rpc endpoint to query txs and then parse it using how existing txs are parsed. You might be able to use a lot of existing code for parsing. Here's some documentation for mempool endpoint https://www.rosetta-api.org/docs/MempoolApi.html . If you want to know more about this project please checkout https://www.rosetta-api.org/ and let me know if you have any questions.

@shrimalmadhur, great I'll work on this tonight!

Ok, got it! I've implemented the /mempool endpoint
Is this issue about /mempool only or /mempool/transaction too?

@thepabloaguilar you can also go ahead and implement /mempool/transaction if you would like. :)

Yeah, I've created #91 to track it!


Update docs year to 2020

To verify #737

👍 It worked, https://shopify.github.io/shopify_api/ now shows 2020. So I'll delete the gh-pages branch.

(this will jump back to 2014 once #739 is merged).


[Task]: Deprecate ballerinax/sfdc package

Connector Name
module/salesforce (Salesforce)
Task Description
even though ballerinax/sdfc package is renamed as ballerinax/salesforce long time ago,  It seems that the ballerinax/sfdc package is still getting pulled without warnings or errors for all the newer ballerina versions and, failing at the compile time.
Ideally we should be able to avoid sdfc getting pulled for newer ballerina versions with a deprecation warning instead.

Closing as deprecated the ballerinax/sfdc package via the central UI. Deprecation message "package is deprecated. Use ballerinax/salesforce instead."


Usage Tracking for DeltaV Credits

Prerequisites

[X] I checked the documentation and made sure this feature does not already exist
[X] I checked the existing issues to make sure this feature has not already been requested

Feature
I would like to request a feature that provides a detailed log and usage tracking for DeltaV credits. Currently, if an agent goes offline or encounters an error, DeltaV credits are deducted. For example, even a geocode agent requires 25 DeltaV credits. It would be very helpful for users to see a detailed log of their credits, including when tokens are spent and which services use them.
Additional Information (Optional)
No response

Thank you for your suggestion. Our is looking into and will get back to you shortly.


[cleanup][broker] Move dispatcherExecutor out from PersistentDispatcherSingleActiveConsumer

The dispatcher executor of PersistentDispatcherSingleActiveConsumer is introduced in #18566.
Since it is only for PersistentStreamingDispatcherSingleActiveConsumer, so move it out from the PersistentDispatcherSingleActiveConsumer.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #18648 (25f4e5e) into master (b579bb8) will decrease coverage by 10.39%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #18648       +/-   ##
=============================================
- Coverage     47.51%   37.12%   -10.40%
+ Complexity    10520     1970     -8550
=============================================
  Files           698      209      -489
  Lines         68079    14420    -53659
  Branches       7280     1573     -5707
=============================================
- Hits          32351     5353    -26998
+ Misses        32151     8482    -23669
+ Partials       3577      585     -2992

Flag
Coverage Δ

unittests
37.12% <ø> (-10.40%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/apache/pulsar/client/impl/ProducerBase.java
32.69% <0.00%> (-1.93%)
:arrow_down:

.../org/apache/pulsar/client/impl/ConnectionPool.java
37.43% <0.00%> (-1.03%)
:arrow_down:

.../pulsar/broker/service/AbstractBaseDispatcher.java

...rg/apache/pulsar/broker/service/AbstractTopic.java

...tent/PersistentDispatcherSingleActiveConsumer.java

...ersistentStreamingDispatcherMultipleConsumers.java

...istentStreamingDispatcherSingleActiveConsumer.java

...ervice/streamingdispatch/StreamingEntryReader.java

...ava/org/apache/pulsar/broker/stats/WindowWrap.java

...ransactionBufferSnapshotBaseSystemTopicClient.java

... and 482 more


Field validation

Summary
CI/build pipeline name field should have proper validation
Current behavior

Proper validation does not exist for CI/build pipeline name
If user enters something invalid error being shown is "Some required fields are missing" [Refer screenshot]

Expected behavior

Proper input validation error message should be shown below the Pipeline Name field.
"Some required fields are missing" toast message should not be shown in this case.

AB#279

@uxarya-d I would like to work on this issue.

@kapishmalik Sure. Let me revisit this and get back to you.


Update ReadMe.md

Pull Request (PR) description

This Pull Request (PR) fixes the following issues:

Task list:

[ ] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[ ] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

This change is

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Codecov Report

Merging #94 into dev will not change coverage.
The diff coverage is n/a.

@@        Coverage Diff        @@
##           dev   #94   +/-   ##
=================================
  Coverage   94%   94%
=================================
  Files        5     5
  Lines      513   513
  Branches     2     2
=================================
  Hits       486   486
  Misses      25    25
  Partials     2     2

Awesome! Thanks @amrowicki - would you be able to fix the merge conflicts? They were caused because I merged another change just before yours.

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Allow bring your own logger to Feature Flags

Is your feature request related to a problem? Please describe.

Users would like to use a customized logger.
Describe the solution you'd like

Add the ability to pass a logger instance, defaulted to None into the object creation of the following classes:

AppConfigStore
FeatureFlags
SchemaValidator
FeaturesValidator
RulesValidator
ConditionsValidator

The init method would create a logger instance if None was passed in.
Describe alternatives you've considered

Additional context

I attempted to push an implementation of this up to then create a push request, but it seems I'm not authorized.
Can I get added to the contributors list?

@gwlester you'll need to fork this repository then push your changes to a branch in your own fork. You can then create a PR from your own fork against this repo. If you're having issues, come ping us in #lambda-powertools on the AWS Developer Slack (invite if you need one) and we'll help.

Now available as part of 1.21.0 :) https://github.com/awslabs/aws-lambda-powertools-python/releases/tag/v1.21.0


Bug: Unable to find libdevice directory (${CUDA_DIR}/nvvm/libdevice) in GPU Images, Fix: Install cuda-nvcc to GPU images and update XLA_FLAGS

Bug Description:
While running Keras tests against the GPU Docker image, Tests were failing with the error - "Can't find libdevice directory ${CUDA_DIR}/nvvm/libdevice.
This issue has been discussed in several Github issues:
One such Github issue: https://github.com/tensorflow/tensorflow/issues/58681
How to fix it:

Install cuda-nvcc from nvidia channel
After installation of cuda-nvcc, update XLA_FLAGS Environment variable to specify the Cuda Data Directory.
export XLA_FLAGS=--xla_gpu_cuda_data_dir=/opt/conda

What is the impact:

Any sagemaker-distribution user might run into into the same issue while using the GPU images.

I agree on the impact. This should be looked on and fixed.

The libdevice file was indeed missing in the official Tensorflow 13.0 GPU optimized Image of Sagemaker and the problem can be resolved by typing this in the Terminal:
!apt-get install cuda-compiler-11-8
In my case cuda 11.8 was already preinstalled by the image and setting the flags is necessary (export XLA_FLAGS=--xla_gpu_cuda_data_dir=/opt/conda). Installing the cuda-nvcc probably also resolves the problem, but cuda-compiler-11-8 is more lightweight and eventually does the same thing as outlined in the tensorflow issue you mentioned.

cuda-nvcc has been added to SMD v2 GPU images: https://github.com/aws/sagemaker-distribution/blob/981276a7466779e820f522be3d6f844733bf1fe4/build_artifacts/v2/v2.0/v2.0.0/gpu.env.out#L643


Docs: Compare to Smithy

I'm exploring design-first API approaches for Dot NET services/APIs. I came across TypeSpec via Steven Mizell’s book and figure TypeSpec would make the most sense given Microsoft/Dot NET ecosystem.
However, Smithy (by AWS) also exists and seems more mature (although that may be my own bias since I've used Smithy before). The Dot NET services may or may not run on Azure.
Could you include an FAQ or page that compares TypeSpec to Smithy (and maybe other, similar approaches)?

@connorjs I don't think we are lilkely to provide a comparison between TypeSpec and other technologies, but if you have specific questions about TypeSpec capabilities and usage, we would be happy to help.


Fix a number of BAT test blocking bugs

The BAT tests were failing consistently for me on a newly set up SingleVM.  There turned out to be three separate problems:

The DeleteAllInstances BAT tests was erroring out too early if instances were detected after the ciao-cli instance delete -all had been called.
#808 was causing launch failures.
The docker method client.ContainerStats was hanging sometimes.  This seems to be reproducible on a newer version of docker, 1.12.3.

The PR fixes all the issues above and the BAT tests are now working consistently in my SingleVM environment.

Coverage decreased (-0.02%) to 65.121% when pulling 55513fbfda2a03278b287b2f2dca1097e7b5a073 on markdryan:master into 78dd4c7b3deea01bd47e3fff426f044bddbd7b23 on 01org:master.