bug: incorrect large ion-title placement inside modal navigation using ion-nav

Bug Report
Ionic version:

[x] ^5.0.4
Current behavior:

When you try navigating inside modal by using ion-nav, the placement of large ion-title is incorrectly aligned
Link to video
Expected behavior:

Large title transition on forward and back navigation should align correctly
Steps to reproduce:

create a page which holds the ion-nav component and expects the component as input in .html file

<ion-nav [root]="component"></ion-nav>

set in the .ts file an input property for the component

@Component({
  selector: 'app-modal-outlet',
  templateUrl: './modal-outlet.page.html',
  styleUrls: ['./modal-outlet.page.scss'],
})
export class ModalOutletPage implements OnInit {

  @Input() component;

  constructor() { }

  ngOnInit() {}
}

create the modal using modalController in app.component.ts

  public async onOpenModal() {
    const modal = await this.modalController.create({
      component: ModalOutletPage,
      componentProps: { component: Test2Page },
    });
    return await modal.present();
  }

Link to repo
Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.4
   @angular-devkit/build-angular : 0.900.5
   @angular-devkit/schematics    : 9.0.5
   @angular/cli                  : 9.0.5
   @ionic/angular-toolkit        : 2.2.0

Capacitor:

   Capacitor CLI   : 1.3.0
   @capacitor/core : 1.3.0

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.16.0 (/usr/local/bin/node)
   npm    : 6.13.4
   OS     : macOS Catalina

Thanks for the issue. I am unable to reproduce the issue using the repo provided. Can you provide some steps to reproduce the issue?

Thanks for the issue. I am unable to reproduce the issue using the repo provided. Can you provide some steps to reproduce the issue?

run npm i
run ionic serve
toggle device toolbar in chrome browser
switch device to iPad
click on "NESTED NAVIGATION LARGE TITLE BUG" in the menu bar, when split-pane is visible (should be on ipad view)
try some navigation there

Sorry for bad description. The bug does not appear in mobile view, only tablet.

Thanks for the follow up. Can you try the following dev build and let me know if it resolves the issue?
npm i<EMAIL_ADDRESS>

Thanks for the follow up. Can you try the following dev build and let me know if it resolves the issue?
npm i<EMAIL_ADDRESS>
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

what am i doing wrong?

Now it's working perfectly!
Thank you @liamdebeasi for fast support.


Added note before creating subscription and reference to create subscription for SMPP Webhook

added Subscription for Whatsapp, RCS and Voice


Tutorial: Monorepo with typescript, how to benefit from tsbuildcache info

We are using github actinos to run our tests, all works fine, except it takes ages to compile everything. Therefore we were looking into caching artifacts and quickly implemented actions/cache (y).
But then it turned out, even though files are pre-compiled, nothing has changed and the buildcache info file is valid, typecript still recompiles everything.
As it turned out, github checkout (even with fetch-detph: 0) is not restoring last modified time of a file. Therefore typescript always assumes that the buildcache is invalid, even if you just compiled in in a job before that.
Therefore I like to write down how we have solved this:
1.) you need to ensure last modified time is the same
2.) ensure that .tsbuildinfo and build artifacts are included in the cache
3.) ensure that changed files are rebuild, even the buildinfo cache is still "valid".
What we did:
1.) detect what has changed (we need this later on)
- uses: dorny/paths-filter@v2
        id: filter
        with:
          list-files: 'json'
          filters: |
            packages: // <-- specify all your monorepo locations (usually you probabaly just have one)
              - 'packages/**'
            infrastructure:
              - 'infrastructure/**'
            services:
              - 'services/**'

2.) restore modified time of files via git-restore-mtime
      - name: Restore mtime for git checkout
        run: sudo apt install git-restore-mtime && sudo curl -o /usr/lib/git-core/git-restore-mtime https://raw.githubusercontent.com/MestreLion/git-tools/v2020.09/git-restore-mtime && git restore-mtime

3.) set up cache (include node_modules, build artifacts and tsbuildinfo!)
- name: Setup cache for build and dependencies
        uses: actions/cache@v2
        id: cache
        with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/.tsbuildinfo
            ~/.npm
          key: ....

4.)  ensure buildcache is always in a valid state, therefore remove tsbuildinfo files from directories that have changed.
  - name: Remove buildcache infos
        uses: hokify/remove-buildcache-action@v1
        with:
          changed-files: ${{ steps.filter.outputs.packages_files }}
          tsBuildInfoFile: '.tsbuildinfo'

Hope this helps, it's just a very plain description, but I was looking for this for ages, and couldn't find anything.

I put up a README.md file here: https://github.com/hokify/remove-buildcache-action/tree/master

Thank you for this @simllll
I'm wondering what did you use as key
- name: Setup cache for build and dependencies
        uses: actions/cache@v2
        id: cache
        with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/.tsbuildinfo
            ~/.npm
          key: ....

since there are multiple tsbuildinfo files...

