[BUG] Failed to Fetch Secrets from Key Vault using Java SDK when run from Azure Pipelines

Describe the bug
An exception occurs in fetching secrets while using Azure Pipelines. Works fine on WSL and Windows Gitbah,
Exception or Stack Trace
	2022-04-20T15:57:43.2014411Z 2022-04-20 15:57:43,200 WARN  [Thread-7] secrets.SecretAsyncClient: Failed to get secret - SynapseServicePrincipalKey
2022-04-20T15:57:43.2015946Z Max retries 3 times exceeded. Error Details: Structure.getFieldOrder() on class com.azure.identity.implementation.LinuxKeyRingAccessor$GError returns names ([code, domain, message]) which do not match declared field names ([])
2022-04-20T15:57:43.2051491Z Autoscale Tests Runner failed. Printing stack trace
2022-04-20T15:57:43.2058100Z java.lang.RuntimeException: Max retries 3 times exceeded. Error Details: Structure.getFieldOrder() on class com.azure.identity.implementation.LinuxKeyRingAccessor$GError returns names ([code, domain, message]) which do not match declared field names ([])
2022-04-20T15:57:43.2069926Z 	at com.azure.core.http.policy.RetryPolicy.lambda$attemptAsync$1(RetryPolicy.java:127)
2022-04-20T15:57:43.2071318Z 	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:88)
2022-04-20T15:57:43.2072246Z 	at reactor.core.publisher.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:165)
2022-04-20T15:57:43.2080897Z 	at reactor.core.publisher.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:165)
2022-04-20T15:57:43.2081941Z 	at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:185)
2022-04-20T15:57:43.2082826Z 	at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:251)
2022-04-20T15:57:43.2084085Z 	at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:251)
2022-04-20T15:57:43.2085161Z 	at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:251)
2022-04-20T15:57:43.2086120Z 	at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onError(FluxPeekFuseable.java:894)
2022-04-20T15:57:43.2087077Z 	at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onError(FluxPeekFuseable.java:894)
2022-04-20T15:57:43.2088206Z 	at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onError(Operators.java:2021)
2022-04-20T15:57:43.2089463Z 	at reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:87)
2022-04-20T15:57:43.2090311Z 	at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:834)
2022-04-20T15:57:43.2091128Z 	at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:600)
2022-04-20T15:57:43.2092031Z 	at reactor.core.publisher.FluxFlatMap$FlatMapMain.innerComplete(FluxFlatMap.java:909)
2022-04-20T15:57:43.2092789Z 	at reactor.core.publisher.FluxFlatMap$FlatMapInner.onComplete(FluxFlatMap.java:1013)
2022-04-20T15:57:43.2093620Z 	at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onComplete(Operators.java:2016)
2022-04-20T15:57:43.2094376Z 	at reactor.core.publisher.Operators.complete(Operators.java:135)
2022-04-20T15:57:43.2095074Z 	at reactor.core.publisher.MonoEmpty.subscribe(MonoEmpty.java:45)
2022-04-20T15:57:43.2095726Z 	at reactor.core.publisher.Mono.subscribe(Mono.java:4213)
2022-04-20T15:57:43.2097501Z 	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:97)
2022-04-20T15:57:43.2098510Z 	at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onError(FluxPeekFuseable.java:227)
2022-04-20T15:57:43.2099651Z 	at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:251)
2022-04-20T15:57:43.2100415Z 	at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onError(FluxPeekFuseable.java:894)
2022-04-20T15:57:43.2101135Z 	at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onError(FluxMap.java:252)
2022-04-20T15:57:43.2102098Z 	at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onError(Operators.java:2021)
2022-04-20T15:57:43.2102812Z 	at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:185)
2022-04-20T15:57:43.2103451Z 	at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:251)
2022-04-20T15:57:43.2104103Z 	at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:135)
2022-04-20T15:57:43.2104762Z 	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:73)
2022-04-20T15:57:43.2105446Z 	at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1782)
2022-04-20T15:57:43.2106265Z 	at reactor.core.publisher.MonoCompletionStage.lambda$subscribe$0(MonoCompletionStage.java:86)
2022-04-20T15:57:43.2106973Z 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
2022-04-20T15:57:43.2107672Z 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
2022-04-20T15:57:43.2108395Z 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
2022-04-20T15:57:43.2109891Z 	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705)
2022-04-20T15:57:43.2110565Z 	at java.base/java.lang.Thread.run(Thread.java:829)
2022-04-20T15:57:43.2111152Z 	Suppressed: java.lang.Exception: #block terminated with an error
2022-04-20T15:57:43.2111791Z 		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99)
2022-04-20T15:57:43.2112404Z 		at reactor.core.publisher.Mono.block(Mono.java:1680)
2022-04-20T15:57:43.2113034Z 		at com.azure.security.keyvault.secrets.SecretClient.getSecretWithResponse(SecretClient.java:171)
2022-04-20T15:57:43.2113713Z 		at com.azure.security.keyvault.secrets.SecretClient.getSecret(SecretClient.java:150)
2022-04-20T15:57:43.2114415Z 		at com.microsoft.spark.perf.util.keyvault.KeyVaultAccessor.accessSecret(KeyVaultAccessor.scala:19)
2022-04-20T15:57:43.2115136Z 		at ms.autoscale.AutoscaleTestsRunner.fetchSecretsFromKeyVault(AutoscaleTestsRunner.scala:76)
2022-04-20T15:57:43.2115811Z 		at ms.autoscale.AutoscaleTestsRunner.run(AutoscaleTestsRunner.scala:33)
2022-04-20T15:57:43.2116419Z 		at ms.autoscale.AutoscaleTestsRunner$.main(AutoscaleTestsRunner.scala:202)
2022-04-20T15:57:43.2117012Z 		at ms.autoscale.AutoscaleTestsRunner.main(AutoscaleTestsRunner.scala)
2022-04-20T15:57:43.2117566Z 		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-04-20T15:57:43.2118218Z 		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2022-04-20T15:57:43.2118943Z 		at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-04-20T15:57:43.2119596Z 		at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2022-04-20T15:57:43.2120220Z 		at scala.reflect.internal.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.scala:70)
2022-04-20T15:57:43.2120958Z 		at scala.reflect.internal.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:31)
2022-04-20T15:57:43.2121824Z 		at scala.reflect.internal.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader.scala:101)
2022-04-20T15:57:43.2122593Z 		at scala.reflect.internal.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:70)
2022-04-20T15:57:43.2123320Z 		at scala.reflect.internal.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:101)
2022-04-20T15:57:43.2124017Z 		at scala.tools.nsc.CommonRunner$class.run(ObjectRunner.scala:22)
2022-04-20T15:57:43.2136685Z 		at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:39)
2022-04-20T15:57:43.2137212Z 		at scala.tools.nsc.CommonRunner$class.runAndCatch(ObjectRunner.scala:29)
2022-04-20T15:57:43.2137683Z 		at scala.tools.nsc.ObjectRunner$.runAndCatch(ObjectRunner.scala:39)
2022-04-20T15:57:43.2138176Z 		at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:65)
2022-04-20T15:57:43.2138870Z 		at scala.tools.nsc.MainGenericRunner.run$1(MainGenericRunner.scala:87)
2022-04-20T15:57:43.2139352Z 		at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:98)
2022-04-20T15:57:43.2139849Z 		at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:103)
2022-04-20T15:57:43.2140282Z 		at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
2022-04-20T15:57:43.2153765Z Caused by: java.lang.Error: Structure.getFieldOrder() on class com.azure.identity.implementation.LinuxKeyRingAccessor$GError returns names ([code, domain, message]) which do not match declared field names ([])
2022-04-20T15:57:43.2154431Z 	at com.sun.jna.Structure.getFields(Structure.java:1089)
2022-04-20T15:57:43.2154869Z 	at com.sun.jna.Structure.deriveLayout(Structure.java:1232)
2022-04-20T15:57:43.2155484Z 	at com.sun.jna.Structure.calculateSize(Structure.java:1159)
2022-04-20T15:57:43.2155926Z 	at com.sun.jna.Structure.calculateSize(Structure.java:1111)
2022-04-20T15:57:43.2156347Z 	at com.sun.jna.Structure.useMemory(Structure.java:350)
2022-04-20T15:57:43.2156967Z 	at com.sun.jna.Structure.<init>(Structure.java:202)
2022-04-20T15:57:43.2159125Z 	at com.sun.jna.Structure.<init>(Structure.java:193)
2022-04-20T15:57:43.2159585Z 	at com.sun.jna.Structure.<init>(Structure.java:189)
2022-04-20T15:57:43.2160094Z 	at com.azure.identity.implementation.LinuxKeyRingAccessor$GError.<init>(LinuxKeyRingAccessor.java:92)
2022-04-20T15:57:43.2160676Z 	at com.azure.identity.implementation.LinuxKeyRingAccessor.read(LinuxKeyRingAccessor.java:54)
2022-04-20T15:57:43.2161254Z 	at com.azure.identity.implementation.LinuxKeyRingAccessor.read(LinuxKeyRingAccessor.java:70)
2022-04-20T15:57:43.2161857Z 	at com.azure.identity.implementation.VisualStudioCacheAccessor.getCredentials(VisualStudioCacheAccessor.java:132)
2022-04-20T15:57:43.2162501Z 	at com.azure.identity.implementation.IdentityClient.authenticateWithVsCodeCredential(IdentityClient.java:628)
2022-04-20T15:57:43.2163136Z 	at com.azure.identity.VisualStudioCodeCredential.lambda$getToken$2(VisualStudioCodeCredential.java:79)
2022-04-20T15:57:43.2163678Z 	at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:44)
2022-04-20T15:57:43.2164117Z 	at reactor.core.publisher.Mono.subscribe(Mono.java:4213)
2022-04-20T15:57:43.2164631Z 	at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:75)
2022-04-20T15:57:43.2165175Z 	at reactor.core.publisher.Operators.complete(Operators.java:135)
2022-04-20T15:57:43.2165614Z 	at reactor.core.publisher.MonoEmpty.subscribe(MonoEmpty.java:45)
2022-04-20T15:57:43.2166067Z 	at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)
2022-04-20T15:57:43.2166488Z 	at reactor.core.publisher.Mono.subscribe(Mono.java:4213)
2022-04-20T15:57:43.2166942Z 	at reactor.core.publisher.FluxFlatMap$FlatMapMain.onNext(FluxFlatMap.java:418)
2022-04-20T15:57:43.2167487Z 	at reactor.core.publisher.FluxIterable$IterableSubscription.slowPath(FluxIterable.java:267)
2022-04-20T15:57:43.2168045Z 	at reactor.core.publisher.FluxIterable$IterableSubscription.request(FluxIterable.java:225)
2022-04-20T15:57:43.2168909Z 	at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:782)
2022-04-20T15:57:43.2169275Z 	... 23 more

