text:
Mount error while deploying SWAPP from release pipeline

Hi,
I've been trying to do a deployment from a release pipeline by using the preview "Build and deploy an Azure Static Web App" Preview task (v.0.187.1). The app is already built using a build pipeline, so I only want to push it to the azure web app.
I already tried a lot of setting, but I always get the following error:
2021-06-06T07:16:02.3098936Z ##[debug]found: '/usr/bin/bash'
2021-06-06T07:16:02.3100454Z ##[debug]which '/usr/bin/bash'
2021-06-06T07:16:02.3101217Z ##[debug]found: '/usr/bin/bash'
2021-06-06T07:16:02.3104325Z ##[debug]testing directory '/home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1'
2021-06-06T07:16:02.3109454Z ##[debug]/usr/bin/bash arg: /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/launch-docker.sh
2021-06-06T07:16:02.3110679Z ##[debug]args=undefined
2021-06-06T07:16:02.3117260Z ##[debug]app_location=_E-NEXT_Frontend/dist
2021-06-06T07:16:02.3118019Z ##[debug]app_build_command=undefined
2021-06-06T07:16:02.3118655Z ##[debug]output_location=undefined
2021-06-06T07:16:02.3119251Z ##[debug]api_location=undefined
2021-06-06T07:16:02.3119862Z ##[debug]api_build_command=undefined
2021-06-06T07:16:02.3120476Z ##[debug]routes_location=undefined
2021-06-06T07:16:02.3122209Z ##[debug]skip_app_build=true
2021-06-06T07:16:02.3123760Z ##[debug]azure_static_web_apps_api_token=***
2021-06-06T07:16:02.3136217Z ##[debug]exec tool: /usr/bin/bash
2021-06-06T07:16:02.3136939Z ##[debug]arguments:
2021-06-06T07:16:02.3137875Z ##[debug]   /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/launch-docker.sh
2021-06-06T07:16:02.3142124Z [command]/usr/bin/bash /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/launch-docker.sh
2021-06-06T07:16:02.5961816Z Unable to find image 'mcr.microsoft.com/appsvc/staticappsclient:stable' locally
2021-06-06T07:16:02.9296499Z stable: Pulling from appsvc/staticappsclient
2021-06-06T07:16:02.9306253Z 1e987daa2432: Pulling fs layer
--- shortened for brevity ---
2021-06-06T07:17:14.0571118Z 6284ff0d4871: Pull complete
2021-06-06T07:17:14.0611873Z Digest: sha256:57b6be4b785eccc666462f284457b72b0c09f6f5e6d067b965750233a417fd0e
2021-06-06T07:17:14.0629706Z Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
2021-06-06T07:17:14.2881573Z docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination::/working_dir Type:bind Source:/var/lib/docker/volumes/8d90060c5907d68a281862c7f31dcb71efe24e52511ac78682a1e5e5dd27b0af/_data Options:[rbind]}: mount destination :/working_dir not absolute: unknown.
2021-06-06T07:17:14.2886252Z time="2021-06-06T07:17:14Z" level=error msg="error waiting for container: context canceled"
```
What am I doing wrong?

Hi, I am trying to do the same and face the exact same issue. Did you find a solution?
What I want to achieve is that the Azure DevOps build pipelines do the build, publishes the artifact (called drop for example), and then in the Releases the Deploy Azure Static Web App (Preview) task is used only for deploying to Azure Static Web App.
In the app_location input I used the drop folder with no luck.

Hi @mud1 ,
Currently we've managed to get it working by using a bash script:
docker run --entrypoint "/bin/staticsites/StaticSitesClient" --volume "$WORKDIR"/"$ARTIFACTNAME"/"$DISTFOLDER":/root/build mcr.microsoft.com/appsvc/staticappsclient:stable upload --skipAppBuild true --app /root/build --apiToken $DEPLOYMENT_TOKEN

you will need the four variables defined (actually you could put all the 3 WORKDIR, ARTIFACTNAME and DISTFOLDER into one single variable).
This works well for me, however doesn't feel right, as any change to the underlying staticsitesclient will lead to a break, that's why I would like to have this issue solved using the dedicated release task.

@mkarmark
Answering your question from the other issue, the only yaml I can pull out of the release pipeline was the one provided.
The release pipeline is triggered by an artifact from our build pipeline that runs on merges. The build pipeline just copies the artifacts over to the staging area.
How much of this would be needed? The artifact is basically the dist folder for the app, so just index.html css and javascript files.

Having same problem.

docker run --entrypoint "/bin/staticsites/StaticSitesClient" --volume "$WORKDIR"/"$ARTIFACTNAME"/"$DISTFOLDER":/root/build mcr.microsoft.com/appsvc/staticappsclient:stable upload --skipAppBuild true --app /root/build --apiToken $DEPLOYMENT_TOKEN

That worked for me. Notice that I had to change:  --volume "$WORKDIR"/"$ARTIFACTNAME"/"$DISTFOLDER" to  --volume "$(WORKDIR)/$ARTIFACTNAME/$(DISTFOLDER)":/root/build the " where between the backslashes were causing me errors I also expand the variables in compile time

This is possibly related to a recent bug in containerd: https://github.com/containerd/containerd/issues/5547
https://developercommunity.visualstudio.com/t/azure-pipeline-fails-with-oci-error/1444539

@dondracek we are currently investigating this issue. Do you mind sharing the full build logs and full yaml file with us?

@mkarmark sure, sorry for the delay:
Log:
2021-06-06T07:48:31.2268969Z ##[debug]Evaluating condition for step: 'Deploy static app'
2021-06-06T07:48:31.2270768Z ##[debug]Evaluating: succeeded()
2021-06-06T07:48:31.2271340Z ##[debug]Evaluating succeeded:
2021-06-06T07:48:31.2272596Z ##[debug]=> True
2021-06-06T07:48:31.2273169Z ##[debug]Result: True
2021-06-06T07:48:31.2273723Z ##[section]Starting: Deploy static app
2021-06-06T07:48:31.2282123Z ==============================================================================
2021-06-06T07:48:31.2282482Z Task         : Deploy Azure Static Web App
2021-06-06T07:48:31.2282785Z Description  : [PREVIEW] Build and deploy an Azure Static Web App
2021-06-06T07:48:31.2283060Z Version      : 0.187.1
2021-06-06T07:48:31.2283303Z Author       : Microsoft Corporation
2021-06-06T07:48:31.2283554Z Help         : https://aka.ms/swadocs
2021-06-06T07:48:31.2283845Z ==============================================================================
2021-06-06T07:48:31.2357638Z ##[debug]Using node path: /home/vsts/agents/2.187.2/externals/node/bin/node
2021-06-06T07:48:31.4411572Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2021-06-06T07:48:31.4435378Z ##[debug]loading inputs and endpoints
2021-06-06T07:48:31.4440026Z ##[debug]loading INPUT_APP_LOCATION
2021-06-06T07:48:31.4450990Z ##[debug]loading INPUT_OUTPUT_LOCATION
2021-06-06T07:48:31.4455102Z ##[debug]loading INPUT_API_LOCATION
2021-06-06T07:48:31.4457014Z ##[debug]loading INPUT_ROUTES_LOCATION
2021-06-06T07:48:31.4458775Z ##[debug]loading INPUT_SKIP_APP_BUILD
2021-06-06T07:48:31.4460441Z ##[debug]loading INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN
2021-06-06T07:48:31.4462077Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2021-06-06T07:48:31.4463848Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2021-06-06T07:48:31.4465417Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2021-06-06T07:48:31.4469876Z ##[debug]loading SECRET_DEPLOYMENT_TOKEN
2021-06-06T07:48:31.4472052Z ##[debug]loaded 10
2021-06-06T07:48:31.4498870Z ##[debug]Agent.ProxyUrl=undefined
2021-06-06T07:48:31.4500809Z ##[debug]Agent.CAInfo=undefined
2021-06-06T07:48:31.4501306Z ##[debug]Agent.ClientCert=undefined
2021-06-06T07:48:31.4501805Z ##[debug]Agent.SkipCertValidation=undefined
2021-06-06T07:48:31.4511949Z ##[debug]check path : /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/task.json
2021-06-06T07:48:31.4516083Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/task.json
2021-06-06T07:48:31.4517225Z ##[debug]system.culture=en-US
2021-06-06T07:48:31.4523030Z ##[debug]which 'bash'
2021-06-06T07:48:31.4531752Z ##[debug]found: '/usr/bin/bash'
2021-06-06T07:48:31.4532417Z ##[debug]which '/usr/bin/bash'
2021-06-06T07:48:31.4532990Z ##[debug]found: '/usr/bin/bash'
2021-06-06T07:48:31.4537875Z ##[debug]testing directory '/home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1'
2021-06-06T07:48:31.4541738Z ##[debug]/usr/bin/bash arg: /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/launch-docker.sh
2021-06-06T07:48:31.4542413Z ##[debug]args=undefined
2021-06-06T07:48:31.4549284Z ##[debug]app_location=./_E-NEXT_Frontend/dist
2021-06-06T07:48:31.4549800Z ##[debug]app_build_command=undefined
2021-06-06T07:48:31.4556684Z ##[debug]output_location=./
2021-06-06T07:48:31.4560487Z ##[debug]api_location=./
2021-06-06T07:48:31.4561119Z ##[debug]api_build_command=undefined
2021-06-06T07:48:31.4561587Z ##[debug]routes_location=./
2021-06-06T07:48:31.4562050Z ##[debug]skip_app_build=true
2021-06-06T07:48:31.4563576Z ##[debug]azure_static_web_apps_api_token=***
2021-06-06T07:48:31.4572310Z ##[debug]exec tool: /usr/bin/bash
2021-06-06T07:48:31.4572794Z ##[debug]arguments:
2021-06-06T07:48:31.4573573Z ##[debug]   /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/launch-docker.sh
2021-06-06T07:48:31.4577065Z [command]/usr/bin/bash /home/vsts/work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.187.1/launch-docker.sh
2021-06-06T07:48:31.7594858Z Unable to find image 'mcr.microsoft.com/appsvc/staticappsclient:stable' locally
2021-06-06T07:48:32.0547214Z stable: Pulling from appsvc/staticappsclient
2021-06-06T07:48:32.0664010Z 1e987daa2432: Pulling fs layer
2021-06-06T07:48:32.0668245Z a0edb687a3da: Pulling fs layer
2021-06-06T07:48:32.0672070Z 6891892cc2ec: Pulling fs layer
2021-06-06T07:48:32.0689264Z 684eb726ddc5: Pulling fs layer
2021-06-06T07:48:32.0693608Z b0af097f0da6: Pulling fs layer
2021-06-06T07:48:32.0697703Z 2ed41dfdfeca: Pulling fs layer
2021-06-06T07:48:32.0713023Z f365d77bcf6d: Pulling fs layer
2021-06-06T07:48:32.0713562Z 25af1a48b49f: Pulling fs layer
2021-06-06T07:48:32.0713897Z e2b88c95fb92: Pulling fs layer
2021-06-06T07:48:32.0714216Z 6a056db05452: Pulling fs layer
2021-06-06T07:48:32.0714514Z 5f9676349597: Pulling fs layer
2021-06-06T07:48:32.0714826Z e626f4616ba2: Pulling fs layer
2021-06-06T07:48:32.0715113Z 684eb726ddc5: Waiting
2021-06-06T07:48:32.0715384Z b0af097f0da6: Waiting
2021-06-06T07:48:32.0715684Z 2ed41dfdfeca: Waiting
2021-06-06T07:48:32.0715952Z f365d77bcf6d: Waiting
2021-06-06T07:48:32.0716220Z 25af1a48b49f: Waiting
2021-06-06T07:48:32.0716505Z e2b88c95fb92: Waiting
2021-06-06T07:48:32.0716771Z 6a056db05452: Waiting
2021-06-06T07:48:32.0717054Z 5f9676349597: Waiting
2021-06-06T07:48:32.0717325Z e626f4616ba2: Waiting
2021-06-06T07:48:32.0717606Z 691b82e2d0a5: Pulling fs layer
2021-06-06T07:48:32.0717918Z 6284ff0d4871: Pulling fs layer
2021-06-06T07:48:32.0718202Z 691b82e2d0a5: Waiting
2021-06-06T07:48:32.0718471Z 6284ff0d4871: Waiting
2021-06-06T07:48:32.5836450Z a0edb687a3da: Verifying Checksum
2021-06-06T07:48:32.5836939Z a0edb687a3da: Download complete
2021-06-06T07:48:33.3785348Z 6891892cc2ec: Verifying Checksum
2021-06-06T07:48:33.3785797Z 6891892cc2ec: Download complete
2021-06-06T07:48:34.6837653Z 1e987daa2432: Verifying Checksum
2021-06-06T07:48:34.6870004Z 1e987daa2432: Download complete
2021-06-06T07:48:35.5057667Z 2ed41dfdfeca: Verifying Checksum
2021-06-06T07:48:35.5069062Z 2ed41dfdfeca: Download complete
2021-06-06T07:48:35.6556454Z f365d77bcf6d: Verifying Checksum
2021-06-06T07:48:35.6556857Z f365d77bcf6d: Download complete
2021-06-06T07:48:36.3914075Z 25af1a48b49f: Verifying Checksum
2021-06-06T07:48:36.3914467Z 25af1a48b49f: Download complete
2021-06-06T07:48:36.6709994Z e2b88c95fb92: Verifying Checksum
2021-06-06T07:48:36.6710468Z e2b88c95fb92: Download complete
2021-06-06T07:48:36.8095166Z 1e987daa2432: Pull complete
2021-06-06T07:48:37.0077004Z 6a056db05452: Verifying Checksum
2021-06-06T07:48:37.0083531Z 6a056db05452: Download complete
2021-06-06T07:48:37.1657837Z 5f9676349597: Verifying Checksum
2021-06-06T07:48:37.1658304Z 5f9676349597: Download complete
2021-06-06T07:48:37.5120137Z e626f4616ba2: Verifying Checksum
2021-06-06T07:48:37.5120583Z e626f4616ba2: Download complete
2021-06-06T07:48:39.7178008Z a0edb687a3da: Pull complete
2021-06-06T07:48:39.9152430Z 6891892cc2ec: Pull complete
2021-06-06T07:48:41.7034718Z 684eb726ddc5: Verifying Checksum
2021-06-06T07:48:41.7035144Z 684eb726ddc5: Download complete
2021-06-06T07:48:42.3699123Z 6284ff0d4871: Verifying Checksum
2021-06-06T07:48:42.3699546Z 6284ff0d4871: Download complete
2021-06-06T07:48:45.4685926Z 684eb726ddc5: Pull complete
2021-06-06T07:48:53.5348397Z 691b82e2d0a5: Verifying Checksum
2021-06-06T07:48:53.5348787Z 691b82e2d0a5: Download complete
2021-06-06T07:49:02.2871279Z b0af097f0da6: Verifying Checksum
2021-06-06T07:49:02.2871990Z b0af097f0da6: Download complete
2021-06-06T07:49:12.2642099Z b0af097f0da6: Pull complete
2021-06-06T07:49:14.4572049Z 2ed41dfdfeca: Pull complete
2021-06-06T07:49:14.5833433Z f365d77bcf6d: Pull complete
2021-06-06T07:49:16.6174620Z 25af1a48b49f: Pull complete
2021-06-06T07:49:16.7278679Z e2b88c95fb92: Pull complete
2021-06-06T07:49:16.8421160Z 6a056db05452: Pull complete
2021-06-06T07:49:16.9708715Z 5f9676349597: Pull complete
2021-06-06T07:49:17.0802625Z e626f4616ba2: Pull complete
2021-06-06T07:49:25.0232011Z 691b82e2d0a5: Pull complete
2021-06-06T07:49:26.2662736Z 6284ff0d4871: Pull complete
2021-06-06T07:49:26.2717524Z Digest: sha256:57b6be4b785eccc666462f284457b72b0c09f6f5e6d067b965750233a417fd0e
2021-06-06T07:49:26.2742405Z Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
2021-06-06T07:49:26.4875363Z docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination::/working_dir Type:bind Source:/var/lib/docker/volumes/3d84df3601a3a226dec674d6bdd8a937aaf7761bd6f1a00dc5d9e00af4110691/_data Options:[rbind]}: mount destination :/working_dir not absolute: unknown.
2021-06-06T07:49:26.4932263Z time="2021-06-06T07:49:26Z" level=error msg="error waiting for container: context canceled"
2021-06-06T07:49:26.5002109Z
2021-06-06T07:49:26.5003430Z ##[debug]Exit code 125 received from tool '/usr/bin/bash'
2021-06-06T07:49:26.5004150Z ##[debug]STDIO streams have closed for tool '/usr/bin/bash'
2021-06-06T07:49:26.5057100Z ##[debug]task result: Failed
2021-06-06T07:49:26.5059077Z ##[debug]Processed: ##vso[task.complete result=Failed;]
2021-06-06T07:49:26.5085782Z ##[section]Finishing: Deploy static app

yaml:
steps:
- task: AzureStaticWebApp@0
  displayName: 'Deploy static app'
  inputs:
    app_location: './_E-NEXT_Frontend/dist'
    output_location: ./
    api_location: ./
    routes_location: ./
    skip_app_build: true
    azure_static_web_apps_api_token: '*****'

Same here. Same YAML works fine in a build pipeline

Same as @MaximBalaganskiy, works fine in build pipeline but mount destination :/working_dir not absolute: unknown when done through release.

Currently having the same issue. Anyone that has found a fix?

See also this workaround that's been shared on the PR that addresses this issue with the task: https://github.com/microsoft/azure-pipelines-tasks/pull/14807#issuecomment-868593099

Hey everyone,
I currently also have a Pipeline that builds a NextJS project and publish the artficat. Here's the relevant YAML:
stages:
- stage: Build
  displayName: Build stage

  jobs:
  - job: Build
    displayName: Build
    pool:
      vmImage: ubuntu-latest

      steps:

      - task: NodeTool@0
        inputs:
          versionSpec: '14.17.1'
        displayName: 'Install Node.js'

      - task: Bash@3
        displayName: Build
        inputs:
          targetType: 'inline'
          script: |
            npm install
            npm run build
        env:
          NEXT_PUBLIC_AZURE_IMAGE_STORAGE_BASE_URL: '$(NEXT_PUBLIC_AZURE_IMAGE_STORAGE_BASE_URL)'
          NEXT_PUBLIC_CLOUDFLARE_DOMAIN: '$(NEXT_PUBLIC_CLOUDFLARE_DOMAIN)'

- stage: Artifact
  displayName: Artifact stage

  jobs:
  - job: Artifact
    displayName: Publish artifact
    pool:
      vmImage: ubuntu-latest

      steps:
      - task: PublishBuildArtifacts@1

      - publish: $(Build.ArtifactStagingDirectory)/WebApp
        artifact: drop
      - download: current
        artifact: drop

And here's the bash script I use in the Release pipeline.
docker run --entrypoint "/bin/staticsites/StaticSitesClient" --volume "$(System.DefaultWorkingDirectory)/WebApp/drop":/root/build mcr.microsoft.com/appsvc/staticappsclient:stable upload --skipAppBuild true --app /root/build --apiToken $DEPLOYMENT_TOKEN

And here's the log from the Release pipeline. I don't think I'm getting the right folder pointed out? Or am I doing something wrong with the publish artifact step on the pipeline?
2021-07-05T16:50:57.4519734Z Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
2021-07-05T16:50:57.9565149Z DeploymentId: 5e916cea-d7c7-4a53-b04b-b7444b191d46
2021-07-05T16:50:57.9565831Z
2021-07-05T16:50:58.1025222Z App Directory Location: '/root/build' was found.
2021-07-05T16:50:58.1025825Z No Api directory specified. Azure Functions will not be created.
2021-07-05T16:50:58.8486734Z Skipping step to build /root/build with Oryx
2021-07-05T16:50:58.8511880Z Failed to find a default file in the app artifacts folder (root/build). Valid default files: index.html,Index.html.
2021-07-05T16:50:58.8512752Z If your application contains purely static content, please verify that the variable 'app_location' in your workflow file (located in .github/workflows) points to the root of your application.
2021-07-05T16:50:58.8513591Z If your application requires build steps, please validate that a default file exists in the build output directory.
2021-07-05T16:50:58.8514055Z
2021-07-05T16:50:58.9048672Z
2021-07-05T16:50:58.9049448Z For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
2021-07-05T16:50:58.9050500Z If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
2021-07-05T16:50:58.9051041Z Exiting
2021-07-05T16:50:59.0458590Z ##[error]Bash exited with code '1'.
2021-07-05T16:50:59.0533234Z ##[section]Finishing: Deploy Static Web App

Thanks all

Same error from the release pipeline:
2021-08-19T16:46:26.3710216Z ==============================================================================
2021-08-19T16:46:26.3710566Z Task         : Deploy Azure Static Web App
2021-08-19T16:46:26.3710862Z Description  : [PREVIEW] Build and deploy an Azure Static Web App
2021-08-19T16:46:26.3711106Z Version      : 0.187.1
2021-08-19T16:46:26.3711311Z Author       : Microsoft Corporation
2021-08-19T16:46:26.3711543Z Help         : https://aka.ms/swadocs
2021-08-19T16:46:26.3711829Z ==============================================================================
2021-08-19T16:46:27.1580955Z [command]"C:\Program Files\Git\bin\bash.exe" D:\a\_tasks\AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a\0.187.1\launch-docker.sh
2021-08-19T16:46:30.8593608Z Unable to find image 'mcr.microsoft.com/appsvc/staticappsclient:stable' locally
2021-08-19T16:46:31.9420526Z stable: Pulling from appsvc/staticappsclient
2021-08-19T16:46:32.1720766Z docker: image operating system "linux" cannot be used on this platform.
2021-08-19T16:46:32.1722143Z See 'docker run --help'.
2021-08-19T16:46:32.1892084Z
2021-08-19T16:46:32.2138290Z ##[section]Finishing: Deploy Static Web App```