Something like
    - name: Setup cache for build and dependencies
      uses: actions/cache@v2
      id: cache
      with:
        path: |
          node_modules
          */*/node_modules
          */*/lib
          */*/.tsbuildinfo
        key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/.tsbuildinfo') }}

?

Hi @phil-lgr ,No but we cache these files

@simllll ok thx..
could you share what key you used ?
I'm trying
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.tsbuildinfo') }}

do you have a single .tsbuildinfo at the root ?
In my case I'm using composite project so have 1x per package

I guess I'd have to modify hokify/remove-buildcache-action
    #
    # Remove buildcache infos if src files have changed
    #
    - name: Remove buildcache infos
      uses: hokify/remove-buildcache-action@v1
      with:
        changed-files: ${{ steps.filter.outputs.packages_files }}
        tsBuildInfoFile: '.tsbuildinfo'

To handle multiple tsbuildinfo

our cache key is this:
 with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/buildcache.tsbuildinfo
            ~/.npm
          key: ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-${{ hashFiles('package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-

we also have a monorepo with composite mode, should work with this already :)

If it helps, I share the whole github action yml file with you:

we have a monorepo with several folders (packages, services, ..)

name: Run test pipeline

on:
  workflow_dispatch:
#  push:
#    branches:
#      - master
  pull_request:
    types:
      - assigned
      - opened
      - synchronize
      - reopened
      - ready_for_review
    branches:
      - master

env:
  NODE_VERSION: '15'
  # codecov disabled for now, as we have not enough test to have a benefit from it
  ENABLE_CODECOV: false

jobs:
  prebuild:
    if: github.event.pull_request.draft == false
    name: build core packages
    runs-on: ubuntu-latest

    outputs:
      packages: ${{ steps.filter.outputs.packages }}
      packages_files: ${{ steps.filter.outputs.packages_files }}
      infrastructure: ${{ steps.filter.outputs.infrastructure }}
      infrastructure_files: ${{ steps.filter.outputs.infrastructure_files }}
      services: ${{ steps.filter.outputs.services }}
      services_files: ${{ steps.filter.outputs.services_files }}

    steps:
      - name: Cancel Previous Runs
        uses<EMAIL_ADDRESS>        with:
          access_token: ${{ github.token }}
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: dorny/paths-filter@v2
        id: filter
        with:
          list-files: 'json'
          filters: |
            packages:
              - 'packages/**'
            infrastructure:
              - 'infrastructure/**'
            services:
              - 'services/**'
      - name: Restore mtime for git checkout
        run: sudo apt install git-restore-mtime && sudo curl -o /usr/lib/git-core/git-restore-mtime https://raw.githubusercontent.com/MestreLion/git-tools/v2020.09/git-restore-mtime && git restore-mtime
      - name: Setup cache for build and dependencies
        uses: actions/cache@v2
        id: cache
        with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/buildcache.tsbuildinfo
            ~/.npm
          key: ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-${{ hashFiles('package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-
      - name: Install Node.js
        if: steps.cache.outputs.cache-hit != 'true'
        uses<EMAIL_ADDRESS>        with:
          node-version: ${{ env.NODE_VERSION }}
      - name: Setup node config
        if: steps.cache.outputs.cache-hit != 'true'
        run: npm config set unsafe-perm true
      - name: Install project dependencies
        if: steps.cache.outputs.cache-hit != 'true'
        run: npm ci --no-audit --prefer-offline
        env:
          PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
          HUSKY_SKIP_INSTALL: true
      - name: Remove buildcache infos
        if: steps.cache.outputs.cache-hit != 'true'
        uses: hokify/remove-buildcache-action@v1
        continue-on-error: true
        with:
          changed-files: ${{ steps.filter.outputs.packages_files }}
          tsBuildInfoFile: 'buildcache.tsbuildinfo'
      - name: Build
        if: steps.cache.outputs.cache-hit != 'true'
        run: npm run build
  build-infrastructure:
    name: Build infrastructure and run tests
    #    runs-on: self-hosted
    runs-on: ubuntu-latest
    needs: prebuild
    if: ${{ needs.prebuild.outputs.infrastructure == 'true' }}

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Restore mtime for git checkout
        run: sudo apt install git-restore-mtime && sudo curl -o /usr/lib/git-core/git-restore-mtime https://raw.githubusercontent.com/MestreLion/git-tools/v2020.09/git-restore-mtime && git restore-mtime
      - name: Setup cache for build and dependencies
        uses: actions/cache@v2
        with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/buildcache.tsbuildinfo
            ~/.npm
          key: ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-${{ hashFiles('package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-
      - name: Install Node.js
        uses<EMAIL_ADDRESS>        with:
          node-version: ${{ env.NODE_VERSION }}
      - name: Remove buildcache infos
        uses: hokify/remove-buildcache-action@v1
        continue-on-error: true
        with:
          changed-files: ${{ needs.prebuild.outputs.infrastructure_files }}
          tsBuildInfoFile: 'buildcache.tsbuildinfo'
      - name: Build infrastructure
        run: npm run build:infrastructure
      - name: Run tests
        run: npm run coverage:infrastructure
      - name: Upload coverage to Codecov
        if: ${{ env.ENABLE_CODECOV == 'true' }}
        uses: codecov/codecov-action@v1
        with:
          token: ${{ secrets.CODECOV_TOKEN }}
          flags: infrastructure
          fail_ci_if_error: false
  build-packages:
    name: Build packages and run tests
    #    runs-on: self-hosted
    runs-on: ubuntu-latest
    needs: prebuild
    if: ${{ needs.prebuild.outputs.packages == 'true' }}

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Restore mtime for git checkout
        run: sudo apt install git-restore-mtime && sudo curl -o /usr/lib/git-core/git-restore-mtime https://raw.githubusercontent.com/MestreLion/git-tools/v2020.09/git-restore-mtime && git restore-mtime
      - name: Setup cache for build and dependencies
        uses: actions/cache@v2
        with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/buildcache.tsbuildinfo
            ~/.npm
          key: ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-${{ hashFiles('package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-
      - name: Install Node.js
        uses<EMAIL_ADDRESS>        with:
          node-version: ${{ env.NODE_VERSION }}
      #      - name: Install environment dependencies
      #        run: sudo apt-get update && sudo apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm-dev
      - name: Remove buildcache infos
        uses: hokify/remove-buildcache-action@v1
        continue-on-error: true
        with:
          changed-files: ${{ needs.prebuild.outputs.packages_files }}
          tsBuildInfoFile: 'buildcache.tsbuildinfo'
      - name: Build packages
        run: npm run build:packages
      - name: Run tests
        run: npm run coverage:packages
      - name: Upload coverage to Codecov
        if: ${{ env.ENABLE_CODECOV == 'true' }}
        uses: codecov/codecov-action@v1
        with:
          token: ${{ secrets.CODECOV_TOKEN }}
          flags: packages
          fail_ci_if_error: false
  build-services:
    name: Build services and run tests
    #    runs-on: self-hosted
    runs-on: ubuntu-latest
    needs: prebuild
    if: ${{ needs.prebuild.outputs.services == 'true' }}

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Restore mtime for git checkout
        run: sudo apt install git-restore-mtime && sudo curl -o /usr/lib/git-core/git-restore-mtime https://raw.githubusercontent.com/MestreLion/git-tools/v2020.09/git-restore-mtime && git restore-mtime
      - name: Setup cache for build and dependencies
        uses: actions/cache@v2
        with:
          path: |
            node_modules
            */*/node_modules
            */*/dist
            */*/buildcache.tsbuildinfo
            ~/.npm
          key: ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-${{ hashFiles('package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-${{ hashFiles('packages/*/src/**/*') }}-
            ${{ runner.os }}-${{ hashFiles('cache_root_version') }}-node-build-
      - name: Install Node.js
        uses<EMAIL_ADDRESS>        with:
          node-version: ${{ env.NODE_VERSION }}
      - name: Remove buildcache infos
        uses: hokify/remove-buildcache-action@v1
        continue-on-error: true
        with:
          changed-files: ${{ needs.prebuild.outputs.services_files }}
          tsBuildInfoFile: 'buildcache.tsbuildinfo'
      - name: Build services
        run: npm run build:services
      - name: Run tests
        run: npm run coverage:services
      - name: Upload coverage to Codecov
        if: ${{ env.ENABLE_CODECOV == 'true' }}
        uses: codecov/codecov-action@v1
        with:
          token: ${{ secrets.CODECOV_TOKEN }}
          flags: services
          fail_ci_if_error: true

@simllll thanks for sharing
BTW it's crazy that we can't reuse steps on github action see https://github.com/actions/runner/issues/646
TL;DR you can create composite actions, but uses isn't supported right now, it sucks because we have to copy the steps for each job :/


[FIX] clarify file formats in EEG, iEEG

closes #476
@dorahermes @maxvandenboom this PR is primarily intended to clear up that the MEF3 format is not a .mef file, but a .mefd directory.
Do the proposed changes look good to you?

Looks correct to me!

Thanks both.

PS. @sappelhoff if the invite was to provide for a second reviewer, it gave an error, so I couldn't accept

yes, the invite was to:

properly tag you with auto completion within bids-specification
make your review "valid" for counting towards our branch protection rules

I sent another invitation.

Thanks both.

PS. @sappelhoff if the invite was to provide for a second reviewer, it gave an error, so I couldn't accept

yes, the invite was to:

properly tag you with auto completion within bids-specification
make your review "valid" for counting towards our branch protection rules

I sent another invitation.

This time the invitation did work, I accepted

So... should I do anything on my end to review? :)

So... should I do anything on my end to review? :)

oh sorry --> I already took your previous answer as an "informal" review and that you approve :-)
If you want to do a formal review, click on "Files changed" in the top right, and on "Review changes" to approve, request changes, or comment.
we also have a  guide on this.

So... should I do anything on my end to review? :)

oh sorry --> I already took your previous answer as an "informal" review and that you approve :-)
If you want to do a formal review, click on "Files changed" in the top right, and on "Review changes" to approve, request changes, or comment.
we also have a guide on this.

I'm new to the reviewing process over github, so thanks for the explanation :)
I "formally" approved ;)

Thanks @MaxvandenBoom.
If you want, you could also add yourself to the list of BIDS contributors in our Wiki, which we periodically use to update the contributor list within the specification itself.
Given that you provided several fixes for the validator and performed some specification reviewing, i'd say it's high time

I would like that, thanks!! I added myself to the list :)


Update to Mirage 3

