How to preserve file permissions in zip package

When deploying zip package to Linux function app on consumption plan using this action, the deployment was succeeded but executable permission for each file is lost.
Could you please let me know how to preserve the permissions after the deployment?
I'm trying to deploy the package including puppeteer to Linux consumption function app from this repository and it needs executable permission for the binary file chrome.
According to the action's log, the binary chrome was executable before archiving.

2020-12-06T00:03:32.7725518Z -rwxr-xr-x 1 runner docker 268577208 Dec  6 00:03 ./node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome

After the deployment, the permission is lost and it cannot become executable.
# this can be checked by /api/showchromepermission in the above my repo

The permission lost causes failure to launch chrome
The action and full log are followings.
yaml for GitHub Action
name: Deploy Node.js project to Azure Function App

on:
  [push]

env:
  AZURE_FUNCTIONAPP_NAME: puppeteerga      # set this to your application's name
  AZURE_FUNCTIONAPP_PACKAGE_PATH: '.'      # set this to the path to your web app project, defaults to the repository root
  NODE_VERSION: '12.x'                     # set this to the node version to use (supports 8.x, 10.x, 12.x)

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
    - name: 'Checkout GitHub Action'
      uses: actions/checkout@master

    - name: Setup Node ${{ env.NODE_VERSION }} Environment
      uses: actions/setup-node@v1
      with:
        node-version: ${{ env.NODE_VERSION }}

    - name: 'Resolve Project Dependencies Using Npm'
      shell: bash
      run: |
        pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
        npm install
        npm run build --if-present
        npm run test --if-present
        ls -al ./node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome
        popd
    - name: 'Run Azure Functions Action'
      uses: Azure/functions-action@v1
      id: fa
      with:
        app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
        package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
        publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}

Full GitHub Action's log
2020-12-06T00:03:09.7677286Z ##[section]Starting: Request a runner to run this job
2020-12-06T00:03:09.9550839Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-12-06T00:03:09.9550941Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-12-06T00:03:09.9551324Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-12-06T00:03:10.1008331Z ##[section]Finishing: Request a runner to run this job
2020-12-06T00:03:17.6831500Z Current runner version: '2.274.2'
2020-12-06T00:03:17.6867533Z ##[group]Operating System
2020-12-06T00:03:17.6868680Z Ubuntu
2020-12-06T00:03:17.6869163Z 18.04.5
2020-12-06T00:03:17.6869678Z LTS
2020-12-06T00:03:17.6870182Z ##[endgroup]
2020-12-06T00:03:17.6870837Z ##[group]Virtual Environment
2020-12-06T00:03:17.6871566Z Environment: ubuntu-18.04
2020-12-06T00:03:17.6872224Z Version: 20201129.1
2020-12-06T00:03:17.6873559Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201129.1/images/linux/Ubuntu1804-README.md
2020-12-06T00:03:17.6874546Z ##[endgroup]
2020-12-06T00:03:17.6877960Z Prepare workflow directory
2020-12-06T00:03:17.7720424Z Prepare all required actions
2020-12-06T00:03:17.7732627Z Getting action download info
2020-12-06T00:03:17.9846961Z Download action repository 'actions/checkout@master'
2020-12-06T00:03:20.0390907Z Download action repository 'actions/setup-node@v1'
2020-12-06T00:03:20.2143423Z Download action repository 'Azure/functions-action@v1'
2020-12-06T00:03:22.5790613Z ##[group]Run actions/checkout@master
2020-12-06T00:03:22.5791307Z with:
2020-12-06T00:03:22.5791971Z   repository: horihiro/puppeteer-permission-cicd
2020-12-06T00:03:22.5793289Z   token: ***
2020-12-06T00:03:22.5793803Z   ssh-strict: true
2020-12-06T00:03:22.5794320Z   persist-credentials: true
2020-12-06T00:03:22.5794813Z   clean: true
2020-12-06T00:03:22.5795198Z   fetch-depth: 1
2020-12-06T00:03:22.5795593Z   lfs: false
2020-12-06T00:03:22.5795973Z   submodules: false
2020-12-06T00:03:22.5796359Z env:
2020-12-06T00:03:22.5796826Z   AZURE_FUNCTIONAPP_NAME: puppeteerga
2020-12-06T00:03:22.5797422Z   AZURE_FUNCTIONAPP_PACKAGE_PATH: .
2020-12-06T00:03:22.5797886Z   NODE_VERSION: 12.x
2020-12-06T00:03:22.5798283Z ##[endgroup]
2020-12-06T00:03:23.5414567Z Syncing repository: horihiro/puppeteer-permission-cicd
2020-12-06T00:03:23.5415630Z ##[group]Getting Git version info
2020-12-06T00:03:23.5417070Z Working directory is '/home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd'
2020-12-06T00:03:23.5420670Z [command]/usr/bin/git version
2020-12-06T00:03:23.5427850Z git version 2.29.2
2020-12-06T00:03:23.5437988Z ##[endgroup]
2020-12-06T00:03:23.5439780Z Deleting the contents of '/home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd'
2020-12-06T00:03:23.5442079Z ##[group]Initializing the repository
2020-12-06T00:03:23.5443694Z [command]/usr/bin/git init /home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd
2020-12-06T00:03:23.5449421Z Initialized empty Git repository in /home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd/.git/
2020-12-06T00:03:23.5452485Z [command]/usr/bin/git remote add origin https://github.com/horihiro/puppeteer-permission-cicd
2020-12-06T00:03:23.5453906Z ##[endgroup]
2020-12-06T00:03:23.5454458Z ##[group]Disabling automatic garbage collection
2020-12-06T00:03:23.5455288Z [command]/usr/bin/git config --local gc.auto 0
2020-12-06T00:03:23.5455781Z ##[endgroup]
2020-12-06T00:03:23.5457312Z ##[group]Setting up auth
2020-12-06T00:03:23.5458205Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-12-06T00:03:23.5459694Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-12-06T00:03:23.5461344Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-12-06T00:03:23.5463655Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-12-06T00:03:23.5465712Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2020-12-06T00:03:23.5466607Z ##[endgroup]
2020-12-06T00:03:23.5467126Z ##[group]Fetching the repository
2020-12-06T00:03:23.5468827Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +eb18d606763ef6417647df90d95b8f77da64ac9a:refs/remotes/origin/master
2020-12-06T00:03:23.5470445Z remote: Enumerating objects: 27, done.
2020-12-06T00:03:23.5471046Z remote: Counting objects:   3% (1/27)
2020-12-06T00:03:23.5471615Z remote: Counting objects:   7% (2/27)
2020-12-06T00:03:23.5472167Z remote: Counting objects:  11% (3/27)
2020-12-06T00:03:23.5472738Z remote: Counting objects:  14% (4/27)
2020-12-06T00:03:23.5473292Z remote: Counting objects:  18% (5/27)
2020-12-06T00:03:23.5473859Z remote: Counting objects:  22% (6/27)
2020-12-06T00:03:23.5474411Z remote: Counting objects:  25% (7/27)
2020-12-06T00:03:23.5474977Z remote: Counting objects:  29% (8/27)
2020-12-06T00:03:23.5475690Z remote: Counting objects:  33% (9/27)
2020-12-06T00:03:23.5476242Z remote: Counting objects:  37% (10/27)
2020-12-06T00:03:23.5476906Z remote: Counting objects:  40% (11/27)
2020-12-06T00:03:23.5477472Z remote: Counting objects:  44% (12/27)
2020-12-06T00:03:23.5478034Z remote: Counting objects:  48% (13/27)
2020-12-06T00:03:23.5478607Z remote: Counting objects:  51% (14/27)
2020-12-06T00:03:23.5479154Z remote: Counting objects:  55% (15/27)
2020-12-06T00:03:23.5479717Z remote: Counting objects:  59% (16/27)
2020-12-06T00:03:23.5480267Z remote: Counting objects:  62% (17/27)
2020-12-06T00:03:23.5480831Z remote: Counting objects:  66% (18/27)
2020-12-06T00:03:23.5481381Z remote: Counting objects:  70% (19/27)
2020-12-06T00:03:23.5481941Z remote: Counting objects:  74% (20/27)
2020-12-06T00:03:23.5482491Z remote: Counting objects:  77% (21/27)
2020-12-06T00:03:23.5483224Z remote: Counting objects:  81% (22/27)
2020-12-06T00:03:23.5483780Z remote: Counting objects:  85% (23/27)
2020-12-06T00:03:23.5484350Z remote: Counting objects:  88% (24/27)
2020-12-06T00:03:23.5485001Z remote: Counting objects:  92% (25/27)
2020-12-06T00:03:23.5485517Z remote: Counting objects:  96% (26/27)
2020-12-06T00:03:23.5486230Z remote: Counting objects: 100% (27/27)
2020-12-06T00:03:23.5486907Z remote: Counting objects: 100% (27/27), done.
2020-12-06T00:03:23.5487487Z remote: Compressing objects:   4% (1/22)
2020-12-06T00:03:23.5488047Z remote: Compressing objects:   9% (2/22)
2020-12-06T00:03:23.5488619Z remote: Compressing objects:  13% (3/22)
2020-12-06T00:03:23.5489175Z remote: Compressing objects:  18% (4/22)
2020-12-06T00:03:23.5489754Z remote: Compressing objects:  22% (5/22)
2020-12-06T00:03:23.5490329Z remote: Compressing objects:  27% (6/22)
2020-12-06T00:03:23.5490889Z remote: Compressing objects:  31% (7/22)
2020-12-06T00:03:23.5491457Z remote: Compressing objects:  36% (8/22)
2020-12-06T00:03:23.5492014Z remote: Compressing objects:  40% (9/22)
2020-12-06T00:03:23.5492590Z remote: Compressing objects:  45% (10/22)
2020-12-06T00:03:23.5493157Z remote: Compressing objects:  50% (11/22)
2020-12-06T00:03:23.5493737Z remote: Compressing objects:  54% (12/22)
2020-12-06T00:03:23.5494297Z remote: Compressing objects:  59% (13/22)
2020-12-06T00:03:23.5494872Z remote: Compressing objects:  63% (14/22)
2020-12-06T00:03:23.5495447Z remote: Compressing objects:  68% (15/22)
2020-12-06T00:03:23.5496008Z remote: Compressing objects:  72% (16/22)
2020-12-06T00:03:23.5496582Z remote: Compressing objects:  77% (17/22)
2020-12-06T00:03:23.5497135Z remote: Compressing objects:  81% (18/22)
2020-12-06T00:03:23.5497707Z remote: Compressing objects:  86% (19/22)
2020-12-06T00:03:23.5498264Z remote: Compressing objects:  90% (20/22)
2020-12-06T00:03:23.5498837Z remote: Compressing objects:  95% (21/22)
2020-12-06T00:03:23.5499395Z remote: Compressing objects: 100% (22/22)
2020-12-06T00:03:23.5500026Z remote: Compressing objects: 100% (22/22), done.
2020-12-06T00:03:23.5501094Z remote: Total 27 (delta 2), reused 22 (delta 2), pack-reused 0
2020-12-06T00:03:23.5627784Z From https://github.com/horihiro/puppeteer-permission-cicd
2020-12-06T00:03:23.5629185Z  * [new ref]         eb18d606763ef6417647df90d95b8f77da64ac9a -> origin/master
2020-12-06T00:03:23.5704090Z ##[endgroup]
2020-12-06T00:03:23.5705721Z ##[group]Determining the checkout info
2020-12-06T00:03:23.5706296Z ##[endgroup]
2020-12-06T00:03:23.5706919Z ##[group]Checking out the ref
2020-12-06T00:03:23.5708291Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2020-12-06T00:03:23.5810259Z Reset branch 'master'
2020-12-06T00:03:23.5818337Z Branch 'master' set up to track remote branch 'master' from 'origin'.
2020-12-06T00:03:23.5829756Z ##[endgroup]
2020-12-06T00:03:23.5894113Z [command]/usr/bin/git log -1 --format='%H'
2020-12-06T00:03:23.5927565Z 'eb18d606763ef6417647df90d95b8f77da64ac9a'
2020-12-06T00:03:23.6119413Z ##[group]Run actions/setup-node@v1
2020-12-06T00:03:23.6119872Z with:
2020-12-06T00:03:23.6120266Z   node-version: 12.x
2020-12-06T00:03:23.6120719Z   always-auth: false
2020-12-06T00:03:23.6121096Z env:
2020-12-06T00:03:23.6121660Z   AZURE_FUNCTIONAPP_NAME: puppeteerga
2020-12-06T00:03:23.6122168Z   AZURE_FUNCTIONAPP_PACKAGE_PATH: .
2020-12-06T00:03:23.6123120Z   NODE_VERSION: 12.x
2020-12-06T00:03:23.6123481Z ##[endgroup]
2020-12-06T00:03:23.7178836Z [command]/opt/hostedtoolcache/node/12.20.0/x64/bin/node --version
2020-12-06T00:03:23.8586454Z v12.20.0
2020-12-06T00:03:23.8606809Z [command]/opt/hostedtoolcache/node/12.20.0/x64/bin/npm --version
2020-12-06T00:03:24.4434245Z 6.14.8
2020-12-06T00:03:24.4587005Z ##[group]Run pushd './.'
2020-12-06T00:03:24.4587588Z pushd './.'
2020-12-06T00:03:24.4587993Z npm install
2020-12-06T00:03:24.4588486Z npm run build --if-present
2020-12-06T00:03:24.4589029Z npm run test --if-present
2020-12-06T00:03:24.4589851Z ls -al ./node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome
2020-12-06T00:03:24.4590647Z popd
2020-12-06T00:03:24.4634831Z shell: /bin/bash --noprofile --norc -e -o pipefail {0}
2020-12-06T00:03:24.4635380Z env:
2020-12-06T00:03:24.4635904Z   AZURE_FUNCTIONAPP_NAME: puppeteerga
2020-12-06T00:03:24.4636531Z   AZURE_FUNCTIONAPP_PACKAGE_PATH: .
2020-12-06T00:03:24.4637045Z   NODE_VERSION: 12.x
2020-12-06T00:03:24.4637460Z ##[endgroup]
2020-12-06T00:03:24.4721956Z ~/work/puppeteer-permission-cicd/puppeteer-permission-cicd ~/work/puppeteer-permission-cicd/puppeteer-permission-cicd
2020-12-06T00:03:26.3530588Z
2020-12-06T00:03:26.3540247Z ><EMAIL_ADDRESS>install /home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd/node_modules/puppeteer
2020-12-06T00:03:26.3562048Z > node install.js
2020-12-06T00:03:26.3575027Z
2020-12-06T00:03:27.3031708Z
2020-12-06T00:03:32.1249937Z Chromium (818858) downloaded to /home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd/node_modules/puppeteer/.local-chromium/linux-818858
2020-12-06T00:03:32.2191270Z npm WARN<EMAIL_ADDRESS>No description
2020-12-06T00:03:32.2264835Z npm WARN<EMAIL_ADDRESS>No repository field.
2020-12-06T00:03:32.2336300Z npm WARN<EMAIL_ADDRESS>No license field.
2020-12-06T00:03:32.2338077Z
2020-12-06T00:03:32.2376647Z added 54 packages from 75 contributors and audited 54 packages in 7.128s
2020-12-06T00:03:32.2848891Z
2020-12-06T00:03:32.2850642Z 8 packages are looking for funding
2020-12-06T00:03:32.2851668Z   run `npm fund` for details
2020-12-06T00:03:32.2852358Z
2020-12-06T00:03:32.2866170Z found 0 vulnerabilities
2020-12-06T00:03:32.2866778Z
2020-12-06T00:03:32.7582878Z
2020-12-06T00:03:32.7585936Z ><EMAIL_ADDRESS>test /home/runner/work/puppeteer-permission-cicd/puppeteer-permission-cicd
2020-12-06T00:03:32.7587402Z > echo "No tests yet..."
2020-12-06T00:03:32.7587875Z
2020-12-06T00:03:32.7627240Z No tests yet...
2020-12-06T00:03:32.7725518Z -rwxr-xr-x 1 runner docker 268577208 Dec  6 00:03 ./node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome
2020-12-06T00:03:32.7727913Z ~/work/puppeteer-permission-cicd/puppeteer-permission-cicd
2020-12-06T00:03:32.7797223Z ##[group]Run Azure/functions-action@v1
2020-12-06T00:03:32.7797767Z with:
2020-12-06T00:03:32.7798319Z   app-name: puppeteerga
2020-12-06T00:03:32.7798947Z   package: .
2020-12-06T00:03:32.7812817Z   publish-profile: ***
2020-12-06T00:03:32.7813236Z env:
2020-12-06T00:03:32.7813710Z   AZURE_FUNCTIONAPP_NAME: puppeteerga
2020-12-06T00:03:32.7814295Z   AZURE_FUNCTIONAPP_PACKAGE_PATH: .
2020-12-06T00:03:32.7814755Z   NODE_VERSION: 12.x
2020-12-06T00:03:32.7815147Z ##[endgroup]
2020-12-06T00:03:33.0583209Z ##[Initialize]
2020-12-06T00:03:33.0586869Z ##[ValidateParameter]
2020-12-06T00:03:33.0755526Z Successfully passed SCM crednetial from new publishProfile
2020-12-06T00:03:33.0762441Z ##[ValidateAzureResource]
2020-12-06T00:03:33.0765405Z Using SCM credential for authentication, GitHub Action will not perform resource validation.
2020-12-06T00:03:34.0168472Z Sucessfully acquired app settings from function app (SCM)!
2020-12-06T00:03:34.0169735Z ##[PreparePublishContent]
2020-12-06T00:03:34.0172906Z Will archive . into /home/runner/work/_temp/temp_web_package_6067574154394939.zip as function app content
2020-12-06T00:03:46.0712750Z Will use api/zipdeploy to deploy (scm credential)
2020-12-06T00:03:47.0199292Z ##[PublishContent]
2020-12-06T00:03:47.0202226Z Setting SCM_DO_BUILD_DURING_DEPLOYMENT in Kudu container to false
2020-12-06T00:03:47.0203563Z Update using Client.updateAppSettingViaKudu
2020-12-06T00:03:47.9001928Z Response with status code 204
2020-12-06T00:03:53.7477813Z App setting SCM_DO_BUILD_DURING_DEPLOYMENT propagated to Kudu container
2020-12-06T00:03:53.7479212Z Setting ENABLE_ORYX_BUILD in Kudu container to false
2020-12-06T00:03:53.7480613Z Update using Client.updateAppSettingViaKudu
2020-12-06T00:03:54.6186544Z Response with status code 204
2020-12-06T00:04:00.5242077Z App setting ENABLE_ORYX_BUILD propagated to Kudu container
2020-12-06T00:04:00.5243558Z Package deployment using ZIP Deploy initiated.
2020-12-06T00:05:28.8878013Z Deploy logs can be viewed at https://puppeteerga.scm.azurewebsites.net/api/deployments/be7da561f3974c39a19a7b4d071cdde0/log
2020-12-06T00:05:28.8882435Z Successfully deployed web package to App Service.
2020-12-06T00:05:30.5999946Z Successfully updated deployment History at https://puppeteerga.scm.azurewebsites.net/api/deployments/eb18d606763ef6417647df90d95b8f77da64ac9a1607213129742
2020-12-06T00:05:31.4270716Z Response with status code 204
2020-12-06T00:05:32.2973086Z Response with status code 204
2020-12-06T00:05:33.1667686Z Response with status code 204
2020-12-06T00:05:33.1683152Z ##[ValidatePublishedContent]
2020-12-06T00:05:33.1873948Z Post job cleanup.
2020-12-06T00:05:33.2977258Z [command]/usr/bin/git version
2020-12-06T00:05:33.3045521Z git version 2.29.2
2020-12-06T00:05:33.3089172Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-12-06T00:05:33.3133776Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-12-06T00:05:33.3415339Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-12-06T00:05:33.3454712Z http.https://github.com/.extraheader
2020-12-06T00:05:33.3464375Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-12-06T00:05:33.3511821Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-12-06T00:05:33.3833341Z Cleaning up orphan processes