Thank you

@Sergey-Nosov-GH Looks like your build agent is running Windows. This task can only be run on Linux agents at this time.

For those of you trying to use the task from a release pipeline, version 0.187.1 should contain a fix that uses the correct default directory. You can also override the working directory using the workingDirectory input.
Keep in mind that app_location and api_location are relative to the working directory. It won't work if you put an absolute path in there.

@anthonychu please explain where do I have an error in my logic?
My source code located in git - Azure DevOps
I have a build pipeline that has the following steps:

Pulumi Azure Pipelines Task (creates Sql server, database, static site)
Azure SQL DacpacTask - which can run only on windows agent
Deploy Azure Static Web App - which, turns out, run only on Linux

I need "Deploy Azure Static Web App" to build my static website. And I need dacpac task - so that azure functions can save data to db.
How I suppose to behave if 2 tasks can only run on opposite platforms? What I'm missing here?

authors: Bobetti JoePittsy MaximBalaganskiy Phhansen Sergey-Nosov-GH anthonychu bartvdbraak dondracek igi-dawlin mud1 paramartad

repo: Azure/static-web-apps


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #32

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #12


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #59


text:
Upgrade dependencies - april 2024

fix https://github.com/microsoft/typespec/pull/3169

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@azure-tools/typespec-autorest-canonical
:x:@azure-tools/typespec-autorest
:x:@azure-tools/typespec-azure-core
:x:@azure-tools/typespec-azure-portal-core
:x:@azure-tools/typespec-azure-resource-manager
:x:@azure-tools/typespec-client-generator-core

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/663/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/663/