This PR updates to the new Mirage v3 block API and includes the latest version of the qcow library which supports flushing via fsync as well as fcntl: see [docker/for-mac#668]
Note the Mirage 3 packages have been tagged and released but the package metadata is in a new repository: https://github.com/mirage/mirageos-3-beta. This PR updates the circle.yml and the instructions in the README.md accordingly.

LGTM (although I'm not really qualified to review all the ocaml changes, maybe ping a friendly ocaml person for a quick sanity check?)
Am I right that eventually the mirage-3 stuff will be fully released and appear in a mainline repository (i.e. not mirage-3-beta)? If so could you please keep an eye out for that event and update this stuff accordingly?

Thanks -- @samoht could I borrow your eyes for a quick sanity-check?
You're correct that the Mirage stuff should be fully released soonish.. at that point I'll make another PR to tidy this up a bit.

Thanks for the feedback! I just realised that there's already an implementation of the time signature in mirage-unix which I could re-use rather than re-implement.
Regarding the Error e matches: after speaking to @samoht in detail I think I understand the problem is with the current version of ocaml-qcow. Since this is released already I'll merge this as-is, and when I fix the qcow write_error problem and re-release I'll circle back here.


fix: use remastered ietf logos

Use the same updated logos as the IETF website

Should t we just replace the exiting logos, rather than adding to them?
Also, shouldn't we have the other logos "remastered" as well to keep the look consistent?

closing this as asleep - it can be reopened if needed.


httpclient :Can i read the response in the same thread which sent request.

HI:
I use http_client in multiple threads. and the threads managed by boost.
can I read response with the thread which send it's request?
need I use strand.wrap the callback of  asio::async_write and asio::async_read ?
thanks

Sorry for the late response. I take it you use the async request functions, and then the handlers will be run on the same thread that the client's io_service event processing loop is executed. If you have several event processing loops running on the same io_service, the handlers can run on all the different threads that run the processing loops.


When there are special characters in the visual editor shell, it throws an error

What is version of KubeSphere DevOps has the issue?
v3.4.0
How did you install the Kubernetes? Or what is the Kubernetes distribution?
kubekey
What happened?

when there are " or \ characters in shell, will return a error
Relevant log output
No response
Additional information
No response

Enter \ in jenkinsfile
When open in shell, it only show one \

/cherry-pick release-3.4
/cherry-pick release-3.5

Enter ' in jenkinsfile
When open in shell, it show ', while save without any change, open jenksinfile again, it change to \'


chore: ajout variable conf

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


AzureFunctionApp@4 not supported by yml editor

When trying to provision a new yml pipeline to deploy my python code in Azure DevOps to an Azure Function v4 runtime, I encounter the below error on the yml editor.

This leads me to believe that a yml pipeline config for v4 is not supported, despite all other versions indicated as EOL on this page:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-versions?pivots=programming-language-csharp&tabs=v4
Questions:

What is the recommended Azure function runtime to be used with yml deployment pipelines?
When will the yml editor on Azure DevOps support this?
Is there custom configs I can use in the interim?
If the answer to (2) is not soon, and (3) is no, is the recommendation to downgrade to runtime v2?

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

ID: 87b190ff-4ca4-a7ca-381d-e97185d05df1
Version Independent ID: 87b190ff-4ca4-a7ca-381d-e97185d05df1
Content: AzureFunctionApp@2 - Azure Functions Deploy v2 task
Content Source: task-reference/azure-function-app-v2.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

@PranshuBansalDev -- Pranshu, thank you for your feedback and questions.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

If you feel any of this is a product issue, please add it here:

Azure DevOps Feedback

@steved0x -- Steve, please look into the documentation aspects of this issue, if any.

@PranshuBansalDev The v2 in AzureFunctionApp@2 is the version number of the task, and not the version of Azure Functions that is being used. AzureFunctionApp@2 is used to deploy to an existing Azure Functions App that has been previously created, and that previously created function app is what controls the version of the functions app.
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/azure-function-app-v2?view=azure-pipelines#azure-function
Then in the runtimeStack parameter you choose the desired version, based on compatibility with the existing Azure Function App version, from this table:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-versions?pivots=programming-language-csharp&tabs=v4
Please reactivate this issue if this didn't answer your question.
Thank you,
Steve


Fail a build on high severity vulnerabilities

Is there a way to tell the action that a high-severity vulnerability should result in a failed build?
For example: in my opinion, this should not result in a green check or a "Looks good" comment since there is 1 high vuln

Would you be willing to accept a PR that accepts a flag like --error-on-fail and if positive turns the --no-error command line flag off?

@nexxai the default behaviour is to break. So if you run scan without --no-error (fork scan-action or override args) it will break automatically.

Could we assume that this bash test if [[ -n "$(cat reports/ngsast-report.findings.json | jq '.findings[]')" ]] is enough to achieve what @nexxai wants?
I noticed that this file has his findings node empty when no error.

@crazy-matt sure that is a fair assumption. However, note that the particular json is for NG SAST which is a ShiftLeft commercial product. In contrast, SARIF file format is generic and vendor independent. Perhaps, slscan could create another file with just the summary information which could be used for your use case?

@prabhu thanks for the answer, I learnt about the NG product line existence in the process.
Yeah that would work too. If the NG json isn't to be trusted when using the opensource version.


Add support for RecyclerView

Add Recyclerview support
Removed all unnecessary code added in previous PR.

Great. Thank you!

@tokudu why not push to maven central or after merged this ?

@tokudu are you planning to push a release?


An error occured when run babi_memnn.py in theano backend, but in tensorflow backend it's ok

Please make sure that the boxes below are checked before you submit your issue. Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Here is the code.
In theano backend, when I run babi_memnn.py, it reminds me the follow error. However, when use tensorflow backend everything is ok.
Traceback (most recent call last):
  File "babi_memnn.py", line 210, in <module>
    validation_data=([inputs_test, queries_test, inputs_test], answers_test))
  File "/home/ts/anaconda3/lib/python3.5/site-packages/keras/models.py", line 664, in fit
    sample_weight=sample_weight)
  File "/home/ts/anaconda3/lib/python3.5/site-packages/keras/engine/training.py", line 1086, in fit
    self._make_train_function()
  File "/home/ts/anaconda3/lib/python3.5/site-packages/keras/engine/training.py", line 705, in _make_train_function
    **self._function_kwargs)
  File "/home/ts/anaconda3/lib/python3.5/site-packages/keras/backend/theano_backend.py", line 884, in function
    return Function(inputs, outputs, updates=updates, **kwargs)
  File "/home/ts/anaconda3/lib/python3.5/site-packages/keras/backend/theano_backend.py", line 870, in __init__
    **kwargs)
  File "/home/ts/anaconda3/lib/python3.5/site-packages/theano/compile/function.py", line 326, in function
    output_keys=output_keys)
  File "/home/ts/anaconda3/lib/python3.5/site-packages/theano/compile/pfunc.py", line 449, in pfunc
    no_default_updates=no_default_updates)
  File "/home/ts/anaconda3/lib/python3.5/site-packages/theano/compile/pfunc.py", line 188, in rebuild_collect_shared
    (store_into, update_d[store_into]))
ValueError: ('this shared variable already has an update expression', (embedding_2_W, GpuFromHost.0))

This is now fixed.


workaround for urlparse handling of unknown schemes

background: urlparse parses url parameters and query only for a set of known schemes (http:// etc.), while synapse applications will use schemes not known to urlparse.
This workaround forces the url being parsed by urlparse to have "http://" prefix to enable parameter extraction

implemented stand-alone chopurl function in link.py ( no more python compat issue... :) )


MSL320m status incorrect