FYI: Comparison to other deployment ways

publish by func command w/ --build remote
-> permissions is preserved

publish by func
-> permissions is not preserved

But it can be changed to executable.
After invoking /api/makechromexecutable in above my repo, the binary becames executable.

Dup close


Write new files only if file size is reduced

This PR slightly updated the logic when processing files through the minification process.
Currently a conditional statement tracks if the file size has been reduced but all of the files a re-written, this means that files of the same size, or even larger files could be produced.
Moving the file write commands within the conditional statement will ensure files are only written when the file size has been reduced.
Also, I have included updated package-lock.json that includes some minor dependency updates that should be no-breaking without further manual testing required.

The Dependency upgrade address (all) 6 Critical, 12 High and 7 Moderate rated vulnerabilities.


gcc version in README

README states that "gcc >= 6.4", but src/Compiler/CompilerUtils.cpp includes charconv.h , which is only available for gcc 8 or higher.

https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html
charconv is only supported since gcc 8.1.
And no uses of from_chars/to_chars in .cpp file, so we should remove the include.

@gongsu832 I let you asses if we should increase the gcc requirement

@weimingzha0  Could we close this as #2019 is expected to solve the issue?

Yes


UI Scenario: Action on Item

As a [role]
I need [function]
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given [some context]
When [action taken]
Then [outcome observed]

Action implemented at wishlist level


Fixed While uploading contract file for the project the UI view is mi…

Targets #{1687}
Description
when we were uplaoding  contract file for the project the ui view was misalgined and the  the text was overflowing

@ASHISH-KOHLI closing this PR since it is assigned to someone else.


How to make it work?

Make a tutorial on how to install this and make it properly work. I messed up with a lot of stuff so far and didn't managed to make it work.

It's pretty easy, just click the link on the readme page.
If the bot is already running on your PC it will connect, if not run the bot and they'll find eachother.
There really is nothing more to do.

