fix: ci iOS failures

This PR resolves []
Description

Looks like we are using the wrong simulator to run the iOS native tests thus they are failing.
this hopefully fixes this issue
PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

fix broken iOS tests - gkartalis

Need help with something? Have a look at our docs, or get in touch with us.

woops, just realized that this was fixed in https://github.com/artsy/eigen/pull/7544


CI/CD – Using Azure Key Vault for environment variables

cc: @william-liebenberg @adamcogan
To Myself,
Currently the environment variables for Rules are undocumented and scattered all over the place.

Create staging and production Azure Key Vaults
Add a task to the build.yml pipeline that pulls the variables from Azure Key Vault. Each pipeline should pass through the connection string for the correct Azure Key Vault.
Remove the variables from the Azure Pipelines

Thanks,
-Brady
AB#61631

@brydeno @pierssinclairssw
As per our conversation, Managed Identities may be a better approach to improve the security of Rules and connecting to KeyVault.


Structural Overhaul

Replaces #141. Includes code from #85 and #125.

GGML is now a submodule and a single crate
Support for GPT-2 architecture
Structural refactor into llm, llm-base, model, and llm-cli crates

Aha, I was just about to reply to the BLOOM PR!
I would suggest keeping BLOOM in - there's no reason to remove that code if someone can fix it with some work (we'll make an issue for it) - but we'll remove it from the list of features, and make a note on the crate itself.
As for the rest, let me have a look...

I don't see the value of keeping non-working code in the main branch. I would suggest keeping BLOOM in a feature branch until it's working.

btw could you add me as a git commit as you did when you upstreamed the ggml changes.

I don't see the value of keeping non-working code in the main branch. I would suggest keeping BLOOM in a feature branch until it's working.

Code that isn't kept in the main branch tends to rot, especially if we start making larger changes. As far as I know, BLOOM is done, we just need to figure out what's causing it to fail generation.
It's much easier for someone to pick it up and fix it if it's present; I think it's also a good way to ensure our abstractions work as expected as we increase the number of models.

Apart from that, PR looks great! Well done :) Looking forward to merging this, I think it's a huge improvement.

I don't see the value of keeping non-working code in the main branch. I would suggest keeping BLOOM in a feature branch until it's working.

Code that isn't kept in the main branch tends to rot, especially if we start making larger changes. As far as I know, BLOOM is done, we just need to figure out what's causing it to fail generation.
It's much easier for someone to pick it up and fix it if it's present; I think it's also a good way to ensure our abstractions work as expected as we increase the number of models.
Apart from that, PR looks great! Well done :) Looking forward to merging this, I think it's a huge improvement.

I personally think we should just merge and place a comment on the issue of it not working. I'd pick it up again but I don't have time for it till next week.

I've added back the BLOOM crate and tagged @hhamud as a co-author ✅

All that's left are the formatting and restoring bindings generation. Are you OK for me to do that, or do you have changes in the works?

Please go for it - thank you so much 👯


Identify high priority use cases

Figure out where to focus efforts for the group. We have sZTP, monitoring, Nginx, so we need to prioritize and focus.


How to use in console application?

I really like what you have done here but could you provide a sample console application that uses this library to communicate with the example Chrome extension that you made? Thanks!

Nevermind, I got it working right.


Gradient

I'm investing in Mix and work on real designs so I'm trying to see how far I can implement a design lang. Thx!
A linear 2 colors with start/end position would already cover most of the cases.
Some very basics reflections:
TopLeft, BottomRight
gradient(tl, br, Colors.white, Colors.blue, .0, .72);
vGradient(Colors.white, Colors.blue) top to bottom .0 => 1
hGradient(Colors.white, Colors.blue) left to right .0 => 1

Ah thanks Leo, I am very very interested to see if I can green-light this library for more advanced projets. Having some examples would convince me even more quickly jajaja.

@Solido we are still in pre 1.0, but we will have some exciting news soon all around these tools to fill some of the gaps, especially material and documentation, and ongoing support.

This was my next question, should I point my pubspec to git or will there be a pub.dev pre-release? Will dig today and tomorrow on your works. Thanks to you and the whole team!

@Solido we will be updating pub soon, just have to automate some things on our end but should be done this week.


[ART-3052] remove push QE quay image step

remove push QE quay step and functions because they are obsolete.

/lgtm


Handle zero in print_number()

If print_number() in bench.c is called with 0.0, it gets stuck in an infinite loop. This patch fixes that.

Code review ACK 63ea8dfd42c5aa8e34c345a673e0c98e88f727de


Intellisense for nodejs not working anymore

VSCode Version: 0.10.11
OS Version: Windows 10 64bit

I have a nodejs project that I was working on a few months ago and everything was great.
In the meantime, I had upgraded VScode to latest version.
Today I came back to the project and node intellisense is not working.
I made sure the tsd files were still there, and they are, in \typings\main\ambient\node\node.d.ts
I searched around a little but didn't find much
Is this a regression?

Hi, after more searching I found that this was addressed already in issue #3936
Seems like a jsconfig.json file is now needed - see instructions there
This fix did work for me.
This issue can be closed (or deleted)


Question about the annotators_config and reference_outputs in alpaca_eval

I would like to determine if the default configuration annotators_config=weighted_alpaca_eval_gpt4_turbo and reference_outputs=gpt4_turbo  used when evaluating with alpaca_eval. Thank you!

Yes, we used the default AlpacaEval 2 configuration for these two entries!


Update banana.js

bananas.js made way more better from leeroy jenkins

This undermines the integrity of the project!!!!
Do not merge!

This PR changes functionality in an unpredictable way. Instead, we should take a numBananas parameter which defaults to 1, to avoid a beaking change

I think this PR should be part of the next major version. Nice work!


Improved prose in contributing.md

"Additionally to" is an awkward construction in English, perhaps even non-grammatical.

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


 It's not the item itself that sticks to your cursor, but the entire item grid (so like a cigarette would be the cigarette + a 1x1 grid behind it). It's immediately fixed when you close the bag and open it again, but otherwise it's really annoying.
Reproduction

Try to take out item from bag by clicking it.
Item now stuck on cursor.
Try tap on hand, doesn't work.
Try tap on empty space in bag, doesn't work.
Close bag and open again.

Works now, but may happen to any item in bag.

this bug is slightly annoying therefore it should be priority 1 and holy shit :trollface:

also opening a bag sometimes mispredicts

this is also replicated it's so annoying

unbelievably annoying
possibly related, had a storage implant refuse to open until i relogged after handling someone elses duffel with a survival box in it

@UbaserB in the future, don't tag issues as replicated if they don't actually contain meaningful steps to replicate the bug. simply stating that clicking on the item causes the issue is untrue. A replicated issues should actually have the steps that lead to the consistent reproduction of that behavior.

in the future, don't tag issues as replicated if they don't actually contain meaningful steps to replicate the bug. simply stating that clicking on the item causes the issue is untrue. A replicated issues should actually have the steps that lead to the consistent reproduction of that behavior.

Oh I didn’t know that, I thought the replicated tag means the issue has been confirmed by a large enough group of people. My bad.


How can I customize sidenav component style

I met a bad problem. Material provide the components of the style have 'box-shadow'. Now I need remove this style. Please tell me how can I do?

NOT AN ISSUE, please ask this on SO
Please close this issue, already developement is slow
FYI: box-shadow: none!important; will override it


Add discovery for squeezebox (logitech media) servers.

Description:
Add the home-assistant changes needed for automatic discovery of logitech media servers.
Related issue (if applicable): balloob/netdisco#15 and #1561
Example entry for configuration.yaml (if applicable):
discovery:

Checklist:

[x] Local tests with tox run successfully.
[x] TravisCI does not fail. Your PR cannot be merged unless CI is green!
[x] Fork is up to date and was rebased on the dev branch before creating the PR.
[x] Commits have been squashed.
If code communicates with devices:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

I published a new version of netdisco and have updated the Home Assistant dependency version in #1572. So this PR is good to go :+1:


Caching data in composite actions

Caching doesn't work in composite actions today. Action composition allows to reduce duplication in workflows and make maintenance easier, however cache action doesn't work in composite actions – cache is always not found.
runs:
  using: 'composite'
  steps:
    - name: Restore node_modules
      uses: actions/cache@v2
      with:
        path: '**/node_modules'
        key: ${{ steps.cache-key.outputs.key }}-${{ hashFiles('**/yarn.lock') }}

Linux github runners:
Cache not found for input keys: yarn-1.22.11-npm-node-v14.17.6-linux-x64-3b1bb16fe4c6727612fe59b0f434064665aefa0f459f4351c238dc733610bf5b
Windows github runners:
Cache not found for input keys: yarn-1.22.11-npm-node-v14.17.6-win32-x64-3b1bb16fe4c6727612fe59b0f434064665aefa0f459f4351c238dc733610bf5b
MacOS github runners:
Cache not found for input keys: yarn-1.22.11-npm-node-v14.17.6-darwin-x64-3b1bb16fe4c6727612fe59b0f434064665aefa0f459f4351c238dc733610bf5b
These steps work correctly outside the composite action (cache is created in post action)
Related issue  in setup-node action.
Possible root cause: post action(cache is created there) is not executed if cache action runs in composite action.
Possible solution: https://github.com/actions/cache/issues/587

I don't know why it didn't work for you, but it does for me

Possible root cause: post action(cache is created there) is not executed if cache action runs in composite action.

It does get called:
https://github.com/ChristopherHX/conditional/runs/3655221467?check_suite_focus=true#step:5:7
Then in another job which depends on the previous one I call the same action and it restored the cache
https://github.com/ChristopherHX/conditional/runs/3655225157?check_suite_focus=true#step:5:3
My composite test action I used is here https://github.com/ChristopherHX/conditional/blob/main/.github/tests/test1/action.yml
.github/tests/test1/action.yml
inputs:
  sampleInput:
    description: sampleInput
    default: Test value
  nodever:
    description: sampleInput
    default: '16'
runs:
  using: composite
  steps:
  - uses: actions/cache@v2
    id: cacheaction
    with:
      key: mycache-${{github.run_id}}
      path: |
        ~/cache
  - uses: ChristopherHX/conditional@b4a9649204f81002ec9a4ef7d4bf7d6b2ab7fa55
    with:
      if: ${{steps.cacheaction.outputs.cache-hit != 'true'}}
      step: |
        uses: actions/setup-node@v2
        with:
          node-version: ${{inputs.nodever}}
  - uses: ChristopherHX/conditional@b4a9649204f81002ec9a4ef7d4bf7d6b2ab7fa55
    with:
      if: ${{steps.cacheaction.outputs.cache-hit != 'true'}}
      step: |
        run: |
          mkdir -p ~/cache
          echo '${{inputs.sampleInput}}' > ~/cache/tmp.txt
        shell: bash
  - run: |
      cat ~/cache/tmp.txt
    shell: bash