Issue with Status of MSL-320 status update shows incorrect status.  If device is exercised it wil show the correct status for approximately 1 minute and 30 seconds then the status changes back to off in Homekit while light remains on.
To Reproduce simply exercise the device,  it shows the device turning on but after 90 seconds the dislay changes back to off.
**Expected behavior is for the device to show the correct status at all times.
Logs here
[3/31/2021, 12:48:18 PM] [Meross] MSL-320 Kitchen Left - Set On: true
[3/31/2021, 12:48:18 PM] [Meross] MSL-320 Kitchen Left - Set Brightness: 100
[3/31/2021, 12:48:18 PM] [Meross] Setting power state to On for Kitchen Left
[3/31/2021, 12:48:18 PM] [Meross] MSL-320 Kitchen Left Changes pushed - {"header":{"messageId":"4596d139dcc494838930e28a49d6f244","namespace":"Appliance.Control.ToggleX","method":"SETACK","payloadVersion":1,"from":"/appliance/2007297052951390822348e1e9271921/publish","timestamp":1617209298,"timestampMs":862,"sign":"590c42986ce7cffabb29924cc12a5aec"},"payload":{}}
[3/31/2021, 12:48:18 PM] [Meross] Setting brightness to 100 for Kitchen Left
[3/31/2021, 12:48:18 PM] [Meross] MSL-320 Kitchen Left Changes pushed - {"header":{"messageId":"4596d139dcc494838930e28a49d6f244","namespace":"Appliance.Control.Light","method":"SETACK","payloadVersion":1,"from":"/appliance/2007297052951390822348e1e9271921/publish","timestamp":1617209298,"timestampMs":880,"sign":"590c42986ce7cffabb29924cc12a5aec"},"payload":{"light":{"rgb":-1,"capacity":4,"channel":-1,"temperature":-1,"luminance":100,"transform":-1}}}
[3/31/2021, 12:48:19 PM] [Meross] MSL-320 Kitchen Right - Set On: true
[3/31/2021, 12:48:19 PM] [Meross] MSL-320 Kitchen Right - Set Brightness: 100
[3/31/2021, 12:48:19 PM] [Meross] Setting power state to On for Kitchen Right
[3/31/2021, 12:48:19 PM] [Meross] MSL-320 Kitchen Right Changes pushed - {"header":{"messageId":"185400ab0080a37de559865061f1d6e8","namespace":"Appliance.Control.ToggleX","method":"SETACK","payloadVersion":1,"from":"/appliance/2007293067613790822348e1e92717af/publish","timestamp":1617209299,"timestampMs":586,"sign":"ace0fa2951287432fd591371989852be"},"payload":{}}
[3/31/2021, 12:48:19 PM] [Meross] Setting brightness to 100 for Kitchen Right
[3/31/2021, 12:48:19 PM] [Meross] MSL-320 Kitchen Right Changes pushed - {"header":{"messageId":"185400ab0080a37de559865061f1d6e8","namespace":"Appliance.Control.Light","method":"SETACK","payloadVersion":1,"from":"/appliance/2007293067613790822348e1e92717af/publish","timestamp":1617209299,"timestampMs":603,"sign":"ace0fa2951287432fd591371989852be"},"payload":{"light":{"rgb":-1,"capacity":4,"channel":-1,"temperature":-1,"luminance":100,"transform":-1}}}
[3/31/2021, 12:50:10 PM] [Meross] MSL-320 - Reading <IP_ADDRESS>/status
[3/31/2021, 12:50:10 PM] [Meross] MSL-320 Kitchen Right refreshStatus - {"header":{"messageId":"185400ab0080a37de559865061f1d6e8","namespace":"Appliance.System.Online","method":"GETACK","payloadVersion":1,"from":"/appliance/2007293067613790822348e1e92717af/publish","timestamp":1617209410,"timestampMs":25,"sign":"4e06cffbd35da08f8a9a200431e2e96f"},"payload":{"online":{"status":1}}}
[3/31/2021, 12:50:10 PM] [Meross] Retrieved status unsuccessfully.
[3/31/2021, 12:50:10 PM] [Meross] Retrieved status unsuccessfully.
[3/31/2021, 12:50:10 PM] [Meross] Retrieved status unsuccessfully.
[3/31/2021, 12:50:10 PM] [Meross] Retrieved status unsuccessfully.
[3/31/2021, 12:50:10 PM] [Meross] MSL-320 - Reading <IP_ADDRESS>/status
config.json here
{
"name": "Meross",
"devices": [
{
"name": "Kitchen Right",
"model": "MSL-320",
"deviceUrl": "<IP_ADDRESS>",
"messageId": "185400ab0080a37de5598650********",
"timestamp":<PHONE_NUMBER>,
"sign": "0a1cdd3fa3420f94474ffbe61********"
},
{
"name": "Kitchen Left",
"model": "MSL-320",
"deviceUrl": "<IP_ADDRESS>",
"messageId": "4596d14838930e28a49",
"timestamp":<PHONE_NUMBER>,
"sign": "97d8124476a4d98bcc3a*"
}
],
"refreshRate": 300,
"pushRate": 1,
"platform": "Meross"
}
Environment:
Node.js Version  v14.16.0
NPM Version  v6.14.11
Homebridge Version : 1.32
Homebridge Meross Plugin Version 5.0.2
Operating System: Raspbian

Any movement on this issue?

If this is still an issue i can look into a fix in beta version of this plugin

I’ll I have to take a look after reinstalling to see if it’s still in issue. Plug-in has been changed lately so it might be better


A question about curve fitting using Fit

I need to fit a curve to a bunch of data, and I know that the theoretical function of the curve is
y=aSin(bx+c)
The implementation code is attached。Everything seems to work fine after the program runs and solves the problem. However, the third parameter about Curve is very difficult to understand. My function is three variables, and the parameters that need to be brought in here should be only three. The method signature is as follows:
Func<double,double,double,double,double>
actually the method needed here is:
Func<double,double,double,double,double,double>
For this reason my function method is defined as follows:
double MyFunction1(double s, double a, double b, double c, double x)
where the first parameter double s is not used at all, just to match the definition requirements.
My question is: What is the purpose of having an extra input parameter here for the function method definition requirement than the actual variable?
CODE：
public class CurvePageViewModel
{
private double s = 0;
    private void Invalidate()
    {
        int Count = 200;
        double[] SampleX = new double[Count];
        double[] SampleY = new double[Count];

  //LoadData
  //......

 //Request a solution
        var result = Fit.Curve(
             SampleX,
             SampleY,
             (a, b, c, x) => MyFunction1(s, a, b, c, x),
             initialGuess0: 1,
             initialGuess1: 1,
             initialGuess2: 1,
             maxIterations: 10000000);

        var Result_P0 = result.P0;
        var Result_P1 = result.P1;
        var Result_P2 = result.P2;
    }

    //y=a*Sin(b*x+c)
    private static double MyFunction1(double s, double a, double b, double c, double x)
    {
        double y= a * Math.Sin(b * x + c);
        return y;
    }
}

Hi,
I think you are misusing the API here. If you define your function as
private static double MyFunction1(double a, double b, double c, double x)

you can use it directly like this
       var result = Fit.Curve(
             SampleX,
             SampleY,
             MyFunction1,
             initialGuess0: 1,
             initialGuess1: 1,
             initialGuess2: 1,
             maxIterations: 10000000);

        var Result_P0 = result.P0;
        var Result_P1 = result.P1;
        var Result_P2 = result.P2;

Indeed! I made a low-level mistake, thanks for the correction.

or a bit shorter:
var (a, b, c) = Fit.Curve(
	 SampleX,
	 SampleY,
	 (pa, pb, pc, x) => pa * Math.Sin(pb * x + pc),
	 initialGuess0: 1,
	 initialGuess1: 1,
	 initialGuess2: 1,
	 maxIterations: 10000000);


Does this not work with Blazor clientside wasm?

When I try to inject the BungieApiClient it just gives me a console error about how the Operation is not supported on this platform. Is this not available on client side blazor? I had it working great on my blazor server application but for ease of deployment I ended up switching it. Is there something more I need to be doing?

I'm not sure... I'll look into this, I've never used Blazor


[WIP]give the ability to load custom renderers

The goal is to be able to swap the alpaca renderer with other kinds of renderers, namely renderers that render actual ember components to the form.
We'll use ember config to specify which renderer to use.  We'll also create a base ember component renderer that will render components.
For a sample usage, we'll pick a component library such as ember-paper to render the form.

We'd discussed (on Ember Slack) that there is another add-on (ember-frost-bunsen) that does something similar to this.  However, it seems to be corporate-backed with most decisions made in-house (instead of discussed on Github).  Seems like it would be hard to work on a common add-on.  However, it's worth looking at for some ideas 😄
Two items in particular might be of interest:

https://github.com/ciena-frost/ember-frost-bunsen/blob/master/app/templates/components/frost-bunsen-input-wrapper.hbs
https://github.com/ciena-frost/ember-frost-bunsen/blob/master/addon/components/input-wrapper.js

Thanks @acorncom, I'll take a look.
On Wed, May 18, 2016 at 5:24 PM David Baker<EMAIL_ADDRESS>wrote:

We'd discussed (on Ember Slack) that there is another add-on (
ember-frost-bunsen) that does something similar to this. However, it
seems to be corporate-backed with most decisions made in-house (instead of
discussed on Github). Seems like it would be hard to work on a common
add-on. However, it's worth looking at for some ideas 😄
Two items in particular might be of interest:

https://github.com/ciena-frost/ember-frost-bunsen/blob/master/app/templates/components/frost-bunsen-input-wrapper.hbs
https://github.com/ciena-frost/ember-frost-bunsen/blob/master/addon/components/input-wrapper.js
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/toddjordan/ember-cli-dynamic-forms/pull/36#issuecomment-220162827

Hi @toddjordan, co-worker of @jschilli here, I plan to take a look at this pretty soon. Have you made any further updates? Or do you have any additional thoughts? Thanks in advance!

@k3n Hi, awesome!  I have been doing some work on this lately and will update the branch this week (probably after some friday/saturday open source time)  I'll document my current thinking/approach on this in the issue #23

HI @toddjordan, juggling a couple things at once, but trying to keep tabs on this still. Thanks for the updates!


Better images

Hi!
These changes add two additional flags for better image-on-term support

-hr enables higher resolution images by printing two pixels for every printable character; doubling the resolution of displayed images
-24 enables 24bit color output.  This lets (on terminals like iTerm and VTE that support it) images be displayed using true colors, rather than the more limited 256 color palette.

I've attached a screen shot showing them both enabled, but they work fine independent of each other too.

Image printing method was copied from icat.
This is my first pull request, so apologies if I have made a mistake.
Let me know and I'll try and fix them :-D

omg you did an awesome improve @.@
I'm surely will check this asap. Thanks very much :+1: :+1: :+1:

This look very good. I will add some fix for Python 2 after merge this PR. Thanks again :+1:

No problem!
Glad you like it!


Moon Phase Icons