It doesn't seem to work for me too.
I use docker container and I try to redirect on port 8000, what is the default port of the websocker server on pokegobot ?
Thank you

Do you mean docker for the bot? It shouldn't matter. Past bot console log here so I can see if there is something suspicious on the bot side. Also paste browser console log.
There is nothing to install or run for the ui. Just open http://openpogoui.nicontoso.eu.
Default port for socket is 8000.

The bot is in a docker container, i've mapped the port correctly but it seems the websocket server isn't started even if i've set "websocket_server": true, in the config file.
Browser console log obviously respond with a net::ERR_CONNECTION_RESET  error.
Tried to directly access to SERVERURL:8000/socket.io/?EIO=3&transport=polling&t=LQs--Zj and same error.
Is there another way to force or test the websocket server on the bot side?

Websocket_server ?
Which bot are you talking about?

I have it set to try also and I can't get it to work,  just says connecting to bot

If it doesnt work for you, you could try Google Chrome. For me it does work there.. but not in Firefox.

Should work fine on Chrome, Firefox and Edge.


RTL Support

Hello,
First, I want to thank you for your library 👍 .
Second, how can I support RTL direction on your component.
Thank you :)
Nada Gamal

Thanks for using. I need to improve it to support RTL direction, please give me some time.

Hi @nadagamal , RTL is supported now with new 1.0.6 version. Please try it.


Please replace with a clear and descriptive title

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

Describe the solution you'd like

Describe alternatives you've considered

Additional context

I want to go to netlify

Hi @Acoudgithub17, I'm not sure what's the context of this issue so I'm closing it.
If you'd like to learn more about Jamstack, see https://explorers.netlify.com/ or https://www.netlify.com/
or follow one of the issue templates


Removing Azure VM Endpoint causes Docker container to exit

I've come across something and I'm not sure if it is a bug or a feature by design.
If I create an Azure Ubuntu 14.04 LTS VM with the (latest) Docker Extension and a running app in a Docker container, when I delete the VM endpoint, the Docker container exits.  As there endpoint / port is quiet (no traffic), I'm not sure why this should cause the container to exit.  The app in the container does not have any kind of heartbeat.
Does the Docker Extension implementation check the port for a corresponding VM endpoint?

No we don't do anything special. We create the compose specification you provided using
docker-compose up -d

and do not touch the containers. If your container is exiting please use docker logs CONTAINERID to see what is going on inside your container.

Closing as it's not related the extension.


[Mac] "File" menu options disappear after accessing settings window

After opening and closing the settings window, the File menu is (empty).
Also shows (empty) on the settings menu, so I assume what's happening is the app is not switching back to the main window's File menu list.

Will investigate and push a hotfix soon.
Is the problem consistent, meaning does the File menu go empty everytime you open and close the Settings menu or is it sporadic?


Ensure wget is installed before calling it

This is, at best, an edge case, but some hyper-minimal systems don't
come with wget preinstalled.

Thanks for the PR! Merging now.


Feature request: Boxplot

I'd like to plot boxplots on the terminal along with support for multiple boxplots alongside other boxplots

So something like this, right? https://en.wikipedia.org/wiki/Box_plot#/media/File:Michelsonmorley-boxplot.svg
To be honest I'm not sure if the resolution of the terminal is good enough for this. Maybe simple error bars?
If you want you can check out the histogram function to get an idea of the challenge here.
Let me know what you think, or if you want to try to build it yourself.

will get back to you after trying it myself once.

Sounds good 👍 Closing for now, let me know once you are ready


make kind does not create $HOME/.kube/kubeadmiral/kubeconfig.yaml as expected

I followed the quick start doc, in step 3("Bootstrap Kubernetes clusters") of the prerequisites session, I run make kind command, everything went well, but no "$HOME/.kube/kubeadmiral/kubeconfig.yaml" file generated as expected, as bellows:
% KUBECONFIG=$HOME/.kube/kubeadmiral/kubeconfig.yaml kubectl config get-clusters

W0504 15:22:12.931407   22785 loader.go:223] Config not found: /Users/bytedance/.kube/kubeadmiral/kubeconfig.yaml
NAME

% ls -l $HOME/.kube/kubeadmiral/kubeconfig.yaml
ls: /Users/bytedance/.kube/kubeadmiral/kubeconfig.yaml: No such file or directory

% ls -l $HOME/.kube/kubeadmiral/

total 64
-rw-------  1 bytedance  staff  5586  5  4 11:44 kubeadmiral-host.yaml
-rw-------  1 bytedance  staff  5610  5  4 11:43 kubeadmiral-member-1.yaml
-rw-------  1 bytedance  staff  5606  5  4 11:44 kubeadmiral-member-2.yaml
-rw-------  1 bytedance  staff  5606  5  4 11:44 kubeadmiral-member-3.yaml

The generated kubeconfigs have recently been separated to multiple files. Now it should be $HOME/.kube/kubeadmiral/kubeadmiral-host.yaml instead.
Looks like we forgot to update the kubeconfig path in https://github.com/kubewharf/kubeadmiral/blob/main/docs/quickstart.md#5-wait-for-member-clusters-to-be-joined


fix: improve app

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

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


Added value= to random and repeat REST command

Yes it does work without &value=key, in that case it toggles. To specify that I want to turn it on I need &value=true instead of &true since the latter one just toggles.

Ok thanks.


Q: draw a mermaid diagram to show how a demo microservice system works

You can use mermaid markdown language to draw the diagrams in text


Compatibility with Elasticsearch 6.4.2

Hi,
I have 2 questions regarding the plugins:

I am currently using ES 6.4.2, which version of the plugin should I use?

I have tried to rebuild the plugin from source, but faced with this error:

[ERROR] Failed to execute goal on project elasticsearch-analysis-vietnamese: Could not resolve dependencies for project org.elasticsearch:elasticsearch-analysis-vietnamese:jar:6.5.3: The following artifacts could not be resolved: vn.hus:nlp-sd:jar:2.0.0, vn.hus:nlp-tokenizer:jar:4.1.1: Could not find artifact vn.hus:nlp-sd:jar:2.0.0 in central (https://repo.maven.apache.org/maven2)

Could someone please help?
Thanks for your time.

@nvson28

I am currently using ES 6.4.2, which version of the plugin should I use?

All plugins have to follow Elasticsearch version. That mean you have to build the plugin with Elasticsearch 6.4.2

I have tried to rebuild the plugin from source, but faced with this error

You have to build the vntokenizer first, follow the guide here http://duydo.me/how-to-build-elasticsearch-vietnamese-analysis-plugin/


chore: run cargo update across osmosis

What is the purpose of the change
Run cargo update across all of the Rust code in Osmosis.

it's a good thing to do, I think
learn how CI is working for rust

Testing and Verifying
This change is already covered by existing tests, and should be closed if it doesn't pass tests, or doesn't make sense to the maintainers.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes? no
[ ] Changelog entry added to Unreleased section of CHANGELOG.md? yes, shortly

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

Is this.... purposeful?
Thanks!


Remove temporary service naming scheme

What was the reason of adding this? Is it OK to take this out?

IMO it would still be better to remove the additional name and solve the linked issue some other way, because people who use UI would probably just accept the suggested naming anyway, thus back to the original problem.
I don't use UI discovery, so I'm not personally too invested in this. I only used it to try things out and noticed this. Feel free to close this if you think the naming should remain.

Unfortunately the discovery runs in the background anyhow, and unless you are using thing files yes you will have trouble if you do not remove this part.
Personally I use files so I am not affected, but it was reported here as #1 . Would prefer to have this fixed in core, but the discussion with the maintainers stalled

What about adding a additional configuration option do store either the discovered dns name or a manually entered dns/ip? This would allow the manual setting to survive.


0.2.17

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2524

Relevant Lines:
2684

💛  - Coveralls


Login Error, anybody?

(PokemonGo-Bot) Divines-MacBook-Pro:PokemonGo-Bot divinesamuel$ python pokecli.py
[2016-07-27 02:35:31] [x] PokemonGO Bot v1.0
[2016-07-27 02:35:31] [x] Configuration initialized
[2016-07-27 02:35:31] [x] The location given using -l could not be parsed. Checking for a cached location.
[2016-07-27 02:35:32] Login Error, server busy
Any solution guys? Thanks 👍
Also, i dont understand what's happening "location given using -l could not be parsed."
What should i do??

I think the logging issue is due to the PokemonGO servers are at capacity. Retry couple of times?

Please try to give location using config.json
P.S: Now my 15 bots are working perfectly :) i'm re login all not any problem

@RolfKoenders I dont think so bro.. cuz ive been trying whole day and actually i havent run the bot yet so this is gonna be my first time. I think the problem is with the location but i have no idea.
@Zgrkaralar Wow! thats impressive! I did edit my config.json and put my location there but still showing that message i really dont know why..
Actually if you guys look at the "instructions" on this website it is written below:

Google login issues (Login Error, Server busy)?
Try to generate an app password and set is as
-p ""
This error mostly occurs for those who are using 2 factor authentication, but either way, for the purpose of security it would be nice to have a separate password for the bot app.

Do you guys know what does "generate an app password" and how do you set it? BIG THANKS!

Use this link to set application password: https://security.google.com/settings/security/apppasswords?utm_source=OGB
then use the application password in your config.json
;)