I used the run_id in the cache key to avoid a cache hit on the first call in my test workflow.
However I didn't use hashfiles or tried to restore the cache in the same job as storing it.
Call it in two depending jobs in a workflow and you see cache is working.

I have exactly the same problem. The first job logs the following in the post-build action:
Post job cleanup.
Post job cleanup.

Post job cleanup.

However, in a dependent job, restoring the cache fails:
    path: .
    key: spritify-common-build-e1011132409c42ceab59eb2eb5358c694c44cbb6
  env:
    dotnet-version: 5.0.x
    node-version: 14.17.x
Cache not found for input keys: spritify-common-build-e1011132409c42ceab59eb2eb5358c694c44cbb6

Both jobs use composite actions that build my project. Can I provide any further information to help solving this issue?
My current workaround is to use artifacts instead of caches, however, this increases the runtime significantly and I would love to get rid of them.

I've finally found out why it didn't work for me: The cache action expects the path that was used for saving the cache and the path used for restoring the cache to be equal. In my case, saving and restoring happens in two different actions, therefore the confusion.
You can also see this behavior in a sample project I've created: https://github.com/michaelfoidl/github-caching-tests/actions
Maybe this should be somehow emphasized in the docs?

This should for sure be documented (or fixed, if undesired behavior).
I discovered https://github.com/actions/cache/issues/735 first, and put my findings there. Basically, the path must match exactly, and I was using ${{ github.workspace }}/prod.tar.gz for the path. This is different between GH hosted and the self-hosted it was running on. That influences whether the cache can be found or not.
https://github.com/autowarefoundation/autoware-github-actions/issues/47 also seems to have the same problem, they fixed it in https://github.com/autowarefoundation/autoware-github-actions/pull/48 by making the cache paths match exactly.

@piurafunk just ran into this myself, I made a feature request:
https://github.com/actions/cache/issues/815

I think there's a second issue here, in that Github Actions isn't passing Step Outputs into the string formatter for the post-step.
Example:

Restore-cache
##[debug]Evaluating: format('cache-poetry-cache-v1-{0}-{1}-{2}', runner.os, steps.preinstall.outputs.python-version, inputs.poetry-version)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'cache-poetry-cache-v1-{0}-{1}-{2}'
##[debug]..Evaluating Index:
##[debug]....Evaluating runner:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'os'
##[debug]..=> 'Linux'
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'preinstall'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'outputs'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'python-version'
##[debug]..=> '50858736'
##[debug]..Evaluating Index:
##[debug]....Evaluating inputs:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'poetry-version'
##[debug]..=> '1.1.14'
##[debug]=> 'cache-poetry-cache-v1-Linux-50858736-1.1.14'
##[debug]Result: 'cache-poetry-cache-v1-Linux-50858736-1.1.14'

Save-cache
##[debug]Evaluating: format('cache-poetry-cache-v1-{0}-{1}-{2}', runner.os, steps.preinstall.outputs.python-version, inputs.poetry-version)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'cache-poetry-cache-v1-{0}-{1}-{2}'
##[debug]..Evaluating Index:
##[debug]....Evaluating runner:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'os'
##[debug]..=> 'Linux'
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'preinstall'
##[debug]......=> null
##[debug]....=> null
##[debug]..=> null
##[debug]..Evaluating Index:
##[debug]....Evaluating inputs:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'poetry-version'
##[debug]..=> '1.1.14'
##[debug]=> 'cache-poetry-cache-v1-Linux--1.1.14'
##[debug]Result: 'cache-poetry-cache-v1-Linux--1.1.14'

We also use step outputs in the path section.
Is this a case of using set-state for all inputs going forward, given the Composite limitation?

To further comment on this, actually no inputs are correctly passed to nested composite action post hooks.
I believe the parent context is used so if the name are the same it will work.

Since this issue is not specific to cache action and is being tracked in https://github.com/actions/runner/issues/2009, I will go ahead and close it.