Icon name
Moon [Moon Phase] (New, Waxing Crescent, First Quarter, Waxing Gibbous, Full, Waning Gibbous, Third Quarter, Waning Crescent)
Use cases
To show the moon phase with an icon in my weather app
Design ideas

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

Duplicate of #1463


pifno refactor data part1

Refactor the code generation script with the latest changes.

Merge request looking good.


When reloading data pagination should reset

Reproduction steps:
-paginate to page 2
-reload the data and columns
Expected output:
-You should start on page 1 of the new data
Actual output:
-you are still on page 2, even if there is only 1 page of data

Just call paginate() when reloading the data - keeping this ticket around in case I come across a better way eventually


⚠ Bofrost.de has degraded performance

In 414459c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1369 ms

Resolved: Bofrost.de performance has improved in c2c75f1.


STAR-1602: Remove redundant waiting for read/write barrier when dropping a table

Looks good. Thanks!


Server crashing when shooting a bow

crash-2021-05-23_19.22.44-server.txt
If a player shoots a bow (that does a lot of damage), the server might crash, look crash log.
The player also gets a stackoverflowerror.
forge: 36.1.23
apotheosis: 4.6.0
minecraft vanilla bow:

power 5
trueshot 6
endless quiver 1
flame
mending
quick draw 3
affix for convert to magic damage is dark magic
sniper affix (damage added = 8.98)

When bow is in hand, the player gains unbreaking 1 due tue astral sorcery.
The player uses dragon arrows but he tested it with vanilla arrows without potion effect as well and the problem persists
Cheers

This crash is coming out of Discord Integration.


Fix navigator focus issues when filtering or opening items via keyboard

Bug/issue #, if applicable: 90432388
Summary
This PR tries another take at fixing the focus bug, when filtering or opening/closing items via the keyboard.
Alternative fix - https://github.com/apple/swift-docc-render/pull/89
Explanation
The PR fixes two problems:
1 - Focus getting stolen from the input, when filtering.
This is fixed by applying a boolean to enable or disable self-focus on the items. Its flipped off when you so searching or navigation, and its flipped ON, when you manually navigate.
I generally prefer to do such actions on user input instead. In this case, because we watch for changes on the isFocused prop, it was essentially focusing items, when we were just changing the focus index.
2 - Focus getting changed, from current item when closing parents above current highlighted page
This is fixed by moving the method to track the activeUID position from a watcher, to the end of the method that tracks filtered items and page changes. This was problematic, because the index on the activeUID would change, if you open/close items above it, which would trigger the watcher.
Dependencies
NA
Testing
Steps:

Start by going deep into a technology
Start filtering in the navigator. Use queries that show the current page and hide it.
Assert focus is not moving away.
Try tabbing into the list, to assert that the current page item is the one to get focused OR the first item, if the active one is not visible.
Assert that opening and closing items above/below the current active page, do not move the focus away from your current place.

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran npm test, and it succeeded
[x] Updated documentation if necessary

@swift-ci test


CSV path extensions

Description
Implement a csv extension property/function returning the path of the file represented by the given string.
Here's an example (needs improvments):
data class CsvPath(val value: String)

val String.csv: CsvPath get() = takeIf { it.endsWith(".csv") }
	?.let(::CsvPath)
    ?: CsvPath("$this.csv")

fun main(): Unit = println("file-name".csv) // CsvPath(value=file-name.csv)

Checklist

[x] Implement the extensions on NotBlankString.
[x] Implement the extensions on String.
[x] Refactor code.
[x] Update Work in progress section in changelog.

According to the Kotlin conventions about functions vs properties:

NotBlankString.csv could be a property because it will never fail
String.csv* should be a function because it will fail if the given String is blank.

But, for aligning the API, we will declare every extension as a function like so:
import kotools.string.NotBlankString

/** Returns this string as a [CsvPath] by suffixing it with a `.csv` extension. */
fun NotBlankString.csv(): CsvPath = TODO()

/** Returns this string as a [CsvPathResult] by suffixing it with a `.csv` extension. */
fun String.csv(): CsvPathResult = TODO()

/**
 * Returns this string as a [CsvPathResult] by suffixing it with a `.csv` extension,
 * or returns `null` if this string is blank.
 */
fun String.csvOrNull(): CsvPath? = TODO()

/**
 * Returns this string as a [CsvPathResult] by suffixing it with a `.csv` extension,
 * or throws a [BlankCsvPathException] if this string is blank.
 */
@Throws(BlankCsvPathException::class)
fun String.csvOrThrow(): CsvPath = TODO()

sealed interface CsvPathResult

/** Representation of a path pointing to a CSV file. */
@JvmInline
value class CsvPath(val path: NotBlankString) : CsvPathResult

object BlankCsvPathException : IllegalArgumentException("Given path shouldn't be blank."),
	CsvPathResult

Done.

Refactor code by improving the FileExtension and the CsvPathResult types.

Refactor code by improving the FileExtension and the CsvPathResult types.

The code is already clean.

[ ] Move the declarations introduced by this issue to a new kotools.csv.path package.
[ ] Flatten the state management of this issue (cf. CsvPathResult).

We will not implement the conversion of a String to a CsvPath for now.


PostgreSQL tagvalues query problem

This code:
https://github.com/fiatjaf/eventstore/blob/4c1b0497dfc1bb8050b3d0766322289225364a54/postgresql/query.go#L122
I think should change the && to @> .
Demos:

id
query
result

demo1
ARRAY[1,2,3] @> ARRAY[1,2]
true

demo2
ARRAY[1,2,3] @> ARRAY[1,4]
false

demo3
ARRAY[1,2,3] && ARRAY[1,2]
true

demo4
ARRAY[1,2,3] && ARRAY[1,4]
true

if a filter like this, I think it should query the event contain both a tag with aaa value and p tag with ppp value, just like demo1 not demo4
{
"#a": "aaa",
"#p": "ppp"
}

I may be missing something, but I think you are correct. This is a bug.


Fixing IDENTITY-3411 : SAML logout response not getting signed

Please do not merge....

fixed with https://github.com/wso2/carbon-identity/pull/757


Fixed open pin code twice

Test case:
Precondition: enabled "don't keep activities"

open app on main screen
hide app to let system kill it
open app (the pin verification must open)
hide app to let system kill the app again
open app

Result: Second pin verification fragment is shown. To use the app we must input pin code twice on both screens

This fix doesn't consider that we also should open pin verification on changePinFlow

You mean this PR is still WIP?


Updated index.css font style that will look more elegant.

Nothing seems to be changed but okay @AnuragRoy485


Work of plotBox method of Plotting class

Hello, Alex!
Yours  plotBox  method in class Plotting does not work properly, because you need to divide body_xl, body_xw, body_yl and body_yw by two before appending and subtracting them from X and Y coordinates of the car.
Regards,
Pavel.

I just define car_l and car_w as half the car length and width .
https://github.com/alexliniger/MPCC/blob/b2a2999d5541934b4eec4b30103c05681172c998/C%2B%2B/Params/model.json#L22
I went with this definition because nearly all the time you need the size of the car, you only need half the width and half the length.
Unfortunately it is not possible to add comments to the json file. Otherwise i would have added a comment.

Okay, Thank you!
Regards,
Pavel.


jit compiled closures in fori loop

Hi,
This might be misunderstanding, but the following errors:
def iterate(f, init_row, steps):
  def body_fun(step, result):
    return f(result)
  return lax.fori_loop(0, steps, body_fun, init_row)

def test_get(a,b): return iterate(lambda x: x[a], b, 10)
test_get_jit = jit(test_get)
test_get_jit(np.array([0,1,2,3]), np.array([0,1,2,3]))

/usr/local/lib/python3.6/dist-packages/jax/lib/xla_bridge.py in Constant(self, py_val)
    319       return _constant_handlers[py_type](self, py_val)
    320     else:
--> 321       raise TypeError("No constant handler for type: {}".format(py_type))
    322
    323

TypeError: No constant handler for type: <class 'jax.interpreters.partial_eval.JaxprTracer'>

I am facing a similar problem. What's the recommended workaround for the above example?

Instead of closing over values, you need to add them as formal parameters to body_fun and cond_fun and thread them through the loop carry. In other words, init_fun and body_fun shouldn't close over anything that could be traced.

Just merged #334 which should closed-over tracers in the cond/body functions of _while_loop and fori_loop. It's only lightly tested so let us know if it works!

Thanks for fixing this!
I would like to try this out. I'm working in Colab. Is there an easy way to install the master branch?
Related: how often are new releases pushed to pypi? (is there a nightly??)