It says that this setting is not available on my account :(

https://productforums.google.com/forum/#!topic/gmail/mqc2rVUZuWE

If you receive a Login Error, server busy notification upon login, then the Pokemon Go servers seems to be offline or unstable. Please try again in an hour. If issue persists, open a new issue.
/closed


Interceptor Mode

This PR adds "interceptor mode" to the TracingDriver. The "interceptor mode" is described in the README.md.
The "interceptor mode" behavior is deactivated by default, which means that the TracingDriver works in the same way as before. Only by calling TracingDriver.setInterceptorMode(true) will the "interceptor mode" be activated.
A few other modifications are a part of this PR:

Add TracingDriver.load(), which returns the TracerDriver singleton instance. The existence of this method will greatly simplify this code, which obtains the singleton instance via the DriverManager.
Lower the class version to jdk1.7.
Add assertion to validate that the expected Driver is returned from DriverManager: JdbcTest.assertGetDriver(connection).

I have bumped the version of the java-jdbc module to 0.2.0.

Pull Request Test Coverage Report for Build 179

32 of 37 (86.49%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.3%) to 46.934%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/io/opentracing/contrib/jdbc/TracingDriver.java
32
37
86.49%

Totals

Change from base Build 178:
1.3%

Covered Lines:
421

Relevant Lines:
897

💛  - Coveralls


Feat/locomotion example

There were the following issues with your Pull Request

Commit: 193ad1b87b3d19da4de94dca9be9261c2e9f215b
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com


Foundry Integration

I would like to contribute to integrate foundry . How should the architecture look like ? A different folder like hardhat would be nice I think , so user will have both options

@supernovahs This is something that we will do, but not in the first MVP.
We talked about doing npx templating, so users can select hardhat or foundry when installing.
"npx create-scaffold-eth-app" will prompt the user
I'll ping you.

Do we have foundry support?

Do we have foundry support?

Hey yes ! You can try foundry using cli:  checkout https://docs.scaffoldeth.io/quick-start/installation#option-2-beta-setup-using-npx-create-ethlatest


Javascript on b2clogin

Hi guys,
I have heard that when using b2clogin we will be able to execute javascript from our custom ui. Is this true? I have just tried with a simple alert box and it looks like B2C is still stripping it out.
Thanks

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

ID: 89933f39-e8c4-32fd-736a-9f258cbcdaba
Version Independent ID: 9560563b-23d1-c0f7-a6c0-d7526f97d93e
Content: Using b2clogin.com
Content Source: articles/active-directory-b2c/b2clogin.md
Service: active-directory-b2c
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@chrift Thanks for your feedback! We will investigate and update as appropriate.

@chrift I am not aware of any such functionality being announced. Please help with the source of your information so that I could verify with relevant team on its authenticity.

@chrift Please help with requested information.

@chrift We will now proceed to close this thread. If there are further questions regarding this matter, please open a new issue and we will gladly continue the discussion.

Based on this URL https://docs.microsoft.com/en-us/azure/active-directory-b2c/javascript-samples - you could inject JavaScript in B2C and the JavaScript works, but the login is failing for the b2clogin domain, we are using B2C with D365 Customer Portal. Following are the issues:

Login with https://login.microsoftonline.com strips off the Script but Login works
Login with https://.b2clogin.com/.onmicrosoft.com - JavaScript on Signup/Sign in page works but Login fails

Appreciate, if you could document the steps involved in configuring the b2c login site setting changes with D365 portal.
Thanks!
Chaitanya..


Do not logout on failure to retrieve locales or locale

This causes issues with alternative login method, e.g. SAML.
An error to retrieve the locale e.g. from the server should not result in a log out.

Show a dialog instead of an alert.

@RobAndrewHurst  Looks good to me!


Receiving "client tried to access password-protected page" error when trying to run GP Service in WAB.

Published a GP service and made it public.
https://nsec.esri.com/ags/rest/services/Military/FarthestOnCircle/GPServer
The GP service uses a raster, which is also shared publicly.
https://nsec.esri.com/ags/rest/services/Military/WaterMask/ImageServer
When trying to use it in Web App Builder getting this error:

Server logs indicate:
Error executing tool. Farthest On Circle Job ID: je3ba58e547054ecdb223bf5f2d15d8e1 : ERROR 999999: Error executing function. Client tried to access password-protected page without proper authorization. Failed to execute (Image Service Mask). Failed to execute (Farthest On Circle). Failed to execute (Farthest On Circle).

@elinz and @jfrygeo  - I think this is from the issues with the Portal today.

working with support to with this issue.

Working with support to deal with this issue of having an image service in a GP service. Esri Case #01688405

same as issue #777 - closing issue


Distributed training is slow

Environment info
Operating System: Ubuntu 16.4
Compiler: gcc 5.4
Package used (Python/R/Scala/Julia): Python
MXNet version: Last code
Or if installed from source: installed from source
MXNet commit hash (git rev-parse HEAD): 1a3faa
If you are using python package, please provide
Python version and distribution: Python 2.7.13 :: Anaconda custom (64-bit)
I tried to train image classification model using two servers with infiniband cards. But the speed is a little slow, just like using one server. I used the code of example/image-classifaction.
when training on one server, the training command is
python train_imagenet.py --benchmark 1 --gpus 0,1,2,3,4,5,6,7 --kv-store device --network inception-v3 --batch-size 256   --image-shape 3,299,299

the speed is
INFO:root:start with arguments Namespace(batch_size=256, benchmark=1, data_nthreads=4, data_train=None, data_val=None, disp_batches=20, dtype='float32', gpus='0,1,2,3,4,5,6,7', image_shape='3,299,299', kv_store='device', load_epoch=None, lr=0.1, lr_factor=0.1, lr_step_epochs='30,60', max_random_aspect_ratio=0.25, max_random_h=36, max_random_l=50, max_random_rotate_angle=10, max_random_s=50, max_random_scale=1, max_random_shear_ratio=0.1, min_random_scale=1, model_prefix=None, mom=0.9, monitor=0, network='inception-v3', num_classes=1000, num_epochs=80, num_examples=1281167, num_layers=50, optimizer='sgd', pad_size=0, random_crop=1, random_mirror=1, rgb_mean='123.68,116.779,103.939', test_io=0, top_k=0, wd=0.0001)
[22:35:19] src/operator/././cudnn_algoreg-inl.h:112: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
[22:35:40] src/kvstore/././comm.h:327: only 24 out of 56 GPU pairs are enabled direct access. It may affect the performance. You can set MXNET_ENABLE_GPU_P2P=0 to turn it off
[22:35:40] src/kvstore/././comm.h:336: .vvv....
[22:35:40] src/kvstore/././comm.h:336: v.vv....
[22:35:40] src/kvstore/././comm.h:336: vv.v....
[22:35:40] src/kvstore/././comm.h:336: vvv.....
[22:35:40] src/kvstore/././comm.h:336: .....vvv
[22:35:40] src/kvstore/././comm.h:336: ....v.vv
[22:35:40] src/kvstore/././comm.h:336: ....vv.v
[22:35:40] src/kvstore/././comm.h:336: ....vvv.
INFO:root:Epoch[0] Batch [20]   Speed: 1065.93 samples/sec      accuracy=0.165365
INFO:root:Epoch[0] Batch [40]   Speed: 1033.22 samples/sec      accuracy=0.989648
INFO:root:Epoch[0] Batch [60]   Speed: 1029.90 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [80]   Speed: 1029.80 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [100]  Speed: 1028.05 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [120]  Speed: 1019.75 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [140]  Speed: 1025.79 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [160]  Speed: 1027.82 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [180]  Speed: 1021.11 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [200]  Speed: 1025.14 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [220]  Speed: 1017.72 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [240]  Speed: 1021.09 samples/sec      accuracy=1.000000
INFO:root:Epoch[0] Batch [260]  Speed: 1024.25 samples/sec      accuracy=1.000000

When training with 2 servers, the command is
 python ../../tools/launch.py -n 2 --launcher ssh -H hosts python train_imagenet.py --benchmark 1 --gpus 0,1,2,3,4,5,6,7 --kv-store dist_sync --network inception-v3 --num-layers 50 --batch-size 256 --sync-dst-dir /tmp/mxnet  --image-shape 3,299,299

And the speed is
INFO:root:Epoch[0] Batch [20]   Speed: 609.31 samples/sec       accuracy=0.056920
INFO:root:Epoch[0] Batch [20]   Speed: 610.12 samples/sec       accuracy=0.050967
INFO:root:Epoch[0] Batch [40]   Speed: 608.68 samples/sec       accuracy=0.854883
INFO:root:Epoch[0] Batch [40]   Speed: 608.19 samples/sec       accuracy=0.868164
INFO:root:Epoch[0] Batch [60]   Speed: 602.48 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [60]   Speed: 603.86 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [80]   Speed: 603.11 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [80]   Speed: 603.87 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [100]  Speed: 607.30 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [100]  Speed: 606.54 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [120]  Speed: 604.53 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [120]  Speed: 602.63 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [140]  Speed: 601.27 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [140]  Speed: 603.67 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [160]  Speed: 603.64 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [160]  Speed: 602.81 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [180]  Speed: 606.20 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [180]  Speed: 606.28 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [200]  Speed: 604.40 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [200]  Speed: 604.28 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [220]  Speed: 605.54 samples/sec       accuracy=1.000000
INFO:root:Epoch[0] Batch [220]  Speed: 605.21 samples/sec       accuracy=1.000000

It seems that using distributed training with 2 servers the speed is only a little better than standalone training(600x2 samples/sec VS 1000 samples/sec).
I tried to test the IB bandwidth using iperf, it can get 24.0 Gbits/sec using 1 thread, so I think the IB's bandwidth is not the bottleneck.
Does anyone can give any suggestion about distributed training using   @@MxNet?

Your network seems too small. Is it MNIST? It doesn't make sense to train MNIST on multiple machines

@piiswrong , I am training inception-v3 using ImageNet dataset, so it's not a small network.

How does it look for dist_sync_device? Or even dist_async?

@szha , I have tried dist_sync_device, and I got almost the same result.  For dist_async, it using the async SGD, i don't think it can be comparable.

actually, the speed is decided by the slowest pc when you use "sync" mode. you can use "async" alternatively. "async" mode is the approximation on "sgd", but still can give a available result.

Mind sharing a bit more on the machines (e.g. GPU types, homogenous or heterogeneous hardware, locality, nvlink, disk I/O speed, etc.)?

@szha , every server has 8 TitanXp GPUs and 2 Intel Xeon CPU E5-2650 v2@ 2.60GHz.
The two servers are connected with IB cards.
The test is using --benchmark = 1 configuration, so there is no disk I/O operation.

@starimpact , I have tried to use 4 servers per machine, I got almost the same result.

Delete "send_buf.WaitToRead();" in line 217 of the file 'src/kvstore/kvstore_dist.h' can solve the problem.
The compute can't cover the time of data communicate in backward.

Follow @solin319 's suggestion, I change the code, now the speed seems normal. Thanks @solin319 .
@piiswrong  @mli , it that a bug of mxnet?

@leoxiaobin the speed-up can be attributed to the deletion of the barrier before send in kvstore, so it's unlikely a symptom of the bug. If you have to stay in the synchronous land, further increase to the batch size could help. Since switching to dist_sync_device doesn't help the speed, I guess the locality assumption for GPUs doesn't apply and the bandwidth among the GPUs may even be less than from your CPU to other machines (which is through IB). In this case the bottleneck is the GPU communication and IB won't help much, and you need higher ratio of compute to communication.

@szha That is not entirely true - I agree with @solin319 that this WaitToRead should not be necessary (the actual communication is done in the lambda pushed to the engine that has send_buf as read dependency, so it will wait for it to be ready). What is more, this basically delays scheduling other copies from GPU to CPU for subsequent communications, thus limiting scaling.
The PR introducing that line mentions crashes when using kvstore in imperative mode. I'm not familiar really how much does imperative way differs from symbolic as far as engine is concerned, but I don't think it should be that different that the dependencies stop working. This is definitely a bug.

Thanks, @ptrendx. @madjam for more context.

For context, that barrier was added since an operation such as:
kv.init(2, mx.nd.zeros((50, 50)))

would access memory that is not fully initialized and therefore causes a segfault.

@madjam 's test case is that send_buf maybe not ready to get data()
agree with @ptrendx that we should remove this WaitToRead. One solution is moving https://github.com/madjam/mxnet/blob/0012f7722d97238a84c33f1bee8cd2926707a7e9/src/kvstore/kvstore_dist.h#L221 into the captured function.
Can someone help contribute a PR for it?

https://github.com/apache/incubator-mxnet/issues/6975

in mxnet0.8.0 there is no "send_buf.WaitToReadd()".
lucky for me.^_^


Consider allowing stratification vars to have >8 values & aggregating

In 2/23/2022 data viz meeting, we discussed the possibility of allowing overlay variables (and potentially also facet variables) to have any number of values; for variables with >8 values, we would aggregate those not belonging to the 'top 7'. This is how mapveu is handling variables with more values than colors.
currently, we have proposed to utilize derived variables to allow variables with >8 values to be used for overlays and facets. Once this is implemented, we should revisit this ticket to see if we would additionally like to aggregate values not in the top 7

Discussed in 4/4/2022 EDA UX meeting. This would be nice to also implement for the main variable on map visualizations

this was revised from top 7 to user-selected 7 + other, and was handled in a different ticket


 (YES/NO)   Gambling/   Adault & Sex
NO

Your Email:
<EMAIL_ADDRESS>

Your Wechat:
13298401897

I Had Joined the Wechaty Developers' Home Wechat Room by Scan QRCode from README.md: (Please join the group if you are not, and then say YES at here)
YES

I understand that the Wechaty Puppet Donut is in very Early Alpha Stage, and I have the necessary engineering technics to deal with the bugs instead of just asking for support: (Please say YES, then followed by your Name at here)
YES	 Allen

Merge to #1941


Connection string option to connect is required

Not able to use Storage Explorer with IoT Edge Blob module, which was possible in earlier version 1.17.0.  This is because option to use connection string has been removed in 1.18.0
Describe the solution you'd like
Provide option to use connection string to connect with Blob Storage
Describe alternatives you've considered
Alternative to use Account Name + Key is not working as it does not capture all the necessary parameters such as "BlobEndpoint"  or  different port numbers
Additional context

@humblejay yes that was an overlooked scenario during the refresh of the connect dialog. It is coming back in 1.19 though. @JasonYeMSFT has already done the work and it will be included with that release. In the meantime, you can download older versions of Storage Explorer from here: https://github.com/microsoft/AzureStorageExplorer/releases


[Question] There was an error sending this message to your bot: HTTP status code GatewayTimeout

Bot Info

App ID: b5073eb9-0d95-4198-ac1e-53d26ab6b00e
SDK Platform: .Net
Active Channels: WebChat
Deployment Environment: Auzure Bot Service, Azure App Service

Issue Description
I developed a Bot app to upload files to Google Drive using Google API.
I registered my Bot and deployed to Azure. When I tried to connect my bot through Webchat channel I am getting error as There was an error sending this message to your bot: HTTP status code GatewayTimeout
To be more specific, error is thrown while Bot connecting to Google API.
Any help is greatly appreciated. Thank You

@premanayaki This error means there is a problem with your bot code which is preventing it from responding to the conversation.
It sounds like you may be missing some error handling or something.  You need to set up a "graceful failure" error handling scenario in your bot code to ensure that, if the Google API request fails or errors out in some other way, your bot can still handle it and respond to the user with some help text or useful error message.
If you need more help, post your code here and we can investigate.

@premanayaki There is a 15 second timeout for message processing.  Bots are expected to ack within that time.  If the Google API calls are timing out the call, you can start another thread for the processing, acknowledge the call (return status code 200), then proactively send a message to the WebChat user after the long running process has completed.

@EricDahlvang I am getting the same error. After debugging the code I can see the code executing within 3-4 seconds and context.PostAsync("xyz") is not sending the comment to messenger. It is working fine for webchat but not for messenger. Please suggest a solution

@Sandeepmahala Please open a new issue: https://github.com/Microsoft/BotBuilder/issues/new with as much information as you can provide.


Multiple SSL frontends for HAProxy

Is there a technical reason why (as far as I can tell) it's only possible to use one SSL frontend in HAProxy whereas Nginx can configure a path to cert and key per hostname?

No technical reason.  We should just need to add to the interlock data and use SNI in haproxy.

OK thanks, I'll look into it if I have enough time over the weekend

Realised this has already been implemented. HAProxy can take a directory instead of PEM file for ssl crt, and then uses the hostname to pick the correct file. So for http://test.local HAProxy would try to find a file called <cert directory>/test.local.pem.


New component and FX update

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

👷 Deploy Preview for jl-illust processing.
🔨 Explore the source changes: 2c27840d8bfe6b1add389fc0eb0fe2877f3a5c3b
🔍 Inspect the deploy log: https://app.netlify.com/sites/jl-illust/deploys/6210e324e9c76c0008ccf4f0


Curl + Query String Bug?

Still Investigating but appears if you use curl with https://www.fastly.com/blog/simplifying-authentication-with-oauth-at-the-edge type scenario and a query string you can bypass the authenticatoin.
example: www.website.com/authpage (fine redirects for accesstoken)
www.website.com/authpage?somequerystring (doesnt redirect, allows request)
Not sure yet if this is Auth0 side of fastly. Posting for visibility in case it turns out to be fastly bug.

I'll add http://www.website.com/authpage?somequerystring from a browser you get redirected , just not with curl


[backport] Use SerialIterator in train_mnist_custom_loop.py

Backport of #5519

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 1fdc04a4cd3a46cdf3fa4feb4f0e077d7116a6be, target branch v5) succeeded!