For those who stumbled on using inputs or outputs for composite GitHub Actions, I found using $GITHUB_ENV to be a viable workaround.
You may find a working example in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7415 .
(And also a lot of debugging in https://github.com/keradus/PHP-CS-Fixer/pull/36 .)
name: "Install composer deps"

inputs:
  flags:
    description: 'Composer flags'
    required: false

runs:
  using: "composite"
  steps:
    # Warning!
    # Use $GITUB_ENV instead of $GITHUB_OUTPUT.
    #
    # The actions/cache is, on calling it in this composite action, reading the cache,
    # and then also registering a shutdown function for whole workflow, to write the cache afterwards.
    #
    # That registered shutdown function is _NOT_ having access to inputs.* nor steps.*.outputs for
    # `path` parameter, which is evaluated on both stages (read and write), yet `key` parameters
    # are evaluated on start only and are not affected by this issue.
    #
    # Unfortunately, when the issue is faced, it does not break the build, simply raising a warning
    # and completing the build successuflly, yet without storing the cache:
    # > Warning: Input required and not supplied: path

    - name: Get Composer cache params
      shell: bash
      run: |
        echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
        echo "COMPOSER_CACHE_PHP=$(php -r 'echo PHP_VERSION;')" >> $GITHUB_ENV

    - name: Cache Composer dependencies
      uses: actions/cache@v3
      with:
        path: ${{ env.COMPOSER_CACHE_DIR }}
        key: Composer-${{ runner.os }}-${{ env.COMPOSER_CACHE_PHP }}-${{ hashFiles('**/composer.json') }}-${{ hashFiles('**/composer.lock') }}
        restore-keys: |
          Composer-${{ runner.os }}-${{ env.COMPOSER_CACHE_PHP }}-${{ hashFiles('**/composer.json') }}-
          Composer-${{ runner.os }}-${{ env.COMPOSER_CACHE_PHP }}-
          Composer-${{ runner.os }}-

    - name: Install dependencies
      uses: nick-invision/retry@v2
      with:
        timeout_minutes: 5
        max_attempts: 5
        retry_wait_seconds: 30
        # `--no-scripts` to avoid side-effects (e.g. installing dev-tools for all jobs on CI level),
        # all executed scripts should be explicit and run only when needed.
        command: composer update --optimize-autoloader --no-interaction --no-progress --no-scripts ${{ inputs.flags }}

    - name: Show versions of packages
      shell: bash
      run: composer info -D


Inline widget

Hey @jonaseltes, let's continue our conversation from https://github.com/netlify/netlify-cms/issues/800 here to avoid unnecessary notifications for people there!
I thought supporting inline widget would be a no-brainer, just add a umd target and be done with it. But then I quickly realized that I would be bundling another copy of React + Immutable, on top of the ones that come with netlify-cms.
If I understand correctly, to avoid duplicating React, we'd need to use the createClass & h functions provided globally by netlify-cms instead of creating class & write JSX directly with React. Swapping the pragma is no problem with babel, but we'd need a custom plugin for createClass. That leaves us with a duplicate of Immutable, but we might be able to treeshake it off so the final bundle size is not so terrible.
I want to do this, but it could be quite a bit of effort. In the mean time, if you're open to setting up a bundler, it'd be fairly easy & I can offer some help! Otherwise, I think the easiest thing to do is to copy the code over, modify them manually to use createClass & h, then inline another copy of immutable. I could offer you some help there as well.

@jonaseltes Here's an example for file-relation adapted to be used inline

@d4rekanguok Ah, massive thanks for the example! So sorry for not looking into this myself. Is it dependent on using babel and parcel?

No the example code doesn't require babel or parcel, the only es6 features I use are const and arrow functions. It should work without issues in all modern browsers. If es5 is required, you can convert const to var and arrow functions to regular functions!
Since I use a regular <select /> element to avoid bringing in extra deps, some features are missing:

no multi select
no type ahead

Amazing, thanks a lot @d4rekanguok! Hope to some time to try it out later tonight, will keep you posted. Thanks for mentioning the constraints of the <select /> , makes sense!

I'm happy to help, let me know if you run into any issue setting it up!

@jonaseltes I've just got this idea: what if I provide a custom netlify-cms package that includes all of my custom widgets?? That way, you can use them as if they're official, without inlining widgets at all. I can probably somehow automate watching for new version released by netlify-cms and automatically create a new bundle, so the core package is never out of date.
Any thoughts?

@d4rekanguok Sorry for the delay. For now the inlined version works great for me but a bundled netlify-cms could obviously be great for the future!
Let us know if you decide to go down this route and have anything to share. And big thanks for your amazing work on this!

@jonaseltes Here's an example for file-relation adapted to be used inline

The demo is broken with a productionloadEntry(...).then is not a function error.

@kauly thanks for the note, I'll check it out the next chance I have

The widgets are broken in latest version of netlify-cms-app unfortunately. Please pin your netlify-cms-app ves

I think that the last version do not have a loadentry func. The component is receiving a empty func. Thanks for the anwsers.

Thanks for the fix @d4rekanguok . If you update the netlify-cms in yours index.html will work now.
https://codesandbox.io/s/admiring-field-qqki9

Just a addendum, in my case results.data[fieldName] its returning a array of strings. So was necessary make changes in the options map here in my code.

Hello! I've finally build a custom netlify-cms that includes @ncwidgets/file-relation & @ncwidgets/id out of the box.
Please see here: https://github.com/d4rekanguok/netlify-cms-widgets#drop-in
Will close this issue now!


Convert the main repo to a starting point.

The telestion repo should work as a starting point. Therefore it needs descriptions of the other repositories and projects to be a guiding help. This could happen through markdown files. I would propose to use the docs dita repo to build up the documentation and automatically generate a target set and pull request with the appreciated information. This could happen with: https://www.dita-ot.org/dev/topics/dita2markdown.html

Due to v2 release of our new documentation website, I think we should convert this repository to a Telestion issue tracker.
Issues that don't fit into a specific repository very well or work in a greater context should be moved here.


Is wandb for fairseq-train supported?

📚 Documentation
The documentation (https://fairseq.readthedocs.io/en/latest/command_line_tools.html) suggests that it is, but running it with the flag --wandb-project myrun throws an error about unrecognized arguments. The command fairseq-train -h | grep wandb doesn't return anything either. I am using the pip install of fairseq, which is 0.10.2.

Ok I see that the pip package hasn't been updated with the wandb changes. Is this going to happen soon?

CC @myleott for timeline of the next release.  In the meantime, you can install master using pip install git+https://github.com/pytorch/fairseq.git


feat: Per-Folder RSS, Cont'd

Follow-up to #529 but actually ready for merge. Paging @aarnphm

Ew, the commits are messy. Wish it would


Update or replace django-modelcluster

We use the package in django-modelcluster in edx/portal-designer. It hasn't yet added support for Django3.2. Please follow the guidance in https://openedx.atlassian.net/wiki/spaces/AC/pages/3036972032/Handling+Outdated+Dependencies to resolve the problem this poses for the Open edX Django 3.2 upgrade.

I can take a look at this

@MaferMazu Just checking if you had a chance to look into this.

I tried to add test to django-modelcluster with django32 environment and they did not pass, so i create an issue asking if they plan to do a new release that supports django 32. I hope they answer me.

@MaferMazu Thanks for an update!

Django 3.2 support added and tests fixed in the new release django-modelcluster==5.2 so marking this issue as done.
@MaferMazu Thank you for your efforts on this issue.


Can't start seed

Error message in seed service:
start.sh: Trapped error on line 113
Stack File:
version: '3.5'

services:

    seed:
        image: colinmollenhour/mariadb-galera-swarm:10.1
        networks:
            - database
        environment:
            - XTRABACKUP_PASSWORD_FILE=/run/secrets/xtrabackup_password
            - MYSQL_DATABASE=docker
            - MYSQL_USER=docker
            - MYSQL_PASSWORD_FILE=/run/secrets/mysql_password
            - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mysql_root_password
            - NODE_ADDRESS=^10.0.0.*
        secrets:
            - xtrabackup_password
            - mysql_password
            - mysql_root_password
        command: seed
        volumes:
            - database:/var/lib/mysql
        deploy:
            placement:
                constraints:
                    - node.labels.type == database

    node:
        image: colinmollenhour/mariadb-galera-swarm:10.1
        networks:
            - database
        environment:
            - XTRABACKUP_PASSWORD_FILE=/run/secrets/xtrabackup_password
            - NODE_ADDRESS=^10.0.0.*
            - HEALTHY_WHILE_BOOTING=1
        command: node seed,node
        secrets:
            - xtrabackup_password
        volumes:
            - database:/var/lib/mysql
        deploy:
            replicas: 0
            placement:
                constraints:
                    - node.labels.type == database

volumes:
    database:
        driver: rexray/dobs
        driver_opts:
            size: 10

networks:
    database:
        external: true

secrets:
    xtrabackup_password:
        external: true
    mysql_password:
        external: true
    mysql_root_password:
        external: true

The network is defined as "external" as I have created it manually:
docker network create -d overlay database
But even if I follow the exact same stack file https://github.com/colinmollenhour/mariadb-galera-swarm/blob/master/examples/swarm/docker-compose.yml I get the error

Same error as #38 btw. but the proposed solution of that issue is not relevant or wasn't the cause in the firt place.
To debug this I created a "utility" service based on alpine and copied the relevant part from the start.sh script which throws the error and should usually export the node address. This is the stack file I used for the utility service:
version: '3.5'

services:

    utility:
        image: alpine
        networks:
            - galera_network
        command: sleep 10000s
        deploy:
            placement:
                constraints:
                    - node.hostname==swarm-manager-01

This is the part of the start.sh script I copied and executed:
if [ -z "$NODE_ADDRESS" ]; then
	# Support Weave/Kontena
	NODE_ADDRESS=$(ip addr | awk '/inet/ && /ethwe/{sub(/\/.*$/,"",$2); print $2}')
fi
if [ -z "$NODE_ADDRESS" ]; then
	# Support Docker Swarm Mode
	NODE_ADDRESS=$(ip addr | awk '/inet/ && /eth0/{sub(/\/.*$/,"",$2); print $2}' | head -n 1)
elif [[ "$NODE_ADDRESS" =~ [a-zA-Z][a-zA-Z0-9:]+ ]]; then
	# Support interface - e.g. Docker Swarm Mode uses eth0
	NODE_ADDRESS=$(ip addr | awk "/inet/ && / $NODE_ADDRESS\$/{sub(/\\/.*$/,\"\",\$2); print \$2}" | head -n 1)
elif ! [[ "$NODE_ADDRESS" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
	# Support grep pattern. E.g. ^10.0.1.*
	NODE_ADDRESS=$(getent hosts $(hostname) | awk '{print $1}' | grep -e "$NODE_ADDRESS")
fi
if ! [[ "$NODE_ADDRESS" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
	echo "Could not determine NODE_ADDRESS: $NODE_ADDRESS"
	exit 1
fi
echo "...------======------... MariaDB Galera Start Script ...------======------..."
echo "Got NODE_ADDRESS=$NODE_ADDRESS"

If I execute it with bash it doesn't throw an error and outputs:
...------======------... MariaDB Galera Start Script ...------======------...
Got NODE_ADDRESS=<IP_ADDRESS>

If I just enter getent hosts $(hostname) I get the Following Output:
<IP_ADDRESS>         57266d1f7253  57266d1f7253
But if I set the NODE_ADDRESS= environment variable to the value in the readme ^10.0.0.* I get the Following error instead:
Could not determine NODE_ADDRESS:
Setting it to ^10.0.*.* instead gives me the same output as before. So I adjusted that value within my stack file posted above and now it seems to work.
Not sure if is specific to my setup that internal node IPs follow a different pattern than the one you use.

I've updated the stack file and README so that it will work out of the box in more cases and hopefully better explain how the NODE_ADDRESS is to be used.


Agent produces tree view instead of flamegraph

jbang --javaagent=ap-loader@jvm-profiling-tools/ap-loader=start,event=cpu,file=profile.html jmh_example.java
When running the jbang example I've got html tree view instead of a flamegraph
Call tree view, total samples: 82
[0] 51.22% 42 self: 0.00% 0
start_thread
[0] 21.95% 18 self: 0.00% 0
red/hat/puzzles/loom/jmh_example.main
[0] 19.51% 16 self: 0.00% 0
org/openjdk/jmh/runner/link/BinaryLinkServer$Handler.run
[0] 3.66% 3 self: 0.00% 0
[unknown]
[0] 2.44% 2 self: 0.00% 0
__GI___pthread_cond_broadcast
[0] 1.22% 1 self: 0.00% 0
red/hat/puzzles/loom/jmh_example.<clinit>

Is this expected? If so, what is the option to get the flamegraph

If so, what is the option to get the flamegraph

Have you tried passing the flamegraph option, i.e. jbang --javaagent=ap-loader@jvm-profiling-tools/ap-loader=start,event=cpu,file=profile.html,flamegraph jmh_example.java?

Thanks, it generates a flame graph now. I thought it would be the default option.
Btw. there is a typo for jbang example. Instead of
jbang --javaagent:ap-loader@jvm-profiling-tools/ap-loader
it should be
jbang --javaagent=ap-loader@jvm-profiling-tools/ap-loader

Please open a PR for changes in the README, they are highly appreciated. Especially if you add text that would have prevented you from being confused :)


Update azcore

Updating azcore version to 1.7.0 and fixing telemetry issue as seen here https://github.com/Azure/azure-sdk-for-go/issues/21023.

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[x] Updates to CHANGELOG.md are included.


How can i save the detection result?

Hi, thank you for suggesting your nice code.
I trained the model using Argoverse dataset following your readme.
I want to run demo and save detection results (image or video), how can i do that?
thank you.

你好，保存捏过通过自己创建文件夹的来保存，您解决了这个问题了吗？我有一个问题，对测试的结果如何可视化呢？您是否知道答案呢？


Forbid non-HTTPS www.measurementlab.net URLs

Here's a custom markdownlint linter to forbid non-HTTPS links to www.measurementlab.net, as requested by #166.
Includes a fix for a bad link it caught.
Closes #166.

This change is

Thanks for this contribution @apjanke , but for various reasons we don't really need this custom linter rule anymore. Links to internal site pages should not use the full URL, but instead use the Liquid variable {{ site.baseurl }}. For example [link text]({{ site.baseurl }}/path/file.pdf). The site hosting now has redirects so all pages redirect to https://www.measurementlab.net/<pagerequest> so this should no longer be needed.


Add helpful ReadMe notes about how to pull, branch, seed, start etc

Any rules regarding fileStructure as well.
client/components
ADMIN FOLDER: admin dashboard, admin actions(button to add user etc...)this is NOT having to do with authorization or other components.
ELEMENTS: components with multiple uses- used in other files. e.g(searchbar)


ARROW-4754: [Java] Randomize port and retry binding server when bind fails

Also, random cleanups to make intellij happy.
Should prevent reoccurences of  recent master build failure: https://travis-ci.org/apache/arrow/jobs/501310887

Codecov Report

Merging #3801 into master will increase coverage by 0.81%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #3801      +/-   ##
=========================================
+ Coverage   87.79%   88.6%   +0.81%
=========================================
  Files         708     576     -132
  Lines       86591   77123    -9468
  Branches     1233       0    -1233
=========================================
- Hits        76019   68338    -7681
+ Misses      10459    8785    -1674
+ Partials      113       0     -113

Impacted Files
Coverage Δ

cpp/src/arrow/csv/column-builder.cc
95.39% <0%> (-1.98%)
:arrow_down:

cpp/src/arrow/util/bpacking.h
99.84% <0%> (-0.01%)
:arrow_down:

go/arrow/math/uint64_amd64.go

go/arrow/memory/memory_avx2_amd64.go

js/src/enum.ts

go/arrow/array/builder.go

js/src/Arrow.node.ts

js/src/schema.ts

go/arrow/type_traits_boolean.go

js/src/ipc/node/writer.ts

... and 124 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 c80e685...9e455f7. Read the comment docs.

I pushed the fix for JIRA-4755 to this PR as well (sorry if this is a randomization).

@praveenbingo any more comments on this?

@wesm No, please help in merging this.

@pravindra - please help merge..


bootstrap-loader error on fresh build

The error first occured on my repo when I tried to build it. Then I tried updating my forked repo of yours (I pulled first, delete node_modules, npm install) and rebuild it. The same error happened:
ERROR in ./~/bootstrap-loader/lib/bootstrap.loader.js!./~/bootstrap-loader/no-op.js
Module build failed: Error:
Could not find 'styleLoaders' in your config.
You can use default ones:
styleLoaders: ['style', 'css', 'sass']

at Object.module.exports.pitch (/home/adam/work/adam/react-redux-universal-hot-example/node_modules/bootstrap-loader/lib/bootstrap.loader.js:174:13)
@ ./~/bootstrap-loader/loader.js 1:17-61
@ multi bootstrap-loader font-awesome-webpack!./src/theme/font-awesome.config.prod.js ./src/client.js

any thoughts?

You can try:
npm i<EMAIL_ADDRESS>-D

somehow yarn didn't install the correct version as in package.json.
npm install

that does the trick.


Istio accelerator

What does this PR do?

Istio example using Tetrate module and Adot. Istio dashboards created in Grafana pulling data from Prometheus workspace.
🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted. Consult the CONTRIBUTING guide for submitting pull-requests.
Motivation

Simplify the original blog for EKS monitoring using the ADOT collector.
More

[x] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[x] Yes, I ran pre-commit run -a with this PR
[x] Yes, I have added a new example under examples to support my PR (when applicable)
[x] Yes, I have updated the Pages for this feature

Note: Not all the PRs required examples and docs.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

@preddy727 are you ready to move things forward on this PR?

closing pull request and will open new one as tests are now passing.


SpecifyScriptArgs on Python debug on VS Code

Environment data

VS Code version: 1.29.1
Extension version (available under the Extensions sidebar): 2018.10.1
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): python 3.7.0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Actual behavior
When starting a debug session of the current file I cannot provide arguments to the call of the program.
Expected  behavior
In the Powershell plugin in VS Code you can specify at the file launch.json:
"args": [ "${command:SpecifyScriptArgs}" ].
A similar functionality would be highly appreciated.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
command 'SpecifyScriptArgs' not found

@BerndKue you can specify arguments using args. If you're after some other feature then please provide more detail and we can re-open the issue.


Upgrading KFServing to KNative 0.10

/kind feature
Describe the solution you'd like
KFServing needs to be upgraded to KNative 0.10 for getting the latest enhancements around cold starts, caching etc.
This requires a chain of cascading dependencies.
KNative 0.10 takes a dependency on Kube 1.15.3 APIs . Best is to revisit this from backwards now, first migrating KFServing dependencies to Kube 1.14+ APIs et all before visiting KNative 0.10. We can follow a more sequential approach

openapi code gen for 1.14 and 1.15 has migrated to another pkg (k8s.io/kube-openapi/cmd/openapi-gen) which causes some compatibility issues with k8s 1.15.3.
@pugangxa @jinchihe

We also need to update the code gen config since the new code gen now is doing some API naming check by default (e.g. the API rule violation).  Unit tests may also need to be migrated to the new rules. Code gen files that need additional flags:
https://github.com/kubeflow/kfserving/blob/master/hack/update-codegen.sh
https://github.com/kubeflow/kfserving/blob/master/hack/update-openapigen.sh

API names match rule:
https://github.com/kubernetes/kube-openapi/blob/master/pkg/generators/rules/names_match.go#L54-L76
e.g. According to the new name matching, StorageURI in json should be storageURI (not storageUri), so we may want to ignore some rule checking or update all our current API naming and bump it to a new api version.
@pugangxa @jinchihe

controller-runtime and controller-tools need to migrate to a version where the admission webhook type pkg is deprecated. We need to figure out which pkg we should migrate to the new version and use the new webhook implementation.
@hougangliu

There are also few type changes that get introduced in 1.14 and 1.15 that we need to fix. Unfortunately I can’t get to this part yet so I can’t estimate how much effort it will need. k8s.io vendor libraries need to be migrated to Kube 1.15.3
@hougangliu

Knative APIs need to be migrated to V1 from V1alpha1
@Tomcli

KNative libraries need to be upgraded to 0.10
@animeshsingh

/assign @hougangliu @jinchihe @pugangxa @Tomcli @animeshsingh

/reopen


How to place images in lines with small intervals?

I need to place the icons of social networks in a letter in one row. I did this as follows.

<mj-group>
    <mj-column>
        <mj-image mj-class="social" href="https://link......." src="mails/social/twitter.png"/>
    </mj-column>
    <mj-column>
        <mj-image mj-class="social" href="https://link......." src="mails/social/twitter.png"/>
    </mj-column>
    <mj-column>
        <mj-image mj-class="social" href="https://link......." src="mails/social/twitter.png"/>
    </mj-column>
    <mj-column>
        <mj-image mj-class="social" href="https://link......." src="mails/social/twitter.png"/>
    </mj-column>
    <mj-column>
        <mj-image mj-class="social" href="https://link......." src="mails/social/twitter.png"/>
    </mj-column>
    <mj-column>
        <mj-image mj-class="social" href="https://link......." src="mails/social/twitter.png"/>
    </mj-column>
</mj-group>

With this code, the pictures are stretched in width and look ugly (the upper picture in the image below, marked as "NOW"). And I need to make them more concise (need make a small interval), as shown in the picture at the bottom (marked as "I WANT").

How can I do it right?

You should use mj-social instead, it should be way easier.

On 14 Apr 2019, at 21:03, Stan Zhuravlev<EMAIL_ADDRESS>wrote:
I need to place the icons of social networks in a letter in one row. I did this as follows.

With this code, the pictures are stretched in width and look ugly (the upper picture in the image below, marked as "NOW"). And I need to make them more concise (need make a small interval), as shown in the picture at the bottom (marked as "I WANT").
How can I do it right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@iRyusa, yes, thank you very much! :)


[question] Topic Mapping and rewrite rules

Hello,
On a source cluster I have several topics matched by some regexp pattern. Is it possible make uReplicator to push messages from them to a single topic on a destination cluster?
As far as I understood from the code you do not support this. Is there any chance that you can implement a kind of "rewrite rules" based on regexp?
thanks

Currently we don't have plan to implement this. But if you want to support this, you can submit a PR and we will be happy to review and merge it.

Thank you for your reply.


Generate Snakemake DAG

I would like to visualize the DAG for the workflows in projects like genetics-v2d-data. For some reason, however, the command $ snakemake --dag --snakefile 1_make_tables.Snakefile | dot -Tsvg > dag.svg requires access to private GCS buckets. Would it be possible to refactor these Snakefiles to make DAG generation possible?
Here's an example error message I get:
google.api_core.exceptions.Forbidden: 403 GET https://www.googleapis.com/storage/v1/b/genetics-portal-staging/o/variant-annotation%2F190129%2Fvariant-annotation.sitelist.tsv.gz?fields=name<EMAIL_ADDRESS>does not have storage.objects.get access to genetics-portal-staging/variant-annotation/190129/variant-annotation.sitelist.tsv.gz.

@ireneisdoomed: low priority since it's very old, but do you know anything about this?


add import/import-no-namespace

because there is typescript/no-namespace the import plugin needed another unique name.
We should remap them to the eslint-rule-name or wait for https://github.com/oxc-project/oxc/discussions/7242

it is fixed in the next version


Support for user provided IBL?

IBL possible with ARCore and filament?

I haven't implemented it in this sample project. It should be possible use use Image Based Lights (IBL) in Filament. https://google.github.io/filament/Filament.md.html#lighting/imagebasedlights/ibltypes


Evaluate the efficiency of opening new Playwright tabs versus windows

Try to experiment with PlaywrightBrowserController to determine whether opening new Playwright pages in tabs offers better performance compared to opening them in separate windows (current state).

I wouldn't be surprised if opening windows added no overhead, considering that Chrome has its own process manager and stuff. Still, with headless=False, just opening tabs in a single window is miles ahead of using separate windows in terms of... handleability, I guess :slightly_smiling_face:


Change to /intent/tweet (Twitter share link)

Change from /share to /intent/tweet.
More info: https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview

Soon... twitter.com -> x.com haha

Soon... twitter.com -> x.com haha

Well.. I'm right.. We now need to use x.com. See follow-up PR: https://github.com/theNewDynamic/gohugo-theme-ananke/pull/756


Upgrade embedded Kotlin to 1.7.10

When the next version of Kotlin is released, we need to upgrade it inside Gradle.
Through doing this, we need to revisit the NodeJs version bump done in gradlebuild.internal.kotlin-js.gradle.kts to support building Gradle on Apple Silicon.

@eskatos Since you are trying Kotlin upgrades, could you check this one?

The NodeJS version bump is now in https://github.com/gradle/configuration-cache-report
Create https://github.com/gradle/configuration-cache-report/issues/3 about this

The embedded Kotlin was upgraded to 1.7.10 in https://github.com/gradle/gradle/pull/21032 for Gradle 7.6.


Refactoring to support multiple repos on the same board.

Refactoring to support multiple repos on the same board. Tested with a board containing 25 repos.

@tatterdemalion can you review this and merge this in master?

@tatterdemalion ping.


Changing room types is not mobile friendly

You can't hover over them to see what they're doing without purchasing them on mobile.

A dedicated buy button would fix this and make it more clear that switching types costs moguls


Error while running the app which uses angular-cordova plugins

Dear there,
Thanks for providing this library for cordova. When I tried to run the angular app I got the following error.
ERROR in ./node_modules/angular-cordova/index.ts
Module build failed: Error: /Users/hameedbs/Projects/accountpilotv2/httpdocs/ngapp/node_modules/angular-cordova/index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (/Users/hameedbs/Projects/accountpilotv2/httpdocs/ngapp/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23)
    at plugin.done.then (/Users/hameedbs/Projects/accountpilotv2/httpdocs/ngapp/node_modules/@ngtools/webpack/src/loader.js:467:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
ERROR in ./node_modules/angular-cordova/plugin/camera.ts
Module build failed: Error: /Users/hameedbs/Projects/accountpilotv2/httpdocs/ngapp/node_modules/angular-cordova/plugin/camera.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (/Users/hameedbs/Projects/accountpilotv2/httpdocs/ngapp/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23)
    at plugin.done.then (/Users/hameedbs/Projects/accountpilotv2/httpdocs/ngapp/node_modules/@ngtools/webpack/src/loader.js:467:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

It is blocking me to proceed... Thanks for your help in advance..
PS: I am using vscode IDE and it showed some lint errors in your ts files.

see https://github.com/arnesson/angular-cordova/issues/9

Thanks a lot!!! That fixed it.


Update iOS deployment target for Xcode 12

Kronos is currently incompatible with Xcode 12 as the minimum allowed deployment target has been bumped to iOS 9.0 and Kronos still lists 8.0.

@keith please let me know if there is anything else you need from me for this PR.


Add documentation for languageTabs and request method labels.

Description
This documents setting the languageTabs and customising the request method labels.
Motivation and Context
Documentation only change to document language tabs and request method label css.
How Has This Been Tested?
N/A
Types of changes

Documentation: Changes to documentation content only.

Checklist

[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes if appropriate.
[X] All new and existing tests passed.

By the way, we can definitely add support for "powershell". I would have already included it but I couldn't find a suitable SVG icon on DEVICON.

There is a PowerShell icon accepted into DEVICON's develop branch!


Update 2.0 changelog

Merging this PR, so we can continue updating the changelog without complicated merging across files.


[FR] Option to hide the maximized terminals instead of unmaximizing them when opening a file

Current behavior:

Requested option's behavior:
If enabled, when opening a file, the maximized terminals should be hidden instead of being unmaximized and can be shown via workbench.action.terminal.toggleTerminal or workbench.action.togglePanel.

duplicate #131319


C++20 support

Does Sol3 support the c++20 standard?

Sol uses requires C++17 as a minimum I believe, so it will work with anything newer than that.


add option to hide /debug/ pages

closes #5305
Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

Required only if applicable

[x] Config changes: update sample config (etc/config.sample.toml), server NewDemoConfig method, and Diagnostics methods reporting config settings, if necessary
[ ] InfluxData Documentation: issue filed or pull request submitted

Closing due to inactivity.


Feature curd

In this PR:

webpack has been used to bundle up the project
A file has been added to provide CURD functionality
array is updated along the remove and add functions
local storage is active and implemented

@afanimartin . I think , I am not able to understand anyone of the reviewers. The changes made to the local storage are in the the local storage. the field gets cleared. The chnages load from the local storage in the todo List when u refresh the chnage . Its happenning here . What else do i need to do ?  Here's a brief loom video of how the project loads. Last three code reviewers are asking for the change but none is able to truly explain the requirement. this is exhausting .
()  . here'slink to a brief hurried video i created as a demo of the link

@afanimartin  I am pasting a link to the video that i have created as a demo. Its thorughly stressing last three code reviewers are asking for changes and all have conflicting demands. When i refresh the page the list is populated form the local storage . ``... u can have a look here. I still have a project left . And I am supremely exhausted not by work but by not being able to understand the EXACT requirement. I hope you understand and dont get offended. Its not an outburst but last straw of hope on my part . Thanks for bearing with me.


What's the default unit of measurement in flutter?

Steps to Reproduce

I am using AppBar class to set App bar of the page, there is an attribute called elevation
The z-coordinate at which to place this app bar. This controls the size of the shadow below the app bar.
The document hasn't figured out what's the default unit measurement of elevation, in Android We use dp,px
so how about flutter?

Hi @vanshu, it is measured in pixels, as described here: https://docs.flutter.io/flutter/material/Material-class.html. We could clarify this in the docs.

I think this should add an FAQ entry for this. We're fairly web-y in our terminology which tends to mainly focus on logical pixels but Android and iOS developers tend to be very specific about whether they meant logical pixels (points, dp/sp) or physical pixels (px, pixels). Us using just 'pixels' when we meant logical pixels is doubly confusing since 'pixels' typically mean physical pixels on Android and iOS.

Issue moved to flutter/website #2156 via ZenHub


Pets KB

A pets KB would be cool, IK you have plans for it just making this bc why not ;)

I know you want your pet interface to have a spotlight on it. No worries, Jordy, we gonna get it a Knowledge Base entry for sure.


OMERO.web 5.6+ Python 3

Drops support for OMERO.web <5.6
Requires https://github.com/ome/ansible-role-omero-web/pull/34 (Travis should pass after a re-run when it is released)
Tag: breaking change, 0.3.0

Sorry, the last commit hadn't updated. I'll wait until 3.0.0 is available and then re-run travis.


DataCollatorMusicGenWithPadding might have a bug

Thank you very much for your amazing work!
While using melody-conditioned generation, I encountered the following error in the DataCollatorMusicGenWithPadding class:
batch[self.feature_extractor_input_name : input_values]
TypeError: unhashable type: 'slice'

input_values here is actually a dictionary. I resolved the error by changing the code to batch.update(input_values). Could you kindly confirm if this approach is correct?
def __call__(
        self, features: List[Dict[str, Union[List[int], torch.Tensor]]]
    ) -> Dict[str, torch.Tensor]:
        # split inputs and labels since they have to be of different lengths and need
        # different padding methods
        labels = [
            torch.tensor(feature["labels"]).transpose(0, 1) for feature in features
        ]
        # (bsz, seq_len, num_codebooks)
        labels = torch.nn.utils.rnn.pad_sequence(
            labels, batch_first=True, padding_value=-100
        )

        input_ids = [{"input_ids": feature["input_ids"]} for feature in features]
        input_ids = self.processor.tokenizer.pad(input_ids, return_tensors="pt")

        batch = {"labels": labels, **input_ids}

        if self.feature_extractor_input_name in features[0]:
            input_values = [
                {
                    self.feature_extractor_input_name: feature[
                        self.feature_extractor_input_name
                    ]
                }
                for feature in features
            ]
            input_values = self.processor.feature_extractor.pad(
                input_values, return_tensors="pt"
            )
            batch.update(input_values)
            # batch[self.feature_extractor_input_name : input_values]

        return batch

I meet the same issue, can you fix it. And how to inference with this audio and prompt together? Thank you!


Additional flags to pass to underlying MPI libraries

As requested by Jim / Jian
Please add the capability to pass additional flags from mpibind to the underlying MPI libraries. The first examples would be the cray-mpich specific flags --label  --line-buffer, but a general solution is desirable as well.

As a general goal of mpibind is transparent opperation between MPI libraries I would like to not introduce anything that a user needs to change when switching MPI within a script. As a prototype I'm going to incorporate the cray-mpich flags as recognized options, and translate or ignore them within other MPI libraries depending on native support for similar options.


Stop Hop on exception

This should fix the hop stopping problem mentioned in #344

This is not the cause after all.

I think a common exception raised at the add_particles can also be a MissingAttributesAmuseException, so I would at least print the original exception...

Sure, that makes sense. I'll fix that.


aws api crashes while retrieving data from dynamo db when there is repeated misses

#0  SLL_Next (t=0xf) at src/linked_list.h:44
#1  SLL_Pop (list=) at src/linked_list.h:58
#2  Pop (this=0x1cb4a28) at src/thread_cache.h:215
#3  Allocate (cl=4, size=<error reading variable: Cannot access memory at address 0x20>, this=) at src/thread_cache.h:367
#4  do_malloc_small (size=<error reading variable: Cannot access memory at address 0x20>, heap=) at src/tcmalloc.cc:1088
#5  do_malloc_no_errno (size=46) at src/tcmalloc.cc:1095
#6  do_malloc (size=46) at src/tcmalloc.cc:1104
#7  do_malloc_or_cpp_alloc (size=46) at src/tcmalloc.cc:1024
#8  tc_malloc (size=46) at src/tcmalloc.cc:1563
#9  0x00007f4d885ffd8d in operator new (sz=46) at ../../../../libstdc++-v3/libsupc++/new_op.cc:51
#10 0x00007f4d8865b369 in allocate (this=, __n=)
at /usr/src/debug/gcc-4.8.3-20140911/obj-x86_64-amazon-linux/x86_64-amazon-linux/libstdc++-v3/include/ext/new_allocator.h:104
#11 std::string::_Rep::_S_create (__capacity=__capacity@entry=21, __old_capacity=__old_capacity@entry=0, __alloc=...)
at /usr/src/debug/gcc-4.8.3-20140911/obj-x86_64-amazon-linux/x86_64-amazon-linux/libstdc++-v3/include/bits/basic_string.tcc:607
#12 0x00007f4d8865c8f1 in std::string::_S_construct<char*> (
__beg=0x27f60d8 "%Y-%m-%d %H:%M:%S,53385 [139970802542336] [INFO ] [getScores] [] - wtp b949711a-6e92-4a77-a95f-4b77b4bd430e is not present in table good_wtp\nR == 'UCBrowser' or BROWSER == 'OperaMobi') {W_BROWSER := -"..., __end=, __a=...)

Your stack trace is cutoff before it reaches SDK code.  Could you add more, at least up to the point where it crosses into your code?  If you could provide more detailed reproduction steps (a small code sample with a description of the dybamodb table being hit for example), that would be very helpful too.

Also, we've made this much easier for use with cmake. Have a look at this blog post:
https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/

Closing pending more info. Reopen if your issue is not resolved.


Docs out of date

Sorting columns is not available anymore as it is shown in the screenshot. how can this be done today?

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

ID: ca21a0ba-3186-64e6-bb2f-de7eaa2f8513
Version Independent ID: bff68ece-559e-be19-ec2b-817bfe61a70f
Content: Add or remove columns within a work item list in Azure Boards - Azure Boards
Content Source: docs/boards/backlogs/set-column-options.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@AlexandraKemperMS Thanks for you question. While we look into changes for the article, consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@AlexandraKemperMS - The ability to sort on a columns is supported with Query Results and on the Work Items views. It isn't supported from a Backlog. If you aren't able to sort on a Query Results or Work Item page, then please report your issue on the Developer Community page.

@KathrynEE thanks for letting me know, I was trying to do this in a blacklog. Wish this was an option, we have too many child items that we need to organize. Could you make a note on the doc so others are also aware?


Automated change log and version number management

It would be nice to automate a changelog and version bump via standard release or something like that. I'm guessing that we would need to standardize our conventional commit scopes.

pretty sure this is already implemented in lerna

Yes, I was just noticing that nice changelog. I've not been using cc scopes. Maybe once #29 is merged, I can reword the commits on master.


Adaptor-fetch - Package not found

I try to install @measured/puck-adaptor-fetch in order to implement an adaptor-fetch
https://github.com/measuredco/puck/blob/b5de28653759bdd29f895f1f60aef83a95eb5973/packages/adaptor-fetch/README.md?plain=1#L10
When I run the command to install the package it looks like it doesn't exists:
❯ npm i @measured/puck-adaptor-fetch npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@measured%2fpuck-adaptor-fetch - Not found npm ERR! 404  npm ERR! 404  '@measured/puck-adaptor-fetch@*' is not in this registry. npm ERR! 404  npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

D'oh, looks like it never got added to the CI: https://github.com/measuredco/puck/blob/main/.github/workflows/publish.yml#L36C1-L40C1
The adaptor API is quite simple and I'm even a bit 50/50 about publishing it because it is literally just a wrapper around fetch - you should be able to implement something yourself quite easily
const myAdaptor = {
  name: "My Adaptor",
  fetchList: async () => {
    const res = await fetch("https://www.example.com/api");

    const body = await res.json();

    return body.data;
  },
};

Let me know how you get on with that.

Thanks for your answer.
I have implemented the following adaptor
const featuredProductsAdaptor = {
  name: "Featured Products API",
  fetchList: async () => {
    const res = await getFeaturedProducts();

    if (res) {
      const formattedData = res.map((product) => ({
        id: product.id,
        name: product.name,
        imgs: product.imgs,
        pvp: product.pvp,
        description: product.description,
      }));

      return formattedData;
    }
    return null;
  },
};

I want to use the adaptor in order to render the cards of the featured products, so I made the following component:
export const ProductCardTest: ComponentConfig<ProductCardTest> = {
  fields: {
    products: {
      type: "external",
      adaptor: featuredProductsAdaptor,
    },
    title: { type: "text" },
  },

  render: ({ products, title }: { products: ProductTestProps[]; title: string }) => (

{title}

      {products &&
        products.length > 0 &&
        products.map((product, index) => (

              <img className={styles.product_image} src={product?.imgs[0]} alt={`${product.name} picture`} />

{product?.name}

                ${product?.pvp}

                  Add to cart

        ))}

  ),
};

Styles
.container {
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: #e5e7eb;
  width: 100%;
  max-width: 24rem;
  background-color: #ffffff;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.product_image {
  padding: 2rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.information_container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 1.25rem;
}

.product_title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #111827;
}

.price_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product_price {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: #111827;
}

.button_buy {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
  background-color: #1d4ed8;
}

.button_buy:hover {
  background-color: #1e40af;
}

And added to the conf of the editor
export const conf: Config<Props, RootProps> = {
  root: {
    render: Root,
  },
  components: {
    Hero,
    Carrousel,
    Jumbotron,
    ProductCard,
    ProductCardTest,
  },
};

The component appears in the left bar of the editor and I can drag and drop it in the canvas but it does not render the cards with the products fetched from the API.
When dragged and dropped the component in the canvas,  in the left bar of the editor looks like I can select a product from the API

I select one but nothing happens. What I tried to do is to render the list of cards of the featured products, if you can give me any advice I would be great.
Thanks for your time!

Hi @jhcueva! It seems you're not looking for an adaptor, rather you're looking for a way to render your data in your component.
Adaptors are for allowing the user to select content from a third party, not for loading data before your component renders. This isn't the first time this has caused confusion, so we might explore some better documentation.
Puck isn't currently able to pass in additional data to your component. This is up to you.
You have two options:

Query the data inside your component's render function
Query the data on your server (if using Next.js) and pass it in somehow (context can be helpful here)

Example for option 1
export const ProductCardTest: ComponentConfig<ProductCardTest> = {
  fields: {
    title: { type: "text" },
  },

  render: ({
    title,
  }: {
    title: string;
  }) => {
    const products = useState(() => {
      // Query API
    })
    return (

{title}

        {products &&
          products.length > 0 &&
          products.map((product, index) => (

                <img
                  className={styles.product_image}
                  src={product?.imgs[0]}
                  alt={`${product.name} picture`}
                />

{product?.name}

                  ${product?.pvp}

                    Add to cart

          ))}

    );
  },
};

Closing as adaptors have been deprecated in favour of new external field APIs in #195 (backwards compatible)


Eta on code

Thank you for this research, I want to know about eta for code and weights?

Thank you for your interest in FMA-Net.
Currently, the paper is under review, so we plan to upload the code and weights as soon as the results are available.

Hi @KAIST-VICLab, we are looking forward to this model. Do you have a rough estimate of when the paper review will be finished?


fix broken links, and add missing

Am I right to change these in this way? Things like
https://github.com/chef/chef-web-core/releases/download/0.1.4/chef-web-core-0.1.4.tgz
and
http://style.chef.io/dist/0.1.4/stylesheets/chef.css
such as currently appear on
http://style.chef.io/getting-started/
don't appear to exist, and the changes in this PR seem to point to what I presume are the right things.
Also the missing  makes some css selectors not fire and makes the <code> tags too big.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@jcreedcmu

Please sign the CLA here.

I have been informed that the targets of all these links are meant to be present, but happen to be broken for reasons not having to do with this repo.

:+1:


use http_proxy et al.

added code to use http_proxy if set, per https://github.com/oscardelben/rawler/issues/20
other small additions, including option to write to log file, use fractional seconds as wait interval.
Thanks!

Thanks, I'll try it out and merge into master!


Add proper timeout support to metrics and connection

metrics.defaultTimeout was defined but not used. CHConnectionParams has a timeout property which was unused.

Should this pull be directed at master or 0.14.0?
We use this in a standalone Prometheus exported like this:
package main

import (
	"flag"
	"net/http"
	"time"

	"github.com/altinity/clickhouse-operator/pkg/apis/metrics"
	"github.com/prometheus/client_golang/prometheus"
	"github.com/prometheus/client_golang/prometheus/promhttp"
)

func main() {
	flag.Parse()

	exporter := metrics.NewExporter(&metrics.CHAccessInfo{
		Port:    8123,
		Timeout: time.Second * 28,
	})

	exporter.UpdateWatch("default", "server1", []string{"server1hostname"})
	exporter.UpdateWatch("default", "server2", []string{"server2hostname"})
	exporter.UpdateWatch("default", "server3", []string{"server3hostname"})

	prometheus.MustRegister(exporter)

	http.Handle("/metrics", promhttp.Handler())

	if err := http.ListenAndServe(":5267", nil); err != nil {
		panic(err)
	}
}

@erikdubbelboer sorry for a late response, everything looks good, could you resolve conflicts with master branch?

@Slach I have rebased the branch on the HEAD of master and fixed the conflict.


Future Page

Plan for the Futures Page
This is a concept but obviously not done

Better example

Potential Look for the chart
We need to make ourselves different. So, the first graphic the people should see is a candlestick. I haven't seen ppl integrate a candlestick and candlestick shows so much information first glance.
Something like this seems cool to me, idk if u can think of something cooler reply to this post and create it

Checklist
The top should have the navbar which I (Nav) will create and implement in every page.
For this page the main things to do are:

Create top movers
Top Losers
Have a area where user's can click and get more information about a stock
Create a system where there are set amount of div's per row and they automatically size

please do everything in
https://github.com/navraj213/FiND/tree/futures
Go to futures branch
DO NOT PUSH TO MAIN OR ELSE!
ok so u do
cd FiND
git checkout futures
then confirm you're in futures by doing
git branch


Bot should join online meeting Automatically.

I am able to setup and run the AudioVideoPlaybackBot sample for 1:1 call (when call is made to bot from personal chat), but for joining online meeting, as documentation states, we have to use postman to post meeting join URL at bot_url/joinCall so relevant controller is hit and event's to join group call/meeting are fired. Is there anyway, we can make the bot join the meetings automatically, without using postman?

e.g. if user start's a meeting, by clicking 'Meet' button in above screenshot or a scheduled meeting,  bot Automatically joins it and provides us access to the media being received.
Your suggestions are appreciated in advance.

You're looking for events to be raised to your bot when a user joins a call/meeting.  Have a look at the compliance recording bot samples-it'll invite your bot to any calls the user participates in, and you can gate the call join until the bot is receiving media.

Hi Chris,
Appreciate your response. In case of 1:1 call, bot receives Audio media in OnAudioMediaReceived i.e. Audio buffer contains the data and we can implement logic and calculate the size of received audio stream at the end of the call. But in case when bot is added in a meeting in a team,  e.Buffer.Data is throwing Null reference exception, like no audio stream is being received. what could be the issue? we need the audio stream in case of group call/meeting and speaker information. How can this be achieved? I appreciate your suggestions.


[DOC-1242] Mapping from OpenAPI Models -> Response/Request payloads

Expected Behavior
Currently there's no way to tell if a request/body is being mapped from an OpenAPI/Swagger model. We might want to have some indicator to if/what is being mapped. Maybe a chip/pill that links to the model?
OpenAPI models are listed, but there is no visible mapping between request's payload and response to them (request shows copy of the model, response shows only example/generated-example )

Actual Behavior
No mapping to openapi models from request/responses
Reproduction steps
load a swagger spec :) and you can see the lack of mapping✨

Version
latest
What browsers are you seeing the problem on?
No response
DOC-1242

You mean a distinction between a given example and a generated example?

@marclave I recently started using Scalar for my project. It would be helpful to have models describe the API return types alongside example responses. Our models are complex, and providing descriptions/types would enhance user understanding.
Example from redoc

ah wicked @marcklingen , langfuse is great !
This is fantastic feedback, will look into this. We did have plans to do this earlier but got lost, will bring this up with @hanspagel and get it going in the new year ✨

In case it's helpful, here are our previews of scalar and redoc
Scalar: https://langfuse-docs-git-new-api-ref-langfuse.vercel.app/docs/api-reference
Redoc: https://langfuse.com/docs/api-reference

Thanks for looking into this

The schema is added to the reference now. :) #783

@hanspagel This is awesome, though only seems to wrk for OpenAPI 3.0 and not Swagger 2.0?


MotionControllerTest gaze does not highlight cube

changing the cube's shader to "Standard", and changing OnFocusEnter/Leave function's calls to EnableKeyword("_EMISSION") works, but what is currently there doesn't seem to highlight anything!

While we do our best not to break them, Example scenes can, and usually become depreciated.

Examples that are not maintained regularly will be deprecated.

it's kind of important, for a new toolkit & hardware, to keep the samples/examples & the code up to date. You guys are monkeying with the motion controller SDK, but the example scenes don't seem to work with the motion controllers (can't use the Grab example to grab anything, can't highlight the cube w/ my gaze, etc). For motion controllers especially, might be nice to ensure at least one exhaustive motion controller sample remains functional?
I'd fix up the Grabber scene sample, but I can't figure it out. Too many things are going on in the Input stack for controllers, I can't follow the thread of "who gets what signal, and when", even though I've read the docs & seen the pictures.

Examples that are not maintained regularly will be deprecated.

This rule should be reevaluated. In this case you're applying it to something that used to be a Test scene, which was a completely different concept than the type of scene that rule was written about. Example scenes were examples added by the community which showed off solving a specific problem, and we decided they needed to be kept up to date by the contributor. Test scenes were smaller, showing off a single Toolkit component and how to use it, and should not be broken. Now that those two concepts have been merged, this rule becomes fuzzier, but, if the scenes showing off how to actually use the Toolkit break, we have a problem

That's a valid point. Some of these test scenes could probably be organized and combined as well.
We're getting better about moving things over to unit tests as well.

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


add annotation_results parameter for exit tasks, and save annotations

in exit task results instead of pipelinerun annotations

CLOUDBLD-10949

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>Maintainers will complete the following section

[x] Commit messages are descriptive enough
[x] Code coverage from testing does not decrease and new code is covered
[x] Python type annotations added to new code
n/a JSON/YAML configuration changes are updated in the relevant schema
n/a Changes to metadata also update the documentation for the metadata
n/a Pull request has a link to an osbs-docs PR for user documentation updates
n/a New feature can be disabled from a configuration file

rn updated


add fulcio grpc url

Summary
Add option for grpc_fulcio_url and set to the grpc://fulcio.sigstage.dev
During database migration it was noticed that the staging prober was failing, and it should not have been. We found it is referencing the prod endpoint (which was down due to maintenance)

default for production fulcio-grpc-url is fulcio.sigstore.dev here: https://github.com/sigstore/scaffolding/blob/main/cmd/prober/prober.go#L123


Use celery for downloading the blocklist URL

For: https://github.com/hypothesis/checkmate/issues/6
This adds just enough celery config to the blocklist to run inside celery. As such it doesn't have a solution for full loading of a request context for the tasks, but we don't need one yet.
This won't do anything without a companion commit to h-periodic - As this removes the existing mechanism, we need that commit first. I'm not sure how we schedule this without getting a task pileup.
Review notes

No tests etc yet.
I can't see a nice way of getting this to play with h-periodic and h in dev. If the celery here is local to checkmate then it's not going to work right, if it has the same port, it's even worse.

To test

Run CHECKMATE_BLOCKLIST_URL=<s3 url>  make services dev
Run a script like this:

from checkmate.async.tasks import sync_blocklist

sync_blocklist.delay()

I'm not sure how we schedule this without getting a task pileup.

h-periodic tasks expire after a few seconds, so they don't pile up. You do have to remember to configure the expires setting on a per-task basis though. All the existing tasks have it. Example: https://github.com/hypothesis/h-periodic/blob/4497e6d4c64c3011e8980ff45a61e3ba3e1d8e16/h_periodic/beat.py#L11

I can't see a nice way of getting this to play with h-periodic and h in dev. If the celery here is local to checkmate then it's not going to work right, if it has the same port, it's even worse.

I think we may need to enhance h-periodic to be able to talk to two different instances of Celery/Rabbit. Possibly just by having Supervisor run two different Celery Beat processes with different Celery URLs. It'd be nicer if just a single Celery Beat process could do it, if possible.

This is dead now


Fetch data from multiple node using FOR loop in ESP8266

I am new to this, i am trying to get the token for cloud messaging which is stored in multiple firebase object here is how i write my code.
FirebaseObject firebaseObject=Firebase.get(myAuthUsers);
        Serial.println(firebaseObject.getString("865124030939336/customer_token")); //this is working well.
        for(int i=0;i < firebaseObject.length(); i++ ){
          Serial.println(devicesToSendPush[i].customer_token); // this is not working
        }

Here is how my JSON object looks like in firebase:
"auth_users" : {
        "865124030939336" : {
          "customer_token" : "sjdhfp6qNG4:APA91bGYJ7ACMhEL3-IELLy-pmj2zzT_Rd23sdmfnW8ozK4KDTjzfonrgivsfx43AxJ9UzDP4uc74hBcFKBN1ZajQ41EPCFchAcFq7CQY5r_Z49ukUharoWQm0XIuBa1UwpndHJLUA",
          "device_status" : "login",
          "id" : 0,
          "last_login" : "04-Mar-2018 1:36:11 AM",
          "mobile_unique_id" : "865124030939336",
          "os_platform" : "ONEPLUS A5000",
          "os_version" : "8.0.0"
        },
        "732124030933636" : {
          "customer_token" : "dMogkp6qNG4:APA-IELLy-pmj2zzT_Rdn05nyGdF-W8ozK4KDTjzfonrgivsfx43AxJ9UzDP4uc74hBcFKBN1ZajQ41EPCFchAcFq7CQY5r_Z49ukUharoWQm0XIuBa1UwpndHJLUA",
          "device_status" : "login",
          "id" : 0,
          "last_login" : "04-Mar-2018 1:36:11 AM",
          "mobile_unique_id" : "865124030939336",
          "os_platform" : "SAMSUNG Y",
          "os_version" : "5.0.0"
        }
      },

I want to get only "customer_token" value so i can for loop and send them push notification.
I am not able to understand is there any another method or what is wrong in this?
Thank you!

@nehulagr sorry for the late reply.
If you use the Firebase.getJsonVariant() you should be able to iterate on the key using:
https://arduinojson.org/v5/api/jsonobject/begin_end/
We should have better sample for this, let's track it with #346


"Known Issues" NMR Example Render does not Match Render at the top of Readme

At the beginning of the Readme the rendered rotation video from the NMR dataset is as follows:

However, later in the Readme you express that overfitting on the 24 input views is a "known issue". As such, is there a different configuration that you used to fix the overfitting issue and render the video above? Also, given that the authors checked over the codebase, do they know about the existence of this overfitting issue and did they provide any insight on how to mitigate it?
Known Issue video:

Hi! SRT differs from NeRF-based in models in that it has no structural constraints guaranteeing geometric consistency between views. I think we can generally not expect such models to generalize to out-of-distribution cameras when the set of seen cameras is so small. I chatted with the authors about this, they also encountered the issue and agreed with this assessment.
So I don't think there's an easy fix for this, other than switching to a NeRF decoder (VSRT). The video above is the same as the video on the bottom left, it's simply the 24 known input views where SRT works. The video on the bottom right is from the same model, but here the camera smoothly rotates around the object as opposed to sticking to the 24 known views. Only when it passes one of the known views do we get a reasonable image.

Ok thank you so much for your reply! I thought that it might just be a general architecture/idea issue but I wanted to make sure as I did not see the authors mention it in their paper or on their website. I appreciate the insights and quick response!


Bubble up not found errors to cluster status

Description of changes
This should help users debug issues when misspelling object names or when a child object is not created successfully (think flux erroring in out in a machine config validation). This way we avoid having them checking the controller logs and can get everything from the API.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


feat: cli-utils

Let's not pursuie this idea at the moment and go for an easier solution with duplicating utils in the light cli within the docker image. We might reopen this later one.


Webpack: Set an alias to vendor dependencies and add vendor chunk

Want to discuss this before opening a PR, since I am not sure my vision is aligned with the philosophy of the project.
In short, setting 'react' and 'react-dom' as webpack's resolve:alias can visibly improve dev-rebuild time since it will be using pre-built dependencies.

This can de done by setting an alias to pre-built react and react-dom in dev config + alias to .min version in prod.

(optional) Define a vendor chunk and specify react and react-dom there also.

I guess, only first option improves build times, not sure of the built impact of the other one, but having two default chunks may teach beginners one of the common approaches, since I assume that a lot of learning will be done by reverse engineering webpack's config after eject. And by setting a standard for managing pre-compiled dependencies, beginners may be able to avoid long-term frustration with slow rebuilds that, subjectively, tend to add up really fast. (it seems ember-cli is taking this approach by default, but their philosophy is different)
Also am aware that there is DllPlugin approach, but not sure if there are any drawbacks for maintainers long-term and it may not be as easy to gasp by beginners as in mentioned above scenario.

How does this play with npm addons? Like react-addons-perf. Is there a nice way to keep them working with resolve?
Generally I'm very much pro this idea, on both counts. We should use flat bundles if possible, and we should split React code into a separate chunk.

@gaearon I was able to make it work for my repo and ditched it back while ago, so need some refresh. It's not straightforward, but definitely possible.

I use this in prod and there is little caveat. Just setting alias won't improve performance, it also should be added to 'noParse' and to make it work with reactDom or Router imports loader has to be used:
    /* tells webpack to skip parsing following libraries
     requires use of "import loader" for certain modules, based on https://github.com/christianalfoni/react-webpack-cookbook/issues/30
    */
    noParse: [ pathToReact, pathToReactDom, pathToReactRouter ],
    loaders: [{
      test: pathToReactDOM,
      loader: 'imports'
    }, {
      test: pathToReactRouter,
      loader: 'imports'
    }, {....

So I assume same approach is good for addons.

The problem is that modules like react-addons-perf reach into React, importing things like react/lib/ReactPerf. This will change in the future, but for now this means that we need to somehow alias react/lib/ReactPerf and friends to refer to the correct thing (e.g. React.addons.ReactPerf in UMD addons build).

@gaearon I will take a look and do it as part of the upcoming PR.

We will likely do this as part of #210 whenever that effort is revived.


Various Vulnerabilities in<EMAIL_ADDRESS>

Hi, Snyk and possibly other scanners report the following in the latest:
✗ Critical severity vulnerability found in expat/expat
  Description: Integer Overflow or Wraparound
  Info: https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2393733
  Introduced through<EMAIL_ADDRESS><EMAIL_ADDRESS>  From<EMAIL_ADDRESS>  From<EMAIL_ADDRESS>><EMAIL_ADDRESS>  Fixed in: 2.4.4-r0

Lucky for us Alpine has already fixed this: https://git.alpinelinux.org/aports/commit/?id=be41ce63e47acb86474b88f069c75335f69f009a
and I can already see building it again will install the fixed<EMAIL_ADDRESS>in Github actions: https://github.com/docker-library/httpd/runs/5080563783?check_suite_focus=true
Can the maintainers please push a new build?

Same comment as, https://github.com/docker-library/python/issues/699#issuecomment-1040583314. Once the base image updates, these images will be rebuilt as well.

the base image got  update
https://github.com/docker-library/python/issues/699#issuecomment-1055964957

https://github.com/docker-library/official-images/pull/12055 :+1:


Data demo on landing page has inconsistent behavior

I've noticed these inconsistent behaviors:

Data doesn't always load in the demo when I open or refresh the page.

Checking a filter checkbox is sometimes unresponsive.

Typing into the search bar is sometimes unresponsive.

I am getting 503 responses sporadically for the images and JSON, which would explain this issue. For instance, the last result on my opening page, WWII in HD returns this image:
https://images-tv.wedeploy.io/59c954237b859c85d070a56e.jpg
From devtools, I see that URL is showing me a page displaying the 503 / Service Unavailable message. Hitting the URL individually in a new tab always works for me.
I’m not sure why, but I am also sometimes get a No 'Access-Control-Allow-Origin' header message. Here is an example:
Failed to load https://data-tv.wedeploy.io/shows?sort=%5B%7B%22rating%22%3A%22desc%22%7D%5D&aggregation=%5B%7B%22genres%22%3A%7B%22name%22%3A%22genres%22%2C%22operator%22%3A%22terms%22%7D%7D%2C%7B%22year%22%3A%7B%22name%22%3A%22years%22%2C%22operator%22%3A%22terms%22%7D%7D%5D&highlight=%5B%22name%22%5D&limit=12&offset=0&type=search&filter=%5B%7B%22and%22%3A%5B%7B%22name%22%3A%7B%22operator%22%3A%22prefix%22%2C%22value%22%3A%22princess%22%7D%7D%5D%7D%5D: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<IP_ADDRESS>:3001' is therefore not allowed access. The response had HTTP status code 503.
common.js:1 Uncaught Error: Request terminated prematurely

I'm not sure, but this might have something to do with this: https://github.com/wedeploy/engine/issues/863

I am no longer seeing this error on https://wedeploy.com/

@christieyoo, would you please confirm? 😃

@jonathantneal
Looks good now!  And looks like the tests have been passing on CI.  I'll go ahead and close this.


Implement Feature to collect logs for specific time period

The tool currently collects all logs available.
Need to implement filtering based on age of logs.

Filter By Age in Days and by Site ID`s has been implemented.


Create meshes for trigger entities and display them in map viewer

Trigger entities reference a vmdl in map vpk, but there is no actual mesh besides vphys that contains coordinates.
We can also have a checkbox in viewer to show/hide them similiar to showtriggers in game.

With the physics groups toggles, you can see triggers now.


Fast parallel GEMV

I'm interested in doing a lot of GEMV operations in parallel (all with different matrices and vectors). clBLAS can do this, but I find it's faster if I write my own kernel that does all the GEMV operations at once. Is there any way I can send these operations to clBLAS to make them execute more in parallel and get better throughput on my device? For a single GEMV operation, clBLAS is much faster than my custom kernel.

How big are the GEMV operations ?

They can vary quite a bit, but generally assumed to be on the smaller side (as far as these things go), with the matrix being 100 x 100 to 1000 x 1000 ish.

I could have sworn that clBLAS had a batched mode for sgemm, but I can not seem to find it.
You could try creating an unique queue for each operation.

I think cuBLAS has a batched mode; maybe you're thinking of that. I tried using multiple queues, but it doesn't help :(

Can you update the original post with a sample code, hardware info and the times you are seeing ? The best person to answer this would be @TimmyLiu , but they are a busy lot at AMD :)
I will try to experiment a little bit on my end as well in the mean time.

There is no batched API as of now.
You can use multiple queues. But there is a catch (someone in my group experimented this recently), you have to call clflush() on each queue before any blocking call such as clwaitforevent to have your kernel calls overlapped. Otherwise multiple queues will serialized I think.

I think my problem is that I have so many operations (kernels), and they're all so small (in terms of data processed), that even with multiple kernels running in parallel it still takes a long time. Only 16 kernels can run in parallel (I'm not sure if it's devices or OpenCL providing this limitation), which means that with many kernels (>> 16), a lot will still have to happen in serial, whereas one big kernel can do it all at once.
It would be really great if I could use the clBLAS GEMV code as part of my one big (batch) kernel, rather than writing my own batched GEMV kernel (since my kernel is not near as fast as the clBLAS one for single operations). I guess doing this would be equivalent to writing a batched API of sorts. How feasible would this be? Is it just a matter of wrapping the existing code in some way, or would everything pretty much to be rewritten?

GEMV should ideally be limited by bandwidth. Can you calculate the performance (in GBPS) you are getting from your kernel as opposed to GEMV in clBLAS ?

You should be able to use the xGEMM interface as a batched xGEMV interface.  This implies a memory preprocessing/postprocessing step on host side, to swizzle vectors in strided fashion into a single matrix buffer.  The question is if the computational gain you get by batching your vectors is more than preprocessing/postprocessing cost.  Possibly, you could optimize your host app to operate on the strided vectors directly, and minimize the stride conversion steps.

/cc @naibaf7

I'm having trouble even just getting simple kernels to run simultaneously on my NVIDIA card (GTX 780). There was a lot of discussion a number of years ago as to whether NVIDIA supported concurrent kernels at all, and it seems like the newer cards do (Fermi and newer). But there was still a lot of debate as to whether this is supported by their OCL drivers, and I couldn't find any conclusive evidence that this is supported.
@kknox: I'm not exactly sure how you mean. If my matrix is different for all the GEMV operations, then wouldn't my A matrix for GEMM have to be block diagonal? This is going to result in a very sparse matrix, and I'm not convinced it would be much faster. Is there some other way to set it up?

@hunse
Did you try with multiple queues?
I am currently working on porting Caffe to OpenCL (it's basically done, but not fully optimized):
https://github.com/naibaf7/caffe
and
https://github.com/BVLC/caffe/pull/2610
And I use up to 8 OpenCL queues, then I launch the GEMM calls in a round-robin fashion. When having 10 GEMM calls, the speedup observed was 30% on a GT980 compared to launching all GEMM calls on a single OpenCL queue.
A similar effect was visible on a W9100, although not quite as much as on the GTX980.

I've tried multiple queues, flushing them and everything, and it doesn't seem to make any difference.

I am not sure if nvidia's driver will force the serialization of queues. Do you have any AMD device you can try the approach with different queues?
Anyway it might be beneficial to have the batched API for certain important routines.

Hi hunse,
I did some experiments around this. After creating 1 queue for each batch. I had a for loop calling sgemv. Calling clflush and clwaitforevent I was able to see kernels running concurrently.
	for (int i = 0; i < batchSize; i++)
	{
		err = clblasSgemv(order, transA, M, N, alpha,
			bufA[i], offA, lda, bufX[i], offx, incx, beta,
			bufY[i], offy, incy, 1, &queue[i], 0, NULL, &event[i]);
	}
	for (int i = 0; i < batchSize; i++)
	{
		clFlush(queue[i]);
	}
	err = clWaitForEvents(batchSize, &event);

And you can see from this screenshot of codexl some of the kernels are overlapped.

In the above example M and N are fairly big (4096) for each batch. I noticed if I reduce the matrix size the kernel overlapping is less obvious. If I choose M=N=512 for example, I don't see the kernel overlap from codexl. This is probably due to the overhead of launch kernels being more significant for smaller matrix sizes.
changing the above code to something like
	cl_event user_event = clCreateUserEvent(ctx, &err);

	for (int i = 0; i < batchSize; i++)
	{
		err = clblasSgemv(order, transA, M, N, alpha,
			bufA[i], offA, lda, bufX[i], offx, incx, beta,
			bufY[i], offy, incy, 1, &queue[i], 1, &user_event, &event[i]);
	}

	clSetUserEventStatus(user_event, CL_COMPLETE);

I can sometime capture kernel overlap from codexl.

Hope this helps.

Thanks @TimmyLiu, that does help. I think for what I'm doing, I need some way to put all my GEMVs into one kernel call. Since I have so many small ones, even if I was able to get a number of kernels running concurrently, I still don't think I'd get very good occupancy. As you've shown, the overhead with launching kernels is significant, and even if it wasn't, I'd still only be able to have at most 16 simultaneous kernels.
How difficult would it be to create a batched kernel for GEMV?

@TimmyLiu
While we're on it, batched row-major NN-SGEMM would also be required to match the performance of cuDNN on https://github.com/naibaf7/caffe (Caffe OpenCL).
So @hunse is definitely not the only one profiting from having batched kernels, but also the whole machine learning / neural network development.
But I am not sure how the calling parameters of a batched GEMM/GEMV would look like.

Thanks guys for the feed back. I definitely agree a batched interface is nice to have.
@hunse @naibaf7 what would be typical usage (number of batches, matrix size per batch) of a batched gemv and gemm?

A typical value... hard to come up with, but the batch sizes can be around 256 on certain networks. But due to memory limits 8 to 64 at once are reasonable for the GEMM calls.
Taking the Alexnet, a typical layer that runs really fast on the cuDNN library has GEMM calls with:

M = 192
N = 27^2 = 729
K = 3^2 * 128 = 1152

For me, typical usage would be many batches (from 100 to upwards of 100,000) and generally smaller matrices (as small as 1x3, often around 100x2, 500x3, possibly as large as 10000x2000, typically quite rectangular, but sometimes square as well). Since I'm doing a lot of dynamic neural network stuff, GEMM is actually much less useful for me.

@hunse  @TimmyLiu
Seems like the interface would have to be very general... probably not very easy.
Would it be another option to have a possibility to call the GEMM / GEMV building blocks / kernels within custom kernel code in order to achieve block-GEMM/GEMV?

For the API, I was thinking of making multiple calls to a GEMV-like function, to populate a list of all the calls for the batch, and then another function that takes the list and actually enqueues the batch. That way, the API for the individual GEMV calls can remain mostly the same.

@hunse
I agree, that would also work for me.
But how would the underlying OpenCL kernel calls work with that?
If it would just enqueue the individual GEMV calls as before, it would not help.
How would the vectors and matrices reside in memory? If it is only one clMem object, then it will be easy but I can't imagine an easy way to handle multiple or arbitrary clMem objects.
Then, a list/array of vector/matrix offsets would also have to be provided as clMem object, right?

Yes, you'd need to provide a list of offsets or pointers to the start of each memory block, as well as lists of all the shapes and strides. I see what you're getting at, now. In what I'm doing, we do the each operation many times, so we can allocate memory on the device to store these lists, and then just refer to them each time we want to do the operation. But if we're just building and executing the batched GEMV on the fly, then we'd have to allocate this memory each time, which could be costly.
Maybe we'd have to leave this up to the user, then? They'd have to allocate memory on the device and load up all the lists, then pass this to a batched GEMV call.

@hunse
Exactly. As this i anyways a special high-performance feature, it should be left to the user to create and manage offset, stride etc. data.
Then the batched GEMV/GEMM calls would take the arguments as they are now, but instead of having host-device integer arguments next to the clMem objects, all arguments are clMem, except for one integer which defines the batch size to hint the implementation how many entries in the offset, stride etc. cl_mem have to be read.

Update: Intel MKL adds batch-GEMM support, see:
https://software.intel.com/en-us/articles/introducing-batch-gemm-operations
for an inspiration of what is needed.
It can be a bit less flexible and keep A, B and C matrices in the same memory object for OpenCL though.