script matlab.

hi,
cc @shakeebmurtaza

using the current version of the code, i am getting this error when processing 'F-actin_Nonlinear' to generate train/valid set using DataAugumentation_ForTrain.m. can you update the code. please test it before publishing. retest over all specimens before publishing so we dont have to come back again for more issues related to generating data. we have already created an issue about this matter 25 days ago, and so far no answer.

Generating training data 1/30, SNR 9/9
Generating training data 1/30, SNR 10/9
Index exceeds matrix dimensions.

Error in DataAugumentation_ForTrain (line 189)
        [header, data] = XxReadMRC(files_input{j});

can you fix the case of ER. i am getting this error:

Error using char
Conversion of element 1 from <missing> to character vector is not supported.

Error in XxSort (line 47)
s1 = char(c2);

Error in DataAugumentation_ForTrain (line 90)
    files_input = XxSort(XxDir(CellList{i}, DataFilter));

can you fix the case of CCPs. error:

Generating training data 1/30, SNR 8/9
Generating training data 1/30, SNR 9/9
Generating training data 1/30, SNR 10/9
Index exceeds matrix dimensions.

Error in DataAugumentation_ForTrain (line 189)
        [header, data] = XxReadMRC(files_input{j});

can you fix the case of Microtubules . error:

Generating training data 1/30, SNR 6/9
Generating training data 1/30, SNR 7/9
Generating training data 1/30, SNR 8/9
Generating training data 1/30, SNR 9/9
Generating training data 1/30, SNR 10/9
Index exceeds matrix dimensions.

Error in DataAugumentation_ForTrain (line 189)
        [header, data] = XxReadMRC(files_input{j});

can you provide the exact script that you used to generate all the test set pairs low_resolution-super_resolution under the format *.tiff of the four specimens: ccps, er, mts, f-actin, f-actin (non-linear). please test your code before publishing.

please provide the exact same scripts with the exact same configuration that you used so we can produce exactly the same data as you. without these scripts we cant use your data. please avoid asking users to modify or guess anything related to your code. you know better than anyone your data and your matlab code. so, please save everyone headaches, and help us use your public data. the scripts should be ready to use. the user needs only to run them. they have to produce the same data as you since you said you are unable to upload the ready-to-use data. everyone appreciates your help.
matlab version: same as you (matlab 2017b).
thanks.

Hi Sourfiane,
I think the above error in Matlab code could be fixed by my updated script available in the pull request.

reminder.

Now I've updated the MATLAB script for data augmentation as I said, added more annotations and exception warning, and ensured that it can be run for all of the five types of specimens in BioSR by only assigning the variable "Specimen" with "CCPs", "ER", "Microtubules", "F-actin" or "F-actin_Nonlinear". You can test it right now.
But I still need some time to made the script for testing data readable and robust enough to upload. If you need, I can give you the exactly testing data I used in my experiments.

i tested the script for the train/valid sets. it works fine.
can you please provide the script to generate test set? it makes sens to upload one file to generate the dataset instead of uploading the dataset with thousands of files. later, if you want you can upload all subsets. i am waiting for this script.
thanks

OK, I'll remind you after I upload it.

reminder.


Signal settle time

Currently settle time only exists as an attribute in Positioners and not Signals. However, Signal.set() uses this as a keyword argument, which obscures it from bps.mv or other plans. This adds settle_time as a property of Signal, that can be overridden in the call to set(). It keeps the defaults as None, and should maintain backward compatibility with existing devices.

This was built off an outdated version of ophyd which inhibits a clean merge. Discarding and revisiting.

you rebase and force-push as well.


t.Numeric causing UNKNOWN errors when validating with options. undefined is not an object (evaluating 'schema.$id')

What version of Elysia.JS is running?
0.8.17
What platform is your computer?
Linux <IP_ADDRESS>-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
minimum code for reproduction:
import { Elysia, t } from "elysia";

const app = new Elysia()
  .get("/:id/test", ({ params: { id } }) => id, {
    params: t.Object({
      id: t.Numeric({ minimum: 0 }),
    }),
    error(err) {
      if (err.code === "VALIDATION") {
        const idErr = err.error.all.find((err) => err.path === "/id")!;
        console.error(idErr);
        return "id must be a non-negative number";
      }
      console.error(err.code);
    },
  })
  .listen(3000);

console.log(`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`);

run this server, and then try the following requests:

Request
Expected result
Actual Result

http://localhost:3000/0/test
0
0

http://localhost:3000/SomeString/test
id must be a non-negative number
id must be a non-negative number

http://localhost:3000/-1/test
id must be a non-negative number
undefined is not an object (evaluating 'schema.$id')

What is the expected behavior?
I expected that t.Numeric would fail with a VALIDATION code when the id param did not pass the minimum option part of the schema validation.
What do you see instead?
We get an UNKNOWN error, and a weird error message that I see no helpful documentation around.
Additional information
This only happens for inner properties that fail validation for the number value; for example, { multipleOf: 1 } will fail with the same problem if we pass an id of 0.5.

Fixed in 711925a under 1.0.0-beta.14.
If resolved, please leave the issue opened until release on next stable release.

Should be fixed in 1.0.0
Feels free to reopen if issue still persists.


[stable/stellar-horizon]: Release 1.0.0 (initial release)

What this PR does / why we need it:
This PR adds a chart for running a Stellar Horizon server for the Stellar network. It provides an HTTP API for querying the network and submitting transactions.
Special notes for your reviewer:
Horizon needs to be deployed with a Stellar Core node and needs access to its database. To make the chart work out of the box, this chart depends on the stable/stellar-core chart by default. If an existing Stellar Core node should be used users can configure this by setting stellar-core.enabled to false and providing existingStellarCore. The same holds for the Postgresql database which can be configured with postgresql.enabled and existingDatabase.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Variables are documented in the README.md

Remarks
This chart is based on the popular SatoshiPay images for Stellar Horizon that are well-suited for Kubernetes. The chart was developed by me at SatoshiPay where it is used in production for several months now. Since SatoshiPay wishes to contribute the chart to the community, I have permission to release the chart under Apache License 2 and to keep maintaining it.

I'm closing this PR since I didn't manage to get anyone to review it within 4 weeks and it starts to become quite exhausting to keep asking on slack without getting any response.
I'll post a note here if I decide to publish it in another repository.


Wait for all hosts to become insufficient before vips can be defined

This is Ori's change. Still need to validate it


roxygen docstring tags

Used to have inline documentation of functions for package development

@lee-dohm got time to look into this?

Thanks for the reminder. Sorry to make you wait.


Feat: :rocket: Updated KMS module

what

Updated GCP KMS module

Review and update all workflows .github/workflows  and use our shared workflows you can take reference from https://github.com/clouddrove/terraform-aws-vpc/tree/master/.github/workflows

Review and update all workflows .github/workflows and use our shared workflows you can take reference from https://github.com/clouddrove/terraform-aws-vpc/tree/master/.github/workflows

done


@Profile annotation is not working on @WorkflowImpl with workers-auto-discovery

Expected Behavior
When workers-auto-discovery is configured and @Profile annotation is used on top of @WorkflowImpl, if the profile condition doesn't match, the workflow should not be used.
Actual Behavior
Regardless of the condition in @Profile all classes annotated with @WorkflowImpl will be used.
Steps to Reproduce the Problem

Create a workflow and its implementation SomeWorkflowImpl
Annotate SomeWorkflowImpl with @WorkflowImpl and @Profile("!local")
Run the application with local spring profile. The SomeWorkflowImpl can still be discovered and workers will be created.

Specifications

Version: temporal-spring-boot-autoconfigure-alpha-1.18.2.jar
Platform: mac

Some investigations
ClassPathScanningCandidateComponentProvider is used to scan the package to find workflows.
  private Collection<Class<?>> autoDiscoverWorkflowImplementations() {
    ClassPathScanningCandidateComponentProvider scanner =
        new ClassPathScanningCandidateComponentProvider(false);
    scanner.addIncludeFilter(new AnnotationTypeFilter(WorkflowImpl.class));
    Set<Class<?>> implementations = new HashSet<>();
    for (String pckg : properties.getWorkersAutoDiscovery().getPackages()) {
      Set<BeanDefinition> candidateComponents = scanner.findCandidateComponents(pckg);
      for (BeanDefinition beanDefinition : candidateComponents) {
        try {
          implementations.add(Class.forName(beanDefinition.getBeanClassName()));
        } catch (ClassNotFoundException e) {
          throw new BeanDefinitionValidationException(
              "Fail loading class for bean definition " + beanDefinition, e);
        }
      }
    }
    return implementations;
  }

But it seems the Environment is not passed in. According to spring doc
The Environment is need to evaluate @Conditional annotations.

Profile effects what beans are included, technically workflow classes are not beans by intention, but I think it would be resonable here to respect Profile. Are you aware of any other spring boot projects that apply Profile to non beans?

Are you aware of any other spring boot projects that apply Profile to non beans?

No I haven't know whether there're such projects. I am not saying we should do that but there seems to be missing some Spring-aware configurations to dynamically disable some task queue/workers. Maybe This can be achieved by some configuration beans before starting the workers?
What I am doing now is set the auto start worker to false, and manually register the conditional workers to worker factory. Maybe this kind of operations can be configured by some beans?

Or could you give me some advice here on what's the recommend way to conditionally enable/disable workflows?

Your options currently are to use explicit configuration or put them in separate packages


ros_explorer: 0.1.0-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_explorer to 0.1.0-0:

upstream repository: https://github.com/jstnhuang/ros_explorer.git
release repository: https://github.com/jstnhuang-release/ros_explorer-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.26
previous version for package: null

ros_explorer
* Initial release.
* Contributors: Justin Huang

Looks cool :slightly_smiling_face:


Page Template components

Create some page template components, mirroring govuk-frontend:
https://design-system.service.gov.uk/styles/page-template/

Follow the structure of the nunjucks templates
Don't include html tag and head tag content
Use variable and block names from the nunjucks templates for the props used by the React version, other than we should use 'children' rather than content

output usage should be along the lines of:
<PageTemplate>
  <Header1>Basic usage</Header1>
</PageTemplate>

The above would render a default nav and footer.
<PageTemplate header={<Nav />} beforeContent={<Breadcrumbs />} footer={<Footer />}>
  <Header1>Advanced usage</Header1>
</PageTemplate>

Should use <MainWrapper /> https://github.com/UKHomeOffice/govuk-react/issues/427 under the hood

Proposed prop structure:
<Page
  header={<Header />}
  main={<><BackLink /><Page.Main /></>}
  footer={<Footer />}
/>

Wondering whether and how to support both the main and content props that govuk-frontend allows


Release Google.Cloud.Monitoring.V3 version 2.5.0

Changes in this release:

Commit b8a8fbd: feat: Added support for auto-close configurations

Created release for Google.Cloud.Monitoring.V3-2.5.0


Add subs info in settings screen

Task/Issue URL: https://app.asana.com/0/0/1206024785662125/f
Description
See task
Steps to test this PR
See task

Current dependencies on/for this PR:

develop

PR #3895

PR #3903

PR #3915

PR #3918

PR #3932

PR #3938

PR #3947

PR #3950


Don't got the rights yet to push...

Tried pushing but ends in no rights...
br.
Ronny

It's easier to push if accepting the collaboration invite


Using filename from contentDisposition header

When downloading zip files our server returns the target file name in the content disposition header. Rapidoc grabs that name and uses it, but the filename is in quotes and those quotes aren't stripped from the filename before it is used which messes up the download.  The code is here, and I think all that needs to be done is to strip the double quotes with something like:
 me.respContentDisposition = me.respContentDisposition.replace(/"/g, '');
We also have a related issue in that the generated curl command does not support the content disposition header.  It is possible for curl commands to support this header by, for example, adding the -OJ options, but in rapiDoc there currently is no way to configure the curl command based on the current api endpoint.  Would it be possible to add some form of curl configuration support that can be varied for different endpoints?

thanks for taking time to point to the issue. would you be able to confirm if the filename having quotes in content-disposition is stemming from the server that you are using.
This is what I found out upon a quick search https://stackoverflow.com/questions/43756538/why-does-the-filename-of-the-contentdisposition-add-extra-slashes-and-quotes-e
and the web-server you are suing on your end

I went back and tested and yes, if I remove the quotes from the filename it works.  We are using an apache server but I don't think that matters here since we add the quotes in our own gateway code so I can easily remove them. That approach is fine for now, but I'd be nice if RapiDoc supported quotes - the link you sent seems to indicate that quoted filenames is the standards-compliant approach.  Just to be sure I also tried curl and that works both with and without quoted filenames.


migrate fails after baseline succeeds: org.flywaydb.core.internal.exception.FlywaySqlException:  Unable to insert row for version '2' in Schema History table "myschema"."flyway_schema_history"

Which version and edition of Flyway are you using?
5.0.7
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
N/A
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
      <artifactId>flyway-maven-plugin</artifactId>
      <version>5.0.7</version>

Which database are you using (type & version)?
PostgreSQL v 9.6
JDBC:     <postgresql.version>42.2.2</postgresql.version>
org.postgresql
postgresql
Which operating system are you using?
MacOS, Zsh
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
I want to use a schema, so configured flyway's maven plugin accordingly:
  <plugin>
    <groupId>org.flywaydb</groupId>
    <artifactId>flyway-maven-plugin</artifactId>
    <configuration>
      <schemas>
        <schema>myschema</schema>
      </schemas>

We keep the URL for the db in an env-specific conf file.
First made the baseline:
mvn -Dflyway.configFiles=./flyway-dev.conf flyway:baseline

That worked perfectly.  The "flyway_schema_history" table was created in the expected schema with a single row (for the baseline).
Then, changing nothing, ran the :migrate command with two migration files in the default location (src/main/resources/db/migration).
mvn -Dflyway.configFiles=./flyway-dev.conf flyway:migrate

What did you expect to see?
A successful migration with the tables created and the entries added to the "myschema"."flyway_schema_history" table.
What did you see instead?
[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:5.0.7:migrate (default-cli) on project coincore: org.flywaydb.core.internal.exception.FlywaySqlException:
[ERROR] Unable to insert row for version '2' in Schema History table "myschema"."flyway_schema_history"
[ERROR] -------------------------------------------------------------------------------------------------
[ERROR] SQL State  : 42P01
[ERROR] Error Code : 0
[ERROR] Message    : ERROR: relation "myschema.flyway_schema_history" does not exist
[ERROR]   Position: 35

I noticed the quoting in the Error messages is different: first time uses quotes around the schema name and the table name, second time just quotes the whole string (that's slightly confusing).
I re-ran with the -e flag but learned nothing, but perhaps the stack trace is useful to the devs:
Position: 35

	at org.flywaydb.maven.AbstractFlywayMojo.execute(AbstractFlywayMojo.java:603)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 20 more
Caused by: org.postgresql.util.PSQLException: ERROR: relation "coinbridge.flyway_schema_history" does not exist
  Position: 35
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)
	at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)
	at org.flywaydb.core.internal.util.jdbc.JdbcTemplate.queryForInt(JdbcTemplate.java:164)

As mentioned, when I check the DB the table is there.

whoops.  bug in the migration script from pre-flyway days where the schema was being dropped and recreated.  fixed.


Implement MOF 1.1 relaxed requirements

In MOF 1.1, the requirement to have a type-appropriate license on Class III components was relaxed from being a MUST to a SHOULD. This PR implements this change by allowing the selection of an open source code license on these Class III components.
As a result the Conditional flag is no longer displayed, instead the model is labeled as qualified for Class III, but the status message displayed at the top of the ModelView page is expanded to point out all the components for which there isn't a type-appropriate license.

I tidied up the code a bit. Please give it a test run when you can.

I tidied up the code a bit. Please give it a test run when you can.

Thank you. Looks good and works for me.


Numerous races and test failures when running dev-test under docker with 1 CPU

I was using dvm to bring up my boot2docker image which runs with 1 CPU and 512M by default.  I ran into a number of hangs and compilation failures due to the memory size but got through those by bumping the VM size to 2GB.
After bumping memory, I kept hitting failures and races when running with 1 CPU.  Bumping the VM to use 4 CPUs seemed get the tests to pass.
It looks like you may want to investigate some of this by running your docker VMs with 1CPU.
Failures:
https://gist.github.com/sykesm/9809801
https://gist.github.com/sykesm/9809927
https://gist.github.com/sykesm/9809937
https://gist.github.com/sykesm/9809946
The races appear to be around loggregator and yagnats so I'll try to follow up there.
Races:
https://gist.github.com/sykesm/9809777
https://gist.github.com/sykesm/9809831
Thanks.

Hey, @sykesm, closing this out.


[macOS] Eliminate explicit main window init()

The style guide actively recommends against calling .init().
See: https://google.github.io/swift/#initializers-1
No additional tests since this is purely a style change with no semantic effect.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.


Dnn example not working properly.

Camera Model D435i
| Firmware Version <IP_ADDRESS>
| Operating System & Version | Linux (Ubuntu 16.04 LTS)
| Kernel Version (Linux Only)| 4.15.0-48-generic
| Platform| PC
| SDK Version 2.21.0
| Language python/C
| Segment	Robot
The dnn example is not working properly. It keeps on showing the distance as '0 meters away' even if the distance of the object from the camera changes. See the screenshots to get a better idea of the problem.

Hi @Ahad19931
Please check if rs-align example is working properly. This might be related to known calibration issue of D435i being addressed right now

Yes, the rs-align example is working properly but the dnn example is not working properly.

Here is the screenshot for the rs-align example. Please check if the output of this example is correct.

Hi @Ahad19931,
Thank you for attaching the output of rs-align.
Based on the output, it seems that dorodnic was correct about running into a known calibration issue.
Could you please give SDK Version 2.22.0 a try?
https://github.com/IntelRealSense/librealsense/wiki/Release-Notes#bug-fixes


Pure Javascript target

I have added a pure javascript target (without haxe):
https://github.com/jtransc/jtransc/tree/master/jtransc-gen-js
This should be finished for 0.3.0 which should be released in a couple of days.

Completed :)


Fixed linger_ms to match documentation.

self.flush_ready.wait(None) will actually linger forever until the flush_ready condition is notified. The documentation for linger_ms specifies that a linger_ms of 0 will not linger.

@pdex Thanks for this fix. I think the existing error is my fault after another bugfix. That fix did correct the issue I was after, but I got the meaning of None wrong.


Add Braintrust as an evaluations and testing tool for create-llama

Hi,
We added braintrust as a testing script for the javascript templates. Let us know if this is helpful and we can help get this merged in.
Thank you!
David

Thanks for the contribution. This looks cool!
I'd like this to be an option. @marcusschiesser can you help take a look at this and help figure out what we need to do to support different vector DB and eval options?

@davidatbraintrust, Thanks for your PR! To make your feature optional, you're best doing the following:

Create a new evals/braintrust folder in https://github.com/run-llama/LlamaIndexTS/tree/main/packages/create-llama/templates/components and put your typescript code there (sorry, no support for components yet for Python code).
In your test code, check if BRAINTRUST_API_KEY is set; if not, throw an error (then you don't need to generate a .env file)
Add export type TemplateEvals = "none" | "braintrust"; to https://github.com/run-llama/LlamaIndexTS/blob/main/packages/create-llama/templates/types.ts
Ask the user for the TemplateEvals selection before the OpenAI key, see https://github.com/run-llama/LlamaIndexTS/blob/main/packages/create-llama/index.ts#L307
Create a function to copy the eval component that the user selected (code similar to this one: https://github.com/run-llama/LlamaIndexTS/blob/main/packages/create-llama/templates/index.ts#L128-L139)
Modify the package JSON (see https://github.com/run-llama/LlamaIndexTS/blob/main/packages/create-llama/templates/index.ts#L189-L199)

Please wrap your code in dedicated functions (e.g. use copyEval) instead of inlining your code. If you need any help, let me know!

This is very helpful! We'll work to make these changes and get back to you here. Thank you!

bump @davidatbraintrust

Please send PR to the new repo: https://github.com/run-llama/create-llama again - Sorry for the trouble and let me know if you need any help


Firestore emulator: resource starvation for concurrent operations on a single document

I was instructed by @samtstern to post Firestore Emulator - related issues in this repository, so here we go:
Getting and setting the same reference (two concurrent operations) results in a lock. There are three possible outcomes:

operations succeed after a long period of time (~30+ seconds)
an UNKNOWN error is returned (code 2)
a GOAWAY message is returned

The issue is highly reproducible:
$ time npx ts-node ./test.ts
2 UNKNOWN:

real    0m32.538s
user    0m3.862s
sys     0m0.311s

Emulator output:
API endpoint: http://<IP_ADDRESS>:8080
If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:

   export FIRESTORE_EMULATOR_HOST=<IP_ADDRESS>:8080

Dev App Server is now running.

Mar 11, 2019 6:18:41 PM io.gapi.emulators.grpc.GrpcServer$3 operationComplete
INFO: Adding handler(s) to newly registered Channel.
Mar 11, 2019 6:18:41 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected HTTP/2 connection.
Mar 11, 2019 6:19:11 PM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError
INFO: operation failed: null
Mar 11, 2019 6:19:11 PM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError
INFO: operation failed: null

Repro:
import { Firestore } from '@google-cloud/firestore';
import { credentials } from 'grpc';

const firestore = new Firestore({
  'grpc.initial_reconnect_backoff_ms': 500,
  'grpc.max_reconnect_backoff_ms': 1000,
  port: 8080,
  projectId: 'test',
  servicePath: 'localhost',
  sslCreds: credentials.createInsecure(),
});

const ref = firestore.collection('collection').doc('doc');

const run = async () => {
  await Promise.all([ref.get(), ref.set({})]);
};

run().catch(x => console.error(x.message));

I can reproduce this, and I think I understand why this is happening. I have a fix prepared, and I'll ask some of the other backend engineers to take a look over it.

Fix submitted for the read + write contention.
There is still an issue with multiple writes introducing deadlock. For instance,
  await Promise.all([ref.set({}), ref.set({})]);

will still trigger a 30s limited deadlock even after the current fix. We have a more complete fix in mind but that will be another release afterwards.

Thanks for the update, appreciate it.

The behaviour is improved with v1.4.2, but it's not fixed. If you add more calls to Promise.all it still fails, although the emulator at least shows some error message: INFO: operation failed: transaction timeout.

To clarify, do the failures you're seeing involve multiple writes?

Yes, here's a full minimal repro:
import { Firestore } from '@google-cloud/firestore';
import { credentials } from 'grpc';

const firestore = new Firestore({
  'grpc.initial_reconnect_backoff_ms': 500,
  'grpc.max_reconnect_backoff_ms': 1000,
  port: 8080,
  projectId: 'test',
  servicePath: 'localhost',
  sslCreds: credentials.createInsecure(),
});

const ref = firestore.collection('collection').doc('doc');

const run = async () => {
  await Promise.all([ref.set({}), ref.set({})]);
};

run().catch(x => console.error(x.message));

Okay, the multi-write deadlock case is a known issue, we haven't submitted the fix for it yet. I will update this issue when we do.

The fix for this has been submitted. I'll close this issue when the next release goes out.

Release went out a couple weeks ago, closing this out.


Access control in "Scenrio1" should be with OR control

Scenario1 - 9. Under Access controls > Grant, select the following options:
These control should be with OR since not all apps of "Office 365"  (e.g. Teams) support "Require App Protection Policy" grant control. So should be like this:

Require approved client app
Require app protection policy (preview)
Require one of the selected controls

This is guided in 17:50 of this session:
https://techcommunity.microsoft.com/t5/video-hub/intune-app-protection-policies-with-policy-assurance/m-p/1688886

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

ID: 14348ba7-48f0-1862-ebec-0fc3640e587d
Version Independent ID: 8188cee4-3f28-6014-f3be-1ee9e9b183b6
Content: App protection policies with Conditional Access - Azure Active Directory
Content Source: articles/active-directory/conditional-access/app-protection-based-conditional-access.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@yusukekodama  Using "OR" condition between require approved client app and require app protection policy (preview) is not a requirement. It has to be selected specifically in scenarios when you want to include a set of apps which don't support App Protection Policy and a set of apps that does support App Protection Policy in the same Conditional Access policy.


Vert custom tiptap ssr - with bug fixes

line breaks were breaking cuz they can't have children
now undefined in generateHTML produces nothing and children are only inserted if there's a 0

ok I'm reasonably sure I tested out all possible nodes now
https://prod-git-custom-ssr-tiptap-2-mantic.vercel.app/post/rich-text-test


gpu plugin: "bind: address already in use" on pod restart

It looks like the pod will fail to start once restarted as the original socket was not freed correctly.
❯ k -n intel-gpu-plugin logs intel-gpu-plugin-5ksm9 intel-gpu-plugin
I0402 22:27:22.848903       1 gpu_plugin.go:403] GPU device plugin started with none preferred allocation policy
I0402 22:27:22.849588       1 gpu_plugin_resource_manager.go:147] GPU device plugin resource manager enabled
I0402 22:27:22.849641       1 gpu_plugin.go:235] GPU 'i915' resource share count = 30
I0402 22:27:22.850731       1 gpu_plugin.go:248] GPU scan update: 0->30 'i915' resources found
I0402 22:27:22.850742       1 gpu_plugin.go:248] GPU scan update: 0->1 'i915_monitoring' resources found
E0402 22:27:23.851452       1 manager.go:146] Failed to serve gpu.intel.com/i915_monitoring: listen unix /var/lib/kubelet/device-plugins/gpu.intel.com-i915_monitoring.sock: bind: address already in use
Failed to listen to plugin socket

Hmm, I believe this is because the security context was not allowing the pod to run as the root user.


Alert Settings?

On the settings page (iOS), there are a number of switches to control what type of Alerts you get on device.  There is no available outlet I can find in the web service to GET/POST this information.  One would think it would be in /staff/:id/settings, but there is currently no documentation for this page at /documentation, and a quick GET to this endpoint returns an empty array.

Are you prepending the API namespace?
staff_settings GET      /api/v1/staff/:staff_id/settings(.:format)                staff_settings#index {:format=>:json}
                                           POST     /api/v1/staff/:staff_id/settings(.:format)                staff_settings#create {:format=>:json}
                             staff_setting GET      /api/v1/staff/:staff_id/settings/:id(.:format)            staff_settings#show {:format=>:json}
                                           PATCH    /api/v1/staff/:staff_id/settings/:id(.:format)            staff_settings#update {:format=>:json}
                                           PUT      /api/v1/staff/:staff_id/settings/:id(.:format)            staff_settings#update {:format=>:json}
                                           DELETE   /api/v1/staff/:staff_id/settings/:id(.:format)            staff_settings#destroy {:format=>:json}

Routes are defined here for future reference: https://github.com/projectjellyfish/api/blob/master/config/routes.rb#L44
I don't know if you have a local instance of the app running, but if you do you can also run rake routes | grep staff to see, for example, all routes related to staff.

https://jellyfish-core-build.dpi.bah.com/documentation/1.0/staff_settings/index.html
https://jellyfish-core-build.dpi.bah.com/documentation/1.0/staff_settings/show.html
I assumed that's where this stuff was meant to go, but that still doesn't explain how to use it. For example: If I wanted to receive "Critical" alerts but not "Warning" alerts, what needs to go in the POST? It is normally blank unless someone has set this up?
tl;dr: I know there's a route there, there's nothing explaining how to use it (i.e. Documentation), can you re-open this?

Yeah sorry, I misread the question. Is this what you're looking for? https://jellyfish-core-build.dpi.bah.com/documentation/1.0/user_setting_options.html

@jklarfeld wrong thread. Context:
That's closer, but it doesn't really explain how to control Alerts, I mean, I can't send a POST with a JSON body that looks like:
{
     "alerts" : "Hey send less alerts and stuff please"
}

The same goes for getting the settings.  I have to assume there are some default alert settings, otherwise you'd never get alerts.

Haha, you totally should. I'll add a special case.
So looking at the first example data:
  {
    "id": 5,
    "label": "first label",
    "field_type": "text_area",
    "help_text": "click here",
    "options": "{ \"JSON PAYLOAD\": \"DATA\" }",
    "required": true,
    "created_at": "2015-01-08T13:35:59.737Z",
    "updated_at": "2015-01-08T13:35:59.737Z",
    "deleted_at": null
  }

And the POST api for /staff_settings: https://jellyfish-core-build.dpi.bah.com/documentation/1.0/staff_settings.html
We want to POST with the data "name" and "value". We get back a field_type for the options:
The field type (text, textarea, radio, checkbox). Varchar(100)

So that info tells us a little about values we can expect, and how those input should be formed. text & textareas will just be blobs of text that you can pass, radio will also be text, but preformatted, and check boxes probably have to be an array of strings. The options probably defined the keys we expect and display data. I'm not sure what the format is coming out.
So what we probably want for the POST to create a setting is:
{
  "name": "send me emails, yo",
  "value": "false"
}

I don't have a convenient way of pulling these out and there's not any seeds. Does the user_setting_options endpoint return anything for you? This is another thing that really doesn't seem to be hooked up in the angular app unfortunately, so it's possible that even if you set any of these values they wouldn't take effect. All I see for them is CRUD, they're not being referenced to decide how many alerts I want Oo.
cc @stackus and @mafernando who mostly wrote those two controllers. Am I missing anything? Are user settings another thing we may just want to remove and reimplement when we are ready to start using them?

I'd say yes to remove/ignore until later.

I agree with @stackus - lets ignore user settings for now. We should cycle back with @chriskacerguis to understand how this fits into the road map.


Wrong images in Product gallery.

Current behavior
Duplicates and incorrect images in the product gallery.

Expected behavior
Product gallery should contain correct images.
Steps to reproduce the issue

Go to PDP, e.g https://capybara.storefrontcloud.io/women/tops-women/jackets-women/jackets-23/olivia-14-zip-light-jacket-1401.html?childSku=WJ12-XS-Black
Check gallery

Can you handle fixing this bug by yourself?

[ ] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Exactly the same images for this product are shown on demo site: https://test.storefrontcloud.io/women/tops-women/jackets-women/jackets-23/olivia-14-zip-light-jacket-1401.html?childSku=WJ12

This can't be an issue in Capybara theme, but rather Magento configuration - so I'm closing this issue.

https://capybara.storefrontcloud.io/women/tops-women/jackets-women/jackets-23/inez-full-zip-jacket-1305.html?childSku=WJ07-XS-Orange


How to visualization the anomaly map?

I want use your code in my own dataset, but I do not know how to  visualization the anomaly map.
So I can't see the detection results derectly. Can you give me some advice?

basically, you just need to convert the output to a numpy array, then draw a heatmap with matplotlib

Actually, the anomaly_map's datas are like this:

I don't know how to caculate this anomaly_map from a normalization flow, and the original paper doesn't mention how to get the anomaly_map, even loss function haven't mention either. I'm confuse about these problem.

if this is your anomaly map then each value is the anomaly score for each pixel, just draw a heatmap of it


Option to set recording arguments for Cypress Dashboard

Context
Cypress Dashboard is web app for visualisation of results of Cypress tests. For example it allows to see screenshots, video recordings or analytics of test executions.
Results to the dashboard are sent via command cypress run --record --key <record_key>.
Feature request
Enable to execute command lambdatest-cypress run --cypress-record-key <record_key> that would sent results to the dashboard.

Hi @MartinPilny, thanks for writing to us. We will look into your suggestion.

@MartinPilny  you can upgrade the cli to latest version and use --cy=""
E.g
lambdatest-cypress run --cy="--cypress-record-key <record_key>"


Splicing support in iOS (part 1)

There's a lot of changes, but mostly the UI mirrors what we have in Android. I'll try to showcase the highlights here in the PR.
There's a new "Channel management" option in Settings:

The default "max absolute fee" is currently 5,000 sat (as defined in kotlin layer), and the UI provides helpful info when the user changes the value:

The "advanced options" are initially hidden behind a button. But when revealed, we try to make the confusing stuff less confusing with a helpful interactive example:

^ the example values change as the user changes either "max fee amount" or "max fee percent"
The policy override is available too:

Fee warnings have been integrated into the Receive screen:

There's a new notifications screen that includes things like rejected swap-in attempts:

There's more work yet to be done, but this is already a large PR.

I just noticed this PR includes PR #386 by mistake. So after that PR is closed, I will rebase this PR


[zh] sync /architecture/nodes.md

Sync with en #38444

Change the section sequence

content/zh-cn/docs/concepts/architecture/nodes.md

Thanks.
/lgtm
/approve


Synthesis failed for IdentityToolkit

Hello! Autosynth couldn't regenerate IdentityToolkit. :broken_heart:
Here's the output from running synth.py:
)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:07:05.472 [info]  FETCHING: https://identitytoolkit.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v3

13:07:05.590 [info]  FETCHING: https://identitytoolkit.googleapis.com/$discovery/rest?version=v3

13:07:05.603 [info]  FOUND: https://identitytoolkit.googleapis.com/$discovery/rest?version=v3
Revision check: old=20180723, new=20180723, generating=true
Creating leading directories
Writing CreateAuthUriResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/create_auth_uri_response.ex.
Writing DeleteAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/delete_account_response.ex.
Writing DownloadAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/download_account_response.ex.
Writing EmailLinkSigninResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_link_signin_response.ex.
Writing EmailTemplate to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_template.ex.
Writing GetAccountInfoResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_account_info_response.ex.
Writing GetOobConfirmationCodeResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_oob_confirmation_code_response.ex.
Writing GetRecaptchaParamResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_recaptcha_param_response.ex.
Writing IdentitytoolkitRelyingpartyCreateAuthUriRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_create_auth_uri_request.ex.
Writing IdentitytoolkitRelyingpartyDeleteAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_delete_account_request.ex.
Writing IdentitytoolkitRelyingpartyDownloadAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_download_account_request.ex.
Writing IdentitytoolkitRelyingpartyEmailLinkSigninRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_email_link_signin_request.ex.
Writing IdentitytoolkitRelyingpartyGetAccountInfoRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_account_info_request.ex.
Writing IdentitytoolkitRelyingpartyGetProjectConfigResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_project_config_response.ex.
Writing IdentitytoolkitRelyingpartyGetPublicKeysResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_public_keys_response.ex.
Writing IdentitytoolkitRelyingpartyResetPasswordRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_reset_password_request.ex.
Writing IdentitytoolkitRelyingpartySendVerificationCodeRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_request.ex.
Writing IdentitytoolkitRelyingpartySendVerificationCodeResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_response.ex.
Writing IdentitytoolkitRelyingpartySetAccountInfoRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_account_info_request.ex.
Writing IdentitytoolkitRelyingpartySetProjectConfigRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_project_config_request.ex.
Writing IdentitytoolkitRelyingpartySetProjectConfigResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_project_config_response.ex.
Writing IdentitytoolkitRelyingpartySignOutUserRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_sign_out_user_request.ex.
Writing IdentitytoolkitRelyingpartySignOutUserResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_sign_out_user_response.ex.
Writing IdentitytoolkitRelyingpartySignupNewUserRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_signup_new_user_request.ex.
Writing IdentitytoolkitRelyingpartyUploadAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_upload_account_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyAssertionRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_assertion_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyCustomTokenRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_custom_token_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPasswordRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_password_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_phone_number_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_phone_number_response.ex.
Writing IdpConfig to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/idp_config.ex.
Writing Relyingparty to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/relyingparty.ex.
Writing ResetPasswordResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/reset_password_response.ex.
Writing SetAccountInfoResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/set_account_info_response.ex.
Writing SetAccountInfoResponseProviderUserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/set_account_info_response_provider_user_info.ex.
Writing SignupNewUserResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/signup_new_user_response.ex.
Writing UploadAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/upload_account_response.ex.
Writing UploadAccountResponseError to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/upload_account_response_error.ex.
Writing UserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info.ex.
Writing UserInfoProviderUserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info_provider_user_info.ex.
Writing VerifyAssertionResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_assertion_response.ex.
Writing VerifyCustomTokenResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_custom_token_response.ex.
Writing VerifyPasswordResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_password_response.ex.
Writing Relyingparty to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/api/relyingparty.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:07:06.038 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-06 06:07:09,130 synthtool [DEBUG] > Wrote metadata to clients/identity_toolkit/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/identity_toolkit/synth.metadata.
2020-06-06 06:07:09,155 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating IdentityToolkit. :sob:
Here's the output from running synth.py:
)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:00:21.905 [info]  FETCHING: https://identitytoolkit.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v3

13:00:22.012 [info]  FETCHING: https://identitytoolkit.googleapis.com/$discovery/rest?version=v3

13:00:22.024 [info]  FOUND: https://identitytoolkit.googleapis.com/$discovery/rest?version=v3
Revision check: old=20180723, new=20180723, generating=true
Creating leading directories
Writing CreateAuthUriResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/create_auth_uri_response.ex.
Writing DeleteAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/delete_account_response.ex.
Writing DownloadAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/download_account_response.ex.
Writing EmailLinkSigninResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_link_signin_response.ex.
Writing EmailTemplate to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_template.ex.
Writing GetAccountInfoResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_account_info_response.ex.
Writing GetOobConfirmationCodeResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_oob_confirmation_code_response.ex.
Writing GetRecaptchaParamResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_recaptcha_param_response.ex.
Writing IdentitytoolkitRelyingpartyCreateAuthUriRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_create_auth_uri_request.ex.
Writing IdentitytoolkitRelyingpartyDeleteAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_delete_account_request.ex.
Writing IdentitytoolkitRelyingpartyDownloadAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_download_account_request.ex.
Writing IdentitytoolkitRelyingpartyEmailLinkSigninRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_email_link_signin_request.ex.
Writing IdentitytoolkitRelyingpartyGetAccountInfoRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_account_info_request.ex.
Writing IdentitytoolkitRelyingpartyGetProjectConfigResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_project_config_response.ex.
Writing IdentitytoolkitRelyingpartyGetPublicKeysResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_public_keys_response.ex.
Writing IdentitytoolkitRelyingpartyResetPasswordRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_reset_password_request.ex.
Writing IdentitytoolkitRelyingpartySendVerificationCodeRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_request.ex.
Writing IdentitytoolkitRelyingpartySendVerificationCodeResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_response.ex.
Writing IdentitytoolkitRelyingpartySetAccountInfoRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_account_info_request.ex.
Writing IdentitytoolkitRelyingpartySetProjectConfigRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_project_config_request.ex.
Writing IdentitytoolkitRelyingpartySetProjectConfigResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_project_config_response.ex.
Writing IdentitytoolkitRelyingpartySignOutUserRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_sign_out_user_request.ex.
Writing IdentitytoolkitRelyingpartySignOutUserResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_sign_out_user_response.ex.
Writing IdentitytoolkitRelyingpartySignupNewUserRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_signup_new_user_request.ex.
Writing IdentitytoolkitRelyingpartyUploadAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_upload_account_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyAssertionRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_assertion_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyCustomTokenRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_custom_token_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPasswordRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_password_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_phone_number_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_phone_number_response.ex.
Writing IdpConfig to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/idp_config.ex.
Writing Relyingparty to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/relyingparty.ex.
Writing ResetPasswordResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/reset_password_response.ex.
Writing SetAccountInfoResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/set_account_info_response.ex.
Writing SetAccountInfoResponseProviderUserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/set_account_info_response_provider_user_info.ex.
Writing SignupNewUserResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/signup_new_user_response.ex.
Writing UploadAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/upload_account_response.ex.
Writing UploadAccountResponseError to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/upload_account_response_error.ex.
Writing UserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info.ex.
Writing UserInfoProviderUserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info_provider_user_info.ex.
Writing VerifyAssertionResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_assertion_response.ex.
Writing VerifyCustomTokenResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_custom_token_response.ex.
Writing VerifyPasswordResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_password_response.ex.
Writing Relyingparty to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/api/relyingparty.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:00:22.448 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 06:00:25,626 synthtool [DEBUG] > Wrote metadata to clients/identity_toolkit/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/identity_toolkit/synth.metadata.
2020-06-07 06:00:25,649 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating IdentityToolkit. :sob:
Here's the output from running synth.py:
)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:00:55.095 [info]  FETCHING: https://identitytoolkit.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v3

13:00:55.206 [info]  FETCHING: https://identitytoolkit.googleapis.com/$discovery/rest?version=v3

13:00:55.224 [info]  FOUND: https://identitytoolkit.googleapis.com/$discovery/rest?version=v3
Revision check: old=20180723, new=20180723, generating=true
Creating leading directories
Writing CreateAuthUriResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/create_auth_uri_response.ex.
Writing DeleteAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/delete_account_response.ex.
Writing DownloadAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/download_account_response.ex.
Writing EmailLinkSigninResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_link_signin_response.ex.
Writing EmailTemplate to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_template.ex.
Writing GetAccountInfoResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_account_info_response.ex.
Writing GetOobConfirmationCodeResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_oob_confirmation_code_response.ex.
Writing GetRecaptchaParamResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_recaptcha_param_response.ex.
Writing IdentitytoolkitRelyingpartyCreateAuthUriRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_create_auth_uri_request.ex.
Writing IdentitytoolkitRelyingpartyDeleteAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_delete_account_request.ex.
Writing IdentitytoolkitRelyingpartyDownloadAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_download_account_request.ex.
Writing IdentitytoolkitRelyingpartyEmailLinkSigninRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_email_link_signin_request.ex.
Writing IdentitytoolkitRelyingpartyGetAccountInfoRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_account_info_request.ex.
Writing IdentitytoolkitRelyingpartyGetProjectConfigResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_project_config_response.ex.
Writing IdentitytoolkitRelyingpartyGetPublicKeysResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_get_public_keys_response.ex.
Writing IdentitytoolkitRelyingpartyResetPasswordRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_reset_password_request.ex.
Writing IdentitytoolkitRelyingpartySendVerificationCodeRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_request.ex.
Writing IdentitytoolkitRelyingpartySendVerificationCodeResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_response.ex.
Writing IdentitytoolkitRelyingpartySetAccountInfoRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_account_info_request.ex.
Writing IdentitytoolkitRelyingpartySetProjectConfigRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_project_config_request.ex.
Writing IdentitytoolkitRelyingpartySetProjectConfigResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_project_config_response.ex.
Writing IdentitytoolkitRelyingpartySignOutUserRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_sign_out_user_request.ex.
Writing IdentitytoolkitRelyingpartySignOutUserResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_sign_out_user_response.ex.
Writing IdentitytoolkitRelyingpartySignupNewUserRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_signup_new_user_request.ex.
Writing IdentitytoolkitRelyingpartyUploadAccountRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_upload_account_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyAssertionRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_assertion_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyCustomTokenRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_custom_token_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPasswordRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_password_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_phone_number_request.ex.
Writing IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_phone_number_response.ex.
Writing IdpConfig to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/idp_config.ex.
Writing Relyingparty to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/relyingparty.ex.
Writing ResetPasswordResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/reset_password_response.ex.
Writing SetAccountInfoResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/set_account_info_response.ex.
Writing SetAccountInfoResponseProviderUserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/set_account_info_response_provider_user_info.ex.
Writing SignupNewUserResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/signup_new_user_response.ex.
Writing UploadAccountResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/upload_account_response.ex.
Writing UploadAccountResponseError to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/upload_account_response_error.ex.
Writing UserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info.ex.
Writing UserInfoProviderUserInfo to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info_provider_user_info.ex.
Writing VerifyAssertionResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_assertion_response.ex.
Writing VerifyCustomTokenResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_custom_token_response.ex.
Writing VerifyPasswordResponse to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/verify_password_response.ex.
Writing Relyingparty to clients/identity_toolkit/lib/google_api/identity_toolkit/v3/api/relyingparty.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:00:55.646 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 06:00:58,195 synthtool [DEBUG] > Wrote metadata to clients/identity_toolkit/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/identity_toolkit/synth.metadata.
2020-06-08 06:00:58,222 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Use QR code in an  tag

Sorry for the dumb question but can you post a basic example of how I can put the generated qr code in an html img tag without saving an image/svg file?

Hi @Whip if you want to embed the QR code without generating a file you can use the $result->getDataUri(); method as described in the readme to generate a data URI and pass that to you img src attribute. Good luck!

My bad. I didn't spot that. Much thanks


Improve username behavior

Closes: #1
Now I hope everything works fine...

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


ChainD stopped synching after Dencun

After the Dencun fork, ChainD stopped synching.
{"level":"error","service":"blocks","impl":"standard","slot":8626176,"error":"failed to update block: failed to obtain beacon block for slot: failed to parse response: unrecognised data version \"deneb\"","time":"2024-03-13T15:23:48+01:00","message":"Failed to catchup"}

Which version of chaind is this?


Retrieve Creditcard details using Payment Method Nonce

I want to retrieve CreditCard details (including Billing Address) using Payment Method Nonce before creating the customer profile (with payment method nonce) in Braintree.
From your documents, I found there is a method "fromNonce" in https://github.com/braintree/braintree_java/blob/master/src/main/java/com/braintreegateway/CreditCardGateway.java to fetch the card details. But I got the below error while calling that method:
Payment method with nonce  locked, consumed or not found
Please help me to fix this issue.
Thanks in Advance,
Abinaya

@abinayakannazhagan this sounds like an issue with your server-side integration. I would suggest opening an issue on the braintree_java library or reaching out to our support team<EMAIL_ADDRESS>directly.


Fluent: Samples need examples for running DSC extensions with external files and all

I looked everywhere but did not find how to execute DSC extensions when creating a VM with the SDK.
If someone can start me off, I could PR working examples.
Thanks #

@simon-michaud please reopen this bug in https://github.com/Azure/azure-libraries-for-net repo if you still cannot find a good sample.


bump version to <IP_ADDRESS>

Hello @k0001
I hope this finds you well.
I would like to bring your attention to an issue with this package in nixpkgs: its marked as broken because some of CI fails and requires updating the version.
Talking to nixOS maintainers we came to a conclusion that the best way to fix it is to open this issue: I would like to fix it myself but it would take me a week, while we noticed that you were submitting changes that are very similar to what you were submitting just recently. I hope you can look into this issue, if not - please tell me and I will go on with learning how and doing it.
Below is a diff with changes that were enough for the package to build, but some UX things aren't there, ex. library version isn't displayed correctly.
diff

diff --git a/hs/Libsodium/Constants.hs b/hs/Libsodium/Constants.hs
index 0b7b228..6d3472f 100644
--- a/hs/Libsodium/Constants.hs
+++ b/hs/Libsodium/Constants.hs
@@ -297,8 +297,8 @@ TN(CRYPTO_VERIFY_32_BYTES, 32, CSize, crypto_verify_32_bytes)
 TN(CRYPTO_VERIFY_64_BYTES, 64, CSize, crypto_verify_64_bytes)
 TN(RANDOMBYTES_SEEDBYTES, 32, CSize, randombytes_seedbytes)
 TN(SODIUM_LIBRARY_MINIMAL, 0, CInt, sodium_library_minimal)
-TN(SODIUM_LIBRARY_VERSION_MAJOR, 10, CInt, sodium_library_version_major)
-TN(SODIUM_LIBRARY_VERSION_MINOR, 3, CInt, sodium_library_version_minor)
+TN(SODIUM_LIBRARY_VERSION_MAJOR, 26, CInt, sodium_library_version_major)
+TN(SODIUM_LIBRARY_VERSION_MINOR, 1, CInt, sodium_library_version_minor)

 -- These have no corresponding C functions
 TN(SODIUM_BASE64_VARIANT_ORIGINAL, 1, CInt, sodium_base64_variant_original)
@@ -341,4 +341,4 @@ TS(CRYPTO_SECRETBOX_PRIMITIVE, "xsalsa20poly1305", crypto_secretbox_primitive)
 TS(CRYPTO_SHORTHASH_PRIMITIVE, "siphash24", crypto_shorthash_primitive)
 TS(CRYPTO_SIGN_PRIMITIVE, "ed25519", crypto_sign_primitive)
 TS(CRYPTO_STREAM_PRIMITIVE, "xsalsa20", crypto_stream_primitive)
-TS(SODIUM_VERSION_STRING, "1.0.18", sodium_version_string)
+TS(SODIUM_VERSION_STRING, "1.0.19", sodium_version_string)
diff --git a/libsodium.cabal b/libsodium.cabal
index 9c4b4cd..d980ba3 100644
--- a/libsodium.cabal
+++ b/libsodium.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name: libsodium
-version: <IP_ADDRESS>
+version: <IP_ADDRESS>
 license: ISC
 license-file: LICENSE
 extra-source-files: README.md CHANGELOG.md
@@ -31,7 +31,7 @@ common basic
   default-language: GHC2021
   ghc-options: -Wall -Werror=incomplete-patterns
   build-depends: base == 4.*
-  pkgconfig-depends: libsodium == 1.0.18
+  pkgconfig-depends: libsodium == 1.0.19
   if flag(use-build-tool-depends)
     build-tool-depends: c2hs:c2hs

many thanks!

Thanks for letting me know. I'll take a look at the changes in the new libsodium C library and update this one accordingly.

I just wanted to inform that the latest version in Nixpkgs is already 1.0.20.


Add security contexts to the operator

OCP 4.12 is now enforcing the "restricted" Pod Security Admission (PSA) policy by default for every pod. This includes the pods that belong to the operator, i.e. the controller manager and the monitors. As a consequence, subscribing to OSC currently fails with the following error:
  message: 'pods "controller-manager-6dff96dbb8-m2twk" is forbidden: violates
    PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container
    "manager" must set securityContext.allowPrivilegeEscalation=false), unrestricted
    capabilities (container "manager" must set securityContext.capabilities.drop=["ALL"]),
    runAsNonRoot != true (pod or container "manager" must set securityContext.runAsNonRoot=true),
    seccompProfile (pod or container "manager" must set securityContext.seccompProfile.type
    to "RuntimeDefault" or "Localhost")'

The controller manager has two containers, the manager itself and the kube-rbac-proxy sidecar. None of these two require elevated privileges. The operator manifest should thus have appropriate security contexts that explicitly comply with the "restricted" policy as explained here [1].
The monitors do require some privileges though. This is already addressed with the current code base : the controller adds the appropriate labels to the OSC namespace. This tells the PSA that it should accept "privileged" pods to be started in the OSC namespace.
[1] https://sdk.operatorframework.io/docs/best-practices/pod-security-standards/#what-does-that-mean
Fixes: https://issues.redhat.com/browse/KATA-1754
Signed-off-by: Greg Kurz<EMAIL_ADDRESS>
- Description of the problem which is fixed/What is the use case
- What I did
- How to verify it
- Description for the changelog

/override ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle ci/prow/4.9-images ci/prow/4.9-sandboxed-containers-operator-e2e ci/prow/ci-index-sandboxed-containers-operator-bundle ci/prow/images ci/prow/sandboxed-containers-operator-e2e pull-ci-openshift-sandboxed-containers-operator-master-4.9-ci-index-sandboxed-containers-operator-bundle


Update URL component source cache to use configured root

The URL component source cache PR (#1088) included the comment:
"TODO: when spin up integrates running an app from OCI, pass the configured cache root to this function. For now, use the default cache directory." (https://github.com/fermyon/spin/pull/1088/files/4d99bcf842d7e3e1166db8a43a438613e33b0090#r1098922615)
Now that spin up work has been done, we should check back on this and, if necessary, update URL source caching to use the configured cache root if there is one.
cc @fibonacci1729

I'm pretty sure this is done.  #2377 is building on what's already there and it sure as heck looks like it's done.  Closing: reopen if I'm wrong.


SigningError: Cannot sign data without client_email

Environment details

OS: MacOS
Node.js version: 9.2.0
npm version: 5.6.0
@google-cloud/storage version: 1.5.2

Steps to reproduce

Use gcloud auth application-default login to authenticate
Try to get a signed URL of a file stored on GCS by using storage.bucket('bucket').file('file').getSignedUrl({action: 'read', expires: '10-25-2022'})
This error will happen: SigningError: Cannot sign data without 'client_email'

Thanks!

@callmehiphop re-ping about the unhandled promise rejection error.

@WaldoJeffers I was able to catch the error using your code:
    const fn = async () => {
      try {
        const signedUrl = storage
           .bucket('bucket')
           .file('file')
           .getSignedUrl({action: 'read', expires: '10-25-2022'}); // purposedly not awaiting here

        const url = await signedUrl; // now I need the URL
        console.log(url)
      } catch(error){
        console.error('Houston...', error);
      }
    };

    fn();

Houston... { SigningError: Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials for more information.
at C:\Users\sawch\dev\nodejs-storage\src\file.js:1715:16
at getCredentials (C:\Users\sawch\dev\nodejs-storage\node_modules\google-auto-auth\index.js:254:9)
at getAuthClient (C:\Users\sawch\dev\nodejs-storage\node_modules\google-auto-auth\index.js:136:9)
at
message: 'Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials for more information.' }

Is there anything I did wrong in the set-up?

@stephenplusplus Thank you kindly for spending extra time on this, I don't think there's anything wrong with GCS regarding this issue. The async error was not properly caught if I added code between signedUrl and url, but I think this is how it's supposed to work 😆
Not having a client_email in ~/.config/gcloud/application_default_credentials.json is definitely a more frustrating issue, as I have to manually edit this file after each reboot :/

That is frustrating. Can you generate a service account key file? That's what we usually support. I'm going to close the issue, as the only thing we can control here is the error handling, and it seems like it's coming back correctly. Let me know if I overlooked anything.

Yes, we do.

The file created by https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login does not have a client_email, which causes this error. The GCS ruby client does not require client_email, so this seems like a bug or something that should be implemented?

I see, and I suppose while our methods do support ADC, this method does not. ADC within a GCP environment works with this method, and ADC via setting the GOOGLE_APPLICATION_CREDENTIALS environment variable to point to a service account JSON file will work. But, we can't sign data without a client_email, and it seems like this form of authentication (gcloud auth application-default login) does not return one.

The GCS ruby client does not require client_email, so this seems like a bug or something that should be implemented?

I tried, but couldn't get it to work. I would receive an error until I specified my service account JSON file. Could you share more about how you did that?

In a Pry ruby console:
[7] pry(main)> require "google/cloud/storage"
=> true
[8] pry(main)> storage = Google::Cloud::Storage.new(project_id: "my-project")

=> #<Google::Cloud::Storage::Project:0x00007faead434e10
 @service=Google::Cloud::Storage::Service(my-project)>
[9] pry(main)> storage.buckets
=> [#<Google::Cloud::Storage::Bucket:0x00007faeaf90b130
  @gapi=
   #<Google::Apis::StorageV1::Bucket:0x00007faead391148
    @etag="CAE=",
    @id="artifacts.my-project.appspot.com",
    @kind="storage#bucket",
    @location="US",
    @metageneration=1,
    @name="artifacts.my-project.appspot.com",
    @project_number=snip,
    @self_link=
     "https://www.googleapis.com/storage/v1/b/artifacts.my-project.appspot.com",
    @storage_class="STANDARD",
    @time_created=
     #<DateTime: 2018-01-05T17:57:36+00:00 ((2458124j,64656s,404000000n),+0s,2299161j)>,
    @updated=
     #<DateTime: 2018-01-05T17:57:36+00:00 ((2458124j,64656s,404000000n),+0s,2299161j)>>,
  @service=Google::Cloud::Storage::Service(my-project),
  @user_project=nil>,
...
[10] pry(main)>

I used dtruss to inspect the system calls that are being issued by these commands and found that it reads from /Users/myuser/.config/gcloud/application_default_credentials.json as expected

That will work in our API as well. Specifically, the only thing we can’t do without a client_email is sign a URL or policy.

Apologies, you are correct. Sorry for wasting your time!


updated way in what skip items were calculated. if skip count was > 0…

Fix bug with skip number (func getSkip()).
If skipped value is grater than 0, it should be decreased by one, sine indexes in slice starting from 0

Fix bug with skip number (func getSkip()).
If skipped value is grater than 0, it should be decreased by one, sine indexes in slice starting from 0

I won't actually call it a bug in package because it is unexported method and condition are already checked if user tries to assign negative numbers in Page and Limit method which fallbacks to default value. But still looking at the current method your solution is very good addition and I'll be merging the solution. Thanks for the test cases too. Cheers :beers: :beers:


Upgrading from 0.8, Cannot read property 'hasRoute' of undefined on Ember 1.13

Hi there, I'm upgrading from 0.8 and getting a Cannot read property 'hasRoute' of undefined error in my acceptance test cases.
Upon probing I see that the error is from Ember itself (using 1.13) during transitionTo and triggered by ApplicationRouteMixin on sessionAuthenticated. Removing ApplicationRouteMixin solves the issue - but I'm wondering what the proper solution is? I don't recall seeing transition with the previous test helpers.

Sorry my bad! Just side effect of plying into application-route in the tests!

I am having this problem too...what was the solution?

If I remember this correctly it was caused by me opening the application route in my test via reopen. Using lookup fixed it.

I found the solution to my problem. I was fetching the route using a helper too early, if I waited until after visit resolved, everything worked, for some still unknown reason. Thanks for your help.


Testing python 3.8 and 3.9

We should add ci environments for newer python versions.
This should only require to copy and modify the environment files in ci/... and the travis.yml.

Closed via #214


build: release version 1.3.0

At this point, the release of Timefold Quickstarts is ready to be published.

Release branch has been created.
Git tag has been published.

To finish the release of Timefold Quickstarts,
review and merge this PR to update the stable branch with new code.
Afterward, delete the branch that this PR is based on.
(Typically a button appears on this page once the PR is merged.)

Dry run, closing.


Correction for raw affiliation  ANTHÓS | BREAKING THE CYCLE OF BIG; School of Government Portland State University; Undergraduate of Political Science,

Correction needed for raw affiliation  ANTHÓS | BREAKING THE CYCLE OF BIG; School of Government Portland State University; Undergraduate of Political Science,
raw_affiliation_name:  ANTHÓS | BREAKING THE CYCLE OF BIG; School of Government Portland State University; Undergraduate of Political Science,
new_rors: 00yn2fy02
previous_rors: 02kd4km72
works_examples: W1977259405
contact: 08619b676ad69ff363e6b659f9ec0474:b5a9d57d @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Allow the offsetsForTimes functionality in the Akka client

This PR creates a new Subscribe message for the Akka Client to be able to also provide offsets when requested by timestamp.

Codecov Report

Merging #126 into master will increase coverage by 0.18%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master     #126      +/-   ##
==========================================
+ Coverage   63.96%   64.15%   +0.18%
==========================================
  Files          16       16
  Lines         519      530      +11
  Branches       31       31
==========================================
+ Hits          332      340       +8
- Misses        187      190       +3

Impacted Files
Coverage Δ

.../cakesolutions/kafka/akka/KafkaConsumerActor.scala
58.03% <55.55%> (+1.22%)
:arrow_up:

...ala/cakesolutions/kafka/akka/TrackPartitions.scala
73.58% <0%> (-1.89%)
:arrow_down:

Continue to review full report at Codecov.

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

Cool feature cheers.  👍

Glad it was helpful. Could you also publish version to 2.12? It seems like you only did for 2.11

Thanks, iv published the 2.12 one...


Replace getParameterTypes().length with getParameterCount()

Fixes #1601
Signed-off-by: Clara Fang<EMAIL_ADDRESS>

@lukasj could you review this?


Bug: Issue loading Configurations Tab in Global-view ECMPS (For MP & Emissions)

Issue:
When a user opens a Configuration tab in the Global-view of ECMPS for MP or Emissions, then the header section doesn't load and the spinner keeps going
Steps to Recreate:

Access MP Module or Emissions Module in ECMPS global-view
Select and open a Configuration
You will notice that the header section doesn't load and the spinner keeps going

Header section working as expected

MP Header Section

EM Header Section


visual certificate signing

Description
Add visual digital signatures
Closes #658 and also closes #1966
Checklist

[ ] I have read the Contribution Guidelines
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I have read the section Add New Translation Tags (for new translation tags only)

Hi, looks like the signature.png file does not exist in the docker image. We've tried the latest alpha image and we got the following error:
Internal Server Error:java.io.FileNotFoundException: class path resource [static/images/signature.png] cannot be resolved to absolute file path because it does not reside in the file system: jar:nested:/app.jar/!BOOT-INF/classes/!/static/images/signature.png

@sbplat  any idea about the signature image and the intent?

https://github.com/Stirling-Tools/Stirling-PDF/issues/2141

Added it cause I thought it would be useful to have (it can be changed if needed). Also, we could add an option to disable images.

right now it seems to fail as that image doesn't exist, was wondering what is intended to be there

ahh i think its jar build issue vs dev runtime

resource.getFile();
vs
resource.getInputStream();
Its not a file when within the jar itself

ClassPathResource resource = new ClassPathResource("static/images/signature.png");
try (InputStream inputStream = resource.getInputStream()) {
    imageFile = File.createTempFile("signature", ".png");
    FileUtils.copyInputStreamToFile(inputStream, imageFile);
} catch (IOException e) {
    logger.error("Failed to load signature image", e);
    throw e;
}

maybe even one step further to a tmpfile

yeah we do same for fonts and things, @Ludy87  looks like you already have the fix? :D

i don't know if it's a fix, i'm waiting for sbplat, he worked on it, it's just a suggestion. I haven't tested it

Should be fixed now by #2143


Reading xyz of point cloud. Intelrealsense, Ubuntu 18.04, D435i

Hi
I want to generate a point cloud reference model of an object using (https://de.mathworks.com/help/vision/ref/pointcloud.html) .This basically boils down to generating xyz points of the object. I found a similar issue (#9823) I wish to know how to get similar results using a D435i running on a ubuntu 18.04 platform. Please guide through the steps.

Hi @sbrgrsh  If your preference would be to generate the pointcloud directly in MATLAB without using RealSense SDK scripting, there is a tool available for MATLAB that converts a ply pointcloud file to a MAT file with XYZ coordinates and RGB color channels.
https://uk.mathworks.com/matlabcentral/fileexchange/54041-plytomat
A ply file can be generated in the pre-made RealSense Viewer software by exporting from its 3D pointcloud mode.

Whilst the RealSense SDK has a MATLAB compatibility' wrapper' that can be used to write programs that interface with MATLAB, it is designed for use with Windows 10.  There was one article where someone got it working on Ubuntu and shared their method for creating librealsense_mex.mexa64. At the link below, you can find the details under the December 4, 2018 heading.
https://staff.fnwi.uva.nl/a.visser/activities/IMAV/Labbook2018.html
If you decide to try to get the MATLAB wrapper working in Ubuntu and succeed then I can assist in providing wrapper script references for obtaining a pointcloud with xyz through the wrapper.

I want to generate pointcloud for one particular object, neglecting the background or any other object if at all it is captured by the camera. I have tried to directly export the .ply file from realsense-viewer to MATLAB but I never was able to get rid of the background. So I thought if it was possible to generate point cloud by getting all of the XYZ points associated with the object and get a point cloud like this (https://github.com/IntelRealSense/librealsense/issues/9823#issuecomment-1003527761)

If the post-processing Threshold Filter of the Viewer was used then you could reduce the maximum observable depth distance of the camera (defined wih the filter's Max Distance setting) and so exclude the background from the live image before exporting the ply.

https://github.com/IntelRealSense/librealsense/issues/8368#issuecomment-828631563 suggests some approaches about ways to stitch pointclouds together into a single combined cloud from within MATLAB.
Outside of MATLAB, if you are able to use OpenCV and C++ programming language then a RealSense SDK tool called rs-kinfu may be helpful.  You can move a single camera around an object and progressively build up a pointcloud in realtime instead of having to stitch multiple views and then export the image as a ply.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/kinfu

Hi
In the link you provided,  https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/kinfu , the official documentation links are not active. Kindly do update the links. I am a beginner and I need those links.

It looks as though the OpenCV official documentation site no longer has kinfu instructions for OpenCV 3.4 but does have them for OpenCV 4.
https://docs.opencv.org/4.0.0/d8/d1f/classcv_1_1kinfu_1_1KinFu.html
I have added a Documentation label to this case to highlight it to RealSense team members who handle documentation to review it at a future date.  This case should therefore be kept open.  Thanks for the report!


docs(readme): Remove Typescript specific example for now.

There is no significant difference between the javascript example and the typescript example.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update outdated components

Some projects was renamed (Travis badge depends on the correct repository name), some projects doesn't have Travis anymore.

Nice work. Thank you very much.

np :)


Updated DaemonSet page to include SignalFx Agent.

Also deleted extra whitespace causing the link to Sysdig Agent to display incorrectly

/assign @bradtopol

/lgtm
/approve


removing all hash syntax rubocop violations

Purpose or Intent

Removes all remaining Hash Syntax violations (when #9723 is applied)

Steps for Testing/QA

rubocop --only HashSyntax

@miq-bot add_label technical debt


integrate.visualstudio.com does not exist

When we go to https://github.com/Microsoft/vsts-dotnet-samples, there is https://integrate.visualstudio.com/ on the page which does not exist. Can we delete it and given another helpful link

Yeah we made some changes to the url's here. I will get this fixed

Fixed