LGTM


Upgrade Guacamole deps 1.5.1

What is being addressed
With Guacamole 1.5.* the base image of guacd has move to alpine which requires a bunch of changes in the bundle.
How is this addressed

Update all Guacamole dependencies to 1.5.1 (base image, war, jar - although it's provided).
Use apk to install OS dependencies including openjdk11 (which has previously been manually installed).
Generate host RSA keys as those aren't generated automatically in alpine
Update s6 run script for guacd as it changed location
Update terraform binary and providers

/test-extended

/test-extended

/test-extended


Not my config

Hello,
3.x worked fine.
I don't know what 4.0 is opening, but is almost certainly not my nvim default configuration.
Here is how I see a file with nvim:

There are line numbers, there is lua line, the background is fully transparent and the background of kitty is started.
Here is how I see it with kitty-scrollback.nvim:

The background is black. There is no lualine. There is still barbar though.
I re-did the setup from the beginning, same result.
In my kitty.conf I have:
# kitty-scrollback.nvim Kitten alias
action_alias kitty_scrollback_nvim kitten /home/USERNAME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py

# Browse scrollback buffer in nvim
map kitty_mod+h kitty_scrollback_nvim
# Browse output of the last shell command in nvim
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
# Show clicked command output in nvim
mouse_map ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output

While checkhealth shows:

==============================================================================
kitty-scrollback: require("kitty-scrollback.health").check()

kitty-scrollback: Neovim version 0.9+ ~
- OK NVIM 0.9.5
- If you are using a version of nvim that is less than 0.10, then formatting on this checkhealth may be malformed

kitty-scrollback: kitty-scrollback.nvim version ~
- OK        `|`\___/`|`       *kitty-scrollback.nvim* @ `v4.0.0`
  =) `^`Y`^` (=
  \  *^*  /       If you have any issues or questions using *kitty-scrollback.nvim* then
  ` )=*=( `       please create an issue at
  /     \       https://github.com/mikesmithgh/kitty-scrollback.nvim/issues and
  |     |       provide the `KittyScrollbackCheckHealth` report.
  /| | | |\
  \| | `|`_`|`/\
  /_// ___/     *Bonus* *points* *for* *cat* *memes*
  \_)

kitty-scrollback: Kitty remote control ~
- OK `kitty @ ls` exited with code *0*

kitty-scrollback: Kitty data ~
- OK Kitty data available
  >lua
  {
  columns = 127,
  cursor_x = 1,
  cursor_y = 1,
  kitty_config_dir = "/home/USERNAME/.config/kitty",
  kitty_opts = {
  allow_remote_control = "yes",
  listen_on = "unix:/tmp/mykitty",
  scrollback_fill_enlarged_window = false,
  scrollback_lines = 2000,
  scrollback_pager = { "less", "--chop-long-lines", "--RAW-CONTROL-CHARS", "+INPUT_LINE_NUMBER" },
  scrollback_pager_history_size = 0,
  shell_integration = { "enabled" }
  },
  kitty_path = "/usr/bin/kitty",
  kitty_scrollback_config = "ksb_builtin_checkhealth",
  kitty_version = { 0, 31, 0 },
  ksb_dir = "/home/USERNAME/.local/share/nvim/lazy/kitty-scrollback.nvim",
  lines = 35,
  scrolled_by = 0,
  window_id = 1,
  window_title = "nvim +'KittyScrollbackCheckHealth'"
  }

kitty-scrollback: Kitty version 0.29+ ~
- OK kitty 0.31.0

kitty-scrollback: clipboard ~
- OK Clipboard tool found: *wl-copy*

kitty-scrollback: sed ~
- OK `sed -E -e s/\r//g -e s/$/\x1b[0m/g` exited with code *0* and stdout `expected`
  `sed: /usr/bin/sed`