We’ve just been updating pypi manually. The last update was yesterday I think. Doing a pip install —upgrade jax will do it. (The jaxlib code is just for updating XLA, which we do less frequently.)
I’m not sure if you can point pip to a git repo, but that would be useful.

Yes, pip install git+https://github.com/google/jax should work for that.


Make more tests compatible with 1.11

DI tests

Replace Enzyme with ReverseDiff in SparsityDetector tests
Remove Enzyme from SecondOrder tests
Put full-Enzyme SecondOrder backends inside Enzyme tests

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 16.20%. Comparing base (a074f88) to head (f9e08ee).

:exclamation:  There is a different number of reports uploaded between BASE (a074f88) and HEAD (f9e08ee). Click for more details.
HEAD has 38 uploads less than BASE

Flag
BASE (a074f88)
HEAD (f9e08ee)

DI
32
2

DIT
8
0

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #552       +/-   ##
===========================================
- Coverage   98.29%   16.20%   -82.10%
===========================================
  Files         108       74       -34
  Lines        4742     3074     -1668
===========================================
- Hits         4661      498     -4163
- Misses         81     2576     +2495

Flag
Coverage Δ

DI
16.20% <100.00%> (-82.28%)
:arrow_down:

DIT
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bugfixes

Fix serious annoyances with :

"Download image"
editing search folder

Perhaps NSURLDownload has to be replaced with NSURLSession as well, given that the former is considered “legacy”.

Yeah, I've given it a try, but this requires completion of current work on replacing WebView with WKWebview.
If we want to manage all downloads through a single window, it is not convenient to have some downloads use NSURLSession while legacy webviews use WebDownload

Added fix to the management of unread articles count. Cf. https://forums.cocoaforge.com/viewtopic.php?f=18&t=27109


Select Multiple Input to capture array of options

Hi there,
I have a form which has 3 select multiple inputs among other inputs. I want to be able to select multiple values from the user and push them into an array. The issue I am having is that when I select the first option it drops its 'focus' ( I am not sure if that is the correct term for it) then I can't shift/cmd+click to select other options.

This is what I want:

But, when i click 1 option it selects it and then drops it.
The code for the inputs:
`
                        <Label for="service_ids">Services:</Label>
                          <Input
                                type="select"
                                name="service_ids"
                                ref="createService"
                                id="service_ids"
                                defaultValue=""
                                value={this.state.incident.service_ids}
                                onChange={(event) => {
                                    this.onChange(event);
                                    this.getSelectValues(event);
                                }}
                                required
                                multiple
                          >
                            <option value="service1">service1</option>
                            <option value="service2">service2</option>
                            <option value="service3">service3</option>
                          </Input>
                      </FormGroup>`

onChange updates the state with the selections and getSelectValues function is supposed to push the selected options to an array.
`onChange(event) {
this.setValid(event);
let newState = {incident: this.state.incident};
newState['incident'][event.target.name] = event.target.value;
this.setState(newState);
console.log(this.state);
}
getSelectValues(event) {
let opts = [], opt;
    for (let i = 0, len = event.target.options.length; i < len; i++) {
        opt = event.target.options[i];

        if (opt.selected) {
            opts.push(opt);
        }
    }
    console.log('opts: ', opts);
    return opts;
}`

The JSON body with the formData for the post request:
`let formData = JSON.stringify({
      id: eventID,
      name: ReactDOM.findDOMNode(this.refs.createName).value,
      status: ReactDOM.findDOMNode(this.refs.createStatus).value,
      server_ids: ReactDOM.findDOMNode(this.refs.createServer).value,
      customer_ids: ReactDOM.findDOMNode(this.refs.createCustomer).value,
      service_ids: ReactDOM.findDOMNode(this.refs.createService).value,
      downtime: ReactDOM.findDOMNode(this.refs.createDowntime).value,
      start_time: ReactDOM.findDOMNode(this.refs.createStartTime).value,
      created: createdDate
    });`

I am not sure If I need to make a modification to service_ids, customer_ids, server_ids in order to hold an array.
If anyone has come across a similar thing I would appreciate you to share how you implemented it.
Thanks in advance.

I see you setting newState['incident'][event.target.name] = event.target.value; and not calling getSelectValues. event.target.value will be the last option selected and not the list of select options.
Also, I you should be pulling the value out of the selected options: opts.push(opt); -> opts.push(opt.value);
Check out this example: https://stackblitz.com/edit/reactstrap-v6-wwzerv?file=Example.js

Hi @TheSharpieOne  I updated getSelectValues with opts.push(opt); -> opts.push(opt.value); to get the value and it works as expected.
`
getSelectValues(event) {
let newState = { incident: this.state.incident };
let opts = [], opt;
    for (let i = 0, len = event.target.options.length; i < len; i++) {
        opt = event.target.options[i];

        if (opt.selected) {
            opts.push(opt.value);
        }
    }
    newState['incident'][event.target.name] = opts;
    this.setState(newState);
}

`
I still don't get what you meant by me setting newState['incident'][event.target.name] = event.target.value; and not the result in the second paragraph. Can you explain more about what needs to be changed in order to get the list of selected options. Currently it only gets the last selected option as you mentioned.

I am closing this issue, I found the answer to capture multiple values from the select multiple input and insert them in an array is to use React.createRef();  and not ReactDOM.findDOMNode().value. It seems that findDOMNode only gets 1 value.
If anyone encounters with this here is how I implemented it:
To create the reference you declare it in the constructor like this this.createService = React.createRef();
To access the reference value you can call the current attribute of the node. To build the form data for the post request you use service_ids: this.createService.current.props.value
To attach the reference to a react element like the input you need call the reference in the ref prop like this ref={this.createService}
The function to get the list of values from the input:
getSelectValues(event) {         this.setValid(event);         let newState = { incident: this.state.incident };         let target = event.target;         let name = target.name;         let opts = Array.from(target.selectedOptions, option => parseInt(option.value, 10));         newState['incident'][name] = opts;         this.setState(newState);         console.log('getSelectValues newState: ', newState);     }
reference: https://reactjs.org/docs/refs-and-the-dom.html


Make sliced models HuggingFace compatible

This PR adds the implementations for sliced Phi and Llama models to make it easy to save and load sliced models.
The models can be initialized with a given scheduler (or no scheduler for zero sparsity) and support save_pretrained and from_pretrained methods like standard HF models.

I would like to hold off merging this into main for a bit. I will work on this more (after the smaller fixes) and we can re-review.

I would like to hold off merging this into main for a bit. I will work on this more (after the smaller fixes) and we can re-review.

Any update by when the changes will be merged


Dtr relnote

Proposed changes
added a note for dtr 2.7.1
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 9ad7f9f1dd9e73cde4f42c7acbda5150b653b9b4
https://deploy-preview-9101--docsdocker.netlify.com


Fix #713 : now it is possible to create alias with tag (+) in recipient ...

now it is possible to create alias with tag (+) in recipient address with internal domain. See #713

Your PR looks fine but could you please add some test cases into the admin app? There are already test cases around aliases management so it should not be too complicated.

Your PR looks fine but could you please add some test cases into the admin app? There are already test cases around aliases management so it should not be too complicated.

It's done in my last commit.

Thanks


Space in the folder name is creating problem on Build Execution.

Description
I am trying to add react-native latest to the existing ios app. Unfortunately, the folder that is consisting of Podfile and Base xcode Project has a name with space like IFS Banking.
This is causing is directory error in FBReactNativeSpec
Version
0.70.1
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.5.1
CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Memory: 289.01 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.16.0 - /usr/local/opt/node@16/bin/node
Yarn: 3.2.0 - /usr/local/bin/yarn
npm: 8.11.0 - /usr/local/opt/node@16/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.2 - /Users/rb185264/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK:
API Levels: 26, 27, 28, 29, 30, 31
Build Tools: 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
System Images: android-25 | Google APIs ARM 64 v8a, android-26 | Android Wear Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Wear OS Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-R | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_221 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: ^18.2.0 => 18.2.0
react-native: ^0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Create any base project with space in folder name.
/Users/rb185264/Projects/mba-ios**/IFS Banking**
Snack, code example, screenshot, or link to a repository

it is saying no such a file or directory.

Can confirm there is an issue on Windows as well

Spaces are not supported in the folder name.
If you were to try to create a folder with a space with npx react-native init it would fail with:
npx react-native init "IFS Banking" --version latest
Need to install the following packages:
  react-native
Ok to proceed? (y) y
error "IFS Banking" is not a valid name for a project. Please use a valid identifier name (alphanumeric).
Error: "IFS Banking" is not a valid name for a project. Please use a valid identifier name (alphanumeric).

