Converting a VisItDataCollection in serial format from an existing data collection saved in parallel (with pyMFEM).

Dear MFEM-community,
For post-processing purposes, I want to rewrite some solution saved in VistIt format from parallel to serial using pyMFEM.
My solution has been generated with MFEM v.4.5.2, and I am using pyMFEM with the same version tag to process the data.
Here is the VisItDataCollection containing mesh and a field partitioned in 20 that I use test_data.zip.
I run my code pmesh2mesh.py hereafter using mpirun --oversubscribe -np 20 python pmesh2mesh.py.
import os
import mfem.par as mfem
from mpi4py import MPI

num_procs = MPI.COMM_WORLD.size
myid = MPI.COMM_WORLD.rank

testDataFolder = '/home/path/to/test_data/'

### import of pmesh
fname = mfem.MakeParFilename(testDataFolder+'/VisIt_volume/cycle_000000/pmesh.', myid)
pmesh = mfem.ParMesh(MPI.COMM_WORLD, fname)

### loading of the pressure field from the VisIt data collection
visit_dc = mfem.VisItDataCollection(testDataFolder+'VisIt_volume/cycle')
visit_dc.SetMesh(MPI.COMM_WORLD, pmesh)
visit_dc.Load(0)
p = visit_dc.GetField("pressure")

### printing additional information on the mesh
mesh_mfem = visit_dc.GetMesh()
mesh_data = mesh_mfem.GetNodes() # .GetTrueVector()
order = int(mesh_mfem.GetNodalFESpace().FEColl().GetOrder())
dim = mesh_mfem.GetNodes().VectorDim()
dof = int(mesh_data.Size()/dim) # scalar degree of freedom, to be multiplied by number of scalar variables to have total dof
nele = mesh_mfem.GetNE() # .GetGlobalNE()
mesh_point_ordering = mesh_mfem.GetNodes().FESpace().GetOrdering() # "Ordering::byNODES=0" or "Ordering::byVDIM=1"

if myid == 0:
    print("dim="+str(dim))
    print("numb elem="+str(nele))
    print("order="+str(order))
    print("scalar dof="+str(int(dof)))
    print("pmesh_point_ordering ="+str(mesh_point_ordering))

### save the mesh in serial format
if myid == 0:
    folderList = [testDataFolder+'/VisIt_volume_serial/']
    for folderName in folderList:
        if not os.path.exists(folderName):
          os.mkdir(folderName)
MPI.COMM_WORLD.gather(myid, root=0)

pmesh.PrintAsSerial(testDataFolder+'/VisIt_volume_serial/mesh_serial')
mesh = mfem.Mesh(testDataFolder+'/VisIt_volume_serial/mesh_serial')
mesh.SetCurvature(order, False, dim, mesh_point_ordering)

### export the VisIt data collection in Serial format -- fails !
visit_dc_out = mfem.VisItDataCollection(testDataFolder+'/VisIt_volume_serial/cycle', mesh) # choosing 'pmesh' instead of 'mesh' also fails
# visit_dc.SetMesh(MPI.COMM_WORLD, mesh) # enforcing the 'mesh' or 'pmesh' via SetMesh() also throws an error
visit_dc_out.SetLevelsOfDetail(order)
visit_dc_out.RegisterField("pressure", p)
visit_dc_out.SetCycle(0)
visit_dc_out.SetTime(0)
visit_dc_out.SetFormat(mfem.DataCollection.SERIAL_FORMAT)
visit_dc_out.Save()

By choosing mesh in the constructor of visit_dc_out, the solution saved is serial, but the field saved is wrong. By choosing pmesh the solution is correctly saved but in parallel, even though the format has been enforced into serial...
Did anyone encounter this behaviour by the past ?
I use gcc-12.2.0, openmpi-4.1.5 on ubuntu 22.04 and my python environment has been installed with miniconda3. I do not know if this issue is MFEM or pyMFEM related... I hope I'm posting on the right place !
Many thanks
Étienne

Hi @etiennespieser, I think ParGridFunction::GetSerialGridFunction can be used for this purpose, but this method somehow causing a segfault for me. I am asking this in #3965. Please stay tuned ;D

For now, can you try using ParGridFunction::SaveAsSerial. This one doesn't fail at least in my environment.  Thus, you could save a serial GridFunction and load it, as below. (Ideally, it is better to do it without file access). But, so far I am having a problem of generating a serial GridFunction itself)
smesh = pmesh.GetSerialMesh(0)
p.SaveAsSerial(testDataFolder+'/VisIt_volume_serial/pressure_serial', 8, 0)
if myid == 0:
   smesh.Print(testDataFolder+'/VisIt_volume_serial/mesh_serial')
   smesh.SetCurvature(order, False, dim, mesh_point_ordering)

   sp = mfem.GridFunction(smesh, testDataFolder+'/VisIt_volume_serial/pressure_serial')

### export the VisIt data collection in Serial format -- fails !
   visit_dc_out = mfem.VisItDataCollection(testDataFolder+'/VisIt_volume_serial/cycle', smesh) # choosing 'pmesh' instead of 'mesh' also fails
   visit_dc_out.SetLevelsOfDetail(order)
   visit_dc_out.RegisterField("pressure", sp)
   visit_dc_out.SetCycle(0)
   visit_dc_out.SetTime(0)
   visit_dc_out.SetFormat(mfem.DataCollection.SERIAL_FORMAT)
   visit_dc_out.Save()

Hi @sshiraiwa,
I tried to follow https://github.com/mfem/mfem/issues/3965, thanks for digging further into the issue and reporting it.
I tried your solution, but my code returned the following error:
AttributeError: 'GridFunction' object has no attribute 'SaveAsSerial'

It seems that ParGridFunction::SaveAsSerial is not yet available in the released version of pyMFEM (I couldn't find it here: https://github.com/mfem/PyMFEM/blob/master/mfem/_par/pgridfunc.i ). Could you please confirm this? (I am eager to be up-to-date with my version of pyMFEM, it's such a nice add-on to MFEM !)
In the meantime, I could figure a way around my problem by using mfem.FindPointsGSLIB() to export in parallel the data I needed, and the problem I reported in opening this ticket is no longer an issue for the time being.