kitty-scrollback: Kitty debug config ~
- OK `kitty0.31.0` created by ``Kovid Goyal``
  Linux raffarch 6.7.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 21 Jan 2024 22:14:10 +0000 x86_64
  Arch Linux 6.7.1-arch1-1 (/dev/tty)

  DISTRIB_ID="Arch"
  DISTRIB_RELEASE="rolling"
  DISTRIB_DESCRIPTION="Arch Linux"
  Running under: `WaylandFrozen:` False
  `Paths:  kitty:` /usr/bin/kitty
  `  base dir:` /usr/lib/kitty
  `  extensions dir:` /usr/lib/kitty/kitty
  `  system shell:` /usr/bin/bash
  `Loaded config files:`
  /home/USERNAME/.config/kitty/kitty.conf

  Config options different from defaults:
  active_tab_title_template {index}: {title[title.rfind('/')+1:]}
  allow_remote_control      yes
  background_opacity        0.9
  confirm_os_window_close   0
  enabled_layouts           ['tall:bias=50;full_size=1;mirrored=false']
  font_family               FiraCode Nerd Font Mono
  font_size                 18.0
  listen_on                 unix:/tmp/mykitty
  tab_bar_style             powerline
  tab_powerline_style       round
  tab_title_template        {index}: {title[title.rfind('/')+1:]}
  `Changed mouse actions:`
  ctrl+shift+right press ungrabbed →  combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output
  `Added shortcuts:`
  ctrl+enter →  send_text normal,application \x1b[13;5u
  kitty_mod+' →  change_font_size all -1.0
  kitty_mod+p →  layout_action bias 10 20 30 40 50 60 70 80 90
  kitty_mod+à →  move_tab_backward
  kitty_mod+è →  move_window_backward
  kitty_mod+ù →  move_tab_forward
  shift+enter →  send_text normal,application \x1b[13;2u
  `Removed shortcuts:`
  kitty_mod+p > f →  kitten hints --type path --program -
  kitty_mod+p > h →  kitten hints --type hash --program -
  kitty_mod+p > l →  kitten hints --type line --program -
  kitty_mod+p > n →  kitten hints --type linenum
  kitty_mod+p > shift+f →  kitten hints --type path
  kitty_mod+p > w →  kitten hints --type word --program -
  kitty_mod+p > y →  kitten hints --type hyperlink
  `Changed shortcuts:`
  kitty_mod++ →  move_window_forward
  kitty_mod+0 →  change_font_size all +1.0
  kitty_mod+enter →  new_window_with_cwd
  kitty_mod+g →  kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
  kitty_mod+h →  kitty_scrollback_nvim
  kitty_mod+j →  previous_window
  kitty_mod+k →  next_window
  kitty_mod+l →  next_tab
  kitty_mod+o →  layout_action bias 90 80 70 60 50 40 30 20 10
  kitty_mod+r →  set_tab_title
  kitty_mod+t →  new_tab_with_cwd
  `Colors`:
  active_border_color       #b7bdf8
  active_tab_background     #c6a0f6
  active_tab_foreground     #181926
  background                #24273a
  bell_border_color         #eed49f
  color0                    #494d64
  color1                    #ed8796
  color10                   #a6da95
  color11                   #eed49f
  color12                   #8aadf4
  color13                   #f5bde6
  color14                   #8bd5ca
  color15                   #a5adcb
  color2                    #a6da95
  color3                    #eed49f
  color4                    #8aadf4
  color5                    #f5bde6
  color6                    #8bd5ca
  color7                    #b8c0e0
  color8                    #5b6078
  color9                    #ed8796
  cursor                    #f4dbd6
  cursor_text_color         #24273a
  foreground                #cad3f5
  inactive_border_color     #6e738d
  inactive_tab_background   #1e2030
  inactive_tab_foreground   #cad3f5
  mark1_background          #b7bdf8
  mark1_foreground          #24273a
  mark2_background          #c6a0f6
  mark2_foreground          #24273a
  mark3_background          #7dc4e4
  mark3_foreground          #24273a
  selection_background      #f4dbd6
  selection_foreground      #24273a
  tab_bar_background        #181926
  url_color                 #f4dbd6

  `Important environment variables seen by the kitty process:`
  PATH                                `/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin`
  LANG                                `en_US.UTF-8`
  SHELL                               `/usr/bin/bash`
  DISPLAY                             `:0`
  WAYLAND_DISPLAY                     `wayland-1`
  USER                                `USERNAME`
  XCURSOR_SIZE                        `24`
  XDG_BACKEND                         `wayland`
  XDG_SEAT                            `seat0`
  XDG_SESSION_TYPE                    `wayland`
  XDG_CURRENT_DESKTOP                 `Hyprland`
  XDG_SESSION_CLASS                   `user`
  XDG_VTNR                            `1`
  XDG_SESSION_ID                      `3`
  XDG_RUNTIME_DIR                     `/run/user/1000`
  LC_TIME                             `en_DK.UTF-8`

Hey @10b14224cc thank you for reporting. kitty-scrollback.nvim has some options that are set by default https://github.com/mikesmithgh/kitty-scrollback.nvim/blob/main/lua/kitty-scrollback/launch.lua#L118
Particularly, vim.o.number and vim.o.laststatus that will hide line numbers and lualine.
kitty-scrollback.nvim has the option restore_options that restores the user options after setup. Could you try the following and let me know if this resolves your issues?
require('kitty-scrollback').setup({
  {
    restore_options = true,
  },
})

Regarding the background, kitty-scrollback.nvim should try to use kitty's background color if you are using the default nvim colorscheme. Otherwise, it should use your Neovim colorscheme's background color. There may be a bug or some configuration option that I am not checking causing this problem for you.
If your Neovim config is available, could you share a link to it?

Particularly, vim.o.number and vim.o.laststatus that will hide line numbers and lualine.

Actually I would prefer having lualine but hiding barbar (not useful there, right?)

kitty-scrollback.nvim has the option restore_options that restores the user options after setup. Could you try the following and let me know if this resolves your issues?

It shows lualine but the background is still black.
Also there is considerable space between window margin and lualine

If your Neovim config is available, could you share a link to it?

To set the colorscheme in nvim I do:
require("lazy").setup({
        "catppuccin/nvim"
})
[...]
vim.cmd.colorscheme("catppuccin-macchiato")
-- Set fully transparent background
-- Must be done after specifying colorscheme because it's overrode by colorscheme specification
-- To set transparency in vimL, see: https://stackoverflow.com/questions/37712730/set-vim-background-transparent/37720708#37720708
-- To port to Lua, see: https://stackoverflow.com/questions/71152802/how-to-override-color-scheme-in-neovim-lua-config-file/73370407#73370407
--]]
vim.api.nvim_set_hl(0, "Normal", {guibg = NONE, ctermbg = NONE})

For kitty:
include current-theme.conf
# Background transparency
background_opacity 0.9

and current-theme.conf is:
# vim:ft=kitty

## name:     Catppuccin Kitty Macchiato
## author:   Catppuccin Org
## license:  MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/macchiato.conf
## blurb:    Soothing pastel theme for the high-spirited!

# The basic colors
foreground              #CAD3F5
background              #24273A
selection_foreground    #24273A
selection_background    #F4DBD6

# Cursor colors
cursor                  #F4DBD6
cursor_text_color       #24273A

# URL underline color when hovering with mouse
url_color               #F4DBD6

# Kitty window border colors
active_border_color     #B7BDF8
inactive_border_color   #6E738D
bell_border_color       #EED49F

# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system

# Tab bar colors
active_tab_foreground   #181926
active_tab_background   #C6A0F6
inactive_tab_foreground #CAD3F5
inactive_tab_background #1E2030
tab_bar_background      #181926

# Colors for marks (marked text in the terminal)
mark1_foreground #24273A
mark1_background #B7BDF8
mark2_foreground #24273A
mark2_background #C6A0F6
mark3_foreground #24273A
mark3_background #7DC4E4

# The 16 terminal colors

# black
color0 #494D64
color8 #5B6078

# red
color1 #ED8796
color9 #ED8796

# green
color2  #A6DA95
color10 #A6DA95

# yellow
color3  #EED49F
color11 #EED49F

# blue
color4  #8AADF4
color12 #8AADF4

# magenta
color5  #F5BDE6
color13 #F5BDE6

# cyan
color6  #8BD5CA
color14 #8BD5CA

# white
color7  #B8C0E0
color15 #A5ADCB

@10b14224cc

Actually I would prefer having lualine but hiding barbar (not useful there, right?)

Yes, I agree barbar doesn't make much sense unless you have multiple buffers open. You could configure this in barbar like
    require('barbar').setup({
      auto_hide = 1, -- if # of buffers is <= to this, then hide barbar
      -- your config here
    })

you could also do something like
auto_hide = vim.env.KITTY_SCROLLBACK_NVIM == 'true' and 1 or -1,
or add some hooks into the after_ready callback to do something similar.

It shows lualine but the background is still black.

This is definitely a bug, I was able to reproduce with vim.api.nvim_set_hl(0, 'Normal', {}). Thanks for pointing this out, I will open an issue to fix this.

Also there is considerable space between window margin and lualine

Could you please provide a screenshot of what you are seeing?

@10b14224cc I just fixed #181, that should fix you background color issue. Also, the spacing issue I believe you saw was actually the difference in the Kitty terminal background color and Neovim's background color. That should be fixed as well if that assumption is correct.
Let me know if this fixes your issues or if you help with anything else.

@10b14224cc I just fixed #181, that should fix you background color issue. Also, the spacing issue I believe you saw was actually the difference in the Kitty terminal background color and Neovim's background color. That should be fixed as well if that assumption is correct.
Let me know if this fixes your issues or if you help with anything else.

I don't know.
I now see the background as transparent as it should be.
I also see line numbers and lualine, they were supposed to not be there, weren't they?
But most importantly, if for example I press dd the line disappears, but pressing p doesn't put it back.
If I press i, another popup shows up, sometimes with the text in nvim and sometimes not, and press <C-CR> to run it.

Also, the output of the last command include the last prompt as well (I have starship):

I think this is overshooting it.
I really don't need my nvim config there.
Once upon a time I pressed the keybinding for the current buffer, the windows flashed a bit and I could use my nvim keybindings directly in the buffer, and after yanking what I needed it inserted the text in a new prompt.
I liked the old way better. I really don't need all this features.

Sorry, the popup that is being opened with i is always empty. So I don't have the text in nvim there.
How do I modify the output of the last command before running it?

Sorry, the popup that is being opened with i is always empty. So I don't have the text in nvim there.
How do I modify the output of the last command before running it?

i just opens the paste window, you need to select the text you want by yanking it and it should open in the paste window. Then, modify the command and execute.

This last command is whatever kitty returns from kitty @ get-text --extent=last_cmd_output. You can test this by commenting out map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output in your kitty.conf, reloading, and then pressing kitty_mod+g. This will open in kitty's default scrollback pager less. The results should be the same.

Yes, it returns the prompt as part of the output.
So is this a kitty bug?

This last command is whatever kitty returns from kitty @ get-text --extent=last_cmd_output. You can test this by commenting out map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output in your kitty.conf, reloading, and then pressing kitty_mod+g. This will open in kitty's default scrollback pager less. The results should be the same.

Yes, it returns the prompt as part of the output.
So is this a kitty bug?

Yep that would be an upstream bug in Kitty.

Hey @10b14224cc, I am closing this issue. Feel free to reopen or create a new issue if you have any other problems.

I don't understand how it works anymore.
I run
echo "hello"
echo "bye"

I type CTRL+SHIFT+G and I get this:

How do I select and copy the bye?
<Space>y types . y, so I don't understand if it's yanking and if so why it is typing.

Once upon a time with previous versions of kitty-scrollback.nvim the cursor stayed in the terminal, and I could move it using vim-keybindings.
Now it is opening a new window and I don't understand how to use it.

I think my vim keybindings are conflicting with that <Space>y maybe?

I type CTRL+SHIFT+G and I get this:

Hey @10b14224cc thanks for letting me know. That is not expected behavior. So, the window are you seeing is the "paste window". That should only be opened when you yank text from the buffer or enter insert mode.
It seems like something may be automatically triggering insert mode in this case causing the paste window to open.

y types . y, so I don't understand if it's yanking and if so why it is typing.

The "paste window" is in insert mode, so it is entering your text. You should be able to hit escape to enter normal mode, then escape to go back to the scrollback buffer. But, still this shouldn't happen automatically like you are seeing.
<Space>y means that if you yank anything using your leader key <Space> it will copy that text to the clipboard and exit kitty-scrollback.nvim.
Could you do two things for me?
1. Try updating the action_alias line in kitty.conf similar to:
action_alias kitty_scrollback_nvim kitten /your/path/here/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --nvim-args --clean --noplugin -n

Then reload your Kitty config with ctrl+shift+f5 (⌃ + ⌘ + , on macOS)
The args --nvim-args --clean --noplugin -n will open a clean nvim without your config or plugins.
Please let me know if this works. If this works, then we can try to hunt down what is causing the paste window to open automatically.
2. If you nvim config is available on github, could you share the link so I could take a look?

The args --nvim-args --clean --noplugin -n will open a clean nvim without your config or plugins.
Please let me know if this works. If this works, then we can try to hunt down what is causing the paste window to open automatically.

Yes with this it opens the buffer, and after I yank it opens the "paste window"

If you nvim config is available on github, could you share the link so I could take a look?

It is not available on github, but now that I think about it, maybe this section of my init.lua is relevant?
-- when switching to a terminal window, automatically switch to insert mode
-- see: https://vi.stackexchange.com/a/43781/36430
vim.api.nvim_create_autocmd({ "TermOpen", "BufEnter" }, {
    pattern = { "*" },
    callback = function()
        if vim.opt.buftype:get() == "terminal" then
            vim.cmd(":startinsert")
        end
    end
})

@10b14224cc could you try?
vim.api.nvim_create_autocmd({ 'TermOpen', 'BufEnter' }, {
  pattern = { '*' },
  callback = function()
    if vim.env.KITTY_SCROLLBACK_NVIM ~= 'true' and vim.o.buftype == 'terminal' then
      vim.cmd(':startinsert')
    end
  end,
})

I was able to reproduce the issue you were seeing, and kitty-scrollback.nvim is in a broken state due to that unexpected insert mode.

oh yes it works now. Many thanks.

oh yes it works now. Many thanks.

awesome!


Patch 1

Fixed typo that leads to problem when compiling on a case sensitive platform.

Q
A

Bug fix?
[X ]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Just fixed a casing-typo in the documentation that leads to problems when compiling on case-sensitive platforms.

Thank you @Leif-Frederiksen for the fix


Fetch roles and permit at login and do entity permission to permit mapping on frontend

Resolves: #1066
Part 1
At login, fetch all roles and permits available to the user.  By fetching all of the roles and permits available to a user at login time, the set of permits based on an entity's permission set can be calculated on the front end without having to fetch the permits directly.
We can't fetch the set of permits directly when requesting an entity since the permits are on the 3rd tier down from the entity and the REST 'follow' parameter doesn't traverse that far down. See BZ1639784
Now, we can fetch an entities permissions and cross reference each permission's role with the one in the redux store and build a permit list from there without having to go back to the API.
Part 2
Refactor user permission / permit / 'canUser*' calculations.  Each entity's permits can be checked without an additional REST call since they're already loaded in redux state.
Note: This is currently only applied to redux data fetched during
login.  VM and Disk fetches will need to be updated in a similar
fashion in future.
The authorization (permit/canUser*) refactoring has been applied to:

Clusters
Templates
Vnic Profiles
Data Centers
Storage Domains

Summary of changes:

Refactor the redux read-only fetches to base-data.js

User permits are calculated from entity permissions + user groups
(fetched at login) + roles (fetched at login).  Entity permissions
map through the user and groups to roles and permits.   A user's
authorization to access or perform a function is based on their
net permits.

@bond95, @michalskrivanek, @sgratch - I think this technique may be a viable way to reduce the number of REST calls we need to make.  Currently, for every entity we want to check permits, the permissions (with roles and permits followed) are fetched directly.  With this PR, I'm prefetch all the roles and each entity can just add a follows=permissions, cross reference in the fetch saga and be done.
Any thoughts on why this wouldn't be a valid way to go?

it would certainly help a lot!

@bond95 - What do you think about this approach instead of the extra calls that are currently being doing (like in #1019)?

What kind of difference does this change make?  Hitting the brq-dev engine, I have the following numbers from initial app request to the APP_CONFIGURED action:

Code Base
XHR Req Count
XHR Size
Load time

master
46
99.7 KB
16.4s

this pr
24
44.1 KB
11.3s

The request count and size different is due to not requesting each entities's permits explicitly.  The number will vary depending on how many things each user has access to in their environment.  Given that caveat, for admin @ brq-dev, it is a 52% request count reduction, 44% request size reduction and 68% of the original time taken.  Decent changes!

ci test please

(rebased)

(rebased)

(rebased)

(rebased)

(rebased)

ci build please

ci test please

ci build please

LGTM


Update matter.d.ts

This PR adds a missing property to the MatterJS BodyType type.
Describe the changes below:

I added BodyType.deltaTime: number to match property change as described here: https://github.com/photonstorm/phaser/discussions/6452

👍


[Task] Harvester v0.3.0 release checklist

What's the task? Please describe.
Action items for releasing v0.3.0 & RC releases
Describe the items of the task (DoD, definition of done) you'd like.

[x] decide if we'd like to ship with a customized kernel for https://github.com/harvester/harvester/issues/1342
[x] bump the embedded rancher server to the latest v2.6.1-harvester2 release.
[x] upgrade the installer with newOS:

[x] verify new support bundle-kit.
[x] verify the harvester-network-controller is compatible with both RKE2 and newOS.

[x] bump longhorn to the v1.2.2 latest release. https://github.com/harvester/harvester/pull/1383
[x] verify multi-cluster and multi-tenant features by importing the Harvester cluster to the central rancher.

[x] using https://releases.rancher.com/harvester-ui/dashboard/latest/index.html to replace the deafult ui-dashboard-index before this PR is merged.

[x] update the README file of the harvester main repo
[x] verify air-gap environment installation (release note to specify the supported scope).
[x] verify harvester related repos:

[x] harvester-network-controller
[x] node-disk-manager
[x] harvester-cloud-provider
[x] harvester-load-balancer
[x] harvester-upgrade-responder
[x] harvester-csi-driver
[x] docker-machine-driver
[x] terraform-provider
[x] tag rancher/harvester-os:$tag -> dev-head https://github.com/harvester/os2

[x] make sure the charts of harvester/charts is bumped accordingly.
[x] update harvester v0.3.0 related documentations https://github.com/harvester/harvester/issues/1347
[x] switch v0.3.0-dev doc to v0.3.0 and make it the default page.
[x] make sure the e2e test passes all the testing cases.
[x] add v0.3.0 release note.

close in favor of https://github.com/harvester/harvester/releases/tag/v0.3.0


Fix Detect Blake3 Test

The previous target did a large refactor where they now call into the WASM implementation of Blake3. Switching the target for the test to be the cargo for that implementation.

Test failure is unrelated. Rerunning.

It seems to me that the cause of the test failure is an issue with accessing data from libraries.io. That test was not modified by this PR.

I also bumped dependencies, we had quite a few out of date dependencies.

It seems to me that the cause of the test failure is an issue with accessing data from libraries.io. That test was not modified by this PR.

I've been running into a lot of issues with that, is there any way we can set up a retry policy or something? Or just disable the tests for now?
I need a few retries for it to work.

I’ve seen Polly recommended for such scenarios. Perhaps we should reevaluate if libraries.Ivo can be replaced with something else if it’s consistently unreliable.
https://github.com/App-vNext/Polly
On Mon, Oct 24, 2022 at 12:48 PM, Julian @.***> wrote:

It seems to me that the cause of the test failure is an issue with accessing data from libraries.io. That test was not modified by this PR.

I've been running into a lot of issues with that, is there any way we can set up a retry policy or something? Or just disable the tests for now?
I need a few retries for it to work.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I’ve seen Polly recommended for such scenarios. Perhaps we should reevaluate if libraries.Ivo can be replaced with something else if it’s consistently unreliable. https://github.com/App-vNext/Polly
…
On Mon, Oct 24, 2022 at 12:48 PM, Julian @.> wrote: > It seems to me that the cause of the test failure is an issue with accessing data from libraries.io. That test was not modified by this PR. I've been running into a lot of issues with that, is there any way we can set up a retry policy or something? Or just disable the tests for now? I need a few retries for it to work. — Reply to this email directly, [view it on GitHub](#360 (comment)), or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

We use Polly, I'd be happy to implement it eventually here if you'd like.

Sure that would be great. I have no objection to adding retries. Would be happy to discuss planning for what layer to deploy it and how it is configurable.


Compile error with LCC_API_HW_IDENTIFICATION_STRATEGY unknow type

Could you please change src/templates/licensecc_properties.h.in:

enum LCC_API_HW_IDENTIFICATION_STRATEGY {...};

to

typedef enum {...} LCC_API_HW_IDENTIFICATION_STRATEGY;

?

please leave some detail of the environment you're using.


docs: use a processor to transform the operator decision tree data

Description:
This PR moves the generation of the decision tree into a dgeni processor, so that the decision tree will be generated as part of the documentation generation.

Related issue (if exists):
None

Hey @tmair ! I really appreciate all of this good work. Generally, I'm not the one that reviews anything to do with the docs app, so I've been deferring to @jakovljevic-mladen and @niklas-wortmann for that. This seems like a nice add though.

I have one comment regarding a file rename; everything else looks great. Also, conflicts need to be resolved.

I rebased the PR and addressed the comment about the renaming of the file.


Small fixes/improvements/pieces of work/changes in the earn apps

This pull request includes several changes across different files to enhance the UI, improve chart formatting, and update styles. The most important changes include adding a background image to the EarnNetworkVaultsPage, updating chart types and formatters, and modifying styles for various components.
UI Enhancements:

apps/earn-protocol/app/earn/[network]/page.tsx: Added a background image to the EarnNetworkVaultsPage and updated the return statement to include the background container. (apps/earn-protocol/app/earn/[network]/page.tsxR3-R13, apps/earn-protocol/app/earn/[network]/page.tsxL23-R35)

Chart Updates:

apps/earn-protocol/components/organisms/Charts/components/Comparison.tsx: Changed the chart type from basis to natural for smoother curves. [1] [2]
apps/earn-protocol/components/organisms/Charts/components/Yields.tsx: Updated the YAxis and Tooltip to use the new formatChartPercentageValue function for better percentage formatting. [1] [2] [3] [4]
apps/earn-protocol/features/forecast/chart-formatters.ts: Added formatChartPercentageValue function to format chart percentage values more accurately. [1] [2]

Style Modifications:

apps/earn-protocol/components/layout/MasterPage/MasterPage.module.scss: Updated the background container styles for better positioning and layering.
apps/earn-protocol/components/molecules/SidebarElements/ControlsApproval.module.scss: Added display: inline-block to .approvalText for better layout control.
packages/app-earn-ui/src/components/layout/VaultGrid/VaultGrid.module.scss: Added position: relative and z-index to .vaultGridWrapper for proper stacking context.
packages/app-earn-ui/src/components/organisms/PortfolioPosition/PortfolioPosition.module.scss: Added .positionWrapper class for full-width styling.
packages/app-earn-ui/src/components/organisms/PortfolioPosition/PortfolioPosition.tsx: Wrapped the main div in PortfolioPosition with the new .positionWrapper class.

Minor Updates:

sdk/subgraph-manager-common/src/queries/vaults.graphql: Removed cumulativeDeposits and cumulativeWithdrawals fields from the GetVault query.

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

Please upload report for BASE (dev@0043f7e). Learn more about missing BASE report.
Report is 1 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #592   +/-   ##
======================================
  Coverage       ?   69.40%
======================================
  Files          ?       25
  Lines          ?      268
  Branches       ?       19
======================================
  Hits           ?      186
  Misses         ?       81
  Partials       ?        1

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


Uninstall Cilium Completely

I ran this command to uninstall Cilium since my kernel does not meet the requirement.
kubectl --namespace kube-system delete ds cilium
But I am getting this error
Warning  FailedCreatePodSandBox  52m  kubelet, k8s-node-1  Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "cc28ec6aaf65c6267067a75d13ab2c2ce92112e9b47d155f2c9117779e913b66" network for pod "grpc-hello-client-864496cc65-6rdqs": NetworkPlugin cni failed to set up pod "grpc-hello-client-864496cc65-6rdqs_default" network: unable to retrieve configuration from cilium-agent: Get http:///var/run/cilium/cilium.sock/v1/config: dial unix /var/run/cilium/cilium.sock: connect: no such file or directory
Is the agent running?
Normal   SandboxChanged          25m (x142 over 54m)  kubelet, k8s-node-1  Pod sandbox changed, it will be killed and re-created.
Warning  FailedCreatePodSandBox  20m (x158 over 51m)  kubelet, k8s-node-1  (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "8b8f16e354055d27c62fb22e9596d94a092fec3e0f8f5d4b027e7eee46da0c7e" network for pod "grpc-hello-client-864496cc65-6rdqs": NetworkPlugin cni failed to set up pod "grpc-hello-client-864496cc65-6rdqs_default" network: unable to retrieve configuration from cilium-agent: Get http:///var/run/cilium/cilium.sock/v1/config: dial unix /var/run/cilium/cilium.sock: connect: no such file or directory

The CNI configuration is left behind and you need to remove it from the node.


fix typos in rmodels, rshapes, rtext modules

Found around 6 comment typos in rmodels, rshapes, and rtext modules.
I accidentally undid these changes (and more I believe) at one point so there may be something I missed. If thats the case then let me know.
rmodels:

'dyamond' > diamond
'verted' > vertex
'attibute' > attribute
(not a typo but im lengthening it just in case, so it doesnt get confused with quad) 'quat' > quaternion

rshapes:

'missused' > misused

rtext:

'fo' > to

@RadsammyT thank you very much for the fixes! 👍😄


Fix area code 310 problem

Fix US Area Code 310 (LA) issue
(same as https://github.com/iziz/libPhoneNumber-iOS/issues/30)

thank you. Update metadata 0.9.7

Hi @iziz
I updated to 0.9.10
Area code 310 is not fixed in that version... Somehow I'm only able to get 4 digits after 310 and it switched to Canada
Cliff

You can check phone number validation using below link. https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html
Please report, if the above results are different from this iOS library. Otherwise, please create issue to following link below to request additional telephone numbers formatting rule. https://github.com/googlei18n/libphonenumber/issues
Metadata in this library was generated from that. so, you should change it first. :)


[TW-396] Update ForageConfig and setForageConfig kDoc comments

What

This PR updates comments for ForageConfig and setForageConfig.
Why

Improving documentation hopefully makes the SDK easier to use.
Test Plan

❌ |  No unit tests, because this PR only changes comments.
✅ |  The reviewer should manually test the changes in this PR.

To test, checkout my branch and run:
.gradlew dokkaHtml
npx http-serve reference-docs

Demo

This PR looks good! Nice work all!


CCE-500: Changed the "Add Button" outside the table, to be consistent…

… with out pattern on the components page

Since this is a small change I will merge it. Also need the updated table to continue with the next issue CCE- 548


labels

HI
I can't understand , how to properly mark up indicator-labels i.e prepare images for training?
thanks

see this https://github.com/Xx-Ashutosh-xX/CNN-TA#22-labelling

thx, can you provide your labeled pic, for education?
thx!

Check this out : https://github.com/Xx-Ashutosh-xX/CNN-TA/tree/main/Graphs/sample
I was planning to add them but totally forgot about it.


Removes $ from word_separators Fixes #457

Prevents '$' from breaking completions.
Also allows proper word selections when variables contain $ within them.

Hi @subhaze, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

:+1: Thanks!


change coder.local to an another custom word

Hi there, I am working on coder v0.6 two weeks ago and I would like to change the "coder.local" to "customword.local".
Is there a few lines to change in code to make this real ?
If changes the code to do this, also will change in terminal the pi@coder to pi@customword ?

Hi there, have tried this also however seems like it is being overwritten back to default each time on reboot - not sure what's doing that, any ideas? @morpheusu did you manage to have success with this?

Hi,
If you look in /boot, you'll see a folder that is named something like coder or coderdeafults.  Poke around in there (only a couple of files), and you'll see one that contains the default hostname.  Change it there also.

Ok, I just took a look, the folder name is "coder_settings", in that folder, there is a file named hostname.txt that must be changed.  I think they set it up this way so that you could put the sd card into a windows computer and change the settings, with out having extra software that would allow you to mount the ext4 partition.  It's a neat trick, I only wish there were more things that one could set up this way.


Stamped out objects should have "template-name" and "template-kind" labels

"I want to discover created objects through their labels."
Given a *Template
When an object is created from the object
Then the object has a label whose key "carto.run/template-name" has the value of the template name
And the object has a label whose key "carto.run/template-kind" has the value of the template kind

Examples:
apiVersion: carto.run/v1alpha1
kind: ClusterSourceTemplate
metadata:
  name: some-git-template
spec:
  urlPath: .data.some-data
  revisionPath: .data.some-data
  template:
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: test-configmap-source
    data:
      some-data: the-Data-on-the-enterprise

will pair with a workload-supplyChain to create
apiVersion: v1
kind: ConfigMap
metadata:
  name: test-configmap-source
  labels:
    ...
    kontinue.io/template-name: some-git-template
    kontinue.io/template-kind: ClusterSourceTemplate
...

Notes:
Bug
The current implementation adds a label for the template name, but hardcodes the key as carto.run/cluster-build-template-name.
Future work
Once we have non-cluster scoped templates we will need to add template-namespace.

This is already done.

This is already done.


User interface : timelines

Create appealing and combinable graphic elements for:

Timeline (colored frame; advanced: rounded corners; from the controller accepts "overall width" that will be used as a reference for placement (for now manually type anything to make it very wide and scrollable on the right), also accepts "startdate" and "enddate" that will be shown on the left and right as labels, also accepts "node list")
Nodes (colored inline-elements of the timeline, make them lines with markers, has a label - use 'node1' etc for tests)
Milestones (round points with labels that are placed on top of the nodes)

Indications:

write the blade view, combine timeline view and node view elements.
edit only views, don't edit controllers. Create new javascript dependencies only if needed and after discussion with other team members
use a separate view for milestone
make milestone clickable, show some test message above on first click, hide it on the second click

Blocked by #2 issue


Slide with fletcher diagram and subsection generates different heading numbers

In a slide containing a fletcher diagram, I wanted to add a subsection title.
However, the same subsection will take different heading number accross the slides.
The following source file:
// mwe.typ
#import "@preview/fletcher:0.5.1" as fletcher: edge, node
#import "@preview/touying:0.5.2": pause, slide, themes, touying-reducer
#import themes.metropolis: *

#show: metropolis-theme
#set heading(numbering: "1.1")

#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)

= foo

#slide[
  == bar

  #fletcher-diagram(
    node-stroke: .1em,
    spacing: 3em,

    node((0, 1), `user`),
    pause,
    node((1, 1), `application`),
    edge((0, 1), (1, 1), `uses`, "->"),
  )
]

compiled with the following command:
typst watch --format png mwe.typ mwe{n}.png

then we get the following three slides:

I expected the heading for bar not to change as the rest of the diagram is revealed (the more pause are added, the more the heading gets incremented).
Note that this example also highlights #84 which I separated because it doesn't seem related to fletcher.

Duplicated with #38. We need to wait for frozen state to do this.

And you can also consider:
#import "@preview/fletcher:0.5.1" as fletcher: edge, node
#import "@preview/touying:0.5.2": pause, slide, themes, touying-reducer
#import themes.metropolis: *

#show: metropolis-theme.with(
  header: utils.display-current-heading(level: 1),
  config-common(
    subslide-preamble: text(weight: "bold", utils.display-current-heading(level: 2)) + parbreak(),
  )
)
#set heading(numbering: "1.1")

#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)

= foo

== bar

#fletcher-diagram(
  node-stroke: .1em,
  spacing: 3em,

  node((0, 1), `user`),
  pause,
  node((1, 1), `application`),
  edge((0, 1), (1, 1), `uses`, "->"),
)

I think it's a more elegant method.

I think it's a more elegant method.

But it breaks anything more complicated than the minimum example:

Slides that have content (like a little introduction) before a subsection. You get

== heading
little intro
== heading
content

instead of the expected
little intro
== heading
content

It doesn't handle multiple levels throughout the presentation, for example a slide with a diagram under a subsection, and another slide with a diagram under a subsubsection.

Fixed at #124. Wait for the next release.


samples/data/detect_blob.png was corrupt. Copied again from data/ (earlier commit).

File was moved in #4146 , commit 2f8ef61618bcb9087b0a21a53be63e8cccff0759, but became unreadable.
I have copied the file again, it works for me now.
The corrupted file caused the error:

cpp-example-detect_blob.exe
Image ../data/detect_blob.png is empty or cannot be found

Thanks!
But some notes:

master is not valid name for patch.
also this commit contains binary data replacement instead of moving the original file (git doesn't track file move between multiple commits). Need to use older commit as a base. Also merge with current master required, it is a little complicated, so I will create a separate PR with required changes.


Images double in size following mag_cut failure

This fixes a bug introduced in #36: when generating images with drizzle and a magnification cut, the size of all future generated images doubles (along both axes) whenever one image fails the magnification cut.
This is because draw_drizzle monkeys around with ConfigHandler's stateful attributes, but it is terminated by a custom exception before it cleans up the evidence of its dastardly work.
This PR fixes the bug by catching the exception in _draw_image_drizzle, cleaning up the affected properties, then reraising it.
In the future, we might want to

Add a unit test to reproduce this, to avoid regressions
Consider cleaner solution, e.g. refactoring _draw_image_drizzle to use a try-finally block, or passing numpix etc. via function arguments rather the ConfigHandler state.

This a great catch, and the change looks good. Long term I agree we want to refactor how the drizzling is being done right now / how the config is treated.


Feature:  Read files through compage cli and read for syntax in file to generate unit test case using compage llm

Based on the comment on function " unit test starts here : $filename " ======== " unit test ends here "
read the file name and generate the unit test case along with file based on the $filename for test case and save it.

@MrAzharuddin


Pin package versions on RTD

Now that we seem to have everything working on RTD, re-pin package versions
(follow-up to https://github.com/pydata/xarray/pull/1101)

Thanks!


Incorrect link for Exfiltration Policy Details

I believe the highlighted link in the screenshot above is incorrect. That link redirects the user back to this page which is not helpful. I think it should be redirected to this https://learn.microsoft.com/en-us/azure/data-factory/configure-outbound-allow-list-azure-policy page instead as that provides alot more detail around this Azure Policy and how it works.

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

ID: 85e71158-0014-05e4-9312-5eef038a35c4
Version Independent ID: a50087ef-5596-9318-27bd-a1eb267f4c0a
Content: Built-in policy definitions - Azure Data Factory
Content Source: articles/data-factory/policy-reference.md
Service: data-factory
Sub-service: integration-runtime
GitHub Login: @lrtoyou1223
Microsoft Alias: lle

@pnarsi
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.