To Reproduce
Code Snippet run from a java process is provided below. Java process runs fine in WSL / Windows gitbash but fails when run from
azure pipelines.
Code Snippet
Following Code is used to reproduce the issue
import com.azure.identity.DefaultAzureCredentialBuilder
import com.azure.security.keyvault.secrets.SecretClientBuilder

class KeyVaultAccessor(keyVaultUrl: String,
                       managedIdentityClient: String) {

  val credential = new DefaultAzureCredentialBuilder()
    .managedIdentityClientId(managedIdentityClient)
    .build()

  val client = new SecretClientBuilder()
    .vaultUrl(keyVaultUrl)
    .credential(credential)
    .buildClient()

  def accessSecret(secretName: String): String = {
    client.getSecret(secretName).getValue
  }

}

Expected behavior
Secrets should be fetched as they are fetched when running locally on WSL / Gitbash..
Screenshots
Not Applicable
Setup (please complete the following information):
Package the code I added above in a JAR file and run jar file from azure pipelines. I use the below azure pipelines config to run the jar using scala command.
trigger:
- none

pool:
  vmImage: ubuntu-latest

steps:

- task: Bash@3
  inputs:
    targetType: 'inline'
    script: |
      # Write your commands here
      sudo apt --assume-yes install scala
      curl  -LO https://tpcdsperfsetup.blob.core.windows.net/perfsetup/autoscale-tests-1.0-SNAPSHOT.jar
      curl  -o config.json $(CONF_FILE_PATH)
      scala -classpath autoscale-tests-1.0-SNAPSHOT.jar ms.autoscale.AutoscaleTestsRunner config.json
  displayName: 'Run Autoscale Tests'

Additional context
Not applicable
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Hi @abhishekd0907 thank you for reaching out to us via this GitHub issue.  @vcolin7 can you please follow up with @abhishekd0907?

Sure thing @joshfree, I will look into this tomorrow :)

@abhishekd0907 Can you also share what version of the SDK libraries you're using?
It's also worth noting that the VSCodeCredential comes after all of the managed identity credentials in the chain, so your managed identity wasn't properly configured. There should be error text higher up (but it isn't what stopped you) that indicated that. You'll need to resolve that before ManagedIdentityCredential will work for you.

Ah. I also just noticed this was Pipelines, not functions. In Pipelines, I do not think managed identity is configured by default. If you are using a self-hosted VM instead of a pool VM, you could use managed identity then.
In general, the way to get secrets into apps is by injecting secrets directly from KeyVault. You authorize the pipeline to the KeyVault, then use those variables where you need them (perhaps as arguments.)

Thanks for your help @billwert  @joshfree and @vcolin7. Closing the issue


Remove unused dependencies

Remove array.prototype.find and string from dependencies,
as they are not used.

😀


Change some strings to comply with the newest version

anything i forgot just comment it here so i can fix it lol

fair enough😭
i'll leave this open for a day or a little bit more if someone notices more parts

also you can change that final to var in the codename build field if needed

also you can change that final to var in the codename build field if needed

fair enough, but I think as for now its better if it stays final
if modders are gonna request it, we could change it to var for sure

alr, i think its time to merge this
i might use that final string for other parts in the code for qol, thanks!

oh shit, deleting that main caused problems
imma fix later


Migrate device classes to StrEnum

The "Last Lightning Strike" sensor wasn't working so I put this PR together to try and fix the issues. Included are links to the PRs in core that were used as reference to create these changes. Seems to be working fine with the sensors I have here and now I have lightning data again.
Migrate from DEVICE_CLASS_* to StrEnum...
https://github.com/home-assistant/core/pull/60654
https://github.com/home-assistant/core/pull/60651
Fix timestamp return format...
https://github.com/home-assistant/core/pull/52671

tested the changes: error resolved. please approve merge

This repo seems to be largely abandoned at the moment.  It’s worth noting though that there is an ecowitt integration coming in HA core with 2022.9 (according to the change log).
On Wed, Sep 7, 2022, at 2:42 PM, DoerakkerHA wrote:

[custom_components.ecowitt] Unhandled sensor type runtime value 408056, file a PR.
[custom_components.ecowitt] Unhandled sensor type runtime value 408117, file a PR.
[custom_components.ecowitt] Unhandled sensor type runtime value 408178, file a PR.
[custom_components.ecowitt] Unhandled sensor type runtime value 408239, file a PR.
—
Reply to this email directly, view it on GitHub https://github.com/garbled1/homeassistant_ecowitt/pull/131#issuecomment-1238972894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF2YVB6YS3LQQE7BCIL2S3V5A2N5ANCNFSM54CBZQ7A.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Add windows to docker image platforms

@atoulme requested this. Seems fine.

Yeah thanks @laurit this won't work as intended and we'll have to take another approach to support windows docker images. Thanks for the assist.


Linux GPU tests are failing

https://github.com/pytorch/vision/actions/runs/4686659677/jobs/8304998350
https://github.com/pytorch/vision/actions/runs/4687127212/jobs/8306422795

Error message is interleaved with the regular output:
  Collecting torch
    Downloading https://download.pytorch.org/whl/nightly/cu117/torch-2.1.0.dev20230412%2Bcu117-cp38-cp38-linux_x86_64.whl (1833.2 MB)
  Collecting typing-extensions
    Downloading https://download.pytorch.org/whl/nightly/typing_extensions-4.4.0-py3-none-any.whl (26 kB)
  Collecting filelock
    Downloading https://download.pytorch.org/whl/nightly/filelock-3.9.0-py3-none-any.whl (9.7 kB)
  Traceback (most recent call last):
    File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_docker_with_env_secrets.py", line 81, in <module>
  Collecting sympy
      main()
    File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_docker_with_env_secrets.py", line 77, in main
    Downloading https://download.pytorch.org/whl/nightly/sympy-1.11.1-py3-none-any.whl (6.5 MB)
  Collecting pytorch-triton==2.1.0+46672772b4
    Downloading https://download.pytorch.org/whl/nightly/pytorch_triton-2.1.0%2B46672772b4-cp38-cp38-linux_x86_64.whl (87.2 MB)
  Collecting networkx
    Downloading https://download.pytorch.org/whl/nightly/networkx-2.6.3-py3-none-any.whl (1.9 MB)
  Collecting jinja2
    Downloading https://download.pytorch.org/whl/nightly/Jinja2-3.1.2-py3-none-any.whl (133 kB)
  Collecting MarkupSafe>=2.0
      run_cmd_or_die(f'docker exec -t {container_name} /exec')
    File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_docker_with_env_secrets.py", line 29, in run_cmd_or_die
      raise RuntimeError(f'Command {cmd} failed with exit code {exit_code}')
  RuntimeError: Command docker exec -t cf027b021c5ddb846716095d635c6e6a3c58aa4534edb02a808be021d06d5089 /exec failed with exit code 1
    Downloading https://download.pytorch.org/whl/nightly/MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
  Collecting mpmath>=0.19
    Downloading https://download.pytorch.org/whl/nightly/mpmath-1.2.1-py3-none-any.whl (532 kB)
  Installing collected packages: mpmath, typing-extensions, sympy, networkx, MarkupSafe, filelock, pytorch-triton, jinja2, torch
  Successfully installed MarkupSafe-2.1.2 filelock-3.9.0 jinja2-3.1.2 mpmath-1.2.1 networkx-2.6.3 pytorch-triton-2.1.0+46672772b4 sympy-1.11.1 torch-2.1.0.dev20230412+cu117 typing-extensions-4.4.0

Extracting the important parts
Traceback (most recent call last):
    File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_docker_with_env_secrets.py", line 81, in <module>
      main()
    File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_docker_with_env_secrets.py", line 77, in main
      run_cmd_or_die(f'docker exec -t {container_name} /exec')
    File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_docker_with_env_secrets.py", line 29, in run_cmd_or_die
      raise RuntimeError(f'Command {cmd} failed with exit code {exit_code}')
  RuntimeError: Command docker exec -t cf027b021c5ddb846716095d635c6e6a3c58aa4534edb02a808be021d06d5089 /exec failed with exit code 1

Since this traceback print starts while we are still installing stuff and the installation finishes without issues, I guess this is not on us, but rather on the runner?
In both cases we are using
https://github.com/pytorch/vision/blob/29757104250dd088386fef1ec3d70ed0b0c1be8a/.github/workflows/test-linux.yml#L25
cc @seemethere

According to @atalman , PR#3956 started to cause Audio failures (on audio side this workflow passes: https://github.com/pytorch/audio/actions/runs/4678030776/jobs/8286260647, The next one that is using run_docker_with_env_secrets.py is failing).

Should now be fixed after Eli's fix https://github.com/pytorch/test-infra/pull/4045.
cc @seemethere

https://github.com/pytorch/vision/actions/runs/4686659677 re-run of https://github.com/pytorch/vision/actions/runs/4686659677/jobs/8304998350 is green. Closing this issue. Please re-open otherwise.


Transactional AI: Multi-Model Beckn AI Agent

Description
Transform the existing Beckn AI agent, built using Google Gemini, into the Langraph framework. The transformation will maintain all existing features and functionality without introducing any new features or enhancements.
Goals

[x] Migrate the Beckn AI agent to the Langraph framework.
[x] Ensure parity with the current feature set implemented in Google Gemini.
[x] Validate the agent’s functionality post-migration.

Expected Outcome
A fully functional Beckn AI agent built on the Langraph framework, replicating all features and capabilities of the current Google Gemini implementation.
Acceptance Criteria

[x] Complete migration to Langraph framework.
[x] Verification of feature parity with the Google Gemini version.
[ ] Successful testing and validation of the migrated agent.
[ ] Deployment in the target environment without regressions.

Mockups / Wireframes
NA
Product Name
Beckn
Domain
TBD
Tech Skills Needed

Proficiency in Langraph framework
Experience with Google Gemini
AI agent development
Testing and debugging expertise

Complexity
High
Category
Development
Sub Category
AI Agent Transformation

Current status(13th Dec, 24)

Project Migrated to lang graph
End to End functionality working

Next Step

End to End QA
Release

Current status(16th Dec, 24)

QA and bug fixing

Next Step

End to End QA
Release

Moved this card to current iteration(23rd Dec - Jan 5) because of team's unavailability


Validate dependencies refactor

@jlpadilla This was hard to describe in a review, so I just created this PR against your PR.
I agree that common.sh was getting long, but I didn't like how logging.sh was sourced twice, and in once case some of the variables it depends on would not be defined yet.
Also moved the check/sourcing of the user configuration file to your validateDeps.sh file.
A few tweaks to the messages as well, and support all the checks on Linux.

@jlpadilla Yes. Updated.


Please make messages, especially the error messages, more attention-grabbing

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
Right now the error messages UI is not user friendly. The message box is placed in the top-right corner, and often the message is so short that it is barely noticeable.
Case in point, I just had a screen-sharing session with my boss when he was testing. He was  configuring 2-factor authentication with an authenticator app and entered the code. The dialog closed and we didn't notice any error message, but the MFA method didn't appear on the table. We were very confused, until I noticed by a chance that there was a little error box at the corner with a short message that the code was invalid. He was using a laptop, so the screen wasn't even particularly large either and yet it confused both of us. I imagine our users will be even more confused when they try to set up their MFA the first time.
Describe your ideal solution
As a user (anywhere between an admin and regular user) , I want messages that grab my attention so that I will always be aware of the results of my actions. I want the message box to appear at the middle of the page, or at least at the middle of either the top-edge or the bottom-edge, and with larger text too.
Version
2.60
Environment
Self-hosted
Additional Context
I first reported my wish in Discord
https://discord.com/channels/927474939156643850/1280842297092739113

try this
https://gofile.io/d/Lji8KD
select the desired compiler in the installer

try this
https://gofile.io/d/Lji8KD
select the desired compiler in the installer


Unable to install plugin into Ionic project

When trying to install the plugin into an Ionic project (ionicframework.com) I'm receiving the following stacktrace error. Plugman is installed, as it appears to be required. I haven't yet tried installing it separately and then migrating the instal into an Ionic project.
Stack trace below
$ cordova plugin add https://github.com/timflapper/cordova-spotify-plugin
Fetching plugin "https://github.com/timflapper/cordova-spotify-plugin" via git clone
SyntaxError: Unexpected token ]
at Object.parse (native)