authors: azure-sdk timotheeguerin

repo: Azure/typespec-azure


text:
Remove lab api classes from common4j

Issue:
MicrosoftClientAssertion is using SHA1, and since it's shipped with common4j, library customers are now prompted by play store (that they're using insecure algorithm).
Fix:
Remove MicrosoftClientAssertion and associated classes from common4j. Use the one in LabApiUtilities instead. (This means testutils will now dependent on LabApiUtilities)

Looks like tests in MSAL are broken because of this.

Unable to get access token for automation:clientId is marked non-null but is null

Looks like tests in MSAL are broken because of this.

Unable to get access token for automation:clientId is marked non-null but is null

Hmm... I thought every tests were already executed locally.... seems like i missed something. thanks.

authors: rpdome shahzaibj


text:
MSAL2/Angular, B2C SSO between Apps/Apis

Library

[X] @azure/msal-angular@2.0.0-alpha.3

Description
Hi there,
my point is, that i have to setup a bunch of web application, each with its own api backend and all should share the login.
So i started with one angular page and .net core 3 backend. I can aquire a token and call the api. Works. I used the angular11-b2c-sample sample.
I setup a second angular page/,net core backend, i need the app to pickup the login, aquire a token with the new scope and call the api.
From my point of understanding this should be sso stuff. But i cant get it to work.
I am reading and reading and my level of confusion rises and i understand nothing anymore...
Is it possible? Are there samples? Could you hint me to the correct documentation?
Thank you