Yes. In fact, this was added to MFEM after 4.5.2 release. I am glad that you have a workaround since PyMFEM 4.6 is still in progress. It is in mfem_46_dev. While we still need to go a few steps (https://github.com/mfem/PyMFEM/issues/197), you could try it, if needed in future.

OK, thanks for the confirmation. Needless to say, I'll be keeping an eye on pyMFEM as it matures. Good luck with its future developments.


fix: Content-type separtor use ';' instead of ','

https://www.w3.org/Protocols/rfc1341/4_Content-Type.html

@toyah a PR would be most welcomed 👍


Add a section to the README.md on testing

Added a simple section on running the tests with Nix flakes. I'm not really sure how to run tests otherwise (a.k.a. use a default.nix, so I can look into that) but I think this is a good start.

I think this should be added under a Development section.

Expanded to a Development section at the end with Building and Testing. Might recommend adding a CONTRIBUTING.md file and corresponding section for it.


restructure docs

Codecov Report

Merging #5015 into master will decrease coverage by -0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #5015      +/-   ##
============================================
- Coverage     82.44%   82.42%   -0.03%
- Complexity    10683    10684       +1
============================================
  Files          1291     1291
  Lines         44477    44477
  Branches       5650     5650
============================================
- Hits          36671    36662       -9
- Misses         5157     5172      +15
+ Partials       2649     2643       -6

Impacted Files
Coverage Δ
Complexity Δ

...ration/collect/collectors/OrderedDocCollector.java
75% <0%> (-25%)
5% <0%> (-2%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
80% <0%> (-15%)
2% <0%> (ø)

...ate/operation/projectors/SortingTopNProjector.java
82.5% <0%> (-12.5%)
12% <0%> (-2%)

...io/crate/protocols/postgres/types/VarCharType.java
91.66% <0%> (-8.34%)
10% <0%> (-1%)

core/src/main/java/io/crate/types/ArrayType.java
73.84% <0%> (-7.7%)
24% <0%> (-2%)

...src/main/java/io/crate/jobs/UpsertByIdContext.java
77.5% <0%> (-7.5%)
8% <0%> (ø)

...transport/executionphases/ExecutionPhasesTask.java
92.52% <0%> (-2.81%)
23% <0%> (ø)

...rc/main/java/io/crate/blob/BlobTransferTarget.java
84.1% <0%> (-2.65%)
25% <0%> (ø)

...er/src/main/java/io/crate/sql/tree/AstVisitor.java
30.5% <0%> (-2.55%)
36% <0%> (-3%)

...ticsearch/indices/recovery/BlobRecoverySource.java
71.25% <0%> (-2.5%)
6% <0%> (ø)

... and 20 more

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 2b30ca3...deff2b7. Read the comment docs.


Mentors Section Added In README.md

Issue Title: DOC: Adding Mentors in the Mentors Section of readme.MD
Issue Number: #799
Fixes Issue
Closes #799
Changes proposed

An additional section in README.md file has been added mentioning the Mentors of this project.
A table has been created mentioning the names of the Mentors along with their Github Profile Links.

Screenshot of the same is provided below:

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Links are not working properly reverting it back


Changed CC Pool LP withdraw to use an input of Shares

Coverage increased (+0.3%) to 94.718% when pulling 46bc09b3d94abfa2a5afcd3b14e488f88bc49b65 on paul/refactor/pool_lp into 339d02b49108cde4a9940ea2838bac2e8200575a on main.


updated 1-execute-query-mutation to using useReducer hook

Per https://github.com/FormidableLabs/reason-urql/pull/71#issuecomment-504480956

Done.

@all-contributors add @idkjs for code, example.


Fix audit comments

chore: fix CEI in register unclaims
chore: add events to TokenRegistry
chore: update zk-email contract version
chore: make dkim reg multi

Thank you for your updates!
I found the following problems.

In the new implementation, an unclaimed state is deleted only if the claimUnclaimedState or voidUnclaimedState functions succeed. Also, their msg.sender can receive gas reimbursement even if they failed. In that case, our contract needs to accumulate how much fees are paid by the failed calls for each unclaimed fund/state. However, it is too complex now, so I think it is fine that the extension developer has a responsibility to ensure that the claim and void function always succeed.
ECDSAOwnedDKIMRegistry.sol should store the used signature instead of the public key hash. For example, if the gmail.com issues two selectors (two public keys) but the first one is still used for the users' emails, someone can upgrade the public key for gmail.com to the second one (not-used public key). We cannot revert it to the first one if the used public key hash is rejected. If we check the used signature instead, a malicious user can set the same public key hash with different signatures, but it is not a serious issue since that user needs to pay gas to request a new signature to the dfinity DNS oracle and set it on-chain.

Thank you.

Yes, this problem is there, but we cannot stop sending gas reimbursement because the extension call failed. Do you think we need to make any changes from what we have now?

Yes this was done with assumption that one email provider has only one valid key at a time, and old dkim keys should not be valid again (in case the private key was leaked) - but this is no longer valid. I will change this to array format and add a function for nullification.

Do you think we need to make any changes from what we have now?
We have to either of the following modifications.

The claim and void functions can be called only once. Even if it fails, the unclaimed state is deleted.
While the unclaimsHandler deletes the unclaimed state only when the claim or void functions successes and the fees are reimbursed anytime, it manages a value paidFeeSum, how much fees are already paid for each unclaimed state. Also, if the consumed fee is larger than the unclaimedStateClaimGas*maxFeePerGas - paidFeeSum, it only reimburses unclaimedStateClaimGas*maxFeePerGas - paidFeeSum to the msg.sender. Anyway, we need to ensure that the total amount of the paid fee is less than or equal to unclaimedStateClaimGas*maxFeePerGas, otherwise, an adversary can exploit funds from the unclaimsHandler contract that the amount that the adversary paid.

Although the extension contract has a responsibility to ensure that the claim and void functions always successes, I think the former is fine now.

but this is no longer valid. I will change this to array format and add a function for nullification.
Thank you very much!

Do you think we need to make any changes from what we have now?
We have to either of the following modifications.

The claim and void functions can be called only once. Even if it fails, the unclaimed state is deleted.
While the unclaimsHandler deletes the unclaimed state only when the claim or void functions successes and the fees are reimbursed anytime, it manages a value paidFeeSum, how much fees are already paid for each unclaimed state. Also, if the consumed fee is larger than the unclaimedStateClaimGas*maxFeePerGas - paidFeeSum, it only reimburses unclaimedStateClaimGas*maxFeePerGas - paidFeeSum to the msg.sender. Anyway, we need to ensure that the total amount of the paid fee is less than or equal to unclaimedStateClaimGas*maxFeePerGas, otherwise, an adversary can exploit funds from the unclaimsHandler contract that the amount that the adversary paid.

Although the extension contract has a responsibility to ensure that the claim and void functions always successes, I think the former is fine now.

Just to make sure I understand correctly, you mean we have two options and we should be going with option 1 for simplicity. In this case, we can keep what we have now.
So if the claim() or void fails msg.sender still gets money, but we dont delete unclaimedState. If someone want to try later without gas reimbursement, they can still do it.
However relayer will need to keep a list of claims() they "tried" to not try again.
What do you think? If its complex I can delete it always (revert the commit and keep the original).

Just to make sure I understand correctly, you mean we have two options and we should be going with option 1 for simplicity.
Yes, it is correct.

What do you think? If its complex I can delete it always (revert the commit and keep the original).
I don't think we have to support the second call without gas reimbursement because it is rare that the first call fails but the second one successes.
Sorry for confusion and not finding the above points before you updated the implementation, could you revert those changes?

Yea, the failing later thing happen when gas was not enough first time, etc like the auditor said. But its still rare.
I will revert.

the failing later thing happen when gas was not enough first time, etc like the auditor said. But its still rare.

So, should we prevent that case as follows?

gasleft() is larger than unclaimedStateClaimGas .
unclaimedStateClaimGas*maxFeePerGas is larger than the balance of msg.sender.

I think what we have now (in this PR without revert) is better. i.e delete only if it succeed. This way it anyone can retry claim without gas reimbursement; and also its possible to void after the expiry.
If we delete unclaim without successful claim, then nobody can void it later.

I think I will revert the commit. We can assume the extension always succeed.
One problem is no one can void unclaimedState that was not successful in claim
So extension will have to send the unclaimedState back to the sender through other mechanism

One problem is no one can void unclaimedState that was not successful in claim
So extension will have to send the unclaimedState back to the sender through other mechanism.

Yes.
For example, if the extension sends tokens to the recipient's wallet in the claim function, it also needs to catch the error of that transfer and send the tokens to the sender's wallet if the error is caught.
We should simplify such protections in the email-wallet-sdk.

Ok, so the solution for now would be to revert the change, and make claim only callable once. And its the duty of extension to maintain consistency and not fail.
Correct?

@SoraSuegami I have reverted it, and added multiple option for dkim pubkey hashes. Please check the last 3/4 commits.
Associated PR - https://github.com/zkemail/zk-email-verify/pull/130/files

For the DKIM registry, is it more efficient to use mapping(string => mapping(bytes32 => bool)) registeredPublicKeyHashOfDomain instead of mapping(string => bytes32[]) public dkimPublicKeyHashes?

When we are checking for valid keys, we would need to iterate over the whole array to see of the key exists.

I don't understand why we cannot check it by registeredPublicKeyHashOfDomain [domainName][publicKeyHash] == true in the isDKIMPublicKeyHashValid  function.

I don't understand why we cannot check it by registeredPublicKeyHashOfDomain [domainName][publicKeyHash] == true in the isDKIMPublicKeyHashValid  function.

We can check this now because its a mapping.

Ah sorry, my bad. I used array at first and then changed it later to mapping. But looks like I didnt change it right commit or its not pushed. I see array in that PR as well. I will update now.

Thank you for your updates!
I will merge your commits.


About the pdf you had uploaded on arxiv.org

Hello,
Thank you for your excellent work, but the PDF file you had uploaded on arxiv has some problems (not shown on pages 11-14) , could you fix it?

sorry, the issue has been resolved. That's just the problem with my PDF reader software.


[CELEBORN-729] Fix typo PbRegisterShuffle#numMappers

What changes were proposed in this pull request?
Fix typo numMapppers, should be numMappers
Why are the changes needed?
Fix typo
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Protobuf serde depends on message field seq no, not name.

Is it compatibility ok to change field name?

Changing a field name will not affect the protobuf encoding or compatibility between applications that use proto definitions which differ only by field names.


feat: solve #1076 , #436

Note: there is no deprecation warning.
Note: there are still places where projectType is said to be default not custom

Hi @kmdrGroch Could you create a separate PR for #1076? That makes it easier to review since there are 3.000 changed lines in this pull request.
This also makes it easier for us to release the pull request since our changelog and version change is based on the commit messages. So if I would merge this one pull request, then every package would go a minor version up and every package will have a changelog entry saying the project property has been renamed.

@simondel I'll be able to do it tonight. If it is possible could you first merge this big change? It is mostly style changing then we will be able to work on #1076 easily

@kmdrGroch I think it will take me about one week to review the big change.


'etcdctl role list' and 'etcdctl user list' return "cannot marshal object" error.

Running Etcd 2.2, and attempting to configure authentication. Users and roles are able to be added, but cannot be listed. Trying to list users or roles returns the error "json: cannot unmarshal object into Go value of type string".
This issue has also been found to exist in the 2.3 alpha release.
Full command line output:

<EMAIL_ADDRESS>user list
json: cannot unmarshal object into Go value of type string

Can you please file against github.com/coreos/etcd instead? all etcdctl development has moved there. Thanks.


feat: initial module Grafana.

Description
Closes: https://github.com/Azure/bicep-registry-modules/issues/260

If you haven't already, read the full contribution guide. The guide may have changed since the last time you read it, so please double-check.
Enable GitHub Worksflows in your fork to enable auto-generation of assets with our GitHub Action.
To trigger GitHub Actions after auto-generation, add a GitHub PAT as a secret in your forked repository called PAT.
Adding a new module

[x] A proposal has been submitted and approved.
[x] I have included "Closes #{module_proposal_issue_number}" in the PR description.
[x] I have run brm validate locally to verify the module files.
[x] I have run deployment tests locally to ensure the module is deployable.

Updating an existing module

[ ] This is a bug fix:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] I have run brm validate locally to verify the module files.
[ ] I have run deployment tests locally to ensure the module is deployable.
[ ] I have read the Updating an existing module section in the contributing guide and updated the version.json file properly:

[ ] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json.
[ ] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] The PR contains breaking changes, and I have bumped the MAJOR version in version.json.

[ ] I have updated the examples in README with the latest module version number.

@dciborow  @shenglol please review:
will please check below error, on my subscription works!

##[error]New-AzResourceGroupDeployment: 5:38:31 PM - The deployment 'main.test' failed with error(s). Showing 3 out of 3 error(s).
Status Message: The subscription is not registered to use namespace 'Microsoft.Monitor'. See https://aka.ms/rps-not-found for how to register subscriptions. (Code: MissingSubscriptionRegistration)
 - The subscription is not registered to use namespace 'Microsoft.Monitor'. See https://aka.ms/rps-not-found for how to register subscriptions. (Code:MissingSubscriptionRegistration)
Status Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details. (Code: DeploymentFailed)
 - The subscription is not registered to use namespace 'Microsoft.Dashboard'. See https://aka.ms/rps-not-found for how to register subscriptions. (Code: MissingSubscriptionRegistration)
   - The subscription is not registered to use namespace 'Microsoft.Dashboard'. See https://aka.ms/rps-not-found for how to register subscriptions. (Code:MissingSubscriptionRegistration)
Status Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details. (Code: DeploymentFailed)
 - The subscription is not registered to use namespace 'Microsoft.Monitor'. See https://aka.ms/rps-not-found for how to register subscriptions. (Code: MissingSubscriptionRegistration)
   - The subscription is not registered to use namespace 'Microsoft.Monitor'. See https://aka.ms/rps-not-found for how to register subscriptions. (Code:MissingSubscriptionRegistration)
CorrelationId: 2e2ce9a0-fe96-4aee-a4ce-4a4b91af5dc3

/azp run

/azp run


Create LICENSE

This PR adds the Apache-2.0 License to the project, so that it can become an open source project.


Ingest seeds

Seeds will be not be assigned a domain unless they are associated with a domain from the models' domain grouping
Here's an example
We have ~57 seeds and seed databases

Most seeds are in domains existing in models - only 2 tables aren't, grouped under "date".
Do you mean to put ALL seeds as general, or just those without a domain defined in models ie just the date ones?

I have opened a PR on the cadet side to fix it https://github.com/moj-analytical-services/create-a-derived-table/pull/2106


Fix readme and src/readme description

Now the internal implementation is something different. Maybe we should change the name too.

No, it’s still implements the same thing. Implementation isn’t relevant in this case IMO

:tada: This issue has been resolved in version 1.1.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FEATURE]: [Bitpay] Use connector_response_reference_id as reference to merchant