at Object.get_platform_json (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:426:31)

at isPluginInstalled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:617:42)

at runInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:243:9)

at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:55:16

at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)

at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)

at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)

at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:821:14

at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)

Having this same problem, did you ever resolve it?

Yeah, I was able to resolve that. Thanks for checking.
On Thu Jan 15 2015 at 8:27:59 AM Tim Miller<EMAIL_ADDRESS>wrote:

Having this same problem, did you ever resolve it?
—
Reply to this email directly or view it on GitHub
https://github.com/timflapper/cordova-spotify-plugin/issues/1#issuecomment-70092448
.

...how?

@timmil, The master is actually broken currently because of updates on the Spotify API itself. The dev branch does work but needs some finetuning before I'm willing to merge it to master and make a release out of it.
I tried installing the dev branch version to a new Ionic project and that seemed to work for me.

Ah, for a second I thought you were Tim F, the creator of the
cordova-spotify-plugin.
As far as installing it into an ionic project, using the dev branch (which
is compatible with the latest spotify sdk) the installation worked almost
without fail. There was one or two tweaks I made to the install.sh script
to use the new beta-6.targ.gz that I hadn't merged back into the repo.
That said, once it installed I wasn't able to actually call into the
plugins in the same way Tim F did in his tests. I tried a bunch of
different ways to reference the library but none of them seemed to work. In
a separate email chain Tim F said he was going to go through and make a
simple example project shortly. That was on the 10th.
On Thu Jan 15 2015 at 9:16:44 AM Tim Miller<EMAIL_ADDRESS>wrote:

...how?
—
Reply to this email directly or view it on GitHub
https://github.com/timflapper/cordova-spotify-plugin/issues/1#issuecomment-70100296
.

That example project is coming. Just need to find the time :smile:

v 0.1.0 has just been released. A lot of issues that where still haunting the dev branch have been solved. I got it working without a hitch inside a new Cordova project. Can you check if it this latest version works for you in Ionic?
Unfortunately the API documentation is horribly out-of-date and inaccurate. The specs are probably the best source of documentation at this moment. Below is a short example that should work in a newly created cordova project (cordova create hello com.hello.world HelloWorld).
Quick start in Vanilla Cordova
Replace the code inside index.js with the following:
var session, player;

var urlScheme = 'your-custom-url-scheme';
var clientId = 'your-own-client-id';

function onDeviceReady() {
  spotify.authenticate(urlScheme, clientId, 'token', authDone);
}

function authDone(error, sess) {
  if (error) return console.log("ERROR!", error);

  console.log(sess);

  session = sess;

  player = spotify.createAudioPlayer(clientId);

  player.login(session, function(error) {
    if (error) return console.log(error);

    player.play('spotify:track:2DlfLPbXH5ncf56Nytxd4w', function(error) {
      if (error) return console.log(error);
    });
  });
}

document.addEventListener('deviceready', onDeviceReady, false);

Because the example uses token instead of code as responseType, you don't need to setup a token swap service. Sessions created this way will however only be valid for one hour.

I'm closing this issue because it seems to be resolved with the latest versions of Cordova and Ionic.

I know this issue is closed but I have one question regarding your example code posted above. I tried following your example, after authenticating on the spotify page I get this error "Invalid client: Invalid redirect URI".
Do I need to create a redirect URI on https://developer.spotify.com/my-applications? If so, where does this URI go in your example code?
Thank you for providing this plugin. Is the example project still coming? It would really be useful.

I also am not making the round trip because of the urlSheme. I am getting Safari error "Cannot Open Page" after entering correct username/password in Spotify authorization screen.
I have my urlSheme exactly as setup when I installed the plugin:  'myapp-spotify'   and I have it whitelisted in Spotify as   myapp-spotify://
Where/how do we create a redirect url so that we can specify the "page" that opens in our app?

@frey1esm, you should whitelist myapp-spotify://callback. This will be the url that the website will redirect back to.

@ciriac, the uri will be automatically setup by the install script once you set a uri-scheme. See @frey1esm's message for an example. You don't need to add the :// but just the myapp-spotify part. Then the url you need to whitelist in the spotify developers portal will be myapp-spotify://callback.

@timflapper - Not sure if this is a plugin issue or a Spotify SDK issue, but here's what happens. My app opens the spotify login screen just fine. Once my username and password are submitted, the app (Safari) attempt to open the following URL and fails right there (my client Id has been replaced with Xs to protect the innocent):
https://accounts.spotify.com/en/login?continue=https:%2F%2Faccounts.spotify.com%2Fen%2Fauthorize%3Fclient_id%3DXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%26scope%3Dstreaming%26redirect_uri%3Dmyapp-spotify:%252F%252Fcallback%26download_prompt%3Dtrue%26response_type%3Dtoken
Does this URL look legit ?

@frey1esm, that looks okay. You should make sure the URL type is registered to your iOS app correctly. If the configuration is incorrect, iOS won't be able to link your app with the myapp-spotify protocol.

@timflapper - My settings in Xcode --> Info --> URL Types are:
Identifier = Spotify Auth
URL Schemes = myapp-spotify
Role = Editor
Are these correct?

@frey1esm, I can confirm that this solves the issue. Thanks @timflapper!


TiledTileSet: fix numRows, numCols

These two variables were named backwards. Dividing the image height by the tile height yields the number of rows, not columns, and dividing the image width by the tile width yields the number of columns, not rows. I know this is a breaking change, but I guess it has to be if we want the names to be correct.

(whoops, made request in wrong place!)


Improve tags (using filament translations)

This package has no translations, it only uses 2 labels placeholder and getEmptyLabel that can be configured. If not configured, they use a default English label from the javascript library.
This PR configures by default the filament labels that already have translations.
In the case of placeholder, both Select and SelectTree implement the HasPlaceholder trait. In the Select component, a translatable label is set on setup function.
https://github.com/filamentphp/forms/blob/3.x/src/Components/Select.php#L195
The same criteria is taken for SelectTree.
On the other hand, getEmptyLabel, the Select component and SelectTree implement a CanBeSearchable trait, which already has a noSearchResultsMessage property, where it has a translatable label.
https://github.com/filamentphp/forms/blob/3.x/src/Components/Concerns/CanBeSearchable.php#L75
The getEmptyLabel and emptyLabel functions now calls the trait's methods for compatibility.

Looks good @gpibarra just a small conflict.

Fixed. It was a conflict with the previous PR dehydrated

Thanks again!


allow middle mouse button (and maybe right)

I´m using the "fakemultitouch" plugin alot. I think it would be nice if it could be triggered not only by the keyboard (shift-key) but also by the middle mousebutton (to rotate something for example).
Its easy to implement...

hammer.js (line 512)

 (sourceEventType.match(/mouse/) && (ev.which === 1 || ev.which === 2))   // mouse is pressed

hammer.fakemultitouch.js (line 38)