@schokolateur You can use the ssoSilent API to attempt to sso to an existing session. This API requires a login_hint (usually the user's email) which may require one application manually passing the login_hint to the second application, e.g. through query parameters. If you're unable to provide a login_hint to the second application, you will need to invoke interaction.
We don't currently have a sample for angular or b2c specifically for ssoSilent, but you can look at the sample for msal-browser here. We will look into adding either ssoSilent examples to our samples or documentation in the future.

@schokolateur You can use the ssoSilent API to attempt to sso to an existing session. This API requires a login_hint (usually the user's email) which may require one application manually passing the login_hint to the second application, e.g. through query parameters. If you're unable to provide a login_hint to the second application, you will need to invoke interaction.
We don't currently have a sample for angular or b2c specifically for ssoSilent, but you can look at the sample for msal-browser here. We will look into adding either ssoSilent examples to our samples or documentation in the future.

@jo-arroyo Thank you very much. The login_hint was my problem, and maybe  a scope configuration problem too. Now i can call multiple apis from a page and can do the login on the second page also without another prompt.
Thanks

@jo-arroyo Thank you very much. The login_hint was my problem, and maybe  a scope configuration problem too. Now i can call multiple apis from a page and can do the login on the second page also without another prompt.
Thanks

source: gharchive/issue

authors: jo-arroyo schokolateur


text:
PKCE Error with MSAL and Angular App

Library

[ ] msal@1.x.x or @azure/msal@1.x.x
[ ] @azure/msal-browser@2.x.x
[ ] @azure/msal-node@1.x.x
[ ] @azure/msal-react@1.x.x
[ ] @azure/msal-angular@0.x.x
[ ] @azure/msal-angular@1.x.x
[X] @azure/msal-angular@2.0.0-alpha.6
[ ] @azure/msal-angularjs@1.x.x

Description
We have a Angular 10 application that we have developed that is using MSAL.
We are in the process of trying to deploy it to our Qual environment for user acceptance testing.
The Azure Administrator has added the SPA url for our qual web site (Example: https://somefunwebsite-q.domain.com)
The Angular app has been compiled with ng build --prod
When we try and browse to the application in Chrome. If you look at the console. we are getting this error:
ERROR Error: Uncaught (in promise): BrowserAuthError: pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read property 'digest' of undefined
BrowserAuthError: pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read property 'digest' of undefined
This did not occur in our lower environments, dev or test.
What is wrong and how do I correct it?

Ok, this is a load balancing issue on our part. if the user goes to port 80 you get the error, if they go to port 443 (SSL) it works fine.


text:
Angular 15.2.8 MSAL not compatible

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.14.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.5.6
Public or Confidential Client?
Confidential
Description
Good Day
Could you urgently advise, I am busy developing an application and need to implement MSAL authentication on angular 15.2.8.
I am getting the below error.
This likely means that the library (@azure/msal-angular) which declares MsalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
Error Message
This likely means that the library (@azure/msal-angular) which declares MsalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
Msal Logs
/src/app/app.module.ts:29:0-49 - Error: Module not found: Error: Can't resolve '@azure/msal-angular' in 'C:\Dev Repos\PS Development (Git)\Selfservice\web\src\app'
Error: src/app/app.module.ts:33:89 - error NG6002: 'MsalModule' does not appear to be an NgModule class.
33   imports: [BrowserModule, AppRoutingModule, BrowserAnimationsModule, HttpClientModule, MsalModule],
~~~~~~~~~~
.yarn/virtual/@azure-msal-angular-virtual-70e602083a/0/cache/@azure-msal-angular-npm-2.5.6-d65118eb43-351fab48e1.zip/node_modules/@azure/msal-angular/msal.module.d.ts:5:22
5 export declare class MsalModule {
~~~~~~~~~~
This likely means that the library (@azure/msal-angular) which declares MsalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
MSAL Configuration
auth: {
    clientId: "clientId",
    authority: "https://login.microsoftonline.com/common/"
  },
  cache: {
    cacheLocation: localStorage;
    storeAuthStateInCookie: false
  }
}

Relevant Code Snippets
This likely means that the library (@azure/msal-angular) which declares MsalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Reproduction Steps

Create Angular Application with version 15.2.8
Use yarn as package manager

Expected Behavior
To use the Microsoft Login as a popup to allow users to login to the application
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Internet Explorer
Regression
@azure/msal-angular
Source
Internal (Microsoft)

@LexiPow Our current Angular library does not support Ivy, a related issue can be tracked here: #4298. We are currently working on adding this support.
@EmLauber @jo-arroyo Can you please help add more information?

Correct, MSAL.Angular v2 does not support Ivy. You can track #4298 for updates on when MSAL.Angular v3 is released which will have Ivy support. In the meantime, you can use MSAL.Angular v2 with Angular 14 with the View engineer. Closing this as a duplicate.

authors: EmLauber LexiPow sameerag


text:
Co nieco nt. ARMa

Dwa główne elementy dokumentacji odnośnie Azure Resource Managera:

jak budować szablony ARM
gdzie znaleźć definicje zasobów do użycia w szablonach

REST API dodane.

repo: AzureCommunityPL/faq


text:
🛑 Amazon Prime Video is down

In dc0335f, Amazon Prime Video (https://www.amazon.co.jp/gp/video/storefront) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Amazon Prime Video is back up in 0d2e419 after 9 minutes.


text:
Jm update readme

Updated the README to reflect the latest changes: added PYTHONPATH export and how to clone with git; update the conda install line to use the appropriate channels. All badges now work as expected.
This should resolve #4 as much as is possible currently.
For future: Once the package is at a more developed stage we will need to add a setup.py and setup.cfg so we can install using pip/setuptools.

Pull Request Test Coverage Report for Build 4

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

Totals

Change from base Build 3:
0.0%

Covered Lines:
1010

Relevant Lines:
1347

💛  - Coveralls

authors: coveralls moeyensj


text:
Creating an undo button for event deletion

Whenever an event is deleted, even within the same session, the change is permanent. Make the ability for the user in the same session to undo the deletion of an event. Preferable add a pendingDeletion field to remove the instances after a given time or session.

 Creating an undo button for event deletion #1261

Closed in #1286

authors: WackyWeaver bledsoef

repo: BCStudentSoftwareDevTeam/celts


text:
Remove the "Invalid Date" in the Background Check history

Currently if the date is blank when a user tries to submit a background check ": Invalid Date" in put into its history.

This is only in the UI and not put into the database and when you refresh the page it is removed due to how we are displaying in the history before page reload, but we do not want it showing up on the page.

 Remove the "Invalid Date" in the Background Check history #728

Take away word messages and highlight empty fields if a save is attempted.


text:
bam upload to S3 not working

New image was created on January 18th, tested with 5 datasets that have previously successfully been processed with the unc-rna-seq pipeline.
I tested it with 2 different versions of the rnaseq_unc_pipeline.py
a) the same version as had previously successfully processed, only adding the --upload_bam_to_s3
b) the most recent version

Did you check that samtools and unzip are available on your workers? This tripped me up, but I hadn't run the pipeline before.

I have samtools, unzip and curl installed on all the workers

Do you have a stack trace?  Did the rest of the pipeline finish and just the upload step fail?

Please provide input and reopen.

authors: Jeltje dyollluap hannes-ucsc jvivian

license_source: bigquery


text:
Another wonky try: finally: in the services code

https://github.com/BD2KGenomics/toil/commit/fb8eba9b87f4698bcd026c3f64f17338dbf0c661#diff-4eeea14b1dc6e72c2dcb9ad1471d1cf3R642
is broken, please see
https://github.com/BD2KGenomics/toil/wiki/Python-Dos-and-Don'ts#dont-piggy-back-resource-deallocation

Cleared milestone prior to tomorrow's planning.

Sorry, @hannes-ucsc , which one specifically? Line number/file would would help

@benedictpaten, the line I link to in the description is the piggy-backed cleanup. It should get its own try: except: block or a comment explaining why the piggy-backing is ok and intended. For an explanation of what I mean by "piggy-backing" see the wiki page I link to in the description.

authors: benedictpaten hannes-ucsc


text:
Merge syntax highlighting of quotes and keywords together

That great. Please resolve the merge conflicts. Thanks.

Have fixed merge.  Also fixed for windows where newline char is \r\n so takes 2 characters instead of 1.

authors: BDisp tznind


text:
Add exception to message before posting to Dead Letter

Hey guys,
I have a scenario where I would like to add the exception to the message before publishing it in the dead letter, I created a base message where it has the error property, and all messages inherit from it, but I did not find a way to add the exception to the message , I tried placing a try/catch in an IConsumerBehavior that I created, but the exception does not arrive, I tried the IKafkaConsumerErrorCallback, but no event arrived even after I forced an exception, finally I thought of developing my own error policy, but the IErrorPolicyChainBuilder interface did not let me add my customErrorPolicy, I would like to do something along those lines here:
public class ConsumerExceptionErrorPolicy : ErrorPolicyBase
{
    protected override ErrorPolicyImplementation BuildCore(IServiceProvider serviceProvider) =>
        new ConsumerExceptionErrorPolicyImplementation(
            MaxFailedAttemptsCount,
            ExcludedExceptions,
            IncludedExceptions,
            ApplyRule,
            MessageToPublishFactory,
            serviceProvider,
            serviceProvider.GetRequiredService<IInboundLogger<ConsumerExceptionErrorPolicy>>());

    private sealed class ConsumerExceptionErrorPolicyImplementation : ErrorPolicyImplementation
    {
        public ConsumerExceptionErrorPolicyImplementation(
            int? maxFailedAttempts,
            ICollection<Type> excludedExceptions,
            ICollection<Type> includedExceptions,
            Func<IRawInboundEnvelope, Exception, bool>? applyRule,
            Func<IRawInboundEnvelope, Exception, object?>? messageToPublishFactory,
            IServiceProvider serviceProvider, IInboundLogger<ErrorPolicyBase> logger)
            : base(maxFailedAttempts, excludedExceptions, includedExceptions, applyRule, messageToPublishFactory, serviceProvider, logger)
        {
        }

        protected override Task<bool> ApplyPolicyAsync(ConsumerPipelineContext context, Exception exception)
        {
            if (context.Envelope is IInboundEnvelope<IBrokerMessage> { Message: not null } inboundEnvelop)
            {
                inboundEnvelop.Message.ErrorMessage = exception.Message;
            }

            return Task.FromResult(true);
        }
    }
}

Hi Sergio,
The "Silverback.Messaging.Inbound.Transaction.TransactionHandlerConsumerBehavior", does not propagate the exception to the other Behavior, it simply does not fall into the catch
catch (Exception ex)
        {
            if (context.Envelope.Message is IBrokerMessage brokerMessage)
            {
                brokerMessage.ErrorMessage = exception.Message;
            }
        }

in my Behavior, I already tried to do it the same way you gave an example.


text:
hitButton QPushButton could not be located in the the dll bmorecoin.exe

Looks a lot like https://github.com/yse/easy_profiler/issues/120

working on the dll's packaged with the exe

https://doc.qt.io/qt-5/qabstractbutton.html & https://doc.qt.io/qt-5/qpushbutton.html

removed dll's that were in codebase and used only ones build in CD/CI

repo: BMoreToken/bmorecoinwallet


text:
配置之后代码高亮,无法显示行号,和修改mac风格

https://www.cnblogs.com/lylhqy/p/14846174.html
配置代码
  code: {
            type: 'hljs',
            options: {
                 hljs: {
                    theme: 'atelier-dune-light',
                    languages: [],
            },
                /*限制代码块高度*/
                maxHeight: '70vh',
                /*行号显示*/
                line: true,
                /*Mac样式*/
                macStyle: true,
            }
        },

出现问题

会出现代码格式文本,这个怎么能去掉呢,麻烦问下是不是我的配置问题

明白了,新版本css,小版本也需要替换

repo: BNDong/Cnblogs-Theme-SimpleMemory


text:
Compatibility issue with Nyx plugin

https://builtbybit.com/threads/✅-nyx-ultimate-1-8-1-18-✅-manage-players-online-mode-alts-ips-and-even-passwords.629772/
Nyx, a plugin for online mode authentication, does not seem to be compatible with hopper. This issue has been reported by a hopper-rs user using 1.8.2 testing both with and without RealIP ip forwarding.

As 1.8.2 does not contain neither UUID nor online mode authentication information we can safely assume that the issue is Nyx's, but as it is a paid plugin there's no official way to neither track with an issue nor properly investigate the problem reading source code.
Either way, I'm working on figuring out what the problem might be caused by so I can report it to nyx's authors / apply a fix from my side.

Resolved with Nyx owner


text:
Organisation/Item Tweaks

It can be painful to interact with containers, especially when taking stuff in and out. Shift clicking was introduced just after beta Minecraft and improved QoL.
Suggestion: make items transferable from 1 container to another while holding down shift and swiping with the mouse cursor.
This should work with both taking items out and putting them into containers (chests or crucibles)

Arminias actually already had something sort of working with porting mouse tweaks to work with BTW. So already planned, effectively.

repo: BTW-Community/BTW-Public


text:
Termination Signal

Currently, simulation.run(..) runs until the events created by it, and only it, have all been responded to, success or failed.
In some circumstances, we want the simulation to run until a signal is received. For example, it is possible that an event may have created child events and the parent event completes before child events do. In such a case, the simulation needs to run for longer. In other cases, we want to terminate the simulation before all events have received a response.
A signal might be:

A time
A completion of all child events
A particular stage has reached a certain number of calls to workOn

Use cases

Run for a number of events

Run for a length of time

Run until application stalls

Run until signal: subcases? a certain method has been called x times

Maybe even use signals for all cases.
Run in a loop until certain criteria has been met

repo: BYU-SE/quartermaster


text:
Move GetTextureDataAsync from inspector to core

This is a refactor that will eventually enable a serializer like GLTFExporter to use the now core-based GetTextureDataAsync in order to serialize textures that are not directly retrievable as RGBA e.g., GPU-compressed formats.
For more discussion on that point, see #12257. The part that is missing to ultimately solve this is some sort of function or BaseTexture-property that can tell whether the texture uses a GPU compressed format. Once that exists, then it should be easy to do something like this... from glTFMaterialExporter.ts:

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14312/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14312/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14312/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14312/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14312/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14312/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14312/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14312/merge#BCU1XR#0

This code copies an existing texture (compressed or not) to a non-compressed RGBA texture, which is not what we want in the exporter (the exporter is already able to export compressed textures, but it exports the result of the expansion to RGBA 8 bits to a .png file, not the original compressed data).
To be able to export compressed textures in their compressed form, we would need to be able to retrieve the compressed data, which is not possible because readPixels does not work in this case:
https://playground.babylonjs.com/#E6WY1N
You will get this error in the console log:
[.WebGL-00002DB408078E00] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment is not renderable.

And the buffer will be all zero.
Even if that worked, you would only get the transcoded data that was suitable for the target GPU when the texture has been created, whereas you would need the non-transcoded data for the export.
Regarding the function itself, I'm not sure we should move it into the misc tools, as it seems quite specific to the inspector...
cc @sebavan for his opinion.

which is not what we want in the exporter

If the decision is whether or not the texture is exported, this seems to be a viable solution

Yeah, just to clarify, as you found the glTF exporter does not handle GPU compressed textures now. There is a related issue here: #12257
So the idea with this helper function would be to render out a copy of the compressed texture as RGBA. (I have tried a local version of this and it does indeed work. The 'compressed' texture gets serialized as a png)

@bghgary and @Popov72 can I let you do a last review ?

I think this is ready to merge.

Excuse me, I have a question.
To avoid compressing texture exports and causing them to turn black, why not add GetTextureDataAsync to _getPixelsFromTexture, as shown in the above picture

As this ends up transforming the data quite a lot and this particular function is meant to only return what is in the storage. The usage site should rely on the TextureTools instead if it fits the use case.

authors: Jeggery Popov72 RaananW bghgary bjsplat kircher1 sebavan


text:
Thin instances: Change default value for the staticBuffer parameter

See https://forum.babylonjs.com/t/mesh-with-thin-instance-slower-than-with-full-vertices/46756/7
When staticBuffer = false, Angle (in DirectX mode only - OpenGL is fine) can rearrange the buffers under the hood and completely break performance...
So, even if it's a breaking change, it's probably best to have it true by default...

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14679/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14679/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14679/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14679/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14679/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14679/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14679/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14679/merge#BCU1XR#0

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14679/merge/testResults/webgl2/index.html
If tests were successful afterwards, this report might not be available anymore.


text:
Use the Matrix isIdentity cached value to speed up thing when possible

This PR contains some kind of optimization  when we know that a matrix is Identity .
It also contain some code polishing

will create another PR


text:
Bump 1.1.3

What does this PR do

Bumps version to 1.1.3

How can it be tested

variants --version

Warnings

:warning:
The library files were changed, but the tests remained unmodified.
Consider updating or adding to the tests to match the library changes.

  Generated by :no_entry_sign: Danger Swift against 5ee568ba90e2b9eeea1bfd8cbd3fdb354d93914d

authors: arthurpalves backbaseoss

repo: Backbase/variants


text:
No Start-PodeServer function

Am I missing something? Docs say to use Start-PodeServer however according to Get-Command and the error when you run the script the function does not exist.

Start-PodeServer is part of pode not pode.web
https://github.com/Badgerati/Pode

Hey @alaurie,
What @kort3x said :) Start-PodeServer is a function found in the main Pode module; Pode.Web is an extension module for Pode.

authors: Badgerati alaurie kort3x


text:
Cron expressions not working to the expected schedule

Describe the Bug
Cron expressions not working to the expected schedule.
Having an expression of */2 * * * * should run every two minutes but only runs once an hour.
Steps To Reproduce
Steps to reproduce the behavior:

Have a server which has a schedule set to '*/2 * * * *'
Have the schedule output the current time to the console

Expected Behavior
The log output should be every 2 minutes. As shown on here
Platform

OS: Windows

@Fraham
For now you can use 0/2 * * * * which does the exact same thing, Do you want the */2 support?

authors: Badgerati Fraham

repo: Badgerati/Pode


text:
Sync: MapEvent Collections

Description

Sync the values in the Synced list below.
Create an end to end (E2E) tests for all collections (1 for server changing the value and 1 for client changing the value if applicable)
Create a command to test updating the collection in game see similar command

Also see additional information at the bottom for more information and templates

Key
Server side only (only allow the running of the function on the server side)
Client side only (only allow the running of the function on the client side)
Client side sync (request the server to change the value, server then changes the value and replies to the client allowing the change)
Server side sync (only server allows running of the function and send to all clients the value changed and clients update the value/call original function)
Synced

Collection Name
Sync Type
Additional Information

TODO
TODO
TODO

Deferred

None
Externally Deferred

None
Non-Synced

None
Intended Design

For the patch itself please refer to https://github.com/Bannerlord-Coop-Team/BannerlordCoop/wiki/Patching-Basics#collection-patching
Collection Sync Dataflow

Integration Testing

Location

Create a branch based from development
Related Issues

Blocked by:

#885

Requirements

N/A
Additional information

Using the GameInterface Service Tempale create commands to test the synced values.
Definition of Done

[ ] Class level comments exist for all new classes.
[ ] XUnit E2E tests exist for every synced collection on the server (and client if applicable)
[ ] Each collection has a command for each type of synced update

Synced

authors: EgardA garrettluskey

repo: Bannerlord-Coop-Team/BannerlordCoop


text:
UserController中的注册登录业务出现bug

RegisterService中的register方法中的password为空时也能注册成功，而不是提醒参数输入有误，需要进行bug修复。
LoginService中的login方法也有同样bug。

已修复

repo: Baokker/techwave-backend


text:
🛑 Education Culture and Employment is down

In 25159e3, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 504
Response time: 215 ms

Resolved: Education Culture and Employment is back up in 9165b57 after 9 minutes.

repo: Barctic/gnwt-monitor


text:
🛑 Executive and Indigenous Affairs is down

In f29520b, Executive and Indigenous Affairs (https://www.eia.gov.nt.ca) was down:

HTTP code: 403
Response time: 307 ms

Resolved: Executive and Indigenous Affairs is back up in 5dc6ea3.


text:
🛑 Lands is down

In d5df07d, Lands (https://www.lands.gov.nt.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lands is back up in 3c3482f.


text:
VMM scafolding

This patch provides the initial scaffolding for the VMM.

Merged, github isn't detecting it though.

repo: Bareflank/hypervisor

license: mit


text:
🛑 QBitTorrent webUI is down

In b613999, QBitTorrent webUI (https://qbittorrent.jonthan.xyz) was down:

HTTP code: 404
Response time: 570 ms

Resolved: QBitTorrent webUI is back up in 89fb20d after 14 minutes.

repo: Baronhez/upptime


text:
Improve SdCard import UI and other fixes

https://github.com/user-attachments/assets/9e0288b0-f53a-49f4-9925-f299c16fecce

Summary by CodeRabbit

New Features

Introduced the AboutSdCardSync widget for user guidance on SD Card synchronization.
Added the SdCardTransferProgress widget to visually represent data transfer progress.

Improvements

Enhanced SdCardCapturePage with a custom back navigation and updated app bar title.
Updated DeviceSettings to reflect changes in SD Card functionality.

Bug Fixes

Adjusted timing for setsdCardReady to improve widget lifecycle handling.

lgtm 🚀

repo: BasedHardware/omi


text:
Add Makefile completion

Sometimes, Makefile won't be completed (as for me on Fedora 25) as soon as bash-it is activated. This completion script can provide a Makefile completion.

Thanks!

repo: Bash-it/bash-it


text:
Documentation should have installation section

Someone who is new to Unity may not know how to install this (since it is not in the asset store either). A small and brief section in the documentation on how to incorporate Node Editor could be helpful.

Thanks for the note:) Actually, there's quite a lot of sections I'd like to add but I don't have much time. First priority is merging develop and master, because then we can launch a different documentation that is alot better bu is only for the develop branch. Still needs lots of improvemens but it would be the first steps needed for a better doc... See #46 :)

I'd like to know how to install it? :)

Just put the Editor and Node Editor folder into the Assets/Plugins folder and you can access it under Window. If you put it elsewhere it should still work just fine but outputs a warning asking you to change the hardcoded installation path. Pretty simple and straight forward actually;)
Also, make sure you have no errors in your project, else it won't show up under Window.

Easy if you know how 😉 . Joking aside, thanks.
I'm coming up with a series of errors which are no doubt due to my inexperience.

Are you joking now? o.O :)
Anyway, there shouldn't be any errors, especially not on import - if they are, then most likely due to the platform or build target - can you send a picture of them and a description?

I have 'em fixed.
This is such an excellent project & useful tool. Can't thank you enough @Seneral and everyone else too. It's one of those things which makes you go: wow, isn't the internet is great.
My observation on the OP's question only (as I'm new-ish to Unity): an as-basic-as-possible Unity project repo with Node_Editor may be more useful  as an initial kickstart than installation documentation.
Writing more comprehensive docs is no small task. Hence I thought I chip in with the quick fix. I hope this does sound like a complaint, criticism or someone suggesting something on an opensource project and not offering to do it. Erm, maybe that last one...