:memo: Feature Description

Reference id are used to map transactions in the connector’s dashboard.
Hyperswitch manages several reference ids, such as payment_id, attempt_id, and connector_transaction_id for a single transaction.
However, merchants may encounter uncertainty when determining which ID to utilize in the connector dashboard to identify the payment.

:hammer: Possible Implementation

When we receive a response from the connector for the payment, we deserialize it and populate the response field in RouterData.
For the TransactionResponse type, we must fill the connector_response_reference_id with a corresponding reference id for the merchant to identify the transaction.
One might need to have exposure to api docs of the connector for which it is being implemented to decide what to fill in connector_response_reference_id.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/1735

🔖 Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

I'm happy to work on this issue, so kindly assign me this issue.
Thanks

Hey @tarunsinghofficial, since you're already assigned to #2332, we'll leave this open to other contributors for now. You may pick this up once your work on #2332 is completed, and if no other contributors have expressed interest on this. I hope that's fine by you.

Hey @SanchithHegde I'd like to work on this issue. Please assign it to me.

Hey @ashh1215, sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with

Hey @ashh1215 ,
Let us know if you face any issues. Happy to help! : )

Hey @VedantKhairnar
So I was going though the Bitpay documentation to figure out what they're using as the reference id.
Problem is that I've gone through a lot of different areas in the documentation, but haven't been able to find one place where all the variables that are being used in the Hyperswitch code match with those present in the documentation.
I wanted to know whether to proceed with whatever I've found, or whether you could guide me to the correct documentation.

Hello @ashh1215 you can go through the invoice section of this Bitpay's API reference doc to check how we are interacting with their API.

Hey @ashh1215 ,
Just checking in - are you working on it?
Let us know if you need any help.

Hey @VedantKhairnar
Yeah, I'm working on it. I should be done soon.

Hey @ashh1215  ,
Just checking in - are you working on it? Do you need help from our side?

Hey @deepanshu-iiitu
I made a PR around a week ago which should close this issue. It hasn't been reviewed yet though.


A finished filtering event ?

In the sortFilterPoxyModel, it is not possible to know when these one has finished the filtering of an input list that has just been changed which for example doesn't allow the positionning of a listView on modification of the input list.
To realize that, follow these steps:
- Modification of the input list of the sortFilterPoxyModel on user's action
- Tracing of the input list changed event
- Tracing of the contentHeightChanged event of the listView
After the input list change event, we observe that few contentHeightChanged events are thrown which means that the filtering is still running.
The problem is that we can't know when this filtering is finished which doesn't allow to perform actions successive to input list changing.
A nice solution would be to throw an event after the filtering is done.
Best regards

Hello,
I don't think that's possible.
I'm guessing the reason why you are getting multiple contentHeightChanged signals is because your model is sorted. So for one pair of rowsAboutToBeInserted/rowsInserted signals in the source model, the proxy model has to send multiple ones so they can be contiguous.
This behaviour is needed and is done here in Qt source code: https://github.com/qt/qtbase/blob/v5.9.1/src/corelib/itemmodels/qsortfilterproxymodel.cpp#L683-L727
From our point of view we can only know when filterAcceptRows is called, and not much else.
Maybe you could try with a hack where you connect to the source model rowsInserted signal, wait a tick of the event loop (with Qt.callLater, or a 0 ms timer?) to make sure the inserted rows are sorted/filtered, and then run your code.
Or you could rethink your reasons why you need that. What's your usecase?


How to addd a gradient as a color in a ProgressBar.Line?

It is not possible with this library. See https://github.com/kimmobrunfeldt/progressbar.js/issues/139.
You can smoothly transition the color of the whole progress bar, but not the line as with a gradient color.

Hi! a few hours ago I finally resolved this.
let lineBar = document.querySelector('#line-progress')

let bar = new ProgressBar.Line(lineBar, {
  color: 'url(#gradient)', // pass the id of the lineGradient defined
  ...
})

// Define a linearGradient element
// Notice that the "gradientUnits" attribute is set to "userSpaceOnUse" this is important to work properly
let linearGradient = `
  <defs>
    <linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0%" gradientUnits="userSpaceOnUse">
      <stop offset="20%" stop-color="tomato"/>
      <stop offset="50%" stop-color="purple"/>
    </linearGradient>
  </defs>
`

// append the lineGradient to svg
bar.svg.insertAdjacentHTML('afterbegin ', linearGradient);

Oh cool! Thanks for sharing.

@eBaeza - Please update final line:
bar.svg.insertAdjacentHTML('afterBegin', linearGradient);

@waxxxd the following lines are no needed
19   circle.path.setAttribute('stroke', state.color);
20   circle.path.setAttribute('stroke-width', state.width);

Another possible solution is to add the SVG in the HTML

The JS would look like this:
window.onload = function onLoad() {
var circle = new ProgressBar.Circle('#gallons-indicator', {
color: 'url(#progress-gradient)',
duration: 3000,
easing: 'easeInOut',
strokeWidth: 4
});
circle.animate(1);

var ctx = document.getElementById("canvas").getContext("2d");
window.myLine = new Chart(ctx, config);

};


Azure app link is down

Yes thanks, I know :)
Actually my trial has expired and the deployment is down.
I've moved my Azure account to "pay as you go" now.
I'm trying to put it online again but I think this is buggy and I'll actually need to create a brand new deployment to fix this.
The experience with Azure has not been so great for me, it's a bit more complicated than other platforms to deploy a static site.

@slorber would be happy to help unblock you, can you share more about the issue you're seeing?


Add CORS header to allow serving of files from different hosts

This PR contains a:

[x] bugfix
[x] new feature

Motivation / Use-Case
I'm having a server side prerendered React application running on port 8500 and serve files which are built using webpack-serve in CLI mode on port 8080. That results in an error:

Failed to load http://localhost:8080/static/70a4aeb6b1596bc852d3.hot-update.json: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8500' is therefore not allowed access.

I was wondering if I'm using it incorrectly since I found nobody with similar issues here in the issue board but adding a simple Access-Control-Allow-Origin: * header fixed it for me.
Breaking Changes
Content is now served with Access-Control-Allow-Origin: * which in production environments might be a security risk but since webpack-serve is typically only used in dev environments I don't think this is critical.

Thanks for the PR 🍺  This can actually be achieved using the add configuration option. Have you given that a shot?

Didn't see a way to use add only on the commandline but I've just seen that there's a serve.config.js option which works fine with the following content (in case somebody else is looking for a similar solution):
module.exports = {
    add: (app, middleware) => {
        app.use((ctx, next) => {
            ctx.set('Access-Control-Allow-Origin', '*');
            next();
        });
        middleware.webpack();
        middleware.content();
    },
};

So I guess you can just close this PR 🙂

awesome. glad you got it sorted. is there an opportunity here for clearer documentation?

I think I read that in another issue, but the closure in app.use should really return next().
add: (app, middleware, options) => {
    app.use((ctx, next) => {
        ctx.set('Access-Control-Allow-Origin', '*');
        return next();
    });

    middleware.webpack();
    middleware.content();
}


Salesforce CRM (destination) Initial commit

Created a new folder crm under help\destinations\catalog\crm to which the Salesforce CRM destination connector has been added.
Note have not added an overview.md file, kindly suggest if an overview page is required and which existing page I can leverage as a base template.

Thanks @vfalon have incorporated all changes except for the last one.  Marked a resolved / commented against the reviews.

https://experienceleague.adobe.com/docs/experience-platform/destinations/catalog/crm/salesforce.html?lang=en


readme

from readme.md :
This is not an actively-developed project as of now, meaning don't expect much stuff now, I might start working on it again, although it works for me so I use it, anyways, I'm rlly sorry, kthxbye :)

2023/10/26 -- the project is not in development, if u wanna go fork this project, fix any feature losses and improve the project as a whole, currently its dead and i just hold it at a state of 'if it works for me it works for everyone', feel free to advertise ur forks in issues and solve the issues reported there, thanks

final release 2024/01/02 : https://github.com/TruncatedDinoSour/arigram/releases/tag/v0.1.8
thanks everyone

hey, as this issue is still open i'd like to make it clear that this project has had its final release and i encourage to go find or start other arigram forks
https://github.com/TruncatedDinoSour/arigram/releases/tag/v0.1.8
https://github.com/TruncatedDinoSour/arigram/forks
https://github.com/TruncatedDinoSour/arigram/#featured-forks


Can we use dependency check plugin to only analyze the dependencies contained in the jar

I am running dependency check plugin from the command line as "mvn verify org.owasp:dependency-check-maven:5.2.4:check" to generate a CVE report.
I am only concerned with CVEs that show in the jars that are deployed.
but I think the dependency check plugin analyzes everything in the pom and doesn't look at the jar.
Is it possible to use dependency check plugin in a way, it only analyzes the dependencies contained in the jar?

You can specify to skip certain scopes using any of skipProvidedScope...skipTestScope see https://jeremylong.github.io/DependencyCheck/dependency-check-maven/configuration.html or you can use the commandline version to point to your jar file


feat: thrift-gen-rpc-swagger plugin

What type of PR is this?