if (ev.shiftKey || ev.which === 2) {

...but it would be nice to get this out of the box.

Closing this due to age and inactivity this is from V1 also there is a separate repo for the touch emulator


Covid-Twitter-BERT v2

Documentation for v2 model

Thank you for contributing, the v2 version of the model is live: https://tfhub.dev/digitalepidemiologylab/covid-twitter-bert/2.
This PR has been merged in 769ea0f323a65739b33e0bea79b7ee2fe151bb8d.


experiment_id: "volc-cluster-mill" requested changes

experiment_id: “volc-cluster-mill”, "description":"Parallel experiment to volc-cluster-ctrl but with initial conditions taken from last millennium simulation to account for the effects of a more realistic history of past natural forcing. All forcings except volcanic kept constant from year AD 1790 on",“start_year”:"1790", “end_year”:"1858","min_number_yrs_per_sim":"69"

O.K.


updates to uploader's redux approach to match blip

WIP Do not merge!
This is a placeholder for updates to the uploader's redux implementation for compatibility with blip's. It may hang out for a while, that's on me to keep it up to date, etc.

OK, what's here is the easiest changes to make to at least have the (directory) structure of the redux implementations across blip and the uploader as similar as possible. @krystophv can you review? I think bringing in this, #261 and #262 plus perhaps #157 would make a good next bundle of changes on master to test (the first three PRs just need "didn't break anything" testing, so adding the VerioIQ to have something substantial to test feels like it helps flesh out the bundle, IMO).
CC @gniezen

@jebeck @krystophv Sounds like a good strategy to me. What still needs to be done before we merge and build:

This PR still needs to be reviewed and approved by @krystophv
#262 still needs some work from @krystophv and approval by @jebeck
I still need to check HI/LO on #157

@jebeck @gniezen This LGTM

@krystophv Can you resolve conflicts for this branch and #261, then we can start merging them (together with #157) to build a new RC?

Yeah I should be able to get master merged down into them today.

Merging.

 <ux:0, dev:2, tst:1> [uploader] [device] OneTouch VerioIQ


Mac Address

Does each emulator have to be run using different mac addresses when running under the proxy?

No. They all have to use the same MAC, if you want to spoof device id. Read http://wiki.stbemu.com/index.php/WebProxy for more info (sorry, I forgot to translate it into English, so use Google translator to read it if you don't know Russian).

Thank you for getting back to me. Do you need to run a separate instance of
the proxy for each emulator? I seem to be getting the stb damaged message
after loading. I connected to my mag254 and the id populates correctly in
the ini.
Thank you
On Jul 17, 2015 4:36 AM, "Maxim Vasilchuk"<EMAIL_ADDRESS>wrote:

No. They all have to use the same MAC, if you want to spoof device id.
Read http://wiki.stbemu.com/index.php/WebProxy for more info (sorry, I
forgot to translate it into English, so use Google translator to read it if
you don't know Russian).
—
Reply to this email directly or view it on GitHub
https://github.com/mvasilchuk/webproxy/issues/1#issuecomment-122229438.

You need to run only one instance of proxy. Then just put proxy's ip addres into the emulator's profile instead of address of a portal (but keep path, i.e. /stalker_portal/c/).

I must be doing something incorrectly the portal will start to load but it
will never make it to the home screen. It seems to work fine on Kodi but
the emu will just hang at startup. If I turn off allow emulator detection
then it will tell me my stb is damaged. Is there additional settings I have
to change besides the portal url and mac?
On Fri, Jul 17, 2015 at 7:51 AM, Maxim Vasilchuk<EMAIL_ADDRESS>wrote:

You need to run only one instance of proxy. Then just put proxy's ip
addres into the emulator's profile instead of address of a portal (but keep
path, i.e. /stalker_portal/c/).
—
Reply to this email directly or view it on GitHub
https://github.com/mvasilchuk/webproxy/issues/1#issuecomment-122265470.

Is there a way to enter in a username or password into the webproxy.ini?
Regards,

Hi,
If you mean the login/password to access a portal, then the answer is no.
You have to write them into fields in portal and all devices that are
connected to a webproxy should work.
If you mean basic HTTP authorization, then you have to write login/password
in portal's url (e.g. url =<EMAIL_ADDRESS>http://iptv.provider.com/)
2016-01-31 19:39 GMT+02:00 gh0st19<EMAIL_ADDRESS>
Is there a way to enter in a username or password into the webproxy.ini?
Regards,
—
Reply to this email directly or view it on GitHub
https://github.com/mvasilchuk/webproxy/issues/1#issuecomment-177559512.

--
Best regards,
Maxim Vasilchuk


GC: make gcLock.lock/unlock inlinable

While looking at the disassembly for #1147 I noticed that lock/unlock on GCMutex are still called through the virtual function table, even though GCMutex is declared as final.
Calling Mutex.lock/unlock through a final method in GCMutex fails to inline, so I made final versions of the methods in Mutex.
In addition, making gcLock a property instead of a pointer avoids an indirection.
This change caused a 0-5% speedup for the benchmarks.

Nice

Yeah, a struct with the implementation from core sync mutex would be best, because I want to replace it with a spinlock anyhow.

Yeah, a struct with the implementation from core sync mutex would be best, because I want to replace it with a spinlock anyhow.

Good idea, done that.

Looks like destroying the mutex fails because of an unbalanced calls to unlock.
c++ - pthread_mutex_destroy: why is it returning EBUSY?
Happens for rt.lifetime which tests FinalizeErrors. As we've learned during the spinlock pull, those don't perform proper cleanup in the GC. Maybe we should move the FinalizeError tests to an external test program that actually dies correctly.

Thanks for the info. I'm not sure why this works with the original GCMutex, though.
We could also add some minimalistic cleanup in case of a finalization error:

add try/catch to Gcx.sweep
cleanup code: running = false; gcLock.unlock(); throw ex;

https://github.com/D-Programming-Language/dmd/pull/4427 added the devirtualization, so this PR is obsolete.

Nice


Cirq tutorials contain explicit TODOs

Final section of those documents have this problems:
https://cirq.readthedocs.io/en/latest/gates.html
https://cirq.readthedocs.io/en/latest/simulation.html

Those links are not TODO anymore, but we do need to add docs for optimization: https://github.com/quantumlib/Cirq/issues/1703.

It looks like those links still contain TODOs

REmoved all the TODOs, I believe.


Unable to deploy application

Describe the bug
Unable to deploy application
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-abench?utm_campaign=stackblitz-on-page&utm_source=web-app&utm_medium=nav-button
Steps to reproduce
Unable to deploy application
Expected behavior
Unable to deploy application
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 120870330,
  "usedJSHeapSize": 114084386,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username =<EMAIL_ADDRESS>Chat ID = dc384650cfd3

Additional context
Error:
Failed building the project. Make sure the build command is correct and try again.

Appreciate the feedback! We are aware of this issue and are tracking it here: #2019.


Cannot Configure this form

Hi there, why can't i configure this form ?
http://minutemaid2024.jcmsonline.com/
after a few tries, I got the message UNDEFINED in the configuration page.
Pls Help. Thanks

Check this out. It had page within iframe
Draft_ Minute Maid _ Coca-Cola Contest.json

Thanks a lot Dharmesh.
btw, I've been trying to set the checkbox (TERMS & CONDITIONS) but failed
after many attempt. Appreciate if you could help with this one also:
ELEMENT FINDER
@.***="userInput"]/div/div/div/div[2]/div/div/div[3]
VALUE
MouseEvents::click
On Sat, Sep 7, 2024 at 5:13 PM Dharmesh @.***> wrote:

Check this out. It had page within iframe
Draft_ Minute Maid _ Coca-Cola Contest.json
https://github.com/user-attachments/files/16917229/Draft_.Minute.Maid._.Coca-Cola.Contest.json
—
Reply to this email directly, view it on GitHub
https://github.com/Dhruv-Techapps/acf-docs/issues/422#issuecomment-2335127919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLAN2TTTVKWK3SC6ZPXHNULZVK7STAVCNFSM6AAAAABNYCP5L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGEZDOOJRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi there,
First and foremost thanks again for the draft that you gave earlier.
I understand that you cannot automate file upload right?
What if I want the T&C checkbox to be auto-checked and the form will be
automatically submitted right after I upload a file? Is that possible?
https://form.jotform.com/241604791765463
On Mon, Sep 9, 2024 at 9:30 AM MZ MT @.***> wrote:

Thanks a lot Dharmesh.
btw, I've been trying to set the checkbox (TERMS & CONDITIONS) but failed
after many attempt. Appreciate if you could help with this one also:
ELEMENT FINDER
@.***="userInput"]/div/div/div/div[2]/div/div/div[3]
VALUE
MouseEvents::click
On Sat, Sep 7, 2024 at 5:13 PM Dharmesh @.***> wrote:

Check this out. It had page within iframe
Draft_ Minute Maid _ Coca-Cola Contest.json
https://github.com/user-attachments/files/16917229/Draft_.Minute.Maid._.Coca-Cola.Contest.json
—
Reply to this email directly, view it on GitHub
https://github.com/Dhruv-Techapps/acf-docs/issues/422#issuecomment-2335127919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLAN2TTTVKWK3SC6ZPXHNULZVK7STAVCNFSM6AAAAABNYCP5L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGEZDOOJRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


New faq entry please

What to expect after submitting through PASS?
For submissions to PubMed Central:

Within a few hours after submitting your manuscripts and associated files through PASS, you will be contacted by the National Institutes of Health Manuscript System (NIHMS) to approve the processing of the submission in NIHMS. At this point you will be given NIHMSID, which could be used to demonstrate Public Access Policy compliance while your manuscript is being processed.
NIHMS staff will then review the submission for completeness. Complete submissions are converted to archival XML, making them ready for PMC publication. PMC-ready documents are checked for accuracy.
Once the formatting process completes, you will be contacted again for the Final-Approval of the PMC-ready documents or request changes if necessary.
PMCID will be assigned once the Final-Approval is received and the manuscript is matched to a PubMed record with complete citation information.
Manuscript is made available in PMC following the publisher-required embargo period (if applicable).
(More on the NIHMS process here: https://www.ncbi.nlm.nih.gov/books/NBK3846/)

For submissions associated with NIH funding, PASS will be able to retrieve and display NIHMSID and PMCID as they become available.
For submissions related to the Department of Education's ERIC repository and US Agency for International Development's DEC repository, PASS does not track the submissions to these repository, but will keep a record of your interactions on PASS relating to these submission.
We are continuing to work with different funding agencies to create better and more meaningful integration between our system and their in order to bring our users more useful features and workflows.

@htpvu based on the recent changes, is it still accurate to say it tracks submissions to these repositories? we removed the repo link on the submission.  Also, what should I say about the JScholarship repo - just that it will be processed and assigned an ID within several hours?


Update GodMode9i Link in README.md & Delete GitHub Workflows (put in another branch)

Updating the link is not essential, as it redirects you to the new link, but still.

I am horrible at using GitHub


Double playing notes on Linux

I compiled for myself on Fedora (some compilation instructions could be a good idea as well, I may contribute a pull).
It seems to have an issue with playing notes more than once and struggling to keep up with slow-pace songs (I'm using C418's 'Wet Hands' MIDI to test).
I will get a video clip of the bug shortly, but essentially notes will play in a strange manner, sometimes hitting the same chord more than once then trying to 'catch up' on itself.

I will grab the clips shortly

I didn't think it necessary since it's just the usual cargo build/cargo build --release
Reasonable but perhaps a small addition might save less-technical people contributing issues later...


Make AppParser thread-safe.

Currently AppParser is NOT thread-safe as it has java.text.SimpleDateFormat as a static field and SimpleDateFormat is NOT thread-safe.

Change isoDateFormat local variable.
Decrease code redundancy.

@rshindo
We are currently investigating the issue. Please, stay tuned.
We will update you as soon as we decide what to do.
Thank you very much for your pull request!

@rshindo
I have resolved merge conflict and merged this pull request into development branch.
Thank you very much for your pull request!


Horusec-cli:Support - How to increase api call timeout?

What happened:
I am getting a timeout error when posting the results to the api after scanning a project that contains 170 vulnerabilities:
time="2022-06-07T18:00:40Z" level=debug msg="{HORUSEC_CLI} HorusecEngine - Leaks is finished in analysisID: [211f4b3a-2c0e-4e99-b5cf-62acb2d56f38]"
time="2022-06-07T18:00:50Z" level=error msg="{ERROR_HTTP} failed to make request" error="Post "https://my-horusec-deployment/api/analysis\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time="2022-06-07T18:00:50Z" level=error msg="[HORUSEC] Post "https://my-horusec-deployment/api/analysis\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
It seems it is only 10 seconds, how can I increase this? I have tried the options horusecCliTimeoutInSecondsAnalysis and horusecCliTimeoutInSecondsRequest without success.
Scanning a project with less vulnerabilities works fine, I can see the dashboard populated. So I know that my deployment is working and that it can reach the api server from the machine where the scan is running.
In another test, I have ran the scan (of the project with 170 vulnerabilities) sending the results to a local deployment of Horusec running inside docker compose and it worked. It seems the problem is the latency caused by the network.
How to reproduce it (as minimally and precisely as possible):
Just run a scan in a project with large number of vulnerabilities and try to send the results to a remote deployment of Horusec.
Anything else we need to know?:
Environment (client):

Horusec version (use horusec version): v2.7.1
Operating System: Linux (docker container)

Environment (server):

Horusec version (use horusec version): v2.17.1 (this is the version of the docker image used by the api pod)
Operating System: Linux / Kubernetes AWS EKS / Postgresql running in AWS RDS / Horusec installed with Operator

hello @fauresco tnks for your contribuition.
I test this command:
horusec start -p . -t 15000 -a TOKEN -u URL_API -r 150

into tth kubernetes project with more of +1000 vulnerabilities and this works very well, check in your API if is enabled received long requests too :)


Let abstract documents have a .object attribute

this requires that it also explicitly sets the collection and allow_inheritance True

Not merging into other fix branch. Merged into magic-models


Update on line 203

I've added additional code that has been presented before in the quickstart but I included the escape module because it's not mentioned before and when you try to run the code without it you get various errors due to the escape methods being used in this part of the tutorial.

Thanks for taking a look at this. We don't add the app creation to every example because that would get noisy. The assumption is that you're mostly reading the quickstart from top to bottom.


XIVY-10351 Add multi tasks tab

Add task switch gateway mock data
Load task data from 'config/task' or 'config/tasks'

I merge it for now. I want to do some improvements to the data access anyway later.


[📑 Docs]: Adding a in-detail document about essence of AsyncAPI, integration and need for it.

What Dev Docs changes are you proposing?
Thinking in the first order principle, It is very common for developers to stumble upon the question as to why AsyncAPI is in place? There are already protocols and message brokers for EDA such as MQTT, Kafka etc, then why is it we need AsyncAPI?

How is AyncAPI essential ?
Since it is protocol agnostic, how can one integrate it and use it in any protocol or language of their choice and implement it?
Difference between AsyncAPI itself from cloud events, other spec or message brokers and more.
Similarities between using different protocols and so
How can someone working with programming languages other than yaml/json in their project integrate AsyncAPI into programming principles, How to use AsyncAPI into python for example.

These are some of the questions I stumbled upon myself early on as I started to learn about AsyncAPI and write my drafts for GSoD.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@TRohit20 issue still valid?
cc: @alequetzalli

I'll let Rohit answer if he is still interested in his proposal contribution. If he isn't then we can prob leave this closed/cancelled.


Can it support a custom endpoint (similar to TF options)

https://www.terraform.io/docs/providers/aws/guides/custom-service-endpoints.html

Why you need this?
I think it's possible.
Need send to provider config as terraform.ResourceConfig{}
Part of config can be map[string]interface{} Endpoints
https://github.com/GoogleCloudPlatform/terraformer/blob/master/terraform_utils/provider_wrapper/provider.go#L147
https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/provider.go#L1012

@sergeylanzman - @ Stratoscale, we build a private cloud solution that exposes aws APIs. Hence, I would like to explore this tool for internal usage with our product.
Thanks


Application.mk: fix generated empty Make.dep for SRCS with VPATH

Summary
https://github.com/apache/incubator-nuttx-apps/pull/250 resulted in generated empty
Make.dep for SRCS with VPATH.
Impact
Testing
Test with sim:nsh config for apps/platform with board VPATH

i confirmed it works. (with system/hexed)

Merging based on Yamt's review.


YellowFin Optimizer?

Any plan to integrate the YellowFin Optimizer?
paper: https://arxiv.org/abs/1706.03471
code: https://github.com/JianGoForIt/YellowFin/blob/master/tuner_utils/yellowfin.py

You've given an implementation already, therefore no plan.
The implementation claims to be a "drop-in" replacement of other tf optimizers. If that's true you can just use it.


:bug: Don't fetch local repos

This fixes https://github.com/Yelp/detect-secrets-server/issues/25
Gonna yolo merge due to domanchi being busy

I should write a test for this, but it's end of quarter, maybe next week I will :)


added api for reading an item from the wishlist

#8

Did not pass the tests. client is not defined in TestWishlistItem. We only use client in test_routes.py

I removed the test cases from wishlist items , since the cases in routes already cover the cases.


Suggestion: Add icons for .cshtml files

Currently, .cshtml files only show as gray documents.  This is the only oversight I've seen so far. Thanks for the great extension!

Hmmm... I'd be glad to add some icon, but it looks like there is no logo whatsoever for razor pages. I'll try to come up with something probably mixing the HTML and C# icons

For now I've mashed up the two in this :

If it helps, here are the icons used in Visual Studio 2017. It's a document with an @ symbol in it:
Add New Item

Solution Explorer Icon

Then how about something like this ?

Should it have the Angular shield in the background though, being exclusive to ASP.NET MVC? What about something like your .csproj or .json icons with the @ in it?

I thought the HTML background was relevant since razor files seem to be HTML with integrated C# code. I generally use the "generic colored file" background for files that contain data rather than code, like for JSON, XML or text files

You're right, sorry! Got them mixed up. That works as well. Thanks a ton for your quick feedback and support!

You're welcome 😄


Rendering a simple form on a phone makes the elements tiny and difficult to use.

Version info
I'm using version 1.4.1 of Milligram and 8.0.1 of normalize.css
Test case
<!DOCTYPE html>

<title>Tasmota Trigger</title>

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.css">

Tasmota Trigger

  <form>
    <fieldset>
      SSID
      <input type="text" id="ssid">

      PSK
      <input type="password" id="psk">

      URL
      <input type="text" id="url">

      <input class="button-primary" type="submit" value="Update">
    </fieldset>
  </form>

Expected behavior
I would like this form to look like your example at https://milligram.io/#forms, especially when rendered on a phone
Actual behavior
All the form elements are very small, and the nav bar doesn't look anything like the one on your page.
I assume I'm missing something trivial...

add this
<meta name="viewport" content="initial-scale=1.0">

and that should gix your problem with the form elements being too small

That worked great! Thanks so much!


Is there a significant improvement when testing on ImageNet?

Hi, thanks for releasing the lib.
It will be great if you can demonstrate the superior of LA on large scale dataset, such as ImageNet or VisualGenome?
Thank you.

Hi, you can find results for one particular flavor of LA (last-layer + K-FAC GGN + multi-class probit approximation) on (corrupted) ImageNet in Mixtures of Laplace Approximations for Improved Post-Hoc Uncertainty in Deep Learning, see Appendix D.2 and Figure 9. It is only compared against MAP, deep ensemble, and MoLA (ensemble of LAs), but maybe it is still interesting to you.


Adds sparse index support, fixing #105

Hi all,
I needed this functionality for some tests and decided it would be good to add and share.  Happy to get your feedback.
Regards,
--Dave

Looks like those build errors are due to:
Error: JAVA_HOME is not defined correctly.

thanks !


Turtlebot3 with Open Manipulator X Navigation Errors

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ ] Burger
[ ] Waffle
[x] Waffle Pi

Which ROS is working with TurtleBot3?

[x] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[x] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[x] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[x] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [1.2.5]
Firmware version: [2.0.1]

Specify the commands or instructions to reproduce the issue.

Tried to follow Turtlebot3 emanual - Navigation section and when i run turtlebot3_navigation.launch file i get this (image below).

Copy and Paste the error messages on terminal.

HERE

Please describe the issue in detail.

I run SLAM launch file (gmapping used) and i saved that map but when I try to run navigation i get these errors.. How to solve them?
And second question : "export TURTLEBOT3_MODEL=model"
If I use turtlebot3 (waffle pi) with open manipulator x, which model do I need to provide here (waffle_pi or something else) and is it necessary to do every time or just once?

Hi @slavenpetkovic
Thank you for reporting the issue.
If you haven't properly cofigured your TURTLEBOT3_MODEL parameter, this could happen. Please use the below option when using OpenMANIPULATOR-X on top of TurtleBot3 Waffle Pi.
$ export TURTLEBOT3_MODEL=waffle_pi

If you want to skip this command in the future, you can add it into your .bashrc as below.
$ echo 'export TURTLEBOT3_MODEL=waffle_pi' >> ~/.bashrc
$ source ~/.bashrc

Next time when you open your terminal, TURTLEBOT3_MODEL will be automatically set to waffle_pi.
When getting those errors in your RViz, make sure to perform the 2D Pose Estimate and see if it helps to resolve the issue.
If Remote PC and TurtleBot3 SBC is not time synced, ROS messages may not properly accepted. Please try Time Sync on both Remote PC and TurtleBot3 SBC
Thank you.

@ROBOTIS-Will
Thank you for your answer, it seems like Time Sync was the problem.
I have another question, is it possible to have Ros Kinetic version on Turtlebot3 with OP-X and Melodic ROS version on Ros Master Computer?
We made some simulations and other stuff for ROS Melodic and it would be hard to move all that to ROS Kinetic on PC.
Or is there a way to make Turtlebot3 with OP-X work on ROS Melodic? I asked for that tutorial in another ISSUE and you told me that NOETIC tutorital for TB3 with OPX will be published in Q2 2021. You didn't tell anything about Melodic.

Hi @slavenpetkovic
Although ROS Melodic and Kinetic are not much different in terms of messages they use, it is recommended to run on a same ROS version.
I've run SLAM and Navigation on Melodic + Kinetic TB3 and vice versa, but this doesn't guarantee that your application would work flawlessly.
The Noetic is that last ROS1 version and has the longest lifespan among ROS1, so Noetic will be the first one to be updated, but during the update, we'll keep looking for a chance to support Melodic as well.
Thank you.

Thanks @ROBOTIS-Will
I have one more question about navigation. How to adjust the parameters so that the robot comes as close as possible to the obstacle? I followed Navigation section tutorial for setting parameters and tried different values and different combinations of inflation_radius and cost_scaling_factor but it simply won't get to about 2-3cm from obstacle like i want it to do. It stays at 20-25 cm and when I try to send him command to go closer, it starts spinning and goind backwards.
Do I need to change something when creating MAP using SLAM and RVIZ, or do I need to come as close as possible to obstacle when creating map or is it something else?

@slavenpetkovic
You may change the costmap_common_params_waffle_pi.yaml as below.
The inflation_radius and the cost_scaling_factor will correctly reflected in the RViz.
obstacle_range: 3.0
raytrace_range: 3.5

footprint: [[-0.205, -0.155], [-0.205, 0.155], [0.077, 0.155], [0.077, -0.155]]
#robot_radius: 0.17

inflation_layer:
  enabled:              true
  inflation_radius:     0.55
  cost_scaling_factor:  10.0

map_type: costmap
observation_sources: scan
scan: {sensor_frame: base_scan, data_type: LaserScan, topic: scan, marking: true, clearing: true}

I'd recommend use a different approach to get close to an object instead of implementing it through navigation stack.
Navigation is focused on moving the platform with minimum collision from obstacles.
Thanks!

Closing this thread as there isn't recent activity.


Need external and in-process docs for command line switches in AzureDataStudio

"AzureDataStudio.exe" --help doesn't work; there's no way to display the set of valid switches when running the app. There's also no doc for the switches in the repo beyond comments in the code, that I could find.

How about this for the --help ?
Should the new switches get their own section instead of just sitting in options?
@kburtram
@Charles-Gagnon
Azure Data Studio 1.9.0
Usage: azuredatastudio.exe [options][paths...]
To read output from another program, append '-' (e.g. 'echo Hello World | azuredatastudio.exe -')
Options
-d --diff             Compare two files with each other.
-a --add                  Add folder(s) to the last active window.
-g --goto <file:line[:character]> Open a file at the path on the specified
line and character position.
-n --new-window                   Force to open a new window.
-r --reuse-window                 Force to open a file or folder in an
already opened window.
-w --wait                         Wait for the files to be closed before
returning.
--locale                  The locale to use (e.g. en-US or zh-TW).
--user-data-dir              Specifies the directory that user data is
kept in. Can be used to open multiple
distinct instances of Code.
-v --version                      Print version.
-h --help                         Print usage.
--folder-uri                 Opens a window with given folder uri(s)
--file-uri                   Opens a window with given file uri(s)
-D --database           Database name
-S --server               Server name
-U --user              User name for server connection
-c --command        Name of command to run
--aad                             Use Azure Active Directory authentication
for server connection
-E --integrated                   Use Integrated authentication for server
connection


Cloud providers provision option is missing.

When pressing Cloud providers, choosing a specific provider ->  clicking on instances -> lifecycle , provision option is missing.

When pressing Instances in Cloud tab it is available.

@alongoldboim we've never had the provision type buttons on screens that are lists of VMs owned by other objects (such as providers/hosts/clusters/etc).  I think it is because if you provision from there, the new VM/Instance won't be automatically created in that area.  Just seems like a disconnect in that the user is on say Provider A and he provisions a VM that then ends up on Provider B or even on some other provider type.
Anyway, that's the logic from when it was designed, so I think we should run it by @jonnyfiveiq to see if we should change this and start adding the provision button anywhere we see lists of VMs or Instances on the screen.

@dclarizio I understand, its not that critical, though as a user i was expecting to have this option from the providers, if it not too big of a mess i think having that option would be nice (even if you need to check what provider you want the provision to occur on like on the refresh).


Support for V3000 and large structures

Do you have support for V3000 and structures larger then 999 atoms?

We do have support for V3000.
As for big molecules, it is on our road map. There are no restrictions on the number of atoms at the moment but big molecules won't work well enough.

Thanks, but how do I save a drawing in V3000 format?
On Thu, Dec 17, 2020 at 3:43 AM vanoprenko<EMAIL_ADDRESS>wrote:

We do have support for V3000.
As for big molecules, it is on our road map. There are no restrictions on
the number of atoms at the moment but big molecules won't work well enough.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/epam/ketcher/issues/183#issuecomment-747389482, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKKXN7TQDYW4NBVBGYE2O63SVHVFXANCNFSM4U6RE4FA
.

Yes, currently Ketcher supports only loading from V3000. We have added a task to add the V3000 to the save options #190
indigo-service (backend) supports V3000, so the task should be straight forward to implement.
As for the format itself, there are several tasks in the road map: enhanced stereo support #56 and large molecules support which will require some updates for the rendering library.

Thanks. I am looking forward to seeing these new features.
On Thu, Dec 17, 2020 at 8:47 AM AlexanderSavelyev<EMAIL_ADDRESS>wrote:

Yes, currently Ketcher supports only loading from V3000. We have added a
task to add the V3000 to the save options #190
https://github.com/epam/ketcher/issues/190
indigo-service (backend) supports V3000, so the task should be straight
forward to implement.
As for the format itself, there are several tasks in the road map:
enhanced stereo support #56 https://github.com/epam/ketcher/issues/56
and large molecules support which will require some updates for the
rendering library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/epam/ketcher/issues/183#issuecomment-747560863, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKKXN7QMQF6AWIFOQ5DWB63SVIYZLANCNFSM4U6RE4FA
.


Add Catalog Viewer

These two commits add a new endpoint to the puppetboard application to view a node's catalog.
This view only displays the resources in the catalog as of now. Not entirely sure how to integrate the data in the edges key, may have to research more.

I'll squash this PR into a single commit the next time I get a chance to work on it.


redis: 5.0.6 -> 5.0.7

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/redis/versions.
meta.description for redis is: '"An open source, advanced key-value store"'.
meta.homepage for redis is: '"https://redis.io"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.0.7 with grep in /nix/store/f1kkp9avg4cs43g9lxhpjjp4my2zdsxw-redis-5.0.7

directory tree listing: https://gist.github.com/e73d84ce7df65f46be206d74946451c2

du listing: https://gist.github.com/f38f6bcc13f7c7e04679a96ba6a6abe5

Rebuild report (if merged into master) (click to expand)

39 total rebuild path(s)
10 package rebuild(s)
10 x86_64-linux rebuild(s)
10 i686-linux rebuild(s)
9 x86_64-darwin rebuild(s)
10 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.pyres
python27Packages.python-redis-lock
python27Packages.remotecv
python27Packages.thumbor
python37Packages.pyres
python37Packages.python-redis-lock
python38Packages.pyres
python38Packages.python-redis-lock
redis
suricata

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f1kkp9avg4cs43g9lxhpjjp4my2zdsxw-redis-5.0.7 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A redis https://github.com/r-ryantm/nixpkgs/archive/78661761cb6828a11421710661430d0a87df0cf3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f1kkp9avg4cs43g9lxhpjjp4my2zdsxw-redis-5.0.7
ls -la /nix/store/f1kkp9avg4cs43g9lxhpjjp4my2zdsxw-redis-5.0.7/bin

cc @berdario @globin for testing.

@GrahamcOfBorg test redis


Remove PriorityQueueBase

Looks like PriorityQueueBase is introduced only as artificial namespace and used only within PriorityQueue itself.
Let's not keep it?

Codecov Report

Merging #2540 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2540      +/-   ##
============================================
+ Coverage     93.04%   93.05%   +<.01%
- Complexity     5294     5316      +22
============================================
  Files            89       89
  Lines         12762    12761       -1
  Branches       1603     1600       -3
============================================
  Hits          11875    11875
+ Misses          702      701       -1
  Partials        185      185

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/java/io/vavr/collection/PriorityQueue.java
99.13% <100%> (+0.42%)
133 <0> (+22)
:arrow_up:

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 556db11...cf168e5. Read the comment docs.


Add support of Cloudflare Workers

As per discussion in the discord channel, we are looking at how to help making remix-auth works with the Cloudflare Workers runtime. Currently there are a few blockers we noticed:

[x] Usage @remix-run/server-runtime as peerDependencies instead of @remix-run/node
[x] #57
[x] #58
[ ] #59

Can we get around it?
While (1) is critical to be fixed, possibly by replacing it with @remix-run/server-runtime. People can get around issues (2) and (3) by polyfilling crypto themselves:
For example, with esbuild, we can use esbuild-plugin-alias to polyfill the crypto package:
const esbuild = require("esbuild");
const alias = require("esbuild-plugin-alias");

esbuild.build({
  // ...
  plugins: [
    alias({
      crypto: require.resolve("./crypto.js"),
    }),
  ],
});

// ./crypto.js
module.exports = {
  // you can either leave it as an empty object or provides a polyfill for some methods from crypto
};

With this setup, depends on the polyfill setup, you should be able to use strategies not relying on crypto.

Here an example esbuild and crypto:
const esbuild = require("esbuild");
const alias = require("esbuild-plugin-alias");

esbuild
  .build({
    mainFields: ["browser", "module", "main"],
    define: {
      "process.env.NODE_ENV": '"development"',
    },
    logLevel: "info",
    bundle: true,
    outdir: "dist",
    entryPoints: ["./worker"],
    plugins: [
      alias({
        crypto: require.resolve("./crypto.js"),
      }),
    ],
  })
  .catch(() => process.exit(1));

function dec2hex(dec) {
  return dec.toString(16).padStart(2, "0");
}

function randomBytes(len) {
  var arr = new Uint8Array((len || 40) / 2);
  crypto.getRandomValues(arr);
  return Array.from(arr, dec2hex).join("");
}

module.exports = {
  // you can either leave it as an empty object or provides a polyfill for some methods from crypto
  randomBytes,
};

Now that the Remix Auth package doesn't come with strategies the package itself supports CF Workers just fine and it's up to the strategies to support CF Workers or not.
The new remix-auth-email-link strategy based on the KCDStrategy has support for CF Workers.
The BasicStrategy is not published as an individual package.


Create a Changelog

The file should live at the root of the project and be called "CHANGELOG.md"
Use Keep a Changelog as a guide.
Every release should highlight new features, bug fixes, and breaking changes.

Manually maintaining a CHANGELOG.md could be extra work, but some users may expect to see a CHANGELOG in the project root.
One idea could be to have a CHANGELOG.md with a link to check release notes at: https://github.com/trimble-oss/modus-web-components/releases


Teach cargo to failfast on recursive/corecursive aliases

Eg.
[alias]
test-1 = test-2
test-2 = test-3
test-3 = test-1
Previously it would stack overflow
Pulled out non controversial bits from from #9768

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

Hit some kind of probably unrelated error https://github.com/rust-lang/cargo/pull/9791/checks?check_run_id=3332095132
---- concurrent::no_deadlock_with_git_dependencies stdout ----
thread 'concurrent::no_deadlock_with_git_dependencies' panicked at 'Deadlock!: Timeout', tests/testsuite/concurrent.rs:506:63
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: test failed, to rerun pass '--test testsuite'

Was unable to repro - maybe something happened in CI?
I'll repush so it reruns

:pushpin: Commit 28e1289eb17358afef67bf6cd784752368c525e5 has been approved by alexcrichton

:hourglass: Testing commit 28e1289eb17358afef67bf6cd784752368c525e5 with merge 531958b662cd882623e1f4ca43695019e2b97beb...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 531958b662cd882623e1f4ca43695019e2b97beb to master...


Introduces new flag for optimization hints

Fixes #38374
This is an implementation of the addOptimizationHints compiler flag suggested in #38374. The intent of this feature is to allow must users to receive the benefits of the /** @class */ and IIFE wrapper introduced by #32011, while being able to opt-out if needed. In our case, opting out is helpful because we have an optimization toolchain that attempts to understand and decompose classes rather than treating them as an opaque value.
This is based on PR #38566 to include that bug fix.
As far as the name goes, I am not tied to addOptimizationHints at all, it's just an example. I am very open to changing the name, description, and default value for this compiler option. Also if I missed some places new compiler options need to be introduced or documented please point them out 😄

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

Closing this out, please see https://github.com/microsoft/TypeScript/issues/38374#issuecomment-634219202 for our write up. Thanks for taking the time to look at this!


[bug] Should not list emails upon pinging

Example from here https://github.com/ethereum/EIPs/pull/3768#issuecomment-906099599:

Some old EIPs have email addresses as opposed to github username, those should be ignored during printing I think. There used to be a way to look up a github username based on an email and that is what the old bot did. If it did found a user, that was pinged.

@axic there are ways for me to search users / I can try to get that functionality back up and running. It's easier to just not include it, though.

also @axic some of these still work, for example on this pull request https://github.com/ethereum/EIPs/pull/3767 greg's email resolves to the correct github username


adding working cellranger test-files

Hi guys,
I am wanting to add a couple of renamed files and organization of test-datasets that are working with cellranger so we can actually have a -profile test using it.

It is possible that these files also work with the others. If we check it later, we can then remove duplicity and have a single samplesheet for all.


There is no subtract() method on Calculator

Describe the bug
Test run on subtract method indicate the method does not exist
To Reproduce
Steps to reproduce the behavior:

Go to 'https://testing-php-replit-1.otimbur.repl.co/calculator-subtract-test.php'
2.See error

Expected behavior
The test should go green
Screenshots
Call to undefined method Calculator::subtract()
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context

I will fix it on the branch XX


Unit | Component | sl menu item: There are no references to Ember.$, $ or jQuery

not ok 504 PhantomJS 1.9 - Unit | Component | sl menu item: There are no references to Ember.$, $ or jQuery
    ---
        actual: >
            null
        message: >
            Died on test #1     at test (http://localhost:7357/assets/test-support.js:3025)
                at testWrapper (http://localhost:7357/assets/test-support.js:6192)
                at test (http://localhost:7357/assets/test-support.js:6205)
                at http://localhost:7357/assets/tests.js:24791
                at http://localhost:7357/assets/vendor.js:152
                at tryFinally (http://localhost:7357/assets/vendor.js:33)
                at http://localhost:7357/assets/vendor.js:158
                at http://localhost:7357/assets/test-loader.js:60
                at http://localhost:7357/assets/test-loader.js:51
                at http://localhost:7357/assets/test-loader.js:82
                at http://localhost:7357/assets/test-support.js:6024: Attempted to wrap $ which is already wrapped
        Log: |
    ...

Will likely be resolved by https://github.com/softlayer/sl-ember-components/issues/1503

Resolved by https://github.com/softlayer/sl-ember-components/issues/1503


[9.x] Remove hardcoded slash, replace by DIRECTORY_SEPARATOR

fixes https://github.com/roots/sage/issues/2775

thanks, but we only support windows through WSL


Doubles not recognized as .rodata

after splitting the .rodata, I found there were errors wherein the double values referred to in the memory region would throw it off, changing the offset and omitting the values. I am uncertain if this is an issue for titles compiled in Mips1, but it seems to be a consistent issue for me, as any .rodata defined that has no doubles recompiles without issue.

Hi, thanks for the report. Can you add which game you're trying to split, as well as your yaml file?

https://github.com/blackgamma7/mischief-makers/blob/f9bd6f01cb89ff2af5761c9c9383d18a6a1a7f6b/mischiefmakers.yaml#L223
in example, if this line is commented out, it causes the offset for the constant doubles to shift back.
https://github.com/blackgamma7/mischief-makers/blob/f9bd6f01cb89ff2af5761c9c9383d18a6a1a7f6b/mischiefmakers.yaml#L352
un-commenting this line causes the jumptable offset  in func_80199CD4_6C49A4 to shift, as well.

gonna close this as it's very obsolete at this point. if it's still an issue with spimdisasm, let us know


Maglev Shuffle Shard

Draft
Issue: https://github.com/envoyproxy/envoy/issues/14663
This implements option 2 of the google doc.
Some choices that were made:

Shard generation could be done with [hash, hash+1, ...], or seeding random with (hash % table_size) and using [hash, hash+rand(), ...] or seeding random with hash and using [hash, hash+rand(), ...]. This implementation uses the third option.
Turned off priority_set callbacks when shuffle sharding is in place. Without turning this off, a client can make their shard unhealthy and slowly consume all backends. Are there other implications to turning this off?
No shard state. This limits the inner LB method to random or least requests, and limits host weight to only the maglev table.

Hi @mattklein123 , want to make you aware of this one. If it gets a tentative 👍 I will work on tests and cleanup.

Hi @mattklein123 , want to make you aware of this one. If it gets a tentative 👍 I will work on tests and cleanup.

FYI I'm on paternity leave. I will look but it will be delayed. Cc @wgallagher who might be able to look.

FYI I'm on paternity leave. I will look but it will be delayed. Cc @wgallagher who might be able to look.

Thanks for the feedback :)
After talking with Bill, we're thinking that including dimensions (e.g. ability to balance over availability zones) will be harder with this implementation, because we'd need a maglev table for each dimension.


bee keep restarting

Summary
first install the bee-clef and then install the bee, but the bee just keep restarting
System info
Linux version 5.4.0-72-generic (buildd@lcy01-amd64-019) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021
logs
Apr 30 16:28:42 super systemd[1]: bee.service: Scheduled restart job, restart counter is at 191.
Apr 30 16:28:42 super systemd[1]: Stopped Bee - Ethereum Swarm node.
Apr 30 16:28:42 super systemd[1]: Started Bee - Ethereum Swarm node.
Apr 30 16:28:42 super bee[352834]: Welcome to the Swarm.... Bzzz Bzzzz Bzzzz
Apr 30 16:28:42 super bee[352834]:                 \     /
Apr 30 16:28:42 super bee[352834]:             \    o ^ o    /
Apr 30 16:28:42 super bee[352834]:               \ (     ) /
Apr 30 16:28:42 super bee[352834]:    ____________(%%%%%%%)____________
Apr 30 16:28:42 super bee[352834]:   (     /   /  )%%%%%%%(  \   \     )
Apr 30 16:28:42 super bee[352834]:   (___/___/__/           \__\___\___)
Apr 30 16:28:42 super bee[352834]:      (     /  /(%%%%%%%)\  \     )
Apr 30 16:28:42 super bee[352834]:       (__/___/ (%%%%%%%) \___\__)
Apr 30 16:28:42 super bee[352834]:               /(       )\
Apr 30 16:28:42 super bee[352834]:             /   (%%%%%)   \
Apr 30 16:28:42 super bee[352834]:                  (%%%)
Apr 30 16:28:42 super bee[352834]:                    !
Apr 30 16:28:42 super bee[352834]: time="2021-04-30T16:28:42+08:00" level=info msg="version: 0.5.3-acbd0e2"
Apr 30 16:28:42 super bee[352834]: time="2021-04-30T16:28:42+08:00" level=info msg="using swarm network address through clef: 66e2ebca1dc13ed14694e7c46e3e69fd2886f60b8e338a071a6dba90ce65e75e"
Apr 30 16:28:42 super bee[352834]: time="2021-04-30T16:28:42+08:00" level=info msg="swarm public key 03e20de0701da9c1761c5168ea3ce48ec5fe67f7bdeec51de2243e1221ce227ce8"
Apr 30 16:28:42 super bee[352834]: time="2021-04-30T16:28:42+08:00" level=info msg="pss public key 0306211efd2b85db66e7389658fc378bbbaa2b2b6df69658dd4d7dfb31fa759b59"
Apr 30 16:28:42 super bee[352834]: time="2021-04-30T16:28:42+08:00" level=info msg="using ethereum address 21a4de1f498fceb520d5784f675bb075f8b7af6f"
Apr 30 16:28:42 super bee[352834]: Error: open /var/lib/bee/statestore/LOG: permission denied
Apr 30 16:28:42 super systemd[1]: bee.service: Main process exited, code=exited, status=1/FAILURE
Apr 30 16:28:42 super systemd[1]: bee.service: Failed with result 'exit-code'.

This is a known issue with the current package.  Do the following command and then restart your bee node and all should be well:
sudo chown -R bee:bee /var/lib/bee


cmake: Remove AddVkLayer

CI Vulkan-ExtensionLayer build queued with queue ID 6121.

CI Vulkan-ExtensionLayer build # 624 running.

CI Vulkan-ExtensionLayer build # 624 passed.


Handle hpack projects:

stack automatically generates .cabal files from hpack files, so some
stack projects omit .cabal and only provide a hpack file. When a git
dependency is a stack project and only has a hpack file stack2cabal
currently fails when looking for a cabal file. We now handle this case
by running hpack and using the generated cabal file.
Fixes #2.

Awesome! :D Thanks :)


build: Release v0.2.0

What this PR does / why we need it:
build: build muta v0.2.0
Which docs this PR relation:
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:
No thing special

/lgtm


Update Turbo to 1.10.3

Based on suggestion at https://github.com/medplum/medplum/issues/2250

coverage: 94.193%. remained the same when pulling 4fb8be913cab84b8f9977f781f8ca62316708771 on james-update-turbo into c209269bf780a830d8e5af2642109ee451cd4640 on main.


update packages

Update packages for CosmosDB and SignalR
Add more documentation.

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


chore(lang): update pl translations

Missing strings from recent updates:

Records per page: all
Filters: delete (all) filters

Thanks!


Logical flaw in calculate_gmhi implementation

Parameters MH_prime and MN_prime should come as variables calculated on a training dataset, therefore they should be provided to calculate_gmhi as parameters, not calculated every time function is executed.
This removes the need for metadata input to the function and allows for index calculation solely on gut microbiome data.

Thanks for pointing this out. We actually need two separate actions for training and computing GMHI. We will work on that soon.


v1.11.0: missing RID method

Your environment.

Version:v1.11.0 (latest)

What happened?
When upgrading my setup to use ion-sfu v1.11.0 I get missing RID method at build time.
@Sean-Der seems to fix this 7 commits ahead of v.1.11.0, in 53cf929ff5f11241ed83cd1e2400c91370021439, but there is no tagged release yet that includes this fix.
# github.com/pion/ion-sfu/pkg/sfu
79/go/pkg/mod/github.com/pion/ion-sfu@v1.11.0/pkg/sfu/publisher.go:380:52: cannot use downTrack (type *DownTrack) as type webrtc.TrackLocal in argument to rp.AddTrack:
80	*DownTrack does not implement webrtc.TrackLocal (missing RID method)
81/go/pkg/mod/github.com/pion/ion-sfu@v1.11.0/pkg/sfu/publisher.go:428:18: impossible type assertion:
82	*DownTrack does not implement webrtc.TrackLocal (missing RID method)
83/go/pkg/mod/github.com/pion/ion-sfu@v1.11.0/pkg/sfu/relaypeer.go:137:52: cannot use downTrack (type *DownTrack) as type webrtc.TrackLocal in argument to rp.AddTrack:
84	*DownTrack does not implement webrtc.TrackLocal (missing RID method)
85/go/pkg/mod/github.com/pion/ion-sfu@v1.11.0/pkg/sfu/relaypeer.go:184:18: impossible type assertion:
86	*DownTrack does not implement webrtc.TrackLocal (missing RID method)
87/go/pkg/mod/github.com/pion/ion-sfu@v1.11.0/pkg/sfu/router.go:240:64: cannot use downTrack (type *DownTrack) as type webrtc.TrackLocal in argument to sub.pc.AddTransceiverFromTrack:
88	*DownTrack does not implement webrtc.TrackLocal (missing RID method)

Did you solve it?


[SPARK-24046][SS] Fix rate source rowsPerSecond <= rampUpTime corner case

What changes were proposed in this pull request?
Current Rate source has some issues when calculating valueAtSecond if rowsPerSecond <= rampUpTime, value will not be gradually increased, details can be found in JIRA. So here propose to fix this issue.
How was this patch tested?
Add UT

Test build #89952 has started for PR 21188 at commit bf62aed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2736/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89952/
Test PASSed.

Hi Jerry,
I don't think the issue is solved with this patch. I plugged the new function in my notebook and it still shows a rather flat ramp-up:

I created a PR with an alternative rate computation: https://github.com/apache/spark/pull/21194
Could you have a look?

Isn't this a flat ramp-up smoothly increasing the rows per second? Your proposal is another solution, but just two options...

Hi Jerry,
There's an improvement from the original situation, but the initial ramp-up phase starts only when the time gets very close to rampUpTime. Here you have another example that shows the behavior:
Above: The original implementation
Below: This PR. (Notebook src:https://gist.github.com/maasg/95eab0e49eeef9c7457bca2900bf412e)

This behavior is not consistent with the working, case when rowsPerSecond > rampUpTime
In this case, the ramp-up is quite smooth:

@maasg as comment in #21194, I just consider we should not change the behavior while seconds > rampUpTimeSeconds. Maybe it more important than smooth.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/4227/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/15762/
Test PASSed.


Fix multi-line indentation edge cases

This is copied from https://github.com/daniel-trinh/scalariform/pull/101. It fixes https://github.com/daniel-trinh/scalariform/issues/100.

Thanks for porting this over

test this please

LGTM


CVEs / update to golang 1.19.1+

According to go.mod, prometheus-adapter is still built using golang 1.18.
According to our security monitoring tools,for release 0.10.0, it is 1.18.5.
But there are some CVEs reported in versions prior to 1.18.6 and 1.19.1:

CVE-2022-27664
CVE-2022-32190

We should then consider updating to golang 1.19.5 or 1.20.0.

/triage accepted
/assign @dgrisonnet

https://github.com/kubernetes-sigs/prometheus-adapter/issues/573


Verification of LDAP support

This is associate with openbmc LDAP support and https://github.com/openbmc/openbmc/issues/2438

[ ]  Test plan documentation of LDAP support
[ ] Automation / Verification of LDAP support

Done.
Check under the directory tests_ldap


Create debian package

I hereby agree to the terms of the CLA available at: [placeholder]
Changelog category (leave one):

New Feature
Bug Fix
Improvement
Performance Improvement
Backward Incompatible Change
Build/Testing/Packaging Improvement
Documentation (changelog entry is not required)
Other
Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Detailed description / Documentation draft:
...
If you are doing this for the first time, it's recommended to read the lightweight Contributing to ByConity Documentation guide first.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: dmthuc:x: FelixoidYou have signed the CLA already but the status is still pending? Let us recheck it.


Strange invalid decimal output

3.1.4 show

This shows 0.4 but should throw an error. (Invalid literal?)

This isn't exactly a bug, but it is confusing. 3.1.4 gets parsed as two different floats, 3.1 and 0.4. This is by design, so that you can do things like 3.14"spam"show show


Password Input field

https://www.google.com/design/spec/components/text-fields.html#text-fields-required-fields
customer: fast has an example of this in their mocks.  Unclear if they'll actually end up using it (since phones often have shared UI for password entry instead of per-app), but since it's in MD we should have it.  If they do need it, we'll need it soon.
FYI @mpcomplete @HansMuller

Is this about the visibility icon? We have support for password entry fields otherwise.

I see we already have an example:
https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/lib/demo/text_field_demo.dart#L104
So OK, I think we can close this.  We can do the visibility icon later.