Use subscription configuration variables for openai live tests

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run go - azopenai

/azp run go - azopenai

(one key was out of date, but there's some other failures relating to identity)

/azp run go - azopenai

/azp run go - azopenai

@richardpark-msft did you want to approve?

/azp run go - azopenai

@richardpark-msft Richard Park (DEVDIV) FTE did you want to approve?

Let's get it to pass. I added in some variables I added in the other pipeline as well.

@richardpark-msft ah sorry, when I commented all the tests were green so I thought you had.

/azp run go - azopenai

/azp run go - azopenai

/azp run go - azopenai

/azp run go - azopenai

/azp run go - azopenai

/azp run go - azopenai


(README): add a link for user to view docs on GitBook

add a link for user to view docs on GitBook

We're not currently a part of Kubeflow, so not sure about linking to them yet.

Oh, i'm sorry i know Feast is not part of kubeflow. I'm just want to use the same phrase of Kubeflow from its README but forgot to replace kubeflow.org with https://feast.dev.
Sorry for the offense 😓

We're not currently a part of Kubeflow, so not sure about linking to them yet.

Oh, i'm sorry i know Feast is not part of kubeflow. I'm just want to use the same phrase of Kubeflow from its README but forgot to replace kubeflow.org with https://feast.dev.
Sorry for the offense

Haha, no worries. Thanks for contributing!!
Would you mind signing the Google CLA before I merge this in?
https://cla.developers.google.com/clas

We're not currently a part of Kubeflow, so not sure about linking to them yet.

Oh, i'm sorry i know Feast is not part of kubeflow. I'm just want to use the same phrase of Kubeflow from its README but forgot to replace kubeflow.org with https://feast.dev.
Sorry for the offense

Haha, no worries. Thanks for contributing!!
Would you mind signing the Google CLA before I merge this in?
https://cla.developers.google.com/clas

sure, i would sign it right now~

@woop i'm done~

/lgtm

/retest

/test test-end-to-end

/retest

/ok-to-test

/retest

/lgtm


Add original filename to SyntaxErl command

This little change adds original filename to SyntaxErl command. It makes linting with SyntaxErl much more clever.
It's all thanks to @urbanserj's changes in SyntaxErl 😇

Done.

Cheers! :beers:

@dmitrivereshchagin Hmm, I had a look, and it doesn't look like there's a stable release which contains this argument. It's hard to tell because there's no changelog. We might have to make this optional and turn it off for now.

See here: https://github.com/w0rp/ale/commit/20e64fbae092e7307c4f01d82fa0e0082c3bb1cb
I made this optional and turned it off by default, so old versions will continue to work. The option can be turned on by default in future, after enough stable versions which support the option have been out for a while.

Oh. You are right. Thank you! 🍻


-keep always uses solution1

The keep argument currently forces the use of solution1 as the solution folder which is unintended. This should be updated to use the current highest solution number.

Fixed in development branch. Will be incorporated in next release.

Fixed in release 1.0.0-dev2.


Minimum length on Description in forms

Frontend:

Input validation: force the user to input at least one character in the Description field in the forms
Do this in Feedback and Issue forms

Finished along with the other fields.


Export freezes in __search_from_socket

Describe the bug
Exporting complicated materials with grouped nodes causes blender to freeze indefinitely.
Tracked it down to __search_from_socket, where the stack randomly goes up and down about 60 levels deep. I've managed to temporarily fix it with hack for my own personal use but this is obviously a serious bug that needs fixing.
.blend file/ .gltf (mandatory)
mrp.zip
Version
Windows 10
Blender 4.2

to freeze indefinitely.

Not really. Exported on 37.7s on my computer.
This is a duplicate of #2140 #2278
Root cause is a bad perf on bpy node.links iteration.
Probably the same issue (and same fix can be applied ?) than https://github.com/KhronosGroup/glTF-Blender-IO/commit/35dd7f6b91fb8ebb2dfd03663d1ef35bf835baf3


Add coding practices for onnx-mlir

This PR adds a coding practices documentation file to describe the coding practices to use when updating or adding code to onnx-mlir.

Jenkins Linux amd64 Build #15573 [push] Add coding practices for... started at 14:36

Jenkins Linux s390x Build #15577 [push] Add coding practices for... started at 15:37

Jenkins Linux ppc64le Build #14604 [push] Add coding practices for... started at 15:48

Jenkins Linux amd64 Build #15573 [push] Add coding practices for... passed after 1 hr 11 min

Jenkins Linux s390x Build #15577 [push] Add coding practices for... passed after 1 hr 37 min

Jenkins Linux ppc64le Build #14604 [push] Add coding practices for... passed after 2 hr 6 min


Review Ticket Overview

Review Ticket Guide
Each assignment we will be required to make a review ticket.  Most assignments provided will have a Hacks section.    A Hack is a term for coding, a fun term.

Screen Captures are nice for Hacks
Short Description
Code Fragments

Markdown samples
Using markdown form index.md.  We are learning markdown.

This text below is something called Markdown. This is a heading, inside of code scaffolding.

## Investing in Your Technical Future XXXYYY

This is emphasis

> Explore the Computer Science Pathway at Del Norte High School and invest in your technical skills. All Del Norte CompSci classes are designed to provide a real-world development experience. Class time includes tech talks (lectures), peer collaboration, communication with teachers, critical thinking while coding, and creativity in projects. Grading is focused on time invested, participation with peers, and engagement in learning.

Sample of bullets

- Introduction to concepts and requirements by the teacher
- Project-based learning with teacher support, performing Agile/Scrum development
- Coding, frontend, backend, devops, version control and algorithmic thinking
- Creativity, research, design, data structures, and utilizing ChatGPT
- Performing team work, team communication and collaboration, peer reviews/grading
- Focus on tehnical communications through project presentations and student led teaching
- Grades are on projects, learnt concepts, and live reviews between student(s) and teacher


stop using trunk accounts to generate addresses

this is added complexity that would be good to avoid if possible
{
    "name": "trunk",
    "address": "15632710B968836ADEA5816AB8900483ED35264D",
    "pubkey": {
      "type": "ed25519",
      "data": "AAA0C7660481E068DC616878B3480EA9B64B57693B213C7B0D31F478EDCA496A"
    }
  }

We need this as long as there is no endpoint to just generate a seed phrase.

right. i thought this was something we were expecting from the LCD or the SDK...

https://github.com/cosmos/cosmos-sdk/issues/301

This is already done


Task 'test-step-finished' failed with timeout

Current behavior
Got a timeout for a step of the plugin on one test, then the other test crash at the start and all the feature file is avoided.
First test :

Second test :

Got it from the CI build, no problem yesterday. Retried it, got the same problem.
When launching the command using cypress open, I don't reproduce it.
Same when launching the command using cypress run.
Desired behavior
No bug.
Test code to reproduce
Can't send our test code because of some credential used to access the preprod env.
Versions

Cypress version: "^12.12.0",
Preprocessor version: "^17.1.0" (didn't upgraded because on the 17.1.1, I got another bug, it create a cucumber folder that make my reporting fail using mocha)
Node version: v18.12.1

Checklist

[x] I've read the FAQ.
[x] I've read instructions for logging issues.
[x] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

Can't send our test code because of some credential used to access the preprod env.

Read through "Reduced test case" one more time and try again.

@badeball I don't reproduce it when launching in local, I could try to make a reduced test case if I could reproduce it, at least, in local.

It should come as no surprise that I can't help you here. Feel free to open up another issue if you can reproduce it locally.

I understand, for your information, it seem to works using --browser electron instead of --browser chrome, very strange because nothing change on these test about 2/3 weeks now.

Found a way to avoid the problem (if anyone got it too), add a cy.wait() of 1 second, for example at the end of your last step, and it will pass. I tried a lot of thing to make it works properly but the only solution was to use that.
Maybe it's a regression linked to the use of cypress-recurse plugin (it's the only test that i have that use it as a last step) and it's under a foreach.


Joern Benchmark Project

Added a new subproject called benchmarks
The idea is that we can formally measure the performance of various metrics (e.g. building CPG speed, taint analysis precision, etc.) using commonly used benchmarks.
For now, have simply added Securibench Micro for Java/JVM frontends.
The project is driven using scalatest
Benchmarks create a markdown table with the results for each category as below:
Added joern-benchmarks script to run benchmarks and update benchmarks/README.md with the results

Java Source Results

Category
#
FP
TP
TN
FN

Aliasing
14
1
4
1
8

Arrays
15
4
7
2
2

Basic
67
5
59
1
2

Collections
22
8
14
0
0

Data Structures
8
1
2
2
3

Factories
6
3
3
0
0

Inter-procedural
25
7
8
3
7

Predicates
9
4
5
0
0

Reflection
4
1
1
0
2

Sanitizers
9
3
2
2
2

Session
4
1
3
0
0

Strong Updates
5
0
0
4
1

Total
188
38
108
15
27

Total accuracy: 65,426%
JVM Bytecode Results

Category
#
FP
TP
TN
FN

Aliasing
14
1
10
1
2

Arrays
15
5
7
1
2

Basic
67
5
60
1
1

Collections
22
8
14
0
0

Data Structures
8
1
2
2
3

Factories
6
3
3
0
0

Inter-procedural
25
5
7
5
8

Predicates
9
3
5
1
0

Reflection
4
1
2
0
1

Sanitizers
9
3
2
2
2

Session
4
1
3
0
0

Strong Updates
5
0
0
4
1

Total
188
36
115
17
20

Total accuracy: 70,213%

The idea with this PR is just to get the framework started and approved with this example benchmark. I plan to add more in the near future for less bias for the kinds of skewing of categories that happens in some datasets.

I wonder: do we need to check in the class files here or should we build them on demand when people run the benchmark? Also, we're running this benchmark on-demand only, right?

We can, but Securibench for example requires these libraries: https://github.com/too4words/securibench-micro/tree/master/lib which we'll need to add. In the long run it may cost less storage.

Also, we're running this benchmark on-demand only, right?

that should be fine, he added a root project that aggregates all subproject except benchmarks to the /build.sbt


Added option to suppress errors

Purpose
Fixes #6772
Approach
Mentioned in
https://github.com/DevExpress/testcafe/issues/6772#issuecomment-1001441279
References
Provide a link to the existing issue(s), if any.
Pre-Merge TODO

[ ] Write tests for your proposed changes
[ ] Make sure that existing tests do not fail

Thank you for your contribution. We can accept this feature only if you implement it fully. At present, you are trying to suppress only one error. It's not enough. Still needs to be done:

the capability to suppress all errors by error code
add a server test that covers option parsing
add a functional test that covers the entire suppressing flow

If you are ready to do this, I can provide you with more detailed instructions.

@miherlosev  Yes, i am wiling to work on this. Please throw some light on changes

@vinayvennela Thanks for the idea and for the contribution. Will you find time to fix the comments reported and continue this thread in the near future?

Yes, i will be working on it
On Sat, 18 Feb 2023, 12:55 am Marcin Fałek, @.***>
wrote:

@vinayvennela https://github.com/vinayvennela Thanks for the idea and
for the contribution. Will you find time to fix the comments reported and
continue this thread in the near future?
—
Reply to this email directly, view it on GitHub
https://github.com/DevExpress/testcafe/pull/7451#issuecomment-1435133569,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPRKUYKQRT6HWFL3NSCZI3WX7GEBANCNFSM6AAAAAATQ3WDFI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@vinayvennela
I see there is no activity related to this PR. Therefore, I will close it for now. Feel free to reopen it if you want to continue working on it.


feature: use tox for testing

Move test automization to test from travis, this allows to easily test outside of travis

For some reason in Travis there are way more tests passing than in my local machine :smile:

For those failing 7 tests I wonder if they are the same ones that were marked as unsupported features in the last successful build (https://travis-ci.org/common-workflow-language/cwl-tes/jobs/327356336)...

Otherwise this looks like a nice improvement! I have never tried using tox before.

I've seen that the package published lacks the readme, so I took he liberty to add it, this is how it looks like (on the test pypi): https://test.pypi.org/project/cwl-tes-random/
I could also add git-tag-based package version instead of parsing __init__.py with regex.
Is there any way to add the 7 failing tests to unsupported if they are ideed the failing ones?

Thanks for updating the README as well.
As far as versioning goes, I prefer to use semantic versioning.
I suspect the reason they are failing rather than being marked as unsupported may have something to do with your updating the cwltest version

The git-tag-based system is only to avoid repetition, set the (semantic) version as a tag and the package version comes for free.
The only change it would produce is that untagged commits would compile to a package version with the closest tagin the predecessors with the commit's hash appended. e.g. 2.0.0-65b8c0f.
As for the tests, before this PR the cwltest version was not upper-bound in requirements.txt. I'll check if fixing a particular version solves the issue.

Huh, it's failing when building the package on python 3.4, it works fine on my machine :/

Alternatively I can conly allow 2.7, 3.5 and 3.6, as it is on master. I've tried to debug the build on travis, but couldn't find why


res.cookie is not a function?

Node version: 17.0.4
Sails version (sails): 1.5.2
ORM hook version (sails-hook-orm): 4.0.1
Sockets hook version (sails-hook-sockets): 2.0.1
Organics hook version (sails-hook-organics):  n/a
Grunt hook version (sails-hook-grunt):  n/a
Uploads hook version (sails-hook-uploads): n/a
DB adapter & version (e.g. sails-mysql@5.55.5<EMAIL_ADDRESS>Skipper adapter & version (e.g. skipper-s3@5.55.5):  n/a

When trying to set multiple cookies in my response, I get the error that res.cookie is not a function.
fn: async function (inputs, exits, env) {
    let player;
    // TODO: implement max-users per room.
    // if code is given, pass in code.
    if (inputs.code) {
      let room = await Room.findOne({roomId: inputs.code}).catch(err => {
        throw err;
      });
      if (room) {
        if (await Room.checkMemberCount(room.id) <= 6) {
          player = await Player.newPlayer(inputs.name, inputs.code);
        } else {
          return env.res.serverError('Room is full'); // TODO: replace this with something other than serverError
        }
      } else {
        return env.res.serverError('Room not found'); // TODO: replace this with something other than serverError
      }
    } else {
      player = await Player.newPlayer(inputs.name, undefined);
    }
    // update scoreboard
    // call addScore without adding a score.
    // this should broadcast the new player to all others
    await Player.addScore(player.secret, 0);
    this.res.cookie('secret', player.secret, {
      domain: 'localhost',
      path: '/',
      secure:false, //TODO: SET TO TRUE IN PRODUCTION
    });
    this.res.cookie('name', player.name, {
      domain: 'localhost',
      path: '/',
      secure:false, //TODO: SET TO TRUE IN PRODUCTION
    });
    this.res.cookie('room', player.room.roomId, {
      domain: 'localhost',
      path: '/',
      secure:false, //TODO: SET TO TRUE IN PRODUCTION
    });
    return env.res.json(player);

  }

};

I have tried both this.res, env.res and appending it to the return env.res.
All with the same result.
I have also tried using legacy actions, but the same error occurs.
res.cookie is not a function.
If there's some kind of import you have to do, or some alteration of configuration, maybe it'd be helpful to update the res.cookie() documentation page.
I've been banging my head against this problem for 36 hours 😅

A somewhat helpful workaround is setting cookies on the front-end side.
However, this does not work optimally with SPAs.
If you want to use the freshly set-cookies with your SPA,
you have to re-set them by retrieving them.
In my vue spa with vue3-cookies
I set them on login like this
export default{
    methods:{
        login(){
            // ...do-request..., inside response
             this.cookies.set('secret', resdata.secret)
        }
    }
}

then on the next page:

export default{
    mounted(){
        this.cookies.set('secret', this.cookies.get('secret'));
    }

}

This seems to live-update them on the next route.
Otherwise you will have to refresh your page to get the new cookies

Another useful workaround is allowing the secret cookie as ```javascript
{required:false}
on your actions and in every action checking if the cookie is present on the request or if it is set as an input.
This requires you to then retrieve the cookie on every request,
or on page reload make use of the cookie that is already set.
But this kind of makes the use of env.req.cookies obsolete.

I also figure you could use the sails.sid with your model as the session secret, however the persistence of the sails.sid cookie resets every re-launch of the server, making it difficult to use with development testing.
Having to create a new user on every small code change and losing your live test data kind of slows things down.
Then again, it is possible to bootstrap that data, but then I'd have to add functionality to my frontend for impersonating one of the created test-users and on the backend for updating that SID on the dummy user.
In short, missing the res.cookie() functionality is a headache :sweat_smile:

Hi @G0x209C,
Thank you for all the detail.
You don't need to pass in env and exits to a controller using the actions2 format.
We recommend that you take a look at this actions2 controller from our Ration example app and our actions2 documentation.


Additional lines drawn when using draw_polygon

Godot version: Godot 3.2 Beta 3/4
OS/device including version: Windows 10
Issue description:
There are additional lines when drawing a concave polygon, that were not there in Beta 2 and all previous Godot versions
Steps to reproduce:
Draw a shape with a cutout shape inside it as a single concave polygon.
Or run the attached repro project.
Try the same in beta 3 and beta 2 and compare the results.
Minimal reproduction project:
bug_repro_proj.zip
Screenshots of repro project in Beta 2

And that same project in Beta 3 and beyond:

I ran a bisect and it seems this was introduced on this commit:
https://github.com/godotengine/godot/commit/e6ebc43d725710f69094afa6ff47d91e50cce1ad?diff=unified#diff-e64fc7b93ef7deefed9e5978c3615901L825-L829
by drawing lines for AA using the indices. I'm not sure what to do, so I'll leave this here open for discussion.

CC @pouleyKetchoupp

@TicklesTheBrain This case will be fixed with PR #34726. Note that you also need to disable hdr in your example project for antialiasing to work properly.


Composable decoders

I think it's related to "S.merge" accepting only plain object schemas (e.g no unions, no primitives):
const integerSchema = S.refine(S.number, (value, s) => {
  if (value % 1 !== 0) {
    throw s.fail('Must be an integer');
  }
});

const nonNegativeNumberSchema = S.refine(S.number, (value, s) => {
  if (value < 0) {
    throw s.fail('Must be a positive number');
  }
});

// have to repeat, I didn't find a way to combine integerSchema and nonNegativeNumberSchema
// e.g. S.merge() works only with objects
const nonNegativeIntegerSchema = S.refine(integerSchema, (value, s) => {
  if (value < 0) {
    throw s.fail('Must be a positive number');
  }
});

ref https://github.com/DZakh/rescript-schema/issues/60

I already have plans for v9 and probably won't have time adding the feature in the near future. As for workaround I'd suggest move the refine into a reusable function:
const toNonNegativeNumberSchema = schema => S.refine(schema, (value, s) => {
  if (value < 0) {
    throw s.fail('Must be a positive number');
  }
});

const nonNegativeIntegerSchema = toNonNegativeNumberSchema(integerSchema)

Also, there are built-in S.integer and S.numberMin(S.number, 0) you can use https://github.com/DZakh/rescript-schema/blob/main/docs/js-usage.md#numbers.


OCTA/CAT

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
What part(s) of the article would you like to see updated?
<EMAIL_ADDRESS>save your Octocat, follow these steps:
1. After designing and styling your Octocat, click on the Save and Share button at the bottom of the page ¹.
2.  Click on the Download button to save your Octocat as an SVG file ¹.
3. You can also share your Octocat on social media by clicking on the Share button and selecting the platform of your choice ¹.
I hope this helps! Let me know if you have any other questions.
Source: Conversation with Bing, 12/10/2023
(1) Build your own octocat | My Octocat. https://myoctocat.com/.
(2) Build your Octocat | My Octocat. https://myoctocat.com/build-your-octocat/.
(3) GitHub - Ananya-0306/octocat: Build your own octocat. https://github.com/Ananya-0306/octocat.
(4) undefined. https://myoctocat.dev.
Additional information
I'm sorry, but it seems that the Octocat maker at [My Octocat](https://myoctocat.com/) does not allow you to use your own image to create an Octocat. However, you can design your own Octocat by selecting from a variety of options such as viking vibes, ballerina skirts, wizard hats, and more. You can mix and match to your heart's content and save and share your creation with others. If you're interested in the technical details, you can check out the GitHub repository for the Octocat maker library. Have fun creating your own unique Octocat! 🐙
Source: Conversation with Bing, 12/10/2023
(1) Build your own octocat | My Octocat. https://myoctocat.com/.
(2) Octocat Gallery | My Octocat. https://myoctocat.com/gallery/.
(3) The Octocat—a nerdy household name - Cameron McEfee. https://cameronmcefee.com/work/the-octocat/.
(4) Build your Octocat | My Octocat. https://myoctocat.com/build-your-octocat/.

@keenomvictor https://www.pinterest.com/thewebimagineers/victor-keenom/more_ideas/?request_params={"1"%3A 39%2C "7"%3A "5938195489888062847"%2C "8"%3A "1050816594244730865"%2C "32"https://chat.openai.com/share/1648bc71-2a9c-4bbd-8623-62c2b0e8e608 #30564 Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
/It seems like you are trying to upload a build artifact to GitHub Packages. I found a Stack Overflow post that might help you with your issue ¹. The post suggests that the issue might be due to the path of the build folder. You might want to check if the path is correct.
Additionally, GitHub provides two actions that you can use to upload and download build artifacts. For more information, see the upload-artifact and download-artifact actions ³.
I hope this helps!
Source: Conversation with Bing, 12/10/2023
(1) GitHub Actions Upload Artifact not finding provided path from npm run build. https://stackoverflow.com/questions/67831018/github-actions-upload-artifact-not-finding-provided-path-from-npm-run-build.
(2) Storing workflow data as artifacts - GitHub Docs. https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts.
(3) Publishing Node.js packages - GitHub Docs. https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages.
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.


Remove need for componentDescriptions except for che-rest-apis sidecar

What does this PR do?
Restrict the need to generate ComponentDescriptions so that they're only used in generating the che-rest-apis sidecar. This allows us to remove the legacy component descriptions struct once we remove che-rest-apis.
To support components that are not defined in the devfile, make the generate component descriptions library function ignore containers that don't come from the current DevWorkspace spec.
What issues does this PR fix or reference?
Required step in https://github.com/devfile/devworkspace-operator/issues/288
Is it tested? How?
Test as usual; this is an internal refactor so there should be no functional changes.

something is wrong with go mod PR check, added changes to figure out diff

it's go1.16 who does difference
--- a/go.sum
+++ b/go.sum
mod h1:Cot4snybn3qhIh48oIFi9McocnIx7zY5fFbjfrIpPvg=
-github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
@@ -68,7 +67,6 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m
 github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
-github.com/evanphx/json-patch v4.5.0+incompatible h1:ouOWdg56aJriqS0huScTkVXPC5IcNrDCXZ6OoTAWu7M=
 github.com/evanphx/json-patch v4.5.0+incompatible/go.mod
@@ -158,13 +156,11 @@ github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ
 github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
-github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
 github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=

Good thing - once it's removed by go1.16, it's not returned back by older version.
I'll remove my commit and provide fix as separate PR.

/test v5-devworkspaces-operator-e2e

Can't we go further and remove Che REST API?

Now I got the answer why you did not do it from the beginning, you just pushed your changes you had locally

I have some related WIP changes I need to push to make this easier

:smile:


Braille's Dilemma (DP)

💥 Proposal
Harry, a blind man has N distinct binary strings all of equal lengths. A binary string only contains '0's and '1's. The strings are numbered from 1 to N and all are distinct strings. Harry can only differentiate between these strings by touching them. In one touch Harry can identify one character at a position of any particular string from the set. Find the minimum number of touches Harry has to make so that he finds that all strings are different.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


[OP-51] Videomode refactor

Add abstract base class VideoModeProcessor

Refactor to workflow:
  i) Initialize. For example start a periodic waveform on the AWG
  ii) Start the readout. This starts a loop with the following steps:
      - Measure data
      - Post-process data
      - Plot data
      The loop continues running in the background untill the user aborts the loop.
  iii) Stop the readout. This stops the measure-process-plot loop
  iv) Stop. This stops all activity (e.g. both the readout loop and and activity on the AWG)

Move ttrace tests into proper module

Add unit tests for MeasurementControl and livePlot

Fix issue with importing M4i if it is not installed

Update example notebook

@CumulonimbusCalvus Checked with the Keysight/M4i on XLD fridge.


[Windows] Fix application origin

Before, the application URL origin (which is used in granting API
permissions) was generated from the installation path. Instead the
URL origin must be unique and it must remain the same for the app
wherever it is installed.
Now the application origin is generated from the upgrade id
GUID that remains the same through all the application versions.
BUG=XWALK-6442

@darktears @r0b5t4 PTAL

ping for review


[Snyk] Upgrade tsd from 0.27.0 to 0.28.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade tsd from 0.27.0 to 0.28.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 2 months ago, on 2023-03-28.

Release notes

Package name: tsd

0.28.1 - 2023-03-28
Fix error messages when tsd fails (#189)  c785d9c

v0.28.0...v0.28.1

0.28.0 - 2023-03-18
Upgrade to TypeScript 5.0  3152b12
Print number of warnings in the CLI (#184)  3dcaae7
Ignore unused locals by default (#185)  223d6a2
Don't log stacktrace if CLI succeeds (#182)  2dc5358
Export formatter (#179)  02c7fc3
Add --show-diff CLI option (#165)  8387d9e

v0.27.0...v0.28.0

0.27.0 - 2023-03-10
Report missing diagnostic codes when using expectError (#178)  b4503d0
Add missing error codes (#177)  168de40

v0.26.1...v0.27.0

    from tsd GitHub release notes

Commit messages

Package name: tsd

45b209c 0.28.1
c785d9c Fix error messages when `tsd` fails (#189)
58b85ce 0.28.0
3152b12 Upgrade to TypeScript 5.0
3dcaae7 Print number of warnings in the CLI (#184)
223d6a2 Ignore unused locals by default (#185)
2dc5358 Don't log stacktrace if CLI succeeds (#182)
c454571 Simplify formatter export (#187)
02c7fc3 Export formatter (#179)
8387d9e Add `--show-diff` CLI option (#165)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch coverage has no change and project coverage change: -0.35 :warning:

Comparison is base (53762a3) 90.34% compared to head (a7ba2b9) 90.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
- Coverage   90.34%   90.00%   -0.35%
==========================================
  Files           9        9
  Lines         290      290
==========================================
- Hits          262      261       -1
- Misses         28       29       +1

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Use of process.exit in mocha timeout causes GLib-CRITICAL on noflo-sharp

First of all, I couldn't reproduce this on sharp alone, even using the same code snippet. However I can't help finding a solution for it, and since it's related with sharp, I'm hoping we can investigate it together :smile:.
While trying to send this GIF file to Resize component on noflo-sharp (I have a test for this case), I'm getting the following:
(sharp:5885): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Trace/breakpoint trap (core dumped)

I'm being able to reproduce it on an Ubuntu 14.04 box using latest sharp, and the same happens on Travis CI.
While analyzing the core dump executing by gdb --args $(which node) ./node_modules/.bin/mocha spec/Resize (on noflo-sharp):
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/vilson/.nvm/versions/node/v4.2.6/bin/node...done.
(gdb) core core
warning: core file may not match specified executable file.
[New LWP 28674]
[New LWP 28667]
[New LWP 28668]
[New LWP 28664]
[New LWP 28665]
[New LWP 28666]
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `grunt                                          '.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  0x00007f7194078d0c in g_logv ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libglib-2.0.so.0
(gdb) bt full
#0  0x00007f7194078d0c in g_logv ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libglib-2.0.so.0
No symbol table info available.
#1  0x00007f7194078e92 in g_log ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f719405d9f4 in g_hash_table_lookup ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f7187b98824 in vips_cache_operation_lookup ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libvips.so.42
No symbol table info available.
#4  0x00007f7187b98a59 in vips_cache_operation_buildp ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libvips.so.42
No symbol table info available.
#5  0x00007f719439566c in vips::VImage::call_option_string(char const*, char const*, vips::VOption*) ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libvips-cpp.so.42
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#6  0x00007f7194395c36 in vips::VImage::new_from_file(char const*, vips::VOption*) ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/../../lib/libvips-cpp.so.42
No symbol table info available.
#7  0x00007f71945b6fc2 in MetadataWorker::Execute() ()
   from /home/vilson/src/noflo/noflo-sharp/node_modules/sharp/build/Release/sharp.node
No symbol table info available.
#8  0x0000000000fac641 in worker (arg=arg@entry=0x0) at ../deps/uv/src/threadpool.c:95
        w = 0x2771740
        q = 0x2771758
#9  0x0000000000fbb279 in uv__thread_start (arg=<optimized out>)
    at ../deps/uv/src/unix/thread.c:49
        ctx_p = <optimized out>
        ctx = {entry = 0xfac5a0 <worker>, arg = 0x0}
#10 0x00007f7196ba0182 in start_thread (arg=0x7f717c22e700) at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f717c22e700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140125390694144, -6163230216398523673,
                0, 0,<PHONE_NUMBER>94848,<PHONE_NUMBER>94144,<PHONE_NUMBER>223063783,
<PHONE_NUMBER>175287015}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
              0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
---Type <return> to continue, or q <return> to quit---
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#11 0x00007f71968cd47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb)

Environment variable are pointing to sharp's:
echo $LD_LIBRARY_PATH
./node_modules/sharp/lib

If there's more information I should provide, please just ask.

Hello, this looks like #401, specifically https://github.com/lovell/sharp/issues/401#issuecomment-208280508 - I suspect there are multiple versions of libvips installed. sharp no longer needs libvips to be available globally - are you able to remove these manually, or perhaps try on a fresh (virtual) machine?

@lovell funny thing is it's also happening on Travis CI which starts fresh at every new build. I tried to find libvips.so, libvips.pc following a #401 comment but found only *.so files bundled together with sharp. However I'll try it in a fresh machine.
Please let me know if you suspect of something else. Thanks.

Hmm comparing sharp's Travis config with noflo-sharp's, I have libgif-dev being installed. Unfortunately I can't remove it because noflo-sharp also depends on node-canvas which has libgif as dependency. Maybe it's related?

Aha, this could well be related to #371. Are you able to alter the require order of canvas and sharp so that sharp is always first and therefore its newer glib takes precedence?

I altered require order but the issue continues: https://travis-ci.org/noflo/noflo-sharp/jobs/123116294

I think the problem you're seeing in Travis is that the Resize component when passed a large GIF file should resize it to the specified dimension test is timing out and mocha is calling process.exit in the middle of a resizing task.
Node (more specifically libuv) doesn't wait for any running threads to join before killing them, so what you're seeing is an assertion error from a libvips-spawned thread because a dying libuv-spawned thread took hash_table with it.
If you're likely to need to use process.exit whilst images are being processed then you probably want to also use sharp.concurrency(1) to reduce the effects this causes.

@lovell in fact when I increase timeout the test passes. Probably the same is happening on production: something is killing resize while it is still resizing?

I tried to use sharp.concurrency(1) and let timeout as it was but it crashes.

Thanks for confirming @automata and glad to hear you got it working.
Watch out for process "managers" that call process.exit. https://github.com/lovell/sharp/issues/180#issuecomment-85550923 might be relevant here too.

@lovell do you know if people is using both sharp and node-canvas together? I'm experiencing the same glib errors but in random places now, on my project:
(sharp:9316): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()
(sharp:9316): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(sharp:9316): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()
(sharp:9316): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

Ola, I see you've discovered the related #371. Are you requiring sharp before node-canvas and any other module that might use glib? The /build/buildd/glib2.0-2.32.4 part of the error suggests something else invoked a call to the system-level shared library before sharp was required.

Probably, it's a NoFlo project, so components are loaded in mixed order. We have many noflo-canvas components.

If you're able to upgrade, the new Ubuntu 16.04 LTS provides the up-to-date glib v2.48.0 which should "fix" this.

@lovell it's running at Heroku, so Ubuntu 16.04 LTS is not a possibility, unfortunatelly.

@lovell aha! Downgrading to sharp 0.13.1I don't get theglib` error anymore.
Now I'm back to the case where my process is killed because it's using lots of memory with that large GIF :-)

If you can control how your app is started in Heroku then you can use the following to guarantee sharp's glib takes precedence:
LD_PRELOAD=/path/to/node_modules/sharp/lib/libglib-2.0.so /usr/bin/node yourapp.js

GIF support (speed, memory usage) will be vastly improved in v0.15.0 thanks to #369.

@lovell as a workaround I'm using gm to extract first frame of GIFs before using sharp. I'm following #369, when done I'll remove gm and test it again.
About glib error, any thoughts about why it was happening only on  sharp 0.14.x?

"About glib error, any thoughts about why it was happening only on sharp 0.14.x?"

sharp v0.14.x bundles glib v2.47.6 and sharp v0.13.x bundles glib v2.47.5. I don't see anything in the glib changelog about changes to gtype/gonce behaviour though :(

I'll test it a bit more. Thank you for all your help until now @lovell!

@lovel we're updating to sharp 0.15 to get GIF goodies and get rid of ImageMagick vulnerability, however I can confirm we're having the same issue (on Travis for now, will test in Heroku as soon as I get this fixed):
(sharp:9330): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()
(sharp:9330): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(sharp:9330): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()
(sharp:9330): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

Thanks for the update. Your best options are still either ensuring sharp is require'd before canvas or set the LD_PRELOAD=... env variable.

Yeah, I'm trying to LD_PRELOAD=./node_modules/noflo-sharp/node_modules/sharp/lib/libglib-2.0.so ./node_modules/.bin/grunt test but I'm still getting the same error.

Thanks to @jonnor suggestion we used a workaround: we updated libvips to 8.3.1 on this buildpack/bundle and we're using it in both Travis/Heroku. In this way, both node-canvas and sharp are using the same "global" GLib.
(At the same time we removed ImageMagick and included giflib/libsvgr to match dependencies for sharp 0.15 and to be free from IM vulnerability)

@lovell should we close this? IMHO above workaround can be used as a suggestion to similar cases at future.

Yes, there's plenty of info in here for anyone else that wanders into this problem. Thanks again for all your thoughts, ideas and feedback here.

@lovell I'll probably revisiting this issue soon while updating noflo-sharp to sharp 0.17. Do you know if we have some improvements on this issue? Thanks in advance.

@lovell Per the other issue - my issue was due to aws-sdk (unrelated to sharp) - thank you 👍


Fix qt5 scripts on debug/release-only builds

qt_release.conf should now be copied correctly when VCPKG_BUILD_TYPE is release (closes #6258)
fix vcpkg_configure_qmake.cmake when VCPKG_BUILD_TYPE is debug (closes #6250)

Don't forget to update the dash version in the CONTROL file.


Add test test-split-lines, testing parser function split-lines.

While split-lines is heavily tested as part of testing the parser,
this adds tests focused specifically on split-lines. In addition, a
near-future proposed change to split-lines is planned, so this adds
testing needed for confidence in such a change.

Changed commit log and this PR description just to removed stray line 'add missing colon to make = a keyword within LOOP'.

Changed commit log and this PR description just to removed stray line 'add missing colon to make = a keyword within LOOP'.

This looks good to me @notmgsk. More tests are always better, much to the chagrin of the runners.


feat: add RootBaseURL() to Client

This PR adds .RootBaseURL() to Client which allows the user to get the configured URL.

Codecov Report
Base: 52.85% // Head: 52.94% // Increases project coverage by +0.09% :tada:

Coverage data is based on head (6fb8d48) compared to base (56eb706).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
+ Coverage   52.85%   52.94%   +0.09%
==========================================
  Files          47       47
  Lines        4255     4257       +2
==========================================
+ Hits         2249     2254       +5
+ Misses       1525     1524       -1
+ Partials      481      479       -2

Flag
Coverage Δ

2.1.4
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

2.2.2
39.93% <100.00%> (+0.09%)
:arrow_up:

2.3.3
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

2.4.0
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

2.5.1
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

2.6.0
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

2.7.0
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

2.8.0
39.93% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
49.04% <100.00%> (+0.09%)
:arrow_up:

3.0.1
39.27% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
?

3.1.0
39.27% <100.00%> (+0.09%)
:arrow_up:

<IP_ADDRESS>
49.58% <100.00%> (+0.09%)
:arrow_up:

community
39.93% <100.00%> (+0.09%)
:arrow_up:

enterprise
50.24% <100.00%> (+0.09%)
:arrow_up:

integration
52.94% <100.00%> (+0.09%)
:arrow_up:

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

Impacted Files
Coverage Δ

kong/client.go
62.38% <100.00%> (+1.80%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


On listing Image upload save name in DB but can't create image file

Q
A

Bug report?
yes/no

Feature request?
yes/no

Support request?
yes

I having a weird issue and it's suddenly occurred. what happens Listing can't show the image when I inspect in source code get this path "/en/media/cache/resolve/listing_xxmedium/uploads/listings/images/824c4ac68f2e982e215eff7e4e7b42b1d9754abb.jpg" when I check folder I can't find this name image.

Do you have GD or Imagick PHP extension enabled according to your cocorico.image_driver parameter value in app/config/parameters.yml:26?
Did  you check your logs to see if there are any relevant errors?

Hi
I have facing same issue, see in screen shot https://www.screencast.com/t/EYQ5J3NgSQ and same name file generate on path web\uploads\users\images\19643349cdeb276f3bb4e183db71ecbdfa30e15b.jpg
GD and Imagick extension both are enable in my php.
cocorico.image_driver: imagick parameter is set in  app/config/parameters.yml file

@vishaldudhatra009 From your error screen i guess you are on Windows.
I 'd recommended you to use GD instead of Imagick on Windows. Making PHP and Imagick work on Windows is quite difficult.

Its GD or Imagick PHP extension and fixed :)


[New API] : IP Geolocation API by IPstack

Brief Description 🤓
Provides detailed information about an IP address, including location and ISP information.
How will you develop it?🤩
react,js
Deployment
None
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @AmruthaPariprolu🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

/gssoc24


Wirecard Checkout Page: Replace comma in payment amount with decimal point

Otherwise rubys to_f method truncates the cents

I'll close this since it has been more than a year without activity


Conda Package

I use Conda to manage my Cadence environment and found your package really helpful.  I'd like to be able to easily install it into my Cadence conda environment.  I hope you don't mind if I make a Conda-forge feedstock to distribute skill_tools.
@MatthewLoveQUB, Would you prefer if I pointed it here to your original repo or to my fork of it?  You'd have to follow the Github release instructions  as mentioned in step 1 of the instructions in order to point to your original version.  I'll take care of the details of setting up the conda-forge feedstock and the conda recipe it contains.
@MatthewLoveQUB, I'd be happy to add you as a maintainer if you're interested, but would be happy to volunteer to do it on my own.
Conda-forge is a conda channel (package repository) that hosts feedstocks, repos containing conda recipes for building and packaging repos into conda packages.
Here's the plan for creating the conda-forge feedstock:

[ ] Create a conda-forge feedstock by following the instructions:

[x] I've started this process with a fork of staged-recipes
[ ] It would be nice if I could have help making sure a release is available from your original version if that is your preference.  You just need to follow the Github release instructions

[ ] Update the readme.md with instructions on how to install the package using Conda

The package would be installed to ${PREFIX}/lib/skill
where $PREFIX is the path to the Conda environment it is installed into.
Then there are a couple of options for the initialization:

Direct load
The user could directly load the initialization file from this location in order to load it in virtuoso.

The package would be installed to ${PREFIX}/lib/skill
where $PREFIX is the path to the Conda environment it is installed into.
Then there are a couple of options for the initialization:

Direct load
The user could directly load the initialization file from this location in order to load it in virtuoso.

Hi Curtis, glad you found some use with the package.

Would you prefer if I pointed it here to your original repo or to my fork of it?

I'd prefer if you pointed it at your fork for now. At the moment I'm finishing my PhD and am job hunting (coincidentally, Skyworks is one of the companies I'm interviewing with) so the repo likely won't see any changes for a few months until I start working again. I wouldn't mind adding my version to Conda in future but I've enough on my plate as it is. Would it cause an issue if your fork was used first and then mine was published afterwards?

Hi Curtis, glad you found some use with the package.

Would you prefer if I pointed it here to your original repo or to my fork of it?

I'd prefer if you pointed it at your fork for now. At the moment I'm finishing my PhD and am job hunting (coincidentally, Skyworks is one of the companies I'm interviewing with) so the repo likely won't see any changes for a few months until I start working again. I wouldn't mind adding my version to Conda in future but I've enough on my plate as it is. Would it cause an issue if your fork was used first and then mine was published afterwards?

Ok, no problem.  Would you like me to add you as a maintainer?  You would receive some emails, but I'll take care of any maintenance.
Which group are you interviewing with at Skyworks?  What are your interests?  My group designs a lot of the IC content for our mobile products including CMOS PA controllers, SOI Switches, and SOI LNAs.   We also have an opening available.

Ok, no problem.  Would you like me to add you as a maintainer?  You would receive some emails, but I'll take care of any maintenance.
Which group are you interviewing with at Skyworks?  What are your interests?  My group designs a lot of the IC content for our mobile products including CMOS PA controllers, SOI Switches, and SOI LNAs.   We also have an opening available.

Would you like me to add you as a maintainer?

Sure, that's no problem.

Which group are you interviewing with at Skyworks?

I'll send an email with more description to the address listed on your profile.

Would you like me to add you as a maintainer?

Sure, that's no problem.

Which group are you interviewing with at Skyworks?

I'll send an email with more description to the address listed on your profile.


Feat/extra multi config

Codecov Report

:exclamation: No coverage uploaded for pull request base (release@45bb67c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             release      #64   +/-   ##
==========================================
  Coverage           ?   97.06%
==========================================
  Files              ?       18
  Lines              ?      273
  Branches           ?       32
==========================================
  Hits               ?      265
  Misses             ?        5
  Partials           ?        3

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 45bb67c...764889f. Read the comment docs.


[Feature Request] Notifications without message text

Basically being able to receive a notification without the message content for using at work. If you're a Pushbullet user you might know this as "Only show notification title" in their settings menu.
They've also managed to implement the first really viable chatheads system that I've used on a desktop, so that'd be cool too (but I imagine that would be incredibly difficult lol).
Thanks for your work on this great app!

That should be something easy to do.
Please try our latest beta.
See https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458

Do we even have notifications? The only notifications I'm getting are from Pushbullet, and when I click on one of those, it opens a messenger.com tab in my browser, not the existing Messenger for Desktop window.

No it was there in 1.5, I had to switch them as chrome notifications because at the time NWJS had stopped providing native ones.
You should probably activate them in the facebook settings ;)

Looks like enabling desktop notifications on either facebook.com or messenger.com (I forget which) solved my problem!


Comment out issue with linting for Nip-05

in the end, I needed to be explicit with an else but we got there.

Updated the code here: It's more verbose but (I think) it's much easier to follow.

Bump! @pablof7z

@pablof7z merged master – this is ready to go.


jinja2.exceptions.UndefinedError: dict object has no element 0

I can get the server to run but it shows "Internal Server Error", and the console shows this output:
python3.7 main.py
email-validator not installed, email fields will be treated as str.
To install, run: pip install email-validator
main.py:61: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  cfg = yaml.load(ymlfile)
INFO: Started server process [7228]
INFO: Waiting for application startup.
INFO: Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO: ('<IP_ADDRESS>', 54448) - "WebSocket /livereload" 403
INFO: ('<IP_ADDRESS>', 54452) - "GET /livereload.js?port=8000 HTTP/1.1" 404
INFO: ('<IP_ADDRESS>', 54452) - "GET / HTTP/1.1" 500
ERROR: Exception in ASGI application
Traceback (most recent call last):
  File "/home/nsheff/.local/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 375, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/home/nsheff/.local/lib/python3.7/site-packages/fastapi/applications.py", line 139, in __call__
    await super().__call__(scope, receive, send)
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/applications.py", line 134, in __call__
    await self.error_middleware(scope, receive, send)
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/middleware/errors.py", line 178, in __call__
    raise exc from None
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/middleware/errors.py", line 156, in __call__
    await self.app(scope, receive, _send)
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/exceptions.py", line 73, in __call__
    raise exc from None
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/exceptions.py", line 62, in __call__
    await self.app(scope, receive, sender)
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/routing.py", line 590, in __call__
    await route(scope, receive, send)
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/routing.py", line 208, in __call__
    await self.app(scope, receive, send)
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/routing.py", line 41, in app
    response = await func(request)
  File "/home/nsheff/.local/lib/python3.7/site-packages/fastapi/routing.py", line 111, in app
    raw_response = await dependant.call(**values)
  File "main.py", line 110, in root
    return templates.TemplateResponse("main.html", dict(vars, **ALL_VERSIONS))
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/templating.py", line 87, in TemplateResponse
    background=background,
  File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/templating.py", line 27, in __init__
    content = template.render(context)
  File "/home/nsheff/.local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/home/nsheff/.local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/home/nsheff/.local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/nsheff/.local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "templates/main.html", line 1, in top-level template code
    {% extends "base.html" %}
  File "templates/base.html", line 22, in top-level template code
    {% block content %}{% endblock %}
  File "templates/main.html", line 39, in block "content"

For an example bed file output, click here

  File "/home/nsheff/.local/lib/python3.7/site-packages/jinja2/environment.py", line 430, in getattr
    return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: dict object has no element 0
INFO: ('<IP_ADDRESS>', 54456) - "GET / HTTP/1.1" 500
ERROR: Exception in ASGI application

I think its because it's not connecting correctly to elastic, but I'm not sure why.
as an aside, can you make it print a nice message like "no regions found" instead of the error, maybe?
separately, we need to figure out why it won't connect, I must not be setting up elastic correctly...

I committed a change to dev branch that is more intelligent if there is something wrong with the elastic database, in particular, if the server is up but there is no data in the index.

https://github.com/databio/bedstat-rest-api/commit/4cf0c1c1c6edd1b60754a31b23cd5a9c0618383a

I believe this has been fixed.


fixed package.json for release

Before merging the PR, please bump up the version in package.json.

/jira open task


Redix does not provide any error &   exit  #254

Pull Request Test Coverage Report for Build 30376596cc050503a70e7119fde8aa1896081ddd-PR-255

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.859%

Totals

Change from base Build 59224955c788745a2b82b916d19919ec594b53bd:
0.0%

Covered Lines:
595

Relevant Lines:
693

💛  - Coveralls

@etemadmo thanks! I pushed some commits to fix Dialyzer in CI. Now, tests are failing on the changes you made. Could you update the tests to reflect the changes? Thanks!

Closing and fixing this manually. Thanks! 💟


fix documentation for integer annotations

Integer/Boolean annotations should be quoted(otherwise, it will cause all annotations be lost with any error/warning from kubectl)

reference: https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/747

/lgtm


[regression test](broker load) add case for sequence col

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run pipelinex_p0


Add binding for uv_os_tmpdir

Needed by https://github.com/virgo-agent-toolkit/super-agent/issues/32

Can be closed now (done in 0a2297dc571dfbf01f1d5d9e89601b67a919b491)


[QUESTION] queable consumer handler

Hi,
I guess the consumption is happening in serial way so when handling of a message finished , then we pick the next message in kafka. Am I thinking correctly?
so how I can make it faster?
should I use some queueable jobs and dispatch them in the handler?
or there are any other tricks? :D
if there is no trick,
so I guess good to have other method for consumer instead of ->withHandler($handler) and then we can say   ->withQueueableHandler($job)

Hey @ebrahimradi :wave:

I guess the consumption is happening in serial way so when handling of a message finished , then we pick the next message in kafka. Am I thinking correctly?

Yes :+1:

so how I can make it faster?
should I use some queueable jobs and dispatch them in the handler?

Yes, using queueable jobs inside the handler is possible, up to you if you need this in your application :slightly_smiling_face:
I'm already thinking about a queueable handler, but I think it'd be better to make it work as it already works today, but adding a interface to the handler, like Laravel's ShouldQueue interface. I'll try to implement that over the weekend :slightly_smiling_face:

Ok, I think I got a first working version here:

great @mateusjunges , please let me know if i can help with that.

One more question:
is consuming Sync or Async?
I mean can I consume more than one topic in my commands? something like:
$consumers = [];
foreach ($topics as $topic) {
                $handler = handlerFor($topic);
                $consumer = consumerFor($topic, $handler);
                $consumers[] = $consumer;
                $consumer->consume();
            }

so does this loop run for the next topics? I tested seems answer is No.
So how can I do that? Is it supported in this plugin or should I use some tools like how-to-make-async-functions-in-php ?

@ebrahimradi as per de documentation, you can consume more than one topic in your consumer. However, you will have only one consumer for each command. When you can consume on the Consumer instance, it will run a loop that keeps listening for new messages until the consumer is stopped, so your foreach example will run for the first consumer but not for the second.
You can consume more than one topic in you consumer by adding the list of topics as an array when creating the consumer:
public function handle(): int
{
    $consumer = Kafka::createConsumer(['test-topic', 'test-topic-2'])
        ->withHandler(new Handler())
        ->build();

    $consumer->consume();

    return Command::SUCCESS;
}

This is the example of the consumed messages, on for each topic:

Thanks for clear answer. Got it, just one problem, each topic has different handler, so cannot pass array of topic and only one handler 🤔
I guess not bad to pass associated array topic=>handler to a new interface for cusumer.
so we can say Kafka::createConsumerForManyTopics(['test-topic'=>new Handler() , 'test-topic-2'=>new Handler()])->build();
then this feature with queable handlers can match perfectly 👍
what do you think?

To be honest I don't like the idea, also never had this use case. It's not that easy to setup multiple consumers within a single command. It's much easier to just create a command to each topic you want to consume (or listen to multiple topics in the same consumer if they have the same handler).

@mateusjunges , one thing comes to my mind before adding this feature,
if we put them in queue, then it means we do not put the messages in DLQ anymore, so queue handler is responsible to push/produce message into the DLQ topic. right?

if we put them in queue, then it means we do not put the messages in DLQ anymore
Yes. If the handler is queued then the message will not go to DLQ and the offset will be committed right after pushing the job to the queue.


Feature/add scaleio

[Current coverage][cc-pull] is 33.88%

Merging [#81][cc-pull] into [master][cc-base-branch] will decrease coverage by -11.53%

@@             master        #81   diff @@
==========================================
  Files            17         19     +2
  Lines          1328       1845   +517
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            603        625    +22
- Misses          687       1182   +495
  Partials         38         38

Powered by Codecov. Last updated by [9a626cc...6ffcbff][cc-compare]
[cc-base-branch]: https://codecov.io/gh/emccode/libstorage/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/emccode/libstorage/compare/9a626ccb753488ccd0e8668e7cb092965ed40f3b...6ffcbff3b9e29bda39d5e3c62261291e6af73180
[cc-pull]: https://codecov.io/gh/emccode/libstorage/pull/81?src=pr


Ensure default global interpreter used is the default python in terminal

[ ] Currently in case of global interpreters, the interpreter with the highest version is preferred:

We should instead prefer the interpreter/environment which appears first in PATH, new selection order can be:

Look for python in PATH: python -c"import sys;print(sys.executable)"
If none of these exist, then it look for python interpreter with the highest version.

[ ] Publish the auto-selection order in our docs.

cc/ @karthiknadig

@karrtikr This should use an internal symlink that is always on PATH. That symlink should point to the selected python in a given workspace. That way python in terminal will always be python that is selected in the extension. This is easier said than done.

This is easier said than done.

Which is why I think for now we should simply select the default python in terminal instead of selecting the highest version.

Which is why I think for now we should simply select the default python in terminal instead of selecting the highest version.

I am not sure it helps. I think it will confuse even more, because outside of VS Code when users type python in the terminal it will be a different experience. If we go with ensuring python always points to selected python, then there are clear rules, in VS Code terminal the python is the selected python, outside it will be whatever the terminal decides.
If, we go by the above plan, there are no clear rules. In, activated scenario the VS Code terminal is the selected python. But in global scenario it is not. And the global scenario, does not reflect what would happen in a terminal outside of VS Code. It is harder to define what happens.

I understand that's the ideal solution, but I'm just talking about improving the default experience.

But in global scenario it is not.

By default it will be, unless user explicitly changes the global interpreter. It's better than what we currently have now, where we select the highest version.

maybe related? https://github.com/microsoft/vscode-python/issues/13327

@luabud Yep, https://github.com/microsoft/vscode-python/issues/13327 would be nice (and can be done btw with the terminal exp), but I think we should still change the auto-selection order to select default python configured in the system.
For eg. most codespaces, or dev containers are configured to use Python on PATH by default, it can have the right dependencies already installed.

For eg. most codespaces, or dev containers are configured to use Python on PATH by default, it can have the right dependencies already installed.

Codespaces and dev containers are not the typical user setup. The py launcher is the standard (PEP 397) means of accessing Python on Windows, and not supporting it would make the user experience for people using the python.org distributions of Python more difficult (i.e., need customisation to work as expected).

FWIW extension can be configured to use the py launcher by default by adding the following to User settings:
"python.defaultInterpreterPath": "py"

and then syncing settings across all devices. Only a one time customisation is required.


chore: Address comments

https://github.com/AztecProtocol/aztec-packages/pull/4752 got merged in automatically, so I'm addressing them in a separate PR

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 74025170 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
54,212
214,436
855,332

l1_rollup_calldata_gas
259,796
1,019,816
4,060,220

l1_rollup_execution_gas
353,982
1,139,264
4,281,621

l2_block_processing_time_in_ms
1,284
4,836 (+1%)
19,210 (+1%)

note_successful_decrypting_time_in_ms
221
634 (+4%)
2,302 (+4%)

note_trial_decrypting_time_in_ms
35.0 (-11%)
73.2 (+31%)
192 (+1%)

l2_block_building_time_in_ms
21,427
85,026
345,337

l2_block_rollup_simulation_time_in_ms
16,055
63,664
260,264

l2_block_public_tx_process_time_in_ms
5,344
21,281 (+1%)
84,805

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
16,616 (+3%)
33,588 (+10%)

note_history_successful_decrypting_time_in_ms
1,420 (+1%)
2,730

note_history_trial_decrypting_time_in_ms
181 (-17%)
226 (+2%)

node_database_size_in_bytes
18,677,840
35,881,040 (-1%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
335
44,664
27,457

private-kernel-ordering
215
45,777
14,627

base-rollup
1,744
175,344
933

root-rollup
83.4 (-1%)
4,192
825

private-kernel-inner
443
73,099
27,457

public-kernel-app-logic
276
32,254
25,379

merge-rollup
7.96 (+2%)
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,388
36,001

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
578
1,514 (+1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.0331 (+6%)
658


feat: Incorporate metadata generator tool in github action release pipeline

Description
Generate metadata json file as part of the pre-commit process for a module
Check the relevant boxes:

[ ] Bug fix (nonbreaking change that fixes an issue)
[x] New feature (nonbreaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI related update (pipeline, etc.)

Checklist

[ ] If relevant, a test for the change has been added or updated as part of this PR.
[ ] If relevant, documentation for the change has been added or updated as part of this PR.

Merge

Merge using "Squash and merge".
Make sure to use a relevant conventional commit message that is based on the PR contents. The commit message determines whether a new version of the modules needs to be released, and if so, which semver number to use).

There is already a binary actually in the zip file in the git release https://github.com/IBM-Cloud/terraform-config-inspect/releases/tag/v1.0.0-beta0
So you need to update https://github.com/terraform-ibm-modules/common-dev-assets/blob/main/module-assets/ci/install-deps.sh and include code to download and install this binary.
That will mean it will be installed when local developers run make and we don’t need to worry about go.mod files


Provide commandline flags to customize known modules

Right now this is only pulled from the found config.  While at it, we could use a way to disable searching for config entirely (use Config() instead of Config.find(...)
Adding flags makes it easier to do what-if experiments before committing to a config.

@jreese I think you were going to deprecate all command line flags except for overriding config location?  Do you want to reword this to match that goal?

Updated title and summary.


User Story 6.1- Issue 1:  The alignments, sizing, spacing

@xJamesScott @ChunPingYang @adroit22

There is more space between  org description  and Applicants list . Less space can be left if no other tab or info is going to be displayed .

Applicants alignment should be moved to left with reference to zeplin.

The table is missingfor the Applicants list , comapred to zeplin.

The spacing between two applicants name more compared to zeplin

The Name initial (User Icon) circle is less bold compared to zeplin

The alignment of the org description box is  not in line with Applicants list table .

There is a curvy border edge  for the table in zeplin but no border in the web.

The font size of "Applicants" 14 px in web but 16 px in zeplin .

https://user-images.githubusercontent.com/51660881/117171787-2fe3ec80-ad99-11eb-9eac-59d90b50c7be.mp4

The issues are fixed

The issues are fixed


cygwin: drop explicit O_TEXT

Cygwin binaries should not enforce text mode these days, just
use text mode if the underlying mount point requests it
Signed-off-by: Corinna Vinschen<EMAIL_ADDRESS>
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Does that mean that the underlying system (Windows) doesn't use CRLF for line endings any more?

Does this differ at all from #8248?  If not, then this should be closed in favor of cherry picking from that one

Ok, another look tells me that this PR is exactly the same as #8248, so I'm closing this one and will label #8248 accordingly.
(one less approval to do and double check, you understand...)

On Feb 15 21:49, Richard Levitte wrote:

Ok, another look tells me that this PR is exactly the same as #8248, so I'm closing this one and will label #8248 accordingly.
(one less approval to do and double check, you understand...)

These were three patches for three branches,
OpenSSL_1_0_2-stable
OpenSSL_1_1_1-stable
master
It looks like you didn't apply the one to OpenSSL_1_1_1-stable.
Can you please apply it there, too?
Thanks,
Corinna

I'll cherry-pick the master one to 1.1.1, as soon as it's approved


Eth trafser Error

i am getting this error on transferring eth "error quantizing transfer amount (2792006) with quantum 100000000 -> amount not multiple of token quantum, amount:" i have convert to "Gwei" and "wei" is there anything i am doing wrong?

Could you please provide the logs?

2023/10/30 13:08:31.793 9926 10005 Info Unity [Browser Communications Manager] Call imxTransfer (request ID: 10f81a21-47b4-47aa-81be-662f31e1f258)
2023/10/30 13:08:32.908 9926 10005 Info Unity [Browser Communications Manager] InvokeOnPostMessageError id: CallOnHttpError message: 400
2023/10/30 13:08:32.908 9926 10005 Error Unity [Passport Implementation] id: CallOnHttpError err: 400
2023/10/30 13:08:32.909 9926 10005 Info Unity [Browser Communications Manager] InvokeOnUnityPostMessage: {"responseFor":"imxTransfer","requestId":"10f81a21-47b4-47aa-81be-662f31e1f258","success":false,"error":"error quantizing transfer amount<PHONE_NUMBER>096641) with quantum 100000000 -> amount not multiple of token quantum, amount: {neg:false abs:[2795790458096641]} (uint64:<PHONE_NUMBER>096641), quantum: 100000000","errorType":"TRANSFER_ERROR"}
2023/10/30 13:08:32.909 9926 10005 Info Unity [Browser Communications Manager] HandleResponse message: {"responseFor":"imxTransfer","requestId":"10f81a21-47b4-47aa-81be-662f31e1f258","success":false,"error":"error quantizing transfer amount<PHONE_NUMBER>096641) with quantum 100000000 -> amount not multiple of token quantum, amount: {neg:false abs:[2795790458096641]} (uint64:<PHONE_NUMBER>096641), quantum: 100000000","errorType":"TRANSFER_ERROR"}
2023/10/30 13:08:32.918 9926 10005 Error Unity error quantizing transfer amount<PHONE_NUMBER>096641) with quantum 100000000 -> amount not multiple of token quantum, amount: {neg:false abs:[2795790458096641]} (uint64:<PHONE_NUMBER>096641), quantum: 100000000

        private UnsignedTransferRequest(
            string type,
            long amount,
            string receiver,
            string? tokenId = null,
            string? tokenAddress = null
            )
        {
            this.Type = type;
            this.Amount = $"{amount}";
            this.TokenId = tokenId;
            this.TokenAddress = tokenAddress;
            this.Receiver = receiver;
        }

        public static UnsignedTransferRequest ETH(string receiver, long amount)
        {
            return new UnsignedTransferRequest("ETH", amount, receiver);
        }

Hello @basitcubix, thanks for reporting this. We've identified the problem and fixed it as a new release on v0.3.1.
Note, however, that transfers in Unity require a pre-approval from our team. Please reach out to us on the contact form in our docs.
Thanks

hey i am still getting the same error after getting the latest pull from your repo can you please help me

2023/10/31 17:51:27.015 10162 10210 Error Unity error quantizing transfer amount<PHONE_NUMBER>22611) with quantum 100000000 -> amount not multiple of token quantum, amount: {neg:false abs:[549164697122611]} (uint64:<PHONE_NUMBER>22611), quantum: 100000000

@basitcubix do you mind sharing the code youre using to call it and the amount youre trying to transfer please?

`    public async Task CreateTransferEth(string receiver, string amount)
{
print("Magic Wallet Manager amount: " + amount);
try
{
UnsignedTransferRequest request = UnsignedTransferRequest.ETH(
receiver,
amount
);
CreateTransferResponseV1 response = await passport.ImxTransfer(request);
        return "Success "+response.TransferId.ToString();
    }
    catch (Exception ex)
    {

        Debug.LogError(ex.Message);
        return ex.Message;
    }
}`

    public async Task<string> CreateTransferEth(string receiver, string amount)
    {
        print("Magic Wallet Manager amount: " + amount);
        try
        {
            UnsignedTransferRequest request = UnsignedTransferRequest.ETH(
                     receiver,
                     amount
                 );
            CreateTransferResponseV1 response = await passport.ImxTransfer(request);

            return "Success "+response.TransferId.ToString();
        }
        catch (Exception ex)
        {

            Debug.LogError(ex.Message);
            return ex.Message;
        }
    }

hey @basitcubix, we're looking into it

@basitcubix our system limits the decimal numbers to 10 digits for ETH. That means, for your example, you’d have to use 0.0000540858 ETH which converts to<PHONE_NUMBER>0000 wei. We’ve taken on the feedback that the API error is not clear for that and we’ll update it sometime in the future.

hey thankyou so much for the help i have fixed it closing this thread now


API Keys

Hi,
for some strange reasons my installation seems to ignore API Keys settings. I even copy/pasted sample configuration from API Keys documentation page, and I can still access all endpoints without even providing an Authorization header:
https://www.krakend.io/docs/enterprise/authentication/api-keys/#protecting-endpoints-by-api-key
Thank you in advance

this feature is only available at the enterprise version


Slow, expensive query during sync.

PGSync version: 2.1.11
Postgres version: 12.7
Elasticsearch version: 7.10
Redis version: 5.0.6
Python version: 3.8.7
Problem Description:
I have six tables:
voycapi_conversations
    id - int (pk)
    name - str

users_user
    id - int (pk)
    name - str

voyc_review_conversationreview
    id - int (pk)
    conversation_id - int (foreign key to voycapi_conversations)
    assigned_by_id - int (foreign key to users_user)
    assigned_to_id - int (foreign key to users_user)
    coached_by_id  - int (foreign key to users_user)
    graded_by_id  - int (foreign key to users_user)
    resolved_by_id  - int (foreign key to users_user)
    reviewed_by_id  - int (foreign key to users_user)

voyc_transcript_transcript
    id - int (pk)
    conversation_id - int (foreign key to voycapi_conversations)

voyc_transcript_utterance
    id - int (pk)
    transcript_id - int (foreign key to voyc_transcript_transcript)

voyc_transcript_sentence
    id - int (pk)
    utterance_id - int (foreign key to voyc_transcript_utterance)

I need the username of each user assigned to each of the foreign keys in the voyc_review_conversationreview table.
The only way I've managed to sync all of these fields over through PGSync is by using a schema that looks like this:
[
    {
        "database": "webserver",
        "index": "webserver_es",
        "nodes": {
            "table": "voycapi_conversations",
            "columns": [
                "id",
                "name"
            ],
            "children": [
                {
                    "table": "voyc_review_conversationreview",
                    "columns": [
                        "reviewed_status",
                        "resolved_status",
                        "coached_status",
                        "graded_status",
                        "date_reviewed",
                        "date_resolved",
                        "date_coached",
                        "date_graded",
                        "date_assigned"
                    ],
                    "label": "review",
                    "relationship": {
                        "variant": "object",
                        "type": "one_to_one"
                    },
                    "children": [
                        {
                            "table": "users_user",
                            "columns": [
                                "id",
                                "username"
                            ],
                            "label": "assigned_by",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_one",
                                "foreign_key": {
                                    "parent": [
                                        "assigned_by_id"
                                    ],
                                    "child": [
                                        "id"
                                    ]
                                }
                            }
                        },
                        {
                            "table": "users_user",
                            "columns": [
                                "id",
                                "username"
                            ],
                            "label": "assigned_to",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_one",
                                "foreign_key": {
                                    "parent": [
                                        "assigned_to_id"
                                    ],
                                    "child": [
                                        "id"
                                    ]
                                }
                            }
                        },
                        {
                            "table": "users_user",
                            "columns": [
                                "id",
                                "username"
                            ],
                            "label": "coached_by",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_one",
                                "foreign_key": {
                                    "parent": [
                                        "coached_by_id"
                                    ],
                                    "child": [
                                        "id"
                                    ]
                                }
                            }
                        },
                        {
                            "table": "users_user",
                            "columns": [
                                "id",
                                "username"
                            ],
                            "label": "graded_by",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_one",
                                "foreign_key": {
                                    "parent": [
                                        "graded_by_id"
                                    ],
                                    "child": [
                                        "id"
                                    ]
                                }
                            }
                        },
                        {
                            "table": "users_user",
                            "columns": [
                                "id",
                                "username"
                            ],
                            "label": "resolved_by",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_one",
                                "foreign_key": {
                                    "parent": [
                                        "resolved_by_id"
                                    ],
                                    "child": [
                                        "id"
                                    ]
                                }
                            }
                        },
                        {
                            "table": "users_user",
                            "columns": [
                                "id",
                                "username"
                            ],
                            "label": "reviewed_by",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_one",
                                "foreign_key": {
                                    "parent": [
                                        "reviewed_by_id"
                                    ],
                                    "child": [
                                        "id"
                                    ]
                                }
                            }
                        }
                    ]
                },
                {
                    "table": "voyc_transcript_transcript",
                    "columns": [
                        "id"
                    ],
                    "label": "transcript",
                    "relationship": {
                        "variant": "object",
                        "type": "one_to_one"
                    },
                    "children": [
                        {
                            "table": "voyc_transcript_utterance",
                            "columns": [
                                "id"
                            ],
                            "label": "utterance",
                            "relationship": {
                                "variant": "object",
                                "type": "one_to_many"
                            },
                            "children": [
                                {
                                    "table": "voyc_transcript_sentence",
                                    "columns": [
                                        "id",
                                        "text",
                                        "words#>{0,start}"
                                    ],
                                    "label": "sentence",
                                    "relationship": {
                                        "variant": "object",
                                        "type": "one_to_many",
                                        "foreign_key": {
                                            "parent": [
                                                "id"
                                            ],
                                            "child": [
                                                "utterance_id"
                                            ]
                                        }
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    }
]

When running PGSync:
 - voycapi_conversations
   |- voyc_review_conversationreview
   |  |- users_user
   |  |- users_user
   |  |- users_user
   |  |- users_user
   |  |- users_user
   |   - users_user
   |- voyc_transcript_transcript
   |   - voyc_transcript_utterance
   |      - voyc_transcript_sentence

This works upon the initial sync.  See the explain here.
ps. The query and schema I posted above is only a portion of my full schema and query. I've redacted the rest and only kept the part of the query that is problematic.

I'm seeing a few seq scans in that query analysis.
Did you already run pgsync -c schema.json -a to see if there are any missing indices?

Yes I have, all indices are present.

This is as a result of the query plan.
Initially I had a query plan similar to yours with lots of sequential scans.
Then I created the indices below and ran vacuum --full

CREATE INDEX idx_review_conversationreview_conversation_id ON review_conversationreview (conversation_id)
CREATE INDEX idx_transcript_conversation_id ON transcript (conversation_id)
CREATE INDEX idx_user_id ON public.user (id)
CREATE INDEX idx_utterance_transcript_id ON utterance (transcript_id)
CREATE INDEX idx_sentence_utterance_id ON sentence (utterance_id)

Can you try with a vacuum?
Also/alternatively try and set SET enable_seqscan = OFF; and re-run the query
If you have all indices and vacuum'd, can you provide the table distribution count.
i think i have 10000 row for all tables
pgsync -c schema.json -a

I've had a similar problems with query performance after the first sync which might be related to this problem. However in my case the generated query is so large (over 6 million characters) it causes Postgres to crash. This problem started after adding a "through_tables" relationship to the schema. Most of the generated query is in a WHERE clause as a huge number of OR statements. Here's a snippet of how part of the query looks WHERE manga_1.manga_id = %(manga_id_1)s OR manga_1.manga_id = %(manga_id_2)s OR manga_1.manga_id = %(manga_id_3)s OR ...
Here's how my schema looks. The manga and manga_service tables have both around 50k rows while services table has just 8 rows.
[
    {
        "database": "manga",
        "index": "manga",
        "setting": {
            "analysis": {
                "analyzer": {
                    "trigram_analyzer": {
                        "filter": [
                            "lowercase"
                        ],
                        "type": "custom",
                        "tokenizer": "trigram_tokenizer"
                    }
                },
                "tokenizer": {
                    "trigram_tokenizer": {
                        "token_chars": [
                            "letter",
                            "digit"
                        ],
                        "min_gram": "3",
                        "type": "ngram",
                        "max_gram": "3"
                    }
                }
            }
        },
        "nodes": {
            "table": "manga",
            "columns": [
                "title",
                "views",
                "manga_id"
            ],
            "transform": {
                "mapping": {
                    "title": {
                        "type": "text",
                        "fields": {
                            "ngram": {
                                "type": "text",
                                "analyzer": "trigram_analyzer"
                            }
                        }
                    }
                }
            },
            "children": [
                {
                    "table": "manga_alias",
                    "columns": [
                        "title",
                        "manga_id"
                    ],
                    "relationship": {
                        "variant": "object",
                        "type": "one_to_many"
                    },
                    "transform": {
                        "mapping": {
                            "title": {
                                "type": "text",
                                "fields": {
                                    "ngram": {
                                        "type": "text",
                                        "analyzer": "trigram_analyzer"
                                    }
                                }
                            }
                        }
                    }
                },
                {
                    "table": "services",
                    "columns": [
                        "service_name",
                        "service_id"
                    ],
                    "relationship": {
                        "variant": "object",
                        "type": "one_to_many",
                        "through_tables": [
                            "manga_service"
                        ]
                    }
                }
            ]
        }
    }
]


RecognizesAccessKey in styles for CheckBox, RadioButton, and GroupBox

The styles for CheckBox, RadioButton, and GroupBox are missing RecognizesAccessKey="true", so keyboard navigation fails when using shortcuts (_ in front of access keys)

@thoemmi :+1:  thx


upload images from client

Get the client to upload images to the POST server endpoint before uploading the survey.

if possible, it would be helpful to include these properties into the EXIF data for each image:

lat/long coordinates from its adjusted position distance on the street
position id ("pos_id")
timestamp (should already be included)

if you're busy, this isn't urgent for this week

to my understanding, the camera app adds EXIF metadata automatically (except not the position id)

right, but GPS coordinates will be based off phone GPS, which will be
different and less accurate than the position coordinates we work out. this
isn't a need-to-have feature request, but it does enable some mapping
platforms to position the image on a map for viewing
On Wed, May 13, 2020 at 2:09 PM Peter Liu<EMAIL_ADDRESS>wrote:

to my understanding, the camera app adds EXIF metadata automatically
(except not the position id)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sharedstreets/curb-wheel/issues/59#issuecomment-628247054,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACJV446HZLKIPJCVW2IGTL3RRMEAZANCNFSM4M7AKMEQ
.

This might be challenging to hack into the EXIF data, but our survey format does support linear Span geometries, which I think is what we're looking for. This means we could go back and add them to the EXIF tag if the feature is required to be encoded in the image for any reason.

Client image uploads are implemented and working. There are some remaining issues reported on the export side, which we will continue to track there.