So you should rename your folder to remove the space.


Switch from shlib_wrap.sh to wrap.pl broke the external krb5 test

The first build where the external krb5 test was broken is 30a4cda5e0c67b4e77da4f21b7c5f27991d3367a
That is when the PR #11110 was merged.
I assume some environment variables are not set up right when running the krb5 library build and the system and local openssl is mixed up in the tests.

Ping @levitte @mspncp

Hmm, my local bisection shows that c3845ceba84aab9ddeb43f043549238fd10de63b is the first bad commit (and that 285e2991af23974761b9497f1e2a3396aa4bc440 is good)

Which seems pretty clear because it's trying to consume OPENSSL_MODULES (to set it to an absolute path) as well as set it, but it's not set anymore to be consumed.  Using the buildtop path directly ought to work, testing now...

Since wrap.pl sets OPENSSL_MODULE (unless already set), I'm not sure I understand the failure. Does it set it incorrectly, or is there some other inter-play I'm missing?

See #11499 -- the krb5 test environment needs OPENSSL_MODULE set, but we were only trying to canonicalize the path, not actually setting it, in the test spec.

Belatedly closing since #11499 got merged


vimPlugins.vim-fern: rename from fern-vim so the alias works

Description of changes
Resolves https://github.com/NixOS/nixpkgs/issues/313595

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nix-shell -p nixpkgs-review --run "nixpkgs-review pr 315596"
1 package added:
vimPlugins.vim-fern (init at 2024-05-08)

1 package removed:
vimplugin-fern.vim (†2024-05-08)

1 package built:
vimPlugins.vim-fern

I trust @GaetanLepage


Fixing #317; weird plugin transformation glitches

First, the model view matrix needs to be saved and restored around QPainter operations because Qt clears several GL variables.  Also, the image plugin needed to explicitly call glMatrixMode(GL_PROJECTION); it does a few operations on the projection matrix and was just assuming that was the current matrix mode.  Also, I added a function that plugins need to override if they want to do QPainter operations; this will eliminate unnecessary overhead for plugins that do not.

I wonder if it would be a good idea to push the current transform matrix
and all opengl attributes before calling a plugin's draw method and then
restore them afterwards to help isolate the plugins better.
On Feb 4, 2016 10:52 AM, "P. J. Reed"<EMAIL_ADDRESS>wrote:

First, the model view matrix needs to be saved and restored around
QPainter operations because Qt clears several GL variables. Also, the image
plugin needed to explicitly call glMatrixMode(GL_PROJECTION); it does a few
operations on the projection matrix and was just assuming that was the
current matrix mode. Also, I added a function that plugins need to override
if they want to do QPainter operations; this will eliminate unnecessary
overhead for plugins that do not.
You can view, comment on, or merge this pull request online at:
https://github.com/swri-robotics/mapviz/pull/318
Commit Summary

Fixing #317
Removing a leftover debug print

File Changes

M mapviz/include/mapviz/mapviz_plugin.h
https://github.com/swri-robotics/mapviz/pull/318/files#diff-0 (9)
M mapviz/src/map_canvas.cpp
https://github.com/swri-robotics/mapviz/pull/318/files#diff-1 (18)
M mapviz_plugins/include/mapviz_plugins/marker_plugin.h
https://github.com/swri-robotics/mapviz/pull/318/files#diff-2 (4)
M mapviz_plugins/include/mapviz_plugins/string_plugin.h
https://github.com/swri-robotics/mapviz/pull/318/files#diff-3 (5)
M mapviz_plugins/src/image_plugin.cpp
https://github.com/swri-robotics/mapviz/pull/318/files#diff-4 (1)

Patch Links:

https://github.com/swri-robotics/mapviz/pull/318.patch
https://github.com/swri-robotics/mapviz/pull/318.diff

—
Reply to this email directly or view it on GitHub
https://github.com/swri-robotics/mapviz/pull/318.

That's a good idea.  I've modified the code to save and restore all matrices and attributes around each plugin.  A plugin could still mess things up by popping more or less often than they push, but this should still help to keep them isolated from each other.


Please add swagger validation exception for error code 202

PR - https://github.com/microsoft/PowerPlatformConnectors/pull/439/checks?check_run_id=1102525157
Swagger validation is failed when partner is added an error code for '202' code. Can you please provide let us know why it is not supported.
can you please add it to swagger validation exceptions as Partner is receiving 202 for some operations of their API.

@sriyen-msft can you please look into this bug and let us know if it's still valid?

@mamurshe will look to see if this is reflected in the current version of the swagger validator.


Android: fix startUpdates API and update tests

Relevant to #54.
P.S: I really believe you should integrate linters inside project... I've lost some time trying to rebase on StyleJS changes, but eventually dropped it and rewrote everything again.

I am sorry for the stress you needed to go through. Might be that stylejs should only be used as an addition and we need eslint still

@baygeldin I created #64 to set up prettier for us so that we don't need to rely on styleJS.


Question about loss2

Hello, your work is very impressive and I learned a lot from it, thank you!
Here I have one question about loss2. I noticed that the loss2 is mutiply by 1e-4, I can understand you want to make the training faster, but may I ask why you choose this number and do you have any experience and this figure?
Another question is about the initial conditions, you didn't show them explicit in the code, does it means we do not need to think about these conditions when we use PINN for ODEs?

The initial conditions are hidden in the first loss. You can reduce the number of points there to
x_data = x[0:2]
y_data = y[0:2]

and the code still works.
I wrote (with my student) a version of this code reducing the 2nd order ODE into two 1st order ODEs, then it gets clear where the initial conditions enter. In your code the data is simply the initial position and velocity at t=0.
Regarding loos2, indeed the 1e-4 factor is weird and I was also checking that. I use:
    physics = (dx2 + mu*dx + k*yhp) / k
    loss2 = torch.mean(physics**2)

Dividing physics by k helps because the loss1 and loss2 error are now written in the same units. The 1e-4 term seems to be an implicit workaround to fix the units.
I'll put my code on gitlab soon.

Thanks, your explanation was great!
Looking for

The initial conditions are hidden in the first loss. You can reduce the number of points there to
x_data = x[0:2]
y_data = y[0:2]

and the code still works.
I wrote (with my student) a version of this code reducing the 2nd order ODE into two 1st order ODEs, then it gets clear where the initial conditions enter. In your code the data is simply the initial position and velocity at t=0.
Regarding loos2, indeed the 1e-4 factor is weird and I was also checking that. I use:
    physics = (dx2 + mu*dx + k*yhp) / k
    loss2 = torch.mean(physics**2)

Dividing physics by k helps because the loss1 and loss2 error are now written in the same units. The 1e-4 term seems to be an implicit workaround to fix the units.
I'll put my code on gitlab soon.

Thanks, your explanation was great!
Looking forward to your code!

Thanks. My version is nearly identical to the one here. The only differences are: (i) this normalization of the loss to fix the units/dimensions; (ii) a second version in terms of two 1st order ODEs (reduction of order); (iii) many comments on each step to make it as pedagogical as possible (since this is a project for students entering this research field).
My version is ready, but I want my student to develop her version on her own. So, I'll only upload to gitlab once she finishes her version. It may take a while (couple of weeks maybe), she is still at the beginning of the project.


windows-side symlinks to \wsl$... paths should start up wsl upon access

Environment
Windows build number: [run `cmd.exe /c ver`]
Microsoft Windows [Version 10.0.19041.746]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Release:        20.04
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]
Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020

Steps to reproduce

copy settings.json from windows into your linux home dir
from windows, mklink %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json \\wsl$\Ubuntu\home\%USERNAME%\settings.json
wsl --shutdown
try firing up windows terminal

WSL logs:
n/a
Expected behavior

i would expect windows terminal to fire up with my settings now located in wsl
Actual behavior

windows terminal error dialog stating "Encountered errors while loading user settings".
Background
i currently have my windows terminal settings.json file (%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json) linked to my dotfiles in wsl (dir output:  settings.json [\wsl$\Ubuntu\home\razamatan.dotfiles\settings.json]).
since wsl2 switched to vhd's, if i try to open terminal w/o starting wsl to load the vhd, i get the "Encountered errors while loading user settings" error dialog. i have to remember to always start wsl to allow wt to be able to read from this (and any other) symlink to \wsl$ files.
it would be great to automatically load wsl if trying to access any symlink that points to wsl paths.