Thank you very much for your kind words @rc1 :)
So, what are you proposing exactly? I mean, it simply drag'n'drop into any location in the project and the user will be notified where it has to go (Plugins)... Sure, a file like 'Installation' would be nice, if that's what you're thinking of?
And yep, sure documentation isn't easy but I have to admit I haven't spend as much time into it as I should have:/ It is actually very old but the difference between master and develop is holding me back kinda...

Yeah. Perhaps:

The (develop branch of) Node_Editor  in the Plugins
A scene that loads a canvas from assets
A scene with two canvases baked in (perhaps moving a circle on screen?)
A scene showing the RuntimeNodeEditor / RTCanvasCalculator

Well ok most things are drag and drop and pretty straightforward, or not? I think that should be ok, but installation instructions are no problem.

Yeah there super straightforward, (i.e. nicely done). But I'm sure how obvious they are. Ideally someone shouldn't need to through every folder and file before starting to use the library. It's be better to just open up an example or two and glean the high level picture.

In the new documentation I'm working on there is a section now detailing the Installation process:) I hope  to get the documentation live in the next few weeks...


text:
Publish project management documentation

Use https://github.com/pengwynn/flint ?
Should include basic coding guidelines and recommended text editor settings.

I think it's good for now. We might make some changes in the foreseeable future, though.

authors: Berzeger gius

repo: Baud-UCS/DEF


text:
[Предложение] Добавить поддержку получения календарей пользователя в интеграции Битрикс24

Нужна возможность чтения календарей в Битрикс24
https://apidocs.bitrix24.ru/api-reference/calendar/calendar-event-get.html

Попробую сделать до конца недели. Хочу получать данные о встречах из битрикса и заполнять трудозатраты в жире

Отлично. Если будут вопросы по работе с репозиторием - пишите

authors: Bayselonarrend yuriybylinkin

repo: Bayselonarrend/OpenIntegrations


text:
Issue in 0.2.0

TypeError: Failed to fetch dynamically imported module: https://0.0.0.0/_content/BcdLib.PullComponent/dist/index.js

Hi @raajwant , How do you use it? I tested it on Android, and it can be used normally, including #1
https://user-images.githubusercontent.com/24973084/196022234-71911297-085d-426e-aba0-29519d9f5f53.mp4

Sorry I reproduced it, but there is a problem with packaging. Please try to use 0.4.0.

Thanks. 0.4.0 version works perfectly. Thanks once again.

repo: BcdLib/PullComponent


text:
Parent menu counter and child menu search field...not working as expected

I have 2 issues that seem to be related upon the other.  Just so I don't have to retype this...please see the link I posted in Stack Overflow..  Thanks in advance for your help!
http://stackoverflow.com/questions/28633672/mmenu-counter-or-search-not-working-in-submenu-child-records

Could you post some of the output HTML?
I must admit adding a searchfield to every panel might not be tested as well as adding it to the menu.
I'll see if I can find anything wrong with the logic.

authors: FrDH THammil


text:
Beacon CMS doesn't work with Phoenix 1.7.0-rc.0