feat
Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.
[ ] Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):
thrift-gen-rpc-swagger 插件
(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

其他的 repo 我没有看，可能也有类似的小问题。你先解决一个后续统一一下吧

cc @EZ4Jam1n


Add new hook for message bit manipulation (namely, encryption)

IMessageMutator - works on a message object being sent out, not appropriate
IMessageSerializer - Technically this interface works though the name isn't intuitive
If IMessageSerializer could be set at a per-topic level it could be re-used, and ties into #5 and #6.
Need to determine if another bit-manipulator is needed post serialization or if allowing more fine grained serialization settings (which we want for XML/JSON anyway) would be appropriate.

For now IMessageSerializer seems appropriate. May revisit.


getUserFnMap findCall blowing the call stack for certain programs

I busted down a more complex example and came up with this minimal test case:
(defn fn1 [arg1]
  (.x arg1)
)

(defn fn2 [arg2]
  (.y arg2)
)

This dies here:
ERROR in transforms.getUserFnMap RangeError: Maximum call stack size exceeded
    at baseIsEqual (http://localhost:3000/javascripts/vendor.js:10259:25)
    at Function.isEqual (http://localhost:3000/javascripts/vendor.js:11548:14)
    at findCall (http://localhost:3000/javascripts/aether.js:24374:15)
    at findCall (http://localhost:3000/javascripts/aether.js:24384:24)
    at resolveVal (http://localhost:3000/javascripts/aether.js:24408:21)
    at findCall (http://localhost:3000/javascripts/aether.js:24373:16)
    at findCall (http://localhost:3000/javascripts/aether.js:24384:24)
    at resolveVal (http://localhost:3000/javascripts/aether.js:24408:21)
    at findCall (http://localhost:3000/javascripts/aether.js:24373:16)
    at findCall (http://localhost:3000/javascripts/aether.js:24384:24)

Put a "non-matching" function before or between and there is no error...
(defn fn0 [a b]  (* a b))
(defn fn1 [arg1] (.x arg1))
(defn fn2 [arg2] (.y arg2))

or
(defn fn1 [arg1] (.x arg1))
(defn fn0 [a b]  (* a b))
(defn fn2 [arg2] (.y arg2))

Move that non-matching function (in this case "fn0") to after the "fn{1|2}" and it is back to the error...

Uh oh, it's happening in JavaScript, too.
this.chooseTarget = function(friend) {
    this.say(friend);
    var nearest = friend.findNearestEnemy();
};

this.commandFriend = function() {
    this.chooseTarget();
};

@differentmatt no way am I going to be able to get this one before reproducing, and we are probably going to see it more and more as we get into all these function-based levels. Wanna check it out sometime in early May?

Yup, I'll take a look.

OK, now I'm getting a similar: ERROR in transforms.getUserFnMap
ERROR in transforms.getUserFnMap RangeError: Maximum call stack size exceeded
    at Array.toString (native)
    at h (http://direct.codecombat.com/javascripts/aether.js:2580:15)
    at s (http://direct.codecombat.com/javascripts/aether.js:2576:70)
    at s (http://direct.codecombat.com/javascripts/aether.js:2577:103)
    at h (http://direct.codecombat.com/javascripts/aether.js:2581:294)
    at s (http://direct.codecombat.com/javascripts/aether.js:2576:70)
    at s (http://direct.codecombat.com/javascripts/aether.js:2577:103)
    at h (http://direct.codecombat.com/javascripts/aether.js:2581:294)
    at s (http://direct.codecombat.com/javascripts/aether.js:2576:70)
    at s (http://direct.codecombat.com/javascripts/aether.js:2577:103)

I have scrunched my code down to the following:
(defn fn1 [arg1] (.x arg1))
(defn fn2 [arg1] (.x arg1))

It is not simply that the two functions are "idenitical" as my original functions are not and here is the mini-example:
(defn fn1 [arg1] (.x arg1))
(defn fn2 [arg1 arg2] (.x arg1) (.x arg2))

There is now something about the first lines/statements being identical.....
Making the first statement different is enough to get rid of the error:
(defn fn1 [arg1] (.x arg1))
(defn fn2 [arg1] (.y arg1))

Dang, I "lied" it only gets rid of it for the scrunched example, in my full code I still get the error, even though the fix couple of lines are different in my functions.

From @Vlevo

my default code for What in Carnation - Clojure, has the problem, but not Python, or Javascript  (I wrote the default code in Clojure then translated to python then that to javascript.)

I won't be able to look at this anytime soon, unless there is a common case in Python or JavaScript.

OK, I tried boiling down the aether output for my clojure code above, but that is so full of tmp this that and the other that I instead boiled down the output of Clojure.js and removed everything that didn't cause the error... (the aether output is of course the same just broken down into more tmps and so is harder to boil down)
I end up with this:
fn1 = function (arg1) {return arg1.x();};
fn2 = function (arg1) {return arg1.x();};

This comes from the following:
var fn1 = function (arg1) {
    return typeof arg1['x'] === 'function' && arg1['x'].length === 0 ? arg1['x']() : arg1['x'];
};
var fn2 = function (arg1) {
    return typeof arg1['x'] === 'function' && arg1['x'].length === 0 ? arg1['x']() : arg1['x'];
};

For some reason it thinks that "arg1.x" is a function "arg1.x()" and not a property "arg1.x"
This happens during the "compile" step so it doesn't matter what you are trying to pass into "arg1" (or if you ever try at all).

This is a "problem" in the javascript handling of calls to unassigned functions.
I found it because of how Clojure.js wraps up the (.x arg1) but still exists in javascript.
function peasant(id, callFunc) { return id.callFunc();}
function soldier(id, callFunc) { return id.callFunc();}

My intention is to use a loop on peasants or soldiers and call my function to call the peasant/soldiers functions.  Dumb, stupid, round about coding does not make it an non-existent error. :stuck_out_tongue_winking_eye:
Or maybe you'd prefer this snippet I stole from stackoverflow and doubled the function to produce the error :smile:
function addContact(id, refreshCallback) {
    refreshCallback();
    // blah blah
}

function remContact(id, refreshCallback) {
    refreshCallback();
    // blah blah
}

function refreshContactList() {
    alert('Hello World');
}

is Coffescript good enough?
I was trying to find the cause of one of the really funky errors in coffescript

so I started from scratch (empty) and pasted in my functions one at a time hoping to narrow done where I get my error and Hey, that looks familiar, but it starts with a different error:
Javascript console:
Simple loop not implemented for CoffeeScript
aether.js:21189 escodegen couldn't handle t.(anonymous function) {type: "Program", attr: Object, body: Array[1]}
gave error: Error: Invalid mapping: {"generated":{"line":64,"column":30},"source":"plan","original":{"line":0,"column":0},"name":"accum$"}
aether.js:24500 ERROR in transforms.getUserFnMap RangeError: Maximum call stack size exceeded
    at Array.toString (native)
    at h (http://codecombat.com/javascripts/aether.js:2581:8)
    at s (http://codecombat.com/javascripts/aether.js:2576:70)
    at s (http://codecombat.com/javascripts/aether.js:2577:103)
    at h (http://codecombat.com/javascripts/aether.js:2581:294)
    at s (http://codecombat.com/javascripts/aether.js:2576:70)
    at s (http://codecombat.com/javascripts/aether.js:2577:103)
    at s (http://codecombat.com/javascripts/aether.js:2577:103)
    at h (http://codecombat.com/javascripts/aether.js:2581:294)
    at s (http://codecombat.com/javascripts/aether.js:2576:70)

not boiled down Coffeescript code
twoPi = 2 * Math.PI

@drawPolyStars = (center, radius, sides, skips, startAngle) ->
  angle = startAngle
  x = center.x
  y = center.y
  @toggleFlowers false
  loops = skips + 1
  stepAngle = loops * (twoPi / sides)
  if skips != 0 and (sides % loops) == 0
    loops = skips
  endAngle = (twoPi * loops) + startAngle
  while angle <= endAngle
    newX = x + radius * Math.cos(angle)
    newY = y + radius * Math.sin(angle)
    @moveXY newX, newY
    @toggleFlowers true
    angle += stepAngle

@drawPolygon = (center, radius, sides, startAngle) ->
  @drawPolyStars center, radius, sides, 0, startAngle

@drawSpokes = (center, radius, sides, startAngle) ->
  x = center.x
  y = center.y
  endAngle = twoPi + startAngle
  stepAngle = twoPi / sides
  angle = startAngle
  while angle < endAngle
    newX = x + radius * Math.cos(angle)
    newY = y + radius * Math.sin(angle)
    if<EMAIL_ADDRESS>== int(x) and<EMAIL_ADDRESS>== int(y)
      @toggleFlowers true
      @moveXY newX, newY
    else
      @toggleFlowers false
      @moveXY newX, newY
      @toggleFlowers true
      @moveXY x, y
    @toggleFlowers false
    angle += stepAngle

redX = {x: 28, y: 36}
whiteX = {x: 60, y: 36}

# --------------------------------------------------

@drawPolygon redX, 10, 6, twoPi/4

Hmm, I wonder if that would happen if I slowly pasted in my javascript functions...
no :frowning:  . . . WAIT . . . Clojure and coffescript are "this/@ -> hero" languages, where javascript is not.
Ha . . . if I use this.function, so I can use this -> hero, I don't get the error, but if I write "regular" functions and pass in "this" . . . YES!!...
ERROR in transforms.getUserFnMap RangeError: Maximum call stack size exceeded
    at Array.toString (native)
    at h (http://codecombat.com/javascripts/aether.js:2580:15)
    at s (http://codecombat.com/javascripts/aether.js:2576:70)
    at h (http://codecombat.com/javascripts/aether.js:2581:294)
    at s (http://codecombat.com/javascripts/aether.js:2576:70)
    at s (http://codecombat.com/javascripts/aether.js:2577:103)
    at h (http://codecombat.com/javascripts/aether.js:2581:294)
    at s (http://codecombat.com/javascripts/aether.js:2576:70)
    at s (http://codecombat.com/javascripts/aether.js:2577:103)
    at h (http://codecombat.com/javascripts/aether.js:2581:294)

Actual Code:
var twoPi = 2 * Math.PI;

drawPolyStars = function(center, radius, sides, skips, startAngle, me) {
    me.toggleFlowers(false);
    var angle = startAngle;
    var x = center.x;
    var y = center.y;
    var hoops = skips + 1;
    var stepAngle = hoops * (twoPi / sides);
    if(skips !== 0 && (sides % hoops) === 0) {
        hoops = skips;
    }
    var endAngle = (twoPi * hoops) + startAngle;
    while(angle <= endAngle) {
        var newX = x + radius * Math.cos(angle);
        var newY = y + radius * Math.sin(angle);
        me.moveXY(newX, newY);
        me.toggleFlowers(true);
        angle += stepAngle;
    }
};

drawPolygon = function(center, radius, sides, startAngle, me) {
    me.drawPolyStars(center, radius, sides, 0, startAngle, me);
};

drawSpokes = function(center, radius, sides, startAngle, me) {
    var x = center.x;
    var y = center.y;
    var endAngle = twoPi + startAngle;
    var stepAngle = twoPi / sides;
    var angle = startAngle;
    while(angle < endAngle) {
        var newX = x + radius * Math.cos(angle);
        var newY = y + radius * Math.sin(angle);
        if((me.pos.x|0) == (x|0) && (me.pos.y|0) == (y|0)) {
            me.toggleFlowers(true);
            me.moveXY(newX, newY);
        } else {
            me.toggleFlowers(false);
            me.moveXY(newX, newY);
            me.toggleFlowers(true);
            me.moveXY(x, y);
        }
        me.toggleFlowers(false);
        angle += stepAngle;
    }
};

redX = {x: 28, y: 36};
whiteX = {x: 60, y: 36};

OK, what about Python... (a "self -> hero" lang)
Nope, you? ( @differentmatt ) wrote it better :smiley: I can't get it to fail like the others, good job.

Confirmed this code yields call stack error:
fn1 = function (arg1) { return arg1.x(); };
fn2 = function (arg1) { return arg1.x(); };

ERROR in transforms.getUserFnMap RangeError: Maximum call stack size exceeded

+1

Fixed with @basicer's new Esper interpreter, since we no longer do the post-normalization transform that uses getUserFnMap.


migrate to SafeLogging in org.apache.cassandra.gms

Mark logging arguments as Safe or Unsafe in org.apache.cassandra.gms.
This PR also wraps all calls to logger.debug() in an if (logger.isDebugEnabled()) check.
For reviewers, please confirm that you agree with my choices for SafeArgs.

arguments look good to me!
there's a lot of logger.isDebugEnabled() and logger.isTraceEnabled() can we refactor into a maybeDebugLog(logger, message, safeArgs) and similar

also wondering if it's wrong to just maintain previous behavior and not include any new if(logger.isXEnabled)s

there's a lot of logger.isDebugEnabled() and logger.isTraceEnabled() can we refactor into a maybeDebugLog(logger, message, safeArgs) and similar

I believe the problem here is that we want to avoid the allocation of the SafeArg, since these may be on fairly hot paths, and there's not a cleaner/clearer way to do lazy allocation of these objects.


XmirFootprint.java:63-69: Hardcoded XMIR path. The XMIR...

The puzzle 36-95c85bf8 from #36 has to be resolved:
https://github.com/objectionary/jeo-maven-plugin/blob/0a846de5eda4977e2252a3982568765fddc91679/src/main/java/org/eolang/jeo/XmirFootprint.java#L63-L69
The puzzle was created by @volodya-lombrozo on 01-Sep-23.
Estimate: 90 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd 3 puzzles #48, #49, #50 are still not solved.

@0pdd the puzzle #53 is still not solved; solved: #48, #49, #50.

@0pdd the puzzle #57 is still not solved; solved: #48, #49, #50, #53.

@0pdd the puzzle #76 is still not solved; solved: #48, #49, #50, #53, #57.

@0pdd all 6 puzzles are solved here: #48, #49, #50, #53, #57, #76.


Support localisation

At the moment the output is hardcoded English. It would be nice if this could be overwritten so that it can be localised.

It wasn't, and doing localization as in your snippet seems very cumbersome. I wouldn't mind integration with go-i18n, but I would then instead just run i18n as a post-step (after having scanned the metadata, but before parsing). You can simply feed and replace the descriptions of all the options. You can easily do this externally, and I don't want an explicit dependency on i18n. You could develop go-flags-i18n quite easily I think.


Ravello Python SDK sample scripts. They require Python3 and Ravello P…

…ython SDK to be installed

sample scripts using Ravello Python SDK with README file


HttpUrl.path differs from same-named argument in the factory method

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
When I build a HttpUrl from parts of another HttpUrl (using the HttpUrl.build() method), I frequently stumble across the fact that the parameter for path I should hand to HttpUrl.build() is not the same as the output of existingHttpUrl.path. The .path attribute includes the leading /, whereas the parameter to HttpUrl.build() does not expect it and fills it in automatically.
I'd expect this to be the same. Is this a bug or an expected behaviour?
Example Code
# Minimal, reprocucible example
from pydantic import HttpUrl

path = "foo"
url = HttpUrl.build(
   scheme="https",
   host="test.dev",
   path=path
)

assert url.path == path
# assert "/foo" == "foo"

# Problematic use case: Adding username and password to a given input url
from pydantic import HttpUrl
from os import environ

# user gives any input url
h1 = HttpUrl("https://test.dev/foo")

def addCredsToUrl(h: HttpUrl) -> HttpUrl:
    """Add authentication credentials to given url"""
    return HttpUrl.build(
        scheme=h.scheme,
        host=h.host,
        path=h.path,
        username="John.Doe",
        password="y0urV3ryS€cRetAP!kEy",
    )

addCredsToUrl(h1)  # <--- this will include two // after the host part

Python, Pydantic & OS Version
        pydantic version: 2.6.4
        pydantic-core version: 2.16.3
          pydantic-core build: profile=release pgo=true
                 install path: /home/johannes/.local/lib/python3.8/site-packages/pydantic
               python version: 3.8.10 (default, Nov 22 2023, 10:22:35)  [GCC 9.4.0]
                     platform: Linux-5.11.0-38-generic-x86_64-with-glibc2.29
             related packages: typing_extensions-4.8.0 mypy-1.1.1 mypy-1.1.1 typing_extensions-4.5.0
                       commit: unknown

Possibly related: #7186

@fdemmer,
Hmm, that does seem odd / buggy. I've added the urls tag to this issue - I think this could be addressed with #7186, which you've listed above!


fonts not showing on windows machines (vite, mui, fontsource)

Describe the bug
On windows machine when using the import @fontsource/<FONT> colleagues on windows machine keep getting 403 errors and no working fonts
To Reproduce
Steps to reproduce the behavior:
On a windows machine

clone https://github.com/petertellgren/fontsource-windows-bug.git
run yarn
run yarn dev
See error

Expected behavior
see the two fonts "roboto" and "inter"
Screenshots

@petertellgren, I cannot reproduce the issue with the given steps. I'm using a Windows machine on Chrome and everything seems to be loading just fine.

@DecliningLotus indeed, I today validated that it's working fine on two other machines, one running windows 10  as well as another runnning windows 11.. closing this issue as it seems isolated to a single windows 11 machine.


Remove deprecated field "source"

Is your feature request related to a problem?
In version 0.2.0, we deprecated the field source in favor of sources which allow to define multiple sources. We should remove all the code related to the transition from source to sources
Describe the solution you'd like
No mention of source including in documentation and example
Describe alternatives you've considered
/
Additional context
It would be nice to identify a way to remove deprecated fields sooner

I propose 0.20.0 milestone for this.
I'm willing to take it (like #373)
It needs #412 to be merged

Closed by https://github.com/updatecli/updatecli/pull/589


how to get keypoint results from dino-x API

Using demo.py, I can get detection boxes and masks, but I am trying to get keypoints for person and hand. How can I get keypoint results?

Hello, we will refine our documentation recently and add keypoints demo


Documentation options are not the same as the current version (1.1.2) and are not recognised

Hi, when I try to use the software installed through bioconda (build h43eeafb_1), I get this text:
Required:
-f STRING: fasta file containing the receptor genome sequence
[Read file]
-u STRING: path to single-end read file
or
-1 STRING -2 STRING: path to paried-end read files
or
-b STRING: path to BAM alignment file
Optional:
-o STRING: prefix of the output file (default: trust)
-t INT: number of threads (default: 1)
-c STRING: the path to the kmer count file
-k INT: the starting k-mer size for indexing contigs (default: 9)
--minHitLen INT: the minimal hit length for a valid overlap (default: auto)
--skipMateExtension: skip the step of extension assemblies with mate-pair information
--trimLevel INT: 0: no trim; 1: trim low quality; 2: trim unmatched (default: 1)
--barcode STRING: the path to the barcode file (default: not used)
--UMI STRING: the path to the UMI file (default: not used)
--keepNoBarcode: assemble the reads with missing barcodes. (default: ignore the reads)
Many of the options described in the documentation and in some past issues are not recognised when I try to use them:

'--read-format'
'--ref'
'--barcodeRange'
'--umiRange'

I do not know how I can specify my UMI and cell barcode positions on one of my two reads (the other read containing the gene insert) from input FASTQ files. Can you tell me what options I should use, please?
Thank you

This is the "trust4" main executable for the assembly stage. You shall run trust4 through the wrapper "run-trust4". You can use the "--readFormat" option following the readme at: https://github.com/liulab-dfci/TRUST4?tab=readme-ov-file#10x-genomics-data-and-barcode-based-single-cell-data . I

Thank you!
While I am here, can I ask some questions, please?

I have paired-end reads with gene insert on read1 and only cell barcode + UMI on read2 (no transcriptomic information). Should I use the options
run-trust4
-t $SLURM_JOB_CPUS_PER_NODE
-f $ref_igmt_c_fa
--ref $ref_igmt_c_fa
-u $read1
--barcodeWhitelist $bc_white
--barcode $read2
--UMI $read2
--read-format bc:0:7,um:8:17
--trimLevel 0
--od $output_dir
or still use -1 -2?

I am also not sure about --ref and -f being the same (IMGT+C.fa) since I am giving FASTQ files as input so it should be good according to the "Build custom V,J,C gene database (files for -f and --ref)" but the example in the "10X Genomics data and barcode-based single-cell data" section of the documentation uses FASTQ files as input AND -f hg38_bcrtcr.fa --ref human_IMGT+C.fa

What are the different file formats supported for the --barcodeWhitelist option, please?

Thank you so much for your help!


I added a custom vehicle, but it shook left and right

CARLA version:0.9.11
Platform/OS:win10
Problem you have experienced:
I tried to add a custom vehicle. This vehicle has only the simplest board and four wheels.When I finished, I put the vehicle into carlaue4, and he started to move by himself and sway left and right, but I didn't set the throttle and steering. How should I troubleshoot this problem.
What you expected to happen:
The vehicle stopped on the road.

Hi, thanks for reaching us for help.
Can you post a screenshot with the skeleton please?
Thanks again.


Update watchdog

Version 5.0 was released recently, see changelog. We want to move to this since the library is now fully typed, which will help us towards #363.
There is one change in the code to ignore the newly added EVENT_TYPE_CLOSED_NO_WRITE which we do not care about, as written in the commit message:

EVENT_TYPE_CLOSED_NO_WRITE was added in watchdog=5.0
Citing from the inotify(7) manpage,
IN_CLOSE_NOWRITE is fired when a file
that was opened in read-only mode was closed.
Since we only watch for events that modify files
inside the app git repo, we can skip this one.

I want to give it a manual test before merging, but otherwise should be ready.
I'll merge after release of the new version.


Using Chrome Custom tabs

Describe the feature
For any url link the app redirect to default browser to view web content results in a huge context switch which isn’t customizable, and hence could lead to a terrible experience.
Would you like to work on the issue?
Yes

We should rather focus on the working of the app than thinking about redirects or other links, let android handle it by itself. @iamareebjamal your thoughts?


Error while updating API through Rest API

Description:
While trying to update an API throught publisher API v2, got the error below:
Request Payload:
{   "name": "PizzaShackAPI",   "context": "/pizzashack",   "version": "1.0.0",     "additionalProperties" : [{"name":"detailedDescripasdtion","value":"asdasd","display":true},{"name":"asd","value":"asdf","display":true}] }
Response:
{     "code": 500,     "message": "Internal server error",     "description": "Error while updating the API : cf7bd734-0650-4626-940c-cf2dfcb87890 - 900763:No resources found::API must have at least one resource defined",     "moreInfo": "",     "error": [] }
Then I've tried to GET my API info using the rest API, this time using the devportal API, but unfortunatelly, my operations(resources) appears as blank, even if there are resources that can be checked at the portal.

Steps to reproduce:
1- Try to update an existing API using Publisher rest API, without sending operations at the request body
2- Try to get your API info, there will be no operations
Affected Product Version:
APIM 4.0.0
Publisher API v2
DevPortal API v2
Environment details (with versions):

OS: Windows

Please note that this is the expected behavior, even from Publisher UI we can not keep a API without any resource (Operations). when creating an API from UI also by default we are getting the resources with * .
Please refer the following screenshot for the error message we are getting if we tried to remove all resource(operations) paths (check right side bottom)

So to solve this issue you can use one of default resource (operation) in the payload as follows
 "operations": [
      {
        "target": "*",
        "verb": "POST",
        "authType": "Application & Application User",
        "throttlingPolicy": "Unlimited"
      }
    ]


[Mintbase-JS] Update mintbase.js login method to accept URL redirects

near-api-js allows the specification of success and failure URLs.
This will be useful not just for mintbase.js users, but for the marketplace login/auth flow refactoring

https://github.com/Mintbase/mintbase-js/pull/119


Possible typo in "compute_euclidean_distances.py"

Lines 53-54 of "compute_euclidean_distances.py" read
    n_windows_per_feature = math.ceil(n_clusters / window_n_centroids)
    n_windows_per_centroid = math.ceil(n_features / centroids_window_height)

Perhaps it should be
    n_windows_per_centroid = math.ceil(n_clusters / window_n_centroids)
    n_windows_per_feature = math.ceil(n_features / centroids_window_height)

Thanks for reporting @oleksandr-pavlyk
I don't think there's a typo but the naming is confusing, here n_windows_per_xxx refers to the total number of windows to cover the dimension that is orthogonal to xxx. If n_windows_accross_features instead of n_windows_per_centroid and n_windows_accross_centroids instead of n_windows_per_feature  is better naming I will rename in future PRs.

Ty for the suggestion, n_windows_for_... is much better


Show reference links when configured to display style guide links

Fairly simplistic. Adding onto the logic that is used to display the style guide links.

:+1:


Prevent "Private" folder submission from showing

Prevent the public files that are uploaded to the OTJ community folder
named "Private" from being shown on the main page of the OTJ.  This
showed when evidence files from the reviews were found as submissions on
the index page.

Checking for the 'Private' folder causes an error on my system:
PHP Fatal error:  Call to a member function getName() on a non-object in [...]/ApiComponent.php on line 129
Checking for a valid description works as expected.

Based on the above comments, I'll switch to the other method of checking.  Closing this pull request.


Fix typo

Documentation typo fix.
As far as I can tell the example should say 1.0.1 not 1.0

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.
Please see the contribution instructions for more information.

I'm going to close since this seems to have stalled for a few months. I also don't think this is something that necessarily needs to change. The specific patch versions aren't important here, it's just illustrating the difference of using a 1.x version compared to a 2.x version.


allow forcing a new ssh key pair

Currently the pdc-agent uses an existing SSH key pair and certificate if they exist and are valid. We should allow users to force a new ssh key pair and certificate to be generated.
Implement a --force-key-file-overwrite flag that generates a new SSH key pair and requests a new certificate using the new public key.

Please make it somehow automaticly regenerate certificate if it fails to use already existing.
My current workaround is to add -ssh-key-file parameter that is differ from default, for example /home/pdc/.ssh/grafana_pdc_v1

Please make it somehow automaticly regenerate certificate if it fails to use already existing.

@Hronom What is the reason that the existing key fails? There is already logic for refreshing if the cert is no longer valid, so I'm wondering what the other failure modes are.

@dafydd-t hello, I'm using version 0.0.13 of dcoker image. After some time I get this error:
level=info caller=keymanager.go:52 msg="starting key manager"level=info caller=keymanager.go:52 msg="starting key manager"level=info caller=keymanager.go:52 msg="starting key manager"level=info caller=keymanager.go:156 msg="new certificate required: certificate validity has expired"level=info caller=keymanager.go:204 msg="generating new certificate"level=info caller=keymanager.go:156 msg="new certificate required: certificate validity has expired"level=info caller=keymanager.go:204 msg="generating new certificate"level=info caller=keymanager.go:156 msg="new certificate required: certificate validity has expired"level=info caller=keymanager.go:204 msg="generating new certificate"level=error caller=client.go:177 msg="unknown response from PDC API" code=502level=error caller=ssh.go:102 msg="could not check or generate certificate" error="failed to generate new certificate: key signing request failed: internal error"level=error caller=client.go:177 msg="unknown response from PDC API" code=502level=error caller=ssh.go:102 msg="could not check or generate certificate" error="failed to generate new certificate: key signing request failed: internal error"level=error caller=client.go:177 msg="unknown response from PDC API" code=502level=error caller=ssh.go:102 msg="could not check or generate certificate" error="failed to generate new certificate: key signing request failed: internal error"

If I restart containers it starting to work.
Is it fixed in 0.0.15 I see it released 2 days ago?

@Hronom 0.0.14 introduces some retries for the key signing request. This helps in some cases, but we've also identified a change required internally. That should get sorted in the next day or two.

Thanks @dafydd-t , just a side note, we found this approach (grafana-pdc-agent) very usefull and very easy to connect with Grafana Cloud, interested in active development of this and adding new datasource in it. Thanks for this great tool!


Directly passing a List to a method fails but wrapping it into a variable works.

Some magic is going on which is shaking my basics:
void main() {
  method(['1', '2']); // fails

  final list = ['1', '2'];
  method(list); // works
}

void method(List<Object> objects) {
  List<String> strings = objects;
}

Can anyone explain the reason behind this magic?

It's type inference and implicit downcast.
When you do method(['1', '2']);, the signature of method asks for a List<Object>.
So, the ['1', '2'] is evaluated in a context where a List<Object> is expected, and it therefore creates a List<Object> containing two strings. Then, inside method, you try to downcast that to a List<String>. It fails because a List<Object> is-not-a List<String>.
When you write final list = ['1', '2']; you evaluate ['1', '2'] in a context with no type expectation.
The list literal contains two strings, and absent any other type hint, it creates a List<String>.
You then pass that to method as a List<Object>, which succeeds because a List<String> is-a List<Object>, and method then down-casts it to List<String> again, which works because it is one.

Thank you, and that makes sense!
However, I am bit disappointed by Dart team members, you have a team of great developers, why don't you allow some of them to answer questions on SO, I know there is one great person @jamesderlin who keeps on answering my questions but he is also a human being, he may sometimes forget to read all the Dart questions (that actually need answer from expert like you guys).
Or should I start posting questions here on Github issues because there exists an answer to all the questions which only you guys can answer and not the other SO users (non-Google members). So, in case my question isn't answered on SO within 2 days, is this the right place to ask? By the way here is the question link

Some of us read and answer on Stack Overflow as well, but we are only human too :smile:.


Solution: do not crash Quantum GenServer when child job process crashes

See #82
Use the Task.Supervisor.async_nolink introduced in Elixir 1.2.0 to spawn children jobs. This will avoid the crashing of the Quantum GenServer.

:+1:


s3:PutPublicAccessBlock Access Denied

Thank you team for the great Matano!
When I deploy it I got this error
The stack named CDKToolkit failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: API:
 ›   s3:PutPublicAccessBlock Access Denied

So will the Matano setup create a public s3 bucket/objects? How can we change it only to create in non-public s3?

Thanks Sang!
So this error is occurring in the CDK bootstrap process, the bucket is not public, it is actually the opposite; its being set as explicitly not public.
The error is occurring due to your organizations policy blocking any usage of the s3:PutPublicAccessBlock action (see the following issue: https://github.com/aws/aws-cdk/issues/5028#issuecomment-553906518).
There is a CDK optioon: --public-access-block-configuration false for the CDK bootstrap command to not explicitly set the public access block configuration.
We also use the block public access inside our own code for internal buckets, e.g. https://github.com/matanolabs/matano/blob/7373558a865f981bea25bd7be23c3a64a36a3fa4/infra/src/DPCommonStack.ts#L32
Amazon S3 announced that all new S3 buckets will have Block Public Access enabled by default, at which point we can safely remove these explicit configurations. However, the change will be rolled out in April 2023 (not yet) (see https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-faq.html).
Can you possibly change your organization policy to allow usage of the s3:PutPublicAccessBlock action?

Thank you for the prompt response Samrose. Because PutPublicAccessBlock will allow making an S3 bucket public so it's blocked by our policy. Is there any way that I can remove this explicit setting from the code and run without using PutPublicAccessBlock?

I understand, we can add a config option in matano.config.yml for this and then make a code change in infrastructure to only add the public access block configuration explicitly if the matano configuration tells us to. I can make this change, should be simple.

I've created a change #125, once its merged and released, you should be able to unblock yourself by just setting aws.set_block_public_access as false in matano.config.yml e.g.
# matano.config.yml

aws:
  account: "123456789012"
  region: "us-east-1"
  set_block_public_access: false


Not found run script in FirebaseCrashlytics via Carthage

Xcode version: 11.3.1
Firebase SDK version: 6.19.0
Firebase Component: Crashlytics
Component version: v4.0.0-beta 5
Installation method: Carthage

As described in your document, we need to run Build Script but we cannot find FirebaseCrashlytics/run and FirebaseCrashlytics/upload-symbols under FirebaseCrashlytics.framework via Carthage

Steps to reproduce:

Add binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json" in your Cartfile
Run carthage update

Hi @d-date - thanks for the report.
Check out the Carthage instructions and at the very bottom there's a section for Crashlytics specific instructions. Copied here:

To automatically upload your app's symbols so your app's crashes are symbolicated, download
upload-symbols
and run.
Then follow the Crashlytics documentation
to add a new run script phase in your Xcode project.

There are packaging limitations we face with Carthage and Crashlytics so you'll have go grab the tools separately when using Carthage.
Let us know if this solves things for you!

I missed to read this document and get solved this issue.
Thank you for your help.

I missed to read this document and get solved this issue.
Thank you for your help.

could you please tell me where to put the upload-symbols as i'm stuck here

@ahmedelmoughazy you may put run and upload-symbols anywhere under your Xcode project directory, as long as the Run Script Build Phase points to it. It will help to use the ${PROJECT_DIR} macro in the Run Script Build Phase. Eg, for a project I'm using, I'm putting the tools in a scripts folder in my project directory:

So my Run Script Build Phase that I set up is "${PROJECT_DIR}/scripts/run":

@ahmedelmoughazy Don't forget to add appropriate input files on top of what @samedson provided you.
(I am talking about this one basically)
${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}

Thanks you very much, it worked ! ...


Update Getting Started.md

Looks like a missed key

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Created the new branch

When you add new something, use pull request and set the branch to stg (don't select master.)

how to detail of when you add new something

step
todo

0
Clone or Download the repository to your local computer.

1
Open New issue, and set the name of thing of you want to do.

2
Open your terminal, create new branch. the name is you made issue's id and start with #.

If you made issue, you got the id some like #1. so you'll create new branch #1.

3
Add and visit https://github.com/TeamPMG/CuteGirlsGenerator-Organized-/pulls

and create New pull request. (change the branch from master to stg.)


Null move pruning

Score of testing vs dev: 569 - 411 - 1020  [0.539] 2000
...      testing playing White: 269 - 207 - 524  [0.531] 1000
...      testing playing Black: 300 - 204 - 496  [0.548] 1000
...      White vs Black: 473 - 507 - 1020  [0.491] 2000
Elo difference: 27.5 +/- 10.6, LOS: 100.0 %, DrawRatio: 51.0 %
TC: 10+0.1

Thanks a lot.


[Suggestion] Do admin-only items need to be added to the repo?

For example, https://hypixel-skyblock.fandom.com/wiki/Anubis, does this need to be added to the repo? all the nbt data is avaliable.

hmm idk would be cool

We had that same topic a few months ago and the problem is that people will ask question about the items in the discord.
I would suggest to not add them.

Hmm, okay


Allow org-journal to use .org suffix

As opposed to altering org-agenda-file-regexp (which seems more likely to have side effects and be error prone in installation) I would like to have the option of simply defining an org-journal-file-suffix to be ".org". The current behavior could be achieved by leaving it undefined.

Thank you for the feedback. You can do this right now by (setq org-journal-file-format "%Y%m%d.org") (the default is "%Y%m%d").
I think that this is a more general solution than specifying a specific suffix. Please let me know if you disagree.
Also, I'd be interested to know your use case for the agenda. Personally, I found agenda searches to be unpleasantly slow and error prone, and I stopped using them since we added a built-in search to org-journal.

Thanks, this did seem to work.
I'm using the journal feature quite a bit but not really any of the extra features atm so my use case isn't really even formed yet.
If it were up to me I'd like to see my journal entries in the agenda view which I use quite a bit but not at all the calendar.
Looking at calendar my entries aren't even showing up so I'll have to sort that out.

I have found by doing this the functionality of org-journal fails.  the prev and next functions as well as search no longer work.  yet if left to numeric without .org  orgzly will not see them as well as (at least in my spacemacs) they will not be seen by agenda.  I've found that if I setup a symlink to the numeric file with the same name + .org  I get the function i'm looking for.

@MBuchaus if functionality breaks with a non-standard org-journal-file-format, that is a bug. If you found such a bug, please open a new issue. I believe that I fixed that particular problem in a recent version of org-journal.
In retrospect, it would have been better to go with *.org files right from the start. But org-journal started out as an extension of PersonalDiary, which used the numeric file name convention. And now we can't just change the file format without breaking every existing user's journal.

Ok I'm prepping a full issue post.


k8s/watchers: fix panic in CiliumEndpoint labels update

Cilium agent would panic if the assiciated k8s pod of CiliumEndpoint is nil:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x2154821]
goroutine<PHONE_NUMBER> [running]:
github.com/cilium/cilium/pkg/k8s/watchers.updateCiliumEndpointLabels.func1(0x2f1c050, 0xc0346c6a40, 0x428e6e0, 0x455600)
/go/src/github.com/cilium/cilium/pkg/k8s/watchers/pod.go:483 +0x341
github.com/cilium/cilium/pkg/controller.(*Controller).runController(0xc0299d3d40)
/go/src/github.com/cilium/cilium/pkg/controller/controller.go:217 +0xb29
created by github.com/cilium/cilium/pkg/controller.(*Manager).updateController
/go/src/github.com/cilium/cilium/pkg/controller/manager.go:122 +0xbd2
This patch adds a check for the pod.
Signed-off-by: Jaff Cheng<EMAIL_ADDRESS>k8s/watchers: fix panic in CiliumEndpoint labels update

Thanks for the comments @aanm @tommyp1ckles , please take another look

/test


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3544

Questions ?
Please refer to the Backport tool documentation


GUI API Generator Allowed memory size of 134217728 bytes exhausted

Error when i use GUI for API Generator + when you do Scaffold Generator nothing is generated
when i do Api Scaffold Generator is gennerating the files everything except the migration in the migration is only generated :
`<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateTestsTable extends Migration
{
/**
 * Run the migrations.
 *
 * @return void
 */
public function up()
{
    Schema::create('tests', function (Blueprint $table) {
        $table->softDeletes();
    });
}

/**
 * Reverse the migrations.
 *
 * @return void
 */
public function down()
{
    Schema::drop('tests');
}

}
`
without adding the fields there any help

duplicate of #408


Mapguide issue changing settings after Layer Created

item.getSource().get('displayDpi') will get Any and all key values,
but none of the key values are able to be set item.getSource().set('displayDpi', 300).
I am trying to do some Higher Quality Printing with higher DPIS, also its nice to be able to set this post fact for different devices.
I tried a few others like hidpi, metersperunit etc and can't change them after the layer is created either.,

Your issue description sounds very cryptic to me. Can you please provide more context, code snippets etc.?

You can't change any settings that aren't params on mapguide layers after
the layer source is created, such as displaydpi, clip, etc. They are all
assumedly not available to changinging...if you look at the mapguide image
API nothing can be changed on the layer source besides params.
On Jul 16, 2016 2:41 PM, "Andreas Hocevar"<EMAIL_ADDRESS>wrote:

Your issue description sounds very cryptic to me. Can you please provide
more context, code snippets etc.?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openlayers/ol3/issues/5602#issuecomment-233147380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APQv98OdleHp1yUeINAo25MCfFWMpUdJks5qWTPWgaJpZM4JNsrE
.

Do you want to provide an improvement pull request?

Not sure how to do that, will have to wait til Monday.
On Jul 16, 2016 2:59 PM, "Andreas Hocevar"<EMAIL_ADDRESS>wrote:

Do you want to provide an improvement pull request?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openlayers/ol3/issues/5602#issuecomment-233148228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APQv98pmX1si4OZdeNnaPBYuUsu5DeZ7ks5qWTg4gaJpZM4JNsrE
.

you can use item.getSource().updateParams({'SETDISPLAYDPI': 300})
but img width height will follow ol.Map#pixelRatio,
and there is no set pixelRatio method after map Created,
and no  set hidpi in  ol.source.ImageMapGuide after layer created
http://openlayers.org/en/master/apidoc/ol.source.ImageMapGuide.html#updateParams
https://trac.osgeo.org/mapguide/wiki/HttpApi/RenderingService#SetDisplayDpi1.0


OAuth2 (Keycloak) Integration with a Toy Endpoint

I didn't dare to touch any files so I defined classes methods in files that are already there. Most of my codes are under api/src/api/security_api.py which contains several request filter methods that extract and verify token from the request header and then cast it into a simple User object defined in api/src/api/services/auth.py. The toy endpoint is defined in api/src/api/app/apis/simulations_api.py as create_protected_scenario.
To test it out, you need to switch to my branch for the ESID frontend. There I attached realm information (required in the backend for verifying the token) in the request header to the toy endpoint.
Cheers

Looks good and seems to be working. Can you update the openapi3_0.yaml to reflect the new toy endpoint?

Shouldn't the schema be generated automatically by FastAPI after defining the endpoints? When I add my toy endpoint, it is visible under /docs. Besides, i don't think openapi-generator can generate any dependencies which the endpoint needs to filter out unauthorized users.

Looks good and seems to be working. Can you update the openapi3_0.yaml to reflect the new toy endpoint?

Shouldn't the schema be generated automatically by FastAPI after defining the endpoints? When I add my toy endpoint, it is visible under /docs. Besides, i don't think openapi-generator can generate any dependencies which the endpoint needs to filter out unauthorized users.

We actually generate the endpoints from the specification. Fast-API at the end shows the implemented endpoints on the /docs endpoint. In the end it should be identical to the specification.


when will the 'sign' function be removed?

In version 1.1.0 release notes, ripple mentioned that 'sign' will be removed in a future release.
when will the 'sign' function be removed?
In the version 1.1.2, can I still use the 'sign' and 'sign_api' if I set [signing_support] is true.

Seems like the solution (though needs to be maintained) is: https://github.com/ripple/ripple-libpp
Along with some extern C and  ctypes wrappers for various languages

...or just using a JSON-RPC call to a local server. No wrappers necessary.

There is not a specific version number in which the sign command is due to be removed. I think we will remove it when we feel that alternative libraries for signing transactions are mature and prevalent enough. For the time being, the sign command will continue to work as an admin command.


Ability to add inline-graphics

There is another issue from James on the same topic: #1018. I will continue there since there is an example there.


Updated ConstantViewSize solver to retain the initial scale and aspect ratio (Fixes #306)

Fixes #306
The ConstantViewSize solver now retains the original scale and aspect ratio as set by the base class Solver instead of using Vector3.one as the base scale.

/azp run


Command CodeSign failed with a nonzero exit code

CodeSign /Users/szymon/Library/Developer/Xcode/DerivedData/my-gps-location-ios-gsmfqkbtrqfrtegcttykytuyamkq/Build/Products/Debug-iphonesimulator/my-gps-location-ios.app/Frameworks/PAGAdSDK.framework/Versions/A (in target 'my-gps-location-ios' from project 'my-gps-location-ios')
cd /Users/szymon/Downloads/my-gps-location-ios-main
Signing Identity:     "-"

/usr/bin/codesign --force --sign - --timestamp\=none --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/szymon/Library/Developer/Xcode/DerivedData/my-gps-location-ios-gsmfqkbtrqfrtegcttykytuyamkq/Build/Products/Debug-iphonesimulator/my-gps-location-ios.app/Frameworks/PAGAdSDK.framework/Versions/A

note: Injecting stub binary into codeless framework (in target 'my-gps-location-ios' from project 'my-gps-location-ios')
/Users/szymon/Library/Developer/Xcode/DerivedData/my-gps-location-ios-gsmfqkbtrqfrtegcttykytuyamkq/Build/Products/Debug-iphonesimulator/my-gps-location-ios.app/Frameworks/PAGAdSDK.framework/Versions/A: bundle format unrecognized, invalid, or unsuitable
Command CodeSign failed with a nonzero exit code

What version of xcode do you have, suspecting an incompatibility issue from a bug in the latest version of xcode

xcode version 15.3

We recommend using xcode 15.2 and below, which can be successfully compiled and run.
As for the newer versions of xcode 15.3, it does have the above problem.

Will it be fixed anytime soon?

It's a crutial error, we are forced to use Xcode 15.3 starting from May 1, and we cannot use this framework. How long it will take to fix it?

@alpha-moisol We are seeking resolution，and we will fix it as soon as possible.

Could you please fix this problem in an urgent manner?   I am waiting for the fix of this problem

Hello, it's been almost a month. When the fix will be released?

When will the revised version be released?
What is the schedule?

@zry-bd @codeDancer668 It's been two months, can we have some information on progress here?

@alpha-moisol   @cheebow @SzGajdzica Sorry for the delay. We will fix the product within two weeks. Please keep an eye on the version release information.

@alpha-moisol @cheebow @SzGajdzica We have fixed this error in version 6.1.0-beta.2, please integrate it.

Hi. I tried to integrate:

version 5.8.0-release.8: I have the codesign error mentioned above (this ticket).
version 6.1.0-beta.2 as recommended: Info.plist is invalid, cannot upload to AppStore. I created this issue

@alpha-moisol @cheebow @SzGajdzica @DimDL  We have fixed this codeSign error and the invalid Info.plist error  in version 6.1.0-beta.3, please integrate it.

@zry-bd : I just tested 6.1.0-beta.3 and I can confirm it works well in Xcode15.3, thankyou!

@zry-bd I cannot test 6.1.0-beta3 on my side until Appharbor starts supporting it, but that is a good step forward, will test when we are unlocked. Thanks !


Conflicting function names

When loading GAMBLR.utils I get a warning message about conflicting function names. This can be resolved by specifying the Import field in the function documentation.
The conflicting packages are; IRanges and stats and the functions affected are: start and end.
Without looking into this much further, I assume that any function that imports IRanges (e.g annotate_ssm_motif_ccontext) should have the  @rawNamespace import updated to also exclude start, and end.  Given that this function is not using these functions from IRanges.
@rawNamespace import(IRanges, except = c("start", "end", "merge", "shift", "collapse", "union", "slice", "intersect", "setdiff", "desc", "reduce"))

The warning message:
> library(GAMBLR.utils)
Warning messages:
1: replacing previous import ‘IRanges::end’ by ‘stats::end’ when loading ‘GAMBLR.utils’
2: replacing previous import ‘IRanges::start’ by ‘stats::start’ when loading ‘GAMBLR.utils’

It's crucial to suppress warnings like this since it will cause the build-check by Git Actions to fail.

This logic also applies to the import of GenomicRanges in the same function;
@rawNamespace import(GenomicRanges, except = c("start", "end", "merge", "shift", "union", "intersect", "setdiff", "reduce"))

The issue was addressed in PR #7.


⚠ SceneTime has degraded performance

In 6f3ce1f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 5593 ms

Resolved: SceneTime performance has improved in 9a7bd7d after 6 minutes.


Spark docs

remove versioning.mdx (replaced earlier with oss version)
add initial rendering version of delta-storage-oss.mdx

formating changes:  all delta-storage-oss.mdx code tabs render

closing in lieu of a unified commit/PR of all outstanding "formatting review" docs

closing in lieu of a unified commit/PR of all outstanding "formatting review" docs


Read environment variables to remove impurities

It's a bit early.  I'm supporting a library for building crates that sometimes use vergen.
I need to know the environment options to disable all impurity in the vergen crate and then also to inject pure information like source git SHA and linking information.
While #140 is what brought us here, let me explain why all of this behavior is critical.
https://docs.rs/vergen/latest/vergen/
The sysinfo is not reproducible across builds.  Options like CPU identifiers are injecting system impurity directly into the results.  What I'm saying is that Nix users will never choose to put this information into the results because it creates non-reproducible builds, meaning all the tooling for detecting impurity will be set off.
While the crate seems like a small utility that can be included without much effect on consumers, just like Debian CI, the Nix build system also will not include the .git directory in the source.  We can hack in the creation of a git directory, but the system information needs a better solution.  Even if it requires using hardcoded fallback values such as "pure-evaluation-build-generic-cpu-id" etc, that's preferable to allowing any builder impurity into outputs.
When a user wants to build a crate that depends on vergen, they need to be able to force the impurity out even if the crate's build.rs is requesting the impurity.  If this is done via an environment variable, I can easily include it as an override for all vergen users.  I will already need such an override due to the old versions that will still need support for missing .git
https://github.com/cargo2nix/cargo2nix/issues/307

The basics of this request is the ability to force a reproducible build regardless of the configuration requested.  I can take a stab at forcing sane defaults, but may need some input in that area.   As this is the 2nd request to have the ability to build without a .git directory I'll make sure that is available as well.

#146 should address this issue.  Feel free to comment on that PR if you feel I've missed anything.   I may back port some of the new features to older versions as well.

This should be resolved with the release of 8.0.0-beta.0.   I also plan to back port the relevant fixes to version 7 and 6 over the next month as well.


Weird post-hoc inferrence in function types generated from $Call?

Flow version: 0.171.0
Expected behavior
I'd expect both of these snippets of code to generate the same error, but only the normal generic errors, the $Call generated one does not:
type ToFunction<Parameter> = (x: Parameter) => string;
declare var expectString : ToFunction<string>;

expectString(10); // Correctly gives me an error

type _ToFunctionFromCall = <Parameter> (Parameter) => (x: Parameter) => string;
type ToFunctionFromCall<Parameter> = $Call<_ToFunctionFromCall, string>;

declare var expectStringFromCall : ToFunctionFromCall<string>;

// Does not give me an error, instead changes type of `expectStringFromCall`
// to (string | number) => string;
expectStringFromCall(10);

I need the call version because I am passing it to $ObjMap. Currently, the $ObjMap appears like it's working, as hovering over the resultant types shows me what I expect to see ({ a: number => string, b: boolean => string, etc. }). Yet the second I try to use any of them, it just changes their parameter types to accept anything I pass to them.
Try in Flow

This is a known issue with implicit instantiation of type parameters and is a huge motivator for our ongoing Local Type Inference project (https://medium.com/flow-type/introducing-local-type-inference-for-flow-6af65b7830aa).
The problem is that when you call _ToFunctionFromCall on a string, Flow models this by introducing an "open" type variable as the instantiation of Parameter, and adding string as a lower bound to that variable. When you call it on 10, rather than seeing an error because numbers are incompatible with strings, we simply add number as an additional lower bound on that type variable, causing it to be a union of those two types. This is unfortunate, and we're making substantial changes to how Flow performs inference to change this behavior.

Is there any sort of action I can take today to prevent this? Something that would force it to become a "closed" type variable?

It would appear that by adding some indirection, I can get it to behave properly:
type _ToFunctionFromCall = <Parameter> (Parameter) => (x: [Parameter][0]) => string;
type ToFunctionFromCall<Parameter> = $Call<_ToFunctionFromCall, string>;

declare var expectStringFromCall : ToFunctionFromCall<string>;

// Now this gives me an error
expectStringFromCall(10);

As you can see here, I wrap it in an array, then immediately access it ([Parameter][0]). Could you possibly confirm given your inside knowledge that this is a sound way to do it?

You can do this:
https://flow.org/try/#0C4TwDgpgBAKg9gMQK4DsDGwCWcUB4AKAhgE6EC2EwExAfFALxQAUAHgFxRGkVXECUDOgGdgxTCgDmAbgBQAEwhoANiWgA3ElAgtIGAMqjxEqB3jJ0WHLhFjJNWTO27gB2xKYBGAAx8pUAPT+UADCcMTEisBKIFASmGoQQlAUUIQoWuFhMjKgkFAAorgwdIwwfoFQQhDQABbUEDJQOeDQAPpmqBjYKAjEcGTBhEpKDFAEJOSU1HRMXJO8AvQz7AXj3FO0i8KGkrK50B0W3b39g8Nr89OjACRnSrjtiJ2WPX0DQ0oANJU7EvbZCmUqigGmIWh0kVcRhO72GJlgTyOOBhd2sv3+MgqABE4IkoCg4MBYvFoCk0hk+sRvuIRBBCHIoGgamkJHj9lA4AAzKAAAyckN+KI+PMxQWAcGYNiMUAAPvikGQAEbULY-Nyyfn6QVvO6eHx+IA

This issue is fixed with inference_mode=lti


⚖ Register Validator:

Network Choice
drunemeton-1
Who are you?
We are Kahuna, we invest in and run Blockchain Infrastructure
Delegator address
okp417r0cp9zrtkvzlz7a2r09gmdxwqfyje98he8c8j
gentx
{
  "body": {
    "messages": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
        "description": {
          "moniker": "Kahuna",
          "identity": "496198D003A5A717",
          "website": "https://kahuna.network",
          "security_contact"<EMAIL_ADDRESS>          "details": "We are Kahuna, we invest in and run Blockchain Infrastructure"
        },
        "commission": {
          "rate": "0.050000000000000000",
          "max_rate": "0.200000000000000000",
          "max_change_rate": "0.010000000000000000"
        },
        "min_self_delegation": "1",
        "delegator_address": "",
        "validator_address": "okp4valoper17r0cp9zrtkvzlz7a2r09gmdxwqfyje98z7h3en",
        "pubkey": {
          "@type": "/cosmos.crypto.ed25519.PubKey",
          "key": "wXrfmE+XsDOz7T3T0vlOw4pOdktd4gSnxTXQifnJktA="
        },
        "value": {
          "denom": "uknow",
          "amount": "10000000000"
        }
      }
    ],
    "memo": "35b059f1d9c7666b26c7b412ffcd30329949ff3f@<IP_ADDRESS>:26656",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [
      {
        "public_key": {
          "@type": "/cosmos.crypto.secp256k1.PubKey",
          "key": "A6rWs8UOMVyjgj9UbIAolxvbPH2FFVd7s0UDx1kj/imF"
        },
        "mode_info": {
          "single": {
            "mode": "SIGN_MODE_LEGACY_AMINO_JSON"
          }
        },
        "sequence": "0"
      }
    ],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    },
    "tip": null
  },
  "signatures": [
    "lxGm7OTYz49cuXSfG3uZ3UHIrv8O+sHLk4WagV/IhRgNFtMa7KukyLq9uJFsSL5uIpn35LU081YdIF6Ec3/F1w=="
  ]
}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/714

Done by https://github.com/okp4/networks/pull/714