odd... having tried to repro cleanly, i moved the previous mklink created link in linux via the mv command, and then reverted things back in linux by moving the old link to the settings.json filename.  after having done this, it seems that wsl does get startup trying to access this file.
can anyone repro?  i'm trying to figure out how it was originally broken.


Fix some errors

I cancel this PR to create a new one to target branch 3.1.0.
See https://github.com/nuvolaris/nuvolaris-documentation/pull/20


Save inbound email attachments to Dropbox

When emails come to inbound parse, sometimes they have attachments
It would be nice to be able to send the files to a Box account when they are received

I'll look into this :)

Since there has been no activity on this issue since March 1, 2020, we are closing this issue. Please feel free to reopen or create a new issue if you still require assistance. Thank you!


HTTPS with auth basic

When using auth basic (htdigest) with http it works well, but the moment is used on https then is just keeps in a loop asking for the auth all the time.

Ok I will try to get some minimal config where I can still reproduce it.

logLevel = "DEBUG"
debug = true
defaultEntryPoints = ["http", "https"]

[entryPoints]
  [entryPoints.http]
    address = ":80"
    [entryPoints.http.auth.basic]
      users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]

################################################################
# Web configuration backend
################################################################

[web]
 address = ":8080"

[web.auth.basic]
users = ["test:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]

No required auth for WebUI and neither for entrypoint. :( Tested on v1.0.2 and v1.0.3 as well.

traefik:v1.1.0-rc2 works

But that is auth just on http. The setup I mean was to have HTTP redirect to HTTPS and have the auth on HTTPS
  [entryPoints.https]
    address = ":443"
    [entryPoints.https.auth.basic]
      users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]

Unfortunaly, 1.1.0-rc4 is broken. Basic authentication popup showed up, but then I see only this:

@f3l1x sorry, there is a bug in rc4 with webui (already fixed) :'( #796

@emilevauge No problem. Have you any roadmap? Cannot wait until to next release. :rocket:

@f3l1x v1.1 should be out this week or next week if no bug is found ;)

I was able to reproduce this with the following config. HTTP works fine but HTTPS returns 401:
defaultEntryPoints = ["http", "https"]
[entryPoints]
  [entryPoints.http]
    address = ":80"
    [entryPoints.http.auth.basic]
    users = ["test:$apr1$JNHCZzL/$PgzSN/asgdVPM6DoBAYVu1"]
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
    address = ":443"
    [entryPoints.https.auth.basic]
    users = ["test:$apr1$JNHCZzL/$PgzSN/asgdVPM6DoBAYVu1"]
    [entryPoints.https.tls]
[acme]
  email =<EMAIL_ADDRESS>  storage = "/etc/traefik/acme/acme.json"
  entryPoint = "https"
  OnHostRule = true

I'll close this issue, because I think the question is answered, but feel free to continue the conversation.


Update smtp2mqtt.py

Added default error handling for getting "content" from "mime_part" to account for crash due to unexpected mime type.
Messages sent using one of my devices apparently has a section with a mime-type of "multipart/related", which the mail server library used does not know how to handle, resulting in 500 Error: (KeyError) 'multipart/related'.  This PR adds a basic try/except and sets the value of multi_part['content'] to "" if parsing fails.

thank you for contributing!
could I get you to please update:
CHANGELOG.md (add an entry at the top for version 1.0.4 with a small description)
config.yaml (update version to 1.0.4)
I am sure there's a way to automate this, and I'm sure there's a way for me to add these commits to this issue myself however it'll probably be quickest & easiest if you just do a second commit, then i'll approve everything & let it build and push to dockerhub, then it should show up in HA as a new version.
Thanks!

thank you for contributing!
could I get you to please update:
CHANGELOG.md (add an entry at the top for version 1.0.4 with a small description) config.yaml (update version to 1.0.4)
I am sure there's a way to automate this, and I'm sure there's a way for me to add these commits to this issue myself however it'll probably be quickest & easiest if you just do a second commit, then i'll approve everything & let it build and push to dockerhub, then it should show up in HA as a new version.
Thanks!

Done!

config.yaml (update version to 1.0.4)

Apologies, this got lost in the shuffle - could you please bump the version in config.yaml to 1.0.4?
Thanks!

config.yaml (update version to 1.0.4)

Apologies, this got lost in the shuffle - could you please bump the version in config.yaml to 1.0.4?
Thanks!

Done!

All good, thanks for getting it merged!


Notifications colour #912B88

Notifications highlight colour should be #912B88

Fixed @LukeCX - just need to get it on stage

Failed testing - see #39

but ok on https://uksa-alpha.cxp.io/application-overview

Fixed


[Bug] Background does not cover entire screen on high aspect ratio device

Galaxy S8, Android 7
Bug affects both portrait and landscape.

Fixed in v1.4.6. Thanks @SmithsonianDSP !


Selfhost Typescript language services do not work

I've tried switching between the workspace Typescript version (3.3.1) and the shipped one (3.4.0-rc), get the same behavior:

[Info  - 2:42:02 PM] Using tsserver from: /var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib
[Info  - 2:42:02 PM] Forking TSServer
[Info  - 2:42:02 PM] Started TSServer
[Error  - 2:42:16 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:16 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:16 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:16 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:19 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:19 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:21 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:22 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:23 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:23 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:24 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:24 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:26 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:37 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:37 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:42:37 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Info  - 2:43:19 PM] Killing TS Server
[Info  - 2:43:19 PM] Using tsserver from: /home/joao/Work/vscode/node_modules/typescript/lib
[Info  - 2:43:19 PM] Forking TSServer
[Info  - 2:43:19 PM] Started TSServer
[Error  - 2:43:32 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:43:32 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:43:32 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:43:33 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:43:33 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)
[Error  - 2:43:33 PM] ReaderError
RangeError: Index out of range
	at Buffer.copy (buffer.js:635:12)
	at l.tryReadContent (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183053)
	at t.Reader.onLengthData (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183619)
	at Socket.t.Reader.constructor.e.on.e (/var/lib/snapd/snap/code-insiders/97/usr/share/code-insiders/resources/app/extensions/typescript-language-features/dist/extension.js:1:183386)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onread (net.js:636:20)

I wonder if this is related to some code we pushed because afaik this morning I was coding fine without issues...

Caused by https://github.com/Microsoft/vscode/commit/6d7959a938328efa70b93c392db2093b25b0a4f0


Move to<EMAIL_ADDRESS>

Please finish the following when submitting a pull request:

[ ] Add a line to History.md briefly documenting the change.

If this is a release, additionally do the following:

[ ] Update the dependencies in package.json
[ ] Run jlpm install to update yarn.lock

Thanks!

@ianhi can you kick this off again? I think I fixed the build issue

I wonder why it still thinks you're a first time contributor. We merged a PR from you already??
Also it look as though I was wrong in the last PR about how the automated version bumping work and we ended up on 0.13.6 instead of 0.14.0. I don't think I have adequate rights to modify settings for that, so for now we'll need to manually bump to 0.14.0 (and then get auto bumped to .0.14.1...)
Also, is this a real failure or is this warning just causing CI to be unhappy?

WARNING: Value for scheme.headers does not match. Please report this to https://github.com/pypa/pip/issues/9617
distutils: /opt/hostedtoolcache/Python/3.7.10/x64/include/python3.7m/UNKNOWN
sysconfig: /opt/hostedtoolcache/Python/3.7.10/x64/include/python3.7m

Would it help to move to using build since we aren't making an editable install?

 We merged a PR from you already??

No idea, but can you kick it off one more time? I only modified one of the github workflows last time, so I think copy/pasting it to the other should work too now.

Also, is this a real failure or is this warning just causing CI to be unhappy?

I didn't know what that was, but I don't think it is the problem.

This is good - but I can't seem to push to your fork to bump the version. I'd like to do that here before the automated release goes and makes a release of 0.13.7 so can you bump us to 0.14.0 and then I'll merge?

Version has been bumped to 0.14.0

Awesome - thanks @mlucool !


Provide method that checks for active trial or subscription

Added a convenience method to billable that checks for either an active trial, or a subscription

You're the man! 🤘

Thanks @jespr, I needed this the other day.


common/curl-p: Fix missing include

Resolves the following warning when building //common/curl-p:trit:
INFO: From Compiling common/curl-p/curl_p.c:
common/curl-p/curl_p.c:65:3: warning: implicit declaration of function 'memset_safe' is invalid in C99 [-Wimplicit-function-declaration]
  memset_safe(ctx->state, sizeof(ctx->state), 0, sizeof(ctx->state));
  ^

Test Plan:
CI passes and doesn't show this warning

gah; thanks