Hey Guys,
I'm excited about using Beacon CMS in my project.
I just created a new app using latest release candidate and when I tried to add {:beacon, github: "beaconCMS/beacon"} to mix file and ran mix deps.get, I got following error:
❯ mix deps.get
* Updating beacon (https://github.com/beaconCMS/beacon.git)
origin/HEAD set to main
* Updating safe_code (https://github.com/TheFirstAvenger/safe_code.git)
origin/HEAD set to main
Resolving Hex dependencies...
#Incompatibility<#Term<your app>, cause: {:conflict, #Incompatibility<#Term<not phoenix_live_view 0.18.3 (optional)>, cause: {:conflict, #Incompatibility<#Term<the lock>, #Term<not phoenix_live_view 0.18.3 (optional)>, cause: :dependency>, #Incompatibility<#Term<your app>, #Term<not the lock>, cause: :dependency>}>, #Incompatibility<#Term<your app>, #Term<not phoenix_live_view ~> 0.17.5>, cause: :dependency>}>
Resolution completed in 0.048s
Because "the lock" specifies phoenix_live_view 0.18.3, phoenix_live_view 0.18.3 is required.
So, because your app depends on phoenix_live_view ~> 0.17.5, version solving failed.
** (Mix) Hex dependency resolution failed

❯ elixir --version
Erlang/OTP 25 [erts-13.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]

Elixir 1.14.2 (compiled with Erlang/OTP 25)

@derpycoder from reading So, because your app depends on phoenix_live_view ~> 0.17.5, version solving failed. it looks like you'd need to bump the phoenix_live_view dependency in your own project? From what I read on https://github.com/phoenixframework/phoenix_live_view/blob/master/CHANGELOG.md it doesn't seem like breaking changes occured, so it should be straightforward to do :)

When creating a new Phoenix app using the 1.7 RC and adding Beacon as a dependency, I'm getting the same error, but specifically it's safe_code which is one of Beacon's dependencies that's requiring phoenix_live_view 0.17.5.
Patching safe_code's mix.exs to require {:phoenix_live_view, "~> 0.18.3"} seems to be all that's needed to get it to compile. I'll open a PR on safe_code

safe_code has been updated.

Thanks!

authors: TheFirstAvenger derpycoder jamiedumont leandrocp pascalwengerter

repo: BeaconCMS/beacon


text:
Consistent errors formatting awk scripts on macos

$ npm list
hidden@1.0.0 /Users/monty/prettier-plugin-awk-test
├── prettier-plugin-awk@0.3.1
└── prettier@2.8.8
/^Title/ {
    printf ("%s\t%s\t%s\t%s\tAvg Len\t%s\t%s\t%s\t%s\t%s\n",
            $1,$2,$3,$4,$5,$6,$7,$8,$9)
}

/=HYPERLINK/ {
    dur=$4
    split (dur,fld," ")
    eplen = (fld[1]*60+fld[2])/$3
    printf ("%s\t%s\t%s\t%s\t%d\t%s\t%s\t%s\t%s\t%s\n",
            $1,$2,$3,$4,eplen,$5,$6,$7,$8,$9)
}

Other failing awk scripts at This repo
I consistently get these same errors
$ npx prettier --write test-01.awk
[error] test-01.awk: Error: Document has syntax error
[error]     at printAwk (/Users/monty/prettier-plugin-awk-test/node_modules/prettier-plugin-awk/out/printer/printer.js:14:15)
[error]     at /Users/monty/prettier-plugin-awk-test/node_modules/prettier-plugin-awk/out/printer/wrappers.js:22:24
[error]     at /Users/monty/prettier-plugin-awk-test/node_modules/prettier-plugin-awk/out/printer/wrappers.js:48:24
[error]     at Object.print (/Users/monty/prettier-plugin-awk-test/node_modules/prettier-plugin-awk/out/printer/wrappers.js:70:24)
[error]     at callPluginPrintFunction (/Users/monty/prettier-plugin-awk-test/node_modules/prettier/index.js:8601:26)
[error]     at mainPrintInternal (/Users/monty/prettier-plugin-awk-test/node_modules/prettier/index.js:8550:22)
[error]     at mainPrint (/Users/monty/prettier-plugin-awk-test/node_modules/prettier/index.js:8537:18)
[error]     at printAstToDoc (/Users/monty/prettier-plugin-awk-test/node_modules/prettier/index.js:8529:18)
[error]     at coreFormat (/Users/monty/prettier-plugin-awk-test/node_modules/prettier/index.js:8837:20)
[error]     at formatWithCursor2 (/Users/monty/prettier-plugin-awk-test/node_modules/prettier/index.js:9021:18)

This is fixed in v0.7.2.

authors: Beaglefoot Monty

repo: Beaglefoot/tree-sitter-awk


text:
Qt 5.15.2 incorrect height calculation

#493 fixed with incorrect way
Need to find a reason of incorrect behavior and fix it

Looks like a bug in QT, not our issue. Let's consider this very low priority and fix when have time / move to next versions.

@chapati
https://github.com/BeamMW/beam-ui/commit/caf9630719bd8cbb46fe1002c8543c2bf7aab661
review, pls

Let's consider this fixed. Thanks.

authors: chapati echoby

repo: BeamMW/beam-ui


text:
Atomic swap: invalid rate error

Bug description
An invalid rate error is always displayed when creating a swap offer
To Reproduce
Steps to reproduce the behavior:

Go to the Atomic swaps screen
Create an offer

Current behavior: an invalid rate error is always displayed and we can't create an offer
Expected behavior: offer is created

Checked on build 6.0.10856.4046


text:
Missing docstrings

Your code looks pretty good, but you missing docstrings. Adding docstrings will make your project more polished and help people know how you intended your code to be used.
""" a graphical calculator

A longer description of the functionality provided in this file, generally
in paragraph form with no particular formatting style (although I tend
to use Markdown styling even though it's not honored by `pydoc`).
"""

class Thing:
    """Short Thing Class Tag

    Here is a longer discussion of what the Thing class if for and why the reader might want
    to use it.
    """
    def method(self) -> None:
        """Short method description here.
        Followed by a longer description of the method including
        any arguments and the return value (if applicable).
        """

def function(foo: int, bar: str, baz: dict[str, list[int]]) -> dict[tuple(int), list[str]]:
    """Short function description here.
    Followed by a longer description of the function and it arguments. This function
    uses type hinting to give the prospective user of this function a better idea of
    how you intended it to be called. In this case, it takes three arguments; foo bar and baz,
    and returns a dictionary whose keys are integer tuples and values are lists of strings.
    The baz argument is expected to be a dictionary with string keys and values are lists of
    integers.
    """

But why is this good you say?  All these docstrings make your code easier to use and re-use.
Assuming your repo is installed into a virtual environment and is named calculator:
$ py -m pydoc calculator
...

The pydoc builtin document tool in conjunction with docstrings is one of the coolest features of python!

I added the doc strings and ran pydocs. Everything worked, but i get a weird issue. Pydocs starts my app and runs the kivy documentation along with my module documentation.

It looks like kivy enables console logging by default. I turned it off by editing the file $HOME/.kivy/config.ini:
[kivy]
keyboard_repeat_delay = 300
keyboard_repeat_rate = 30
log_dir = logs
log_enable = 0   # changed this from 1 to zero

You can have your app set and save the log_enable key in the __main__ section (I think):
from kivy.config import Config

if __name__ == '__main__':
    Config.set('kivy', 'log_enable', 0)
    Config.write()
    App.run()

Changed the ini file worked, Thanks


text:
Any tvOS version?

Can I use this for tvOS?

Probably not in its current state, but should you manage to get it working, open a pull request and I'll be glad to add it.

authors: BeauNouvelle qoli

repo: BeauNouvelle/FaceAware


text:
Can't consume a message.channel_join event if it's for your bot

Use case is I'm trying to drop a message into a channel after my bot joins that channel.  The event for this looks as follows:
{
  token: 'xxxxxxxxx',
  team_id: 'TXXXXXXXX',
  api_app_id: 'AXXXXXXXX',
  event: {
    user: 'UXXXXXXXX',
    inviter: 'UXXXXXXXX',
    text: '<@UXXXXXXXX|slapp> has joined the channel',
    type: 'message',
    subtype: 'channel_join',
    ts: '1470699186.000028',
    channel: 'CXXXXXXXX',
    event_ts: '1470699186.000028'
  },
  type: 'event_callback',
  authed_users: ['UXXXXXXXX']
}

This is getting filtered out in the ignoreBotsMiddleware() function since the msg.meta.user_id is equal to msg.meta.bot_user_id.
One approach we could take is be a bit more specific about the message subtype we're ignoring.  If we only want to ignore messages sent by the bot, we could also check where type=message and subtype=bot_message.  I think you have a little more context on the nuances of why we need this middleware fn @mbrevoort, so curious on your thoughts.

This was pretty hacky. The problem is that it's difficult to know if a message came from the bot itself under certain circumstances. Ideally we just want to ignore messages from ourselves. Either way we should pull this out as middleware and not do it by default. There may be cases where you want to records all messages event the ones you send.
Here's a long conversation that describes the differences between real users, bot user, as_user, etc.
mikebrevoort [10:31 AM]
@chris @bredman Have a question about user_id, bot_id and bot_user_id…
The response from oauth.access looks like this (some props omitted):
  "user_id": "U02KV6HV3",
  "bot": {
    "bot_user_id": "U1T451V7U",
  }
}

user_id is the user that added the integration to a Slack team
bot_user_id is presumably the user ID of the bot user
However, events from the Events API from the bot user look like this:
   "event":{
      "bot_id":"B1T3UEX2B",
      "type":"message",
      "subtype":"bot_message",
   },
   "authed_users":[
      "U1T451V7U"
   ]
}

Where bot_id isn’t what I expected — assumed it would be same as bot_user_id from oauth response and authed_users I thought would contain the user ID of the user that added the integration to Slack (user_id) _not_ the value bot_user_id.
Is this working as expected?  Or am I just confused?
bredman [10:32 AM]
I think I know what is going on and this is confusing to everyone inside and outside of Slack so no worries :slightly_smiling_face:
[10:35]
If a message is sent with as_user=false it will be sent from an app which is identified by the bot_id above. This represents a single installed instance of the application on the team, if multiple users install an application there could be be multiple bot ids for each user that has installed an application
[10:35]
If a message is sent with as_user=true using the token given out for the bot user U1T451V7U it should have the expected user id on the event you receive from Events API
[10:36]
It's pretty confusing so let me know if you have any questions. I'm going to invite our docs writer in here too to see this discussion :slightly_smiling_face:
[10:37]
@episod: :point_up:
mikebrevoort [10:40 AM]
Is there a way to know the bot_id for a given bot user in advance?
[10:41]
And just to confirm, bot_id might be different for each App-Bot/User that added integration combo?
[10:42]
Perhaps auth.test could return bot_id if called with an xoxb token
bredman [10:44 AM]
for bot users there will only ever be one bot_id and one bot_user_id per team
[10:44]
If you have an app that doesn't use bot users there will be one bot_id per user that installed the app on the team
mikebrevoort [10:46 AM]
Why would there be a bot_id for an app w/o a bot user? What does that mean? :stuck_out_tongue_winking_eye:
bredman [10:50 AM]
When an app posts a message using an xoxp token with as_user=false we associate that message with the app and call that a bot message.
When a bot user that was created by an app posts a message using an xoxb token with as_user=true we associate that message with the bot user and just treat it as a message from a user with is_bot true.
[10:51]
When a bot user that was created by an app posts a message using an xoxb token with as_user=false we associate that message with the app call that a bot message too.
mikebrevoort [10:54 AM]
OK, so “bot” is being overloaded to mean an actual “bot” and posting with as_user=false (edited)
bredman [10:55 AM]
Yes, that's a much more succinct way of putting it than I did :slightly_smiling_face:
mikebrevoort [10:57 AM]
Thank you.  @episod A doc on that that I could refer to once a month would be :100:  :slightly_smiling_face:
[10:58]
So, the problem I’m trying to solve is: if I post a message with as_user=false how do I know if I created that message?
bredman [12:37 PM]
The mechanism for determining your bot’s bot_id is:
• (call auth.test on your bot’s token OR  use the bot_user_id returned in the oauth response) to get your bot’s user id
• call users.info with your bot’s user id, get the user.profile.bot_id from that response
Use that bot_id to determine that the message is yours.
[12:38]
This only works right now if you are using bot users, we're still working on getting the bot ids to developers in cases where there is no bot user.
mikebrevoort [12:49 PM]
thanks @bredman — bot_id should never change, right? We should be able to cache that indefinitely?
bredman [12:52 PM]
Yeah, for bot users it should be stable.

It would also be nice if there was something like:
Message.isMe()
Message.isBot()

authors: mbrevoort selfcontained

repo: BeepBoopHQ/slapp


text:
identify which feature is running ( *.feature )

Hi, I see great work on behat in version 3! But I am just wondering how to identify which feature file is being processed.  $this->FeatureName ?

With hooks you can hook into behat's process: http://behat.readthedocs.io/en/latest/user_guide/context/hooks.html
For example, with the BeforeFeature hook you gain access to BeforeFeatureScope which eposes some feature details (title among other things). You can store this in your context for future use.
Let me just add that if you feel you need this you're probably doing something hackish.

authors: jakzal spagu

repo: Behat/Behat


text:
Impossible to select multiple values on  with 2.1

Hi,
Even that a new rules appears :
When /^(?:|I )additionally select "(?P<option>(?:[^"]|\\")*)" from "(?P<select>(?:[^"]|\\")*)"$/ - Selects additional option in select field with specified id|name|label|value.
When I write
`When I select "INST_1" from "installationsSelector"`
`And I additionally select "INST_0" from "installationsSelector"`

It just selects me the option INST_1 then it selects the INST_0, but the INST_1 is no longer selected.
http://screencast.com/t/FE49q23kr
I've tested with latest stable version of chrome

Fixed by my mate here https://github.com/Behat/Mink/pull/116

You should close this issue then =)

yeah ofc.

authors: clemherreman tristanbes

repo: Behat/Mink


text:
Workflow for working on our code for the new design

I wanted to discuss how we should work together, and how we want to release our new work.
There are two main methods:

Release in increments to main
Bundle work in a v2 feature branch and merge into main at the end of the work

If we choose a feature branch, we should integrate any changes from the main branch in that feature branch. So if Renovate bot updates the main branch, we should pull in those changes into our feature branch. This will help prevent a big merge headache at the end, and ensure everything actually works together. 😄
If we release in increments, we don't have to worry as much about getting behind the main branch. But it would mean that the site looks a bit wonky, as some components will look nice, and other will look bad.
Let me know which option you like best! Or if you have an even better method, please tell me! 😄

To keep it simple, I would just release incrementally to main branch.
I'm afraid I won't be able to spend more time on the v2 until end of the summer at least.

To keep it simple, I would just release incrementally to main branch.

That's nice and easy! 😄

I'm afraid I won't be able to spend more time on the v2 until end of the summer at least.

Thanks for the heads-up! I'll try to be patient then. 😄


text:
Animation bug when moving items

I made a short screencast of the problem and appended it as a gif, here's a short description:
My ChipsLayoutManager looks like following:
ChipsLayoutManager chipsLayoutManager = ChipsLayoutManager.newBuilder(getActivity())
            .setChildGravity(Gravity.TOP)
            .setScrollingEnabled(true)
            .setGravityResolver(new IChildGravityResolver() {
                @Override
                public int getItemGravity(int position) {
                    return Gravity.CENTER;
                }
            })
            .build();

I add my chips (they have wrap_content as width) and my two headers to distinct between selected and not selected items (the headers have a width of match_parent so they automatically take the space of a row). Selecting an item does just move it under the selected items header and notifies the adapter about this move.

This problem is based on constraints of this layout type. Each concrete item location is based on all previous item locations. That's a basis.
Layout manager keeps in memory only visible views on screen & some views for caching purpose. All other views are recycled. So when you scroll to upper items, LM tries to layout previous views based on current view locations and on cached locations of that appearing views.
In case moving/inserting/deleting in somewhere above of visible bounds, it means that you have changed a basement of views, the cache of locations become invalidated. To accurately display changes layout manager would recalculate new locations for all views above visible bounds. I decided that it isn't optimal, coz you could have any amount of views.
How does it work now? According to current algorithm LM just leaves it as is, scroll above with placing views based on available view locations (it can't be so accurate) and performs normalization to natural view locations when user scrolled to changed position in basement. That normalization looks like animation displayed in your gif ( without it it would look like blink change or like wrong item locations if counted from start) .
I hope i've explained it clearly. I think it is possible to perform some optimizations here. For example, it won't affect performance much if LM recalculated all view locations for example if changes had made in above 50 positions as maximum. I'll think about it. But for greater distance it will be left as is.

I get the idea behind it and understand the problem. It's an accepatable solution, just wanted to inform you about this behaviour...
I could think of an alternative solution though, the basic idea is following:
Precondition

Chips are layed out the same in landscape and portrait, otherwise it won't work after screen rotation
Always start a layout at top position

Idea

While scrolling down, fill a cache with the widths of the views
Reuse this calculated widths for laying out the items correctly
you could even cache "calculated" row breaks (those must be cleared on rotation of course) => this helps otpimising calculations, as rows without changes can be ignored for calculations of other rows
With this information, you could make fast recalculations when moving views that are fully correct

Get the idea? What do you think about it?

Yes, i've got an idea. Currently i have a cache of row endings to properly place views on scrolling up and it should be possible to recalculate it with your suggested cache of widths. It shouldn't take much memory or  processor time with limited cache.
About screen rotation.. With implemented recalculation feature It should be also possible to use it due to orientation change.
This enhancement may take valuable amount of time

authors: BelooS MFlisar

repo: BelooS/ChipsLayoutManager


text:
api.domains_dns_addHost() methods breaks when domain value is a subdomain

domain = "www.example.com "
record = {
    # required
    "Type": "A",
    "Name": "test1",
    "Address": "127.0.0.1",
}
# add A "test1" record pointing to 127.0.0.1
api.domains_dns_addHost(domain, record)

I need to add host record for a subdomain like www.example.com using this method domains_dns_addHost. However this breaks and gives ValueError: too many values to unpack error in this line https://github.com/Bemmu/PyNamecheap/blob/master/namecheap.py#L383. Any avdice on how to fix it?

closing this, It was a mistake in my part.

repo: Bemmu/PyNamecheap


text:
Migration to the official BTW organization

Hey, you did a cool job making an archival version of BTW! Would you be open to transferring it to the official Better Than Wolves organization? It has existed for quite some years and is home to the community edition of the mod (and most of the addons):
https://github.com/BTW-Community
It seems a bit silly to maintain two separate organizations :)

Sure thing. Uh, to be honest I've never done a repo transfer so I don't know how to do that.

Oh could you please send an invite again? Things got busy over here and I don't really check this account much.

authors: MoleMad SimonMeskens

repo: BetterThanWolves/BetterThanWolves


text:
Crash With Little Tiles Mod

Game crashed with little tiles mod as I tried to use to door functionality. Crash log:
crash-2017-01-23_19.47.58-server.txt
crash-2017-01-23_19.48.07-client.txt

Client and server both crashed??? wow

I'm not really sure what to make of this; Little Tiles uses its own separate world to simulate the tiny blocks doing things.
Still looking into it though

Old issue, closed.

authors: Best108 BigBastard DaMatrix devalidating

repo: BigBastard/Valkyrien-Warfare-Revamped


text:
关于自定义view，点击非选择器控件，window依然消失的猜测

在源码：BasePickerView类中，第74行左右，对dialogview进行了点击监听，这里调用了dismiss。取消这个点击事件后，正常。只限于isDialog = true；

@Noah1991 可设置 setOutSideCancelable

@Noah1991 可设置 setOutSideCancelable

这个我肯定设置了的！作者是创建了一个父控件，然后将我的自定义view界面塞到他的控件里。但是他同时给父控件设置了点击监听，就是我上面说的！具体为什么我的view没有完全填充他的父控件，目前我还没有想明白。

@Noah1991 “取消这个点击事件后，正常。只限于isDialog = true”， 这里指的是什么问题？

TimePickerBuilder利用这个创建一个时间选择的弹窗，设置isDialog = true；布局是自己写一的一个布局，setOutSideCancelable为false。show后点击布局空白处，不是dialog外部，而是dialog内容布局没有控件的地方。dialog依然消失。

@Noah1991 给自己布局的rootview 设置一个 clickable 消费掉点击事件应该就不会dissmiss了。

repo: Bigkoo/Android-PickerView


text:
Decon planner from library on ruins does not respect filters

on_player_deconstructed_area provides only an item name, not a LuaItemStack where the filters could be read. So, I am reading them from the cursor stack if that is the item the player used, but that does not work for deconstruction records (deconstruction planners from the library).
Possible solution would be to move the entities to the player force so the workaround is not needed. This may provoke enemies to attack the entities. Looking for better solutions.

Fixed with 0ad51c57f33fcc6ae2031ca45eda3008cd72e153


text:
Strategies for running BinTuner much faster without much compromises

Currently BinTuner focuses on quality. To make it a practical tool, it'd need to provide subsecond answers for small programs (say 1000 SLOC of C).
Please share your ideas here how could that be achieved without much compromising the quality of the outcomes.

Based on some fast heuristics (e.g. based on experience with "BinTuning" of previous apps) or source code available or some annotations in debug build or whatever, choose only a very small percentage (maybe less than 0.5%) of all instructions at interesting places and run BinTuner only on those.
Restrict or extend the operations the genetic algorithm can do leading to faster convergence.
Pre-prepare the binary in some way so that the initial phases the genetic algorithm currently does can be "skipped". In other words, shuffle with the instructions before the genetic algorithm starts in a way resembling the first few hundreds/thousands iterations/populations of the genetic algorithm but in one step. Yet in other words, prepare quickly more optimal default initial state of the input instead of relying on the genetic algorithm all the way down from the very beginning.
Techniques used by superoptimizers.

@dumblob  Thank you so much for your interest in BinTuner and for sharing these good ideas :)
yes, these may have the opportunity to improve the speed of convergence.
we're exploring better ways to converge faster and make iteration compilation more efficient.

I've added superoptimizers (https://en.wikipedia.org/wiki/Superoptimization ) to the list above.
Btw. it might make sense to add BinTuner to the list on the wikipedia page :wink:.

@dumblob 👍 Cool, thanks!

Hi guys  : ）
Thank you very much for your interest and feedback!
This question has been answered, let me close it for now and if you have other questions, feel free to open a new one.
All the best,

authors: BinTuner dumblob

repo: BinTuner/Dev


text:
Update keys for sending emails

We've switched to using app passwords for authentication in sending emails, so the keys for decrypting the passwords have changed.

Codecov Report

Merging #138 (831f291) into dev (903e8dd) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #138      +/-   ##
==========================================
- Coverage   76.83%   76.77%   -0.07%
==========================================
  Files          31       31
  Lines        1623     1623
  Branches      320      320
==========================================
- Hits         1247     1246       -1
  Misses        349      349
- Partials       27       28       +1

Impacted Files
Coverage Δ

api/resources/efp_image.py
95.08% <0.00%> (-1.64%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: brucosper codecov-commenter


text:
🛑 S-BIAD531 is down

In f47a8d2, S-BIAD531 (https://www.ebi.ac.uk/biostudies/files/S-BIAD531/Zebrafish_ML_Archive/outputs/2020.07.30_FishDev_WT_01_1/obj_probs/FishDev_WT_01_1_MMStack_A10-Site_0.ome_Object Probabilities.tiff_results.txt) was down:

HTTP code: 0
Response time: 0 ms

Resolved: S-BIAD531 is back up in 243becc.

repo: BioImage-Archive/upptime


text:
Bad UX when network is required to create a wallet

There are reports of Bitcoin.com wallet requiring network access in order to create a wallet.  Although Bitcoin.com wallet isn't meant for cold storage, asking for network access at that point is bad user experience.  There's a use case for someone creating a wallet while on an airplane or while being somewhere with no reception.

The Bitcoin.com Wallet is a lightweight client requiring very low network resources. This is achieved by using a server that notifies the wallet about new transactions and blocks. The server needs the public keys to do that. No private keys are ever sent to the server. It would be worse UX to lead the user into believing they can use a bitcoin wallet without internet. Airgapped wallet functionality is currently out of scope for this project.

I see two possible solutions to improve the user experience:

Easy solution:  have a warning or popup/modal stating that a network connection is needed because the server needs the public keys.
Hard solution:  let the user create a pair of keys offline and warn that the wallet won't work until there is a connection so the public keys can be sent to the server.

This is a non-issue. Technical users understand why the extended public key has to be uploaded to BWS. Non-technical users don't care.

authors: abrkn gasull magmahindenburg

repo: Bitcoin-com/Wallet


text:
The new choose screen makes your wallet less user friendly

This choose screen is unnecessary and it makes the payment process slower!
I never wanted to scan a QR code and then copy that address to my clipboard but now I have to tap twice every time I make a payment, that really sucks when I realize that with a VISA card people just swipe and go.
They will always think that we are some stupid freaks because Credit Card is just easier and faster.
And I do not want to add any contacts at all, because that gives risk of exposure and someone who gets access to my phone can identify my partners!

This has changed in the current version. Thank you for reporting!!

authors: alfonsofy theRealBitcoinClub


text:
Milestone 1.5: Activity - specs & progress

This is a tracker/discssion issue for the 1.5 milestone (design docs).
Goal is to add transaction handling and display. So far, the application can only create and manage wallets, but there is no balance or transaction list. That's what we add here.
Additions:

Activity screen
Transaction details
Balance display

Questions:

What other activities should be in the activity list? Transactions and...? Will we eventually have things like key rotation, backup reminders, or otherwise?
Do we want to offer search and filter options for the activity list?
What are all the transaction states we need to offer? This would be great to have a spec'd list.

Some cleaned-up designs from last years explorations:

We also need a state for indicating when transactions are still being verified, more here. This does not necessarily have to be an indicator on each transaction, it could also be a more general message, or even just something that shows up when trying to send UTXOs that have not been verified yet.

Another state to address is when received coins are time-locked. This was brought up in this podcast episode.
There is a bit of a chicken-end-egg situation. If the application does not let you create time-locks, then why display them. Well, you might be able to create them in a separate wallet. Displaying is also a lighter load development-wise than creating. So we could start with the display side, and the create side would be part of #65 anyways.

In the design call #92, we talked about potentially showing payment requests in activity. Logic is that a payment request gets completed by an incoming transaction. We'll explore this in the 1.6 milestone.

The design docs for activity were just updated via this PR.

repo: BitcoinDesign/Bitcoin-Core-App


text:
🛑 IHDesign is down

In b56552f, IHDesign (https://IHdesign.media) was down:

HTTP code: 502
Response time: 710 ms

Resolved: IHDesign is back up in 563329b after 7 minutes.

repo: BlackNetHome/uptime


text:
添加判断状态栏是否存在

在ScreenUtils中添加了，判断状态栏是否存在的方法。

已改，谢谢提供，由于格式有点问题，所以我手动修改，没merge

authors: Blankj tiandawu

repo: Blankj/AndroidUtilCode


text:
update pls

hello, could you update cheat, pls?

I'll update it today

https://github.com/Blaumaus/le_chiffre/releases/tag/v1.4.2 sorry for a delay


text:
In Spring 2.5, a new "deleteAllInBatch(...)" method was added

In Spring 2.5, a new "deleteAllInBatch(...)" method was added
/**
 * Deletes the given entities in a batch which means it will create a single query. This kind of operation leaves JPAs
 * first level cache and the database out of sync. Consider flushing the {@link EntityManager} before calling this
 * method.
 *
 * @param entities entities to be deleted. Must not be {@literal null}.
 * @deprecated Use {@link #deleteAllInBatch(Iterable)} instead.
 */
@Deprecated
default void deleteInBatch(Iterable<T> entities){deleteAllInBatch(entities);}

/**
 * Deletes the given entities in a batch which means it will create a single query. This kind of operation leaves JPAs
 * first level cache and the database out of sync. Consider flushing the {@link EntityManager} before calling this
 * method.
 *
 * @param entities entities to be deleted. Must not be {@literal null}.
 * @since 2.5
 */
void deleteAllInBatch(Iterable<T> entities);

You could workaround this in your app for now by delegating to the deleteInBatch method which is properly implemented.

authors: beikov corbettcode

repo: Blazebit/blaze-persistence


text:
Mouse into the commodity card, should be elevation style

already fixed


text:
"Build started" always null

Hello,
I know this problem has been posted before, but although I tried the possible solutions that were posted I still can't figure out why phpci is not building the project for me. And aparently there is no log file that's telling what is going wrong.
What I did so far:

installed phpci, that was really easy and well explained
set up  a gitlab project
add the webhook url to the gitlab project
add phpci.yml to the project

The webhook is working. I see a new build-attempt  with the right commit reference. However, it just keeps staying in "pending" and is not doing anything else.
I then tried:

change owner of the whole phpci folder to root for testing purposes
verify that shell_exec and exec are available (although i think the installer is already doing that)
create a smaller testproject (to make sure it's not composer that is hanging)
change the project location from gitlab to github

And a few more things that I just tried because I started to become desperate...but they did not really make sense.
The project I'm trying to build is https://github.com/AlexDubstone/codeceptci
Is there anything else I could try? I'd really really appreciate any help.
Thank you very much
Alex

This caught me for a while after I setup PHPCI, a number 8 to the list on this page would have resolved the issue for me:
https://www.phptesting.org/install-phpci
#8. Setup Cron or Daemon to run tests
It should also be added to "Standard installation process:" on this page, which actually contains the instructions but they're lost below all the web-server configurations.
https://www.phptesting.org/wiki/Installing-PHPCI

Thanks, @Patabugen ! Added your a bullet point as per your suggestion. :)

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
marc@laporte.name
Domain marclaporte.com has exceeded the max emails per hour (311/300 (103%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o5.sgmail.github.com ([192.254.113.10]:7491)
by uskm12.fastbighost.net with esmtps (TLSv1.2:DHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.84)
(envelope-from bounces+848413-0bd8-marc=marclaporte.com@sgmail.github.com)
id 1YKrcM-002RNZ-HD
for marc@marclaporte.com; Mon, 09 Feb 2015 18:55:27 +0200
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=github.com;
h=from:reply-to:to:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=xruqFEf7Cqf7XDyo0XKHiZ+7abo=; b=XoubEnJMIfG1xsl4
Bee+SkLs2d42CWW4gK4KO6A9acCcaJ0zsqW+Rbuduk3J45R+8N4el8aaKSE3p+tp
FXRruHUx3cg6kN5tHtQdpL76lTUCKHjA0ETVyaOY3OM0tNO2lAF+kFoJduR9IYlT
qmKsVuqmPcXpprtGPS05iF2oJwk=
Received: by filter0200p1mdw1.sendgrid.net with SMTP id filter0200p1mdw1.21591.54D8E67313
2015-02-09 16:55:17.757418389 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17])
by ismtpd-020 (SG) with ESMTP id 14b6f4436c4.564c.273187
for marc@marclaporte.com; Mon, 09 Feb 2015 16:55:16 +0000 (UTC)
Date: Mon, 09 Feb 2015 08:55:16 -0800
From: Tobias van Beek notifications@github.com
Reply-To: Block8/PHPCI reply@reply.github.com
To: Block8/PHPCI PHPCI@noreply.github.com
Message-ID: Block8/PHPCI/issue/545/issue_event/232596181@github.com
In-Reply-To: Block8/PHPCI/issues/545@github.com
References: Block8/PHPCI/issues/545@github.com
Subject: Re: [PHPCI] "Build started" always null (#545)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_54d8e67446a53_70373f96b8e5d2b8150241";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: tvbeek
X-GitHub-Recipient: marclaporte
List-ID: Block8/PHPCI <PHPCI.Block8.github.com>
List-Archive: https://github.com/Block8/PHPCI
List-Post: mailto:reply@reply.github.com
List-Unsubscribe: mailto:unsub+000f52e57424022431e7947cc01b59bb8b6702e08396677f92cf0000000110f0a87492a169ce025c4ab1@reply.github.com,
https://github.com/notifications/unsubscribe/AA9S5T1ToFQsUcQHZ4rWXGLLITWPXe50ks5nqN30gaJpZM4CUj0a
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: marc@marclaporte.com
X-SG-EID: 6gokMyjshdqIg4wv0fMwb0kp6eT9ppVffR9VKvtRydZ4j9OXyKoFrgW1AAl3t+BOtVlZPHzKTjsXvV
328k7eff9p66mnYBwrkWwXapFX9RQbm9TKEJ0sWOC0IiPj+WmYkIN7eYizmVIbnErcCM5Ma6sc2SEg
TEuv4Fhalp2tTpQ=
X-Spam-Status: No, score=0.0
X-Spam-Score: 0
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "uskm12.fastbighost.net",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Closed #545. --- Reply to this email directly or view it on
GitHub: https://github.com/Block8/PHPCI/issues/545#event-232596181 Closed
#545. [...]
Content analysis details:   (0.0 points, 5.0 required)
pts rule name              description

0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: github.com]
-0.0 T_RP_MATCHES_RCVD      Envelope sender domain matches handover relay
domain
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
2.1 HTML_IMAGE_ONLY_12     BODY: HTML: images with 800-1200 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
[192.254.113.10 listed in wl.mailspike.net]
-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Spam-Flag: NO
----==_mimepart_54d8e67446a53_70373f96b8e5d2b8150241
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #545.

Reply to this email directly or view it on GitHub:
https://github.com/Block8/PHPCI/issues/545#event-232596181
----==_mimepart_54d8e67446a53_70373f96b8e5d2b8150241
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #545.
—Reply to this email directly or view it on GitHub.

----==_mimepart_54d8e67446a53_70373f96b8e5d2b8150241--

This also caught me out.
I think you can improve the docs by stating in parenthesis that (this step is not optional, you must have either the cronjob or the daemon running or you won't be able to build)

authors: AlexDubstone Patabugen geoidesic marclaporte mikebronner


text:
Bookworm based image for Raspberry pi 5

Hello,
I got my pi 5 yesterday, first thing I did was to install the latest 64 bit raspbian (bookworm) and followed the image build instruction (paid attention to the 64bit part) and setting the IMG_RELEASE to bookworm.
It did succeed to build the three images lite, standard and full ( that I couldn't copy because the file was larger than 4.1 gb)
I wrote the generated standard image to the SD, booted fine.
uname -a :
Linux Patchbox5 6.1.0-rpi6-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.58-1-rpt2 (2023-10-27) aarch64 GNU/Linux
But there is no sign of patchbox, not even jack
I would gladly help to generate an working image for the PI5 if given some pointers

It looks like maybe they're working on 64 bit support in a branch: https://github.com/BlokasLabs/patchbox-os-gen/tree/patchbox-2024-01-dev
@gtrainavicius any word on when this might be ready to try out? Have you tested it on a pi5?

authors: jhordies tedpower

repo: BlokasLabs/patchbox-os-gen


text:
Add simple stats module.

Consists of helper functions that invoke scipy stats analysis
functionality.

Current coverage is 100.00%

Merging #107 into master will not affect coverage as of 86404dd

@@            master    #107   diff @@
======================================
  Files           29      29
  Stmts          956     956
  Branches         0       0
  Methods
======================================
  Hit            956     956
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 86404dd

Powered by Codecov. Updated on successful CI builds.

@lidakanari It is pretty simple, but does it look OK?

authors: codecov-io juanchopanza

repo: BlueBrain/NeuroM


text:
🛑 hosted-PalmettoGBA is down

In 1567985, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 6994294 after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 945daeb, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in e106b5d after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 1ed0031, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in e922371.


text:
🛑 hosted-PalmettoGBA is down

In 810653b, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in d8eca47 after 10 minutes.


text:
🛑 hosted-PalmettoGBA is down

In d25e5a7, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in d0732a0 after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In c9f1f47, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 7fca4cb after 9 minutes.


text:
Base station processes nearly complete

Build image, run container scripts
Broke into 5 processes
Finished skeleton for data_logger
Created pit_commands process
Finished transmit_prioritizer process
Finished xbee_driver process

Remove the hardcoded serial configs from xbee_connection.cpp, change xbee_driver to pass them in
Change serial_configs and network_config to #defines to increase performance

repo: BlueJayRacing/bluejayracing


text:
Rearrange logic so text styling works better on android

Remove linebreak after all headlines
Add nodeComponentProps.style to style on NodeComponent
Add support for ${node.name}Style style so we can easier style text layouts on android

:shipit:

authors: dlindstrm johankasperi

repo: BonnierNews/react-native-htmlview

license: ISC