Resolves #2085, preventing unintentional chain restarts

This PR writes to a key chain/halted/N where N is the number of times the chain has previously halted, every time the chain halts. Then, upon initialization of the App, the key chain/halted/TOTAL_HALT_COUNT is checked to determine if the chain has halted before without the software having been updated. The constant TOTAL_HALT_COUNT defined separately in app and narsil (which both reuse the chain crate) must be manually incremented in the code every time the chain halts, in order for the new version of the software to pass over the block height of the chain halt (and all previous halts); otherwise, the chain will not start up again. If TOTAL_HALT_COUNT is incremented, synchronizing from genesis will not cause the chain to halt on the previous halt block height, because the check in the App for the halt key chain/halted/TOTAL_HALT_COUNT will fail, and the chain will continue to sync.

This shouldn't touch the narsil code, which shouldn't be dependent on the penumbra-chain crate at all.

Yes, the narsil crate should be stubbed out with its own state machine, not reusing the Penumbra one -- and we shouldn't make it aware of Penumbra-specific state machine changes.

Should this PR do that stubbing-out?

We could just not include the narsil changes, right?

OK, let's just delete the let should_halt = state.should_halt(); in the Narsil crate, which is already slated for removal?


Disable forced injection of bootstrap/popper/jquery

Hi,
It should be a way to disable forced injection of bootstrap/popper/jquery.
It would create more problems than benefits in certain cases.

I suggest to create a setting where the injection can be overruled and omitted. Then you can disable this for your project.

It is now possible to avoid loading the dependencies:
Check this file for more details
https://github.com/jield-webdev/laminas-bootstrap5/blob/main/config/laminas-bootstrap5.local.php.dist


Inconsistent behaviour when creating a KeyVault key via an Azure PowerShell Function

When attempting to create a KeyVault key via an Azure PowerShell Function I am experiencing inconsistent behaviour. It seems that running identical PowerShell on different function hosts will return different results/failures. The failure is a variant of the following:
_Get-AzureRmKeyVault : Your Azure credentials have not been set up or have expired, please run Login-AzureRmAccount to set up your Azure credentials.
The script is designed to authenticate to Azure via an Azure AD service principal, get the relevant KeyVault and create a key within it. But, even when hard-coding all the values for troubleshooting, the inconsistency still exists across differing function hosts i.e. one creates a KeyVault key successfully, whereas the other fails.
`$ServicePrincipalPassword = ConvertTo-SecureString "password" -AsPlainText -Force
$ServicePrincipalCredential = New-Object System.Management.Automation.PSCredential ($ServicePrincipalAppId, $ServicePrincipalPassword)
$Login = Login-AzureRmAccount -ServicePrincipal -TenantId $TenantId -Credential $ServicePrincipalCredential
$KeyVault = Get-AzureRmKeyVault -VaultName "testkeyvault"
write-output "$($KeyVault.VaultURI)"
$Key = Add-AzureKeyVaultKey -VaultName $KeyVault.VaultName -Name 'testkey' -Destination Software
$KeyUrl = $Key.id.Substring(0, $Key.id.LastIndexOf("/"))
Write-Output $KeyUrl`
Is this behaviour expected or anything I can do to make the experience consistent?
Thanks.

closing in favor of https://github.com/Azure/azure-webjobs-sdk-script/issues/1827. Please avoid double posting.


kn quickstart version doesnt work

Actual Behaviour
 ~ % kn quickstart version

Version:
Build Date:
Git Revision:

Expected Behaviour
Display the version
Also if this is not exposed not sure if those also impacts users from upgrading using something like homebrew 🤔
Overall, love how simple this makes it to get a cluster so thank you for this 😄

Thanks for raising this!
/assign

Above PR didn't fix the issue, still investigating


aggregate_column behavior doesn't work for multiple aggregates

Using the example from the documentation http://www.propelorm.org/behaviors/aggregate-column:

  <column name="id" type="INTEGER" required="true" primaryKey="true" autoIncrement="true" />
  <column name="title" type="VARCHAR" required="true" primaryString="true" />
  <behavior name="aggregate_column">
    <parameter name="name" value="nb_comments" />
    <parameter name="foreign_table" value="comment" />
    <parameter name="expression" value="COUNT(id)" />
  </behavior>
  <behavior name="aggregate_column">
    <parameter name="name" value="last_comment" />
    <parameter name="foreign_table" value="comment" />
    <parameter name="expression" value="MAX(created_at)" />
  </behavior>
  <behavior name="aggregate_column">
    <parameter name="name" value="total_votes" />
    <parameter name="foreign_table" value="comment" />
    <parameter name="expression" value="SUM(vote)" />
  </behavior>

  <column name="id" type="INTEGER" required="true" primaryKey="true" autoIncrement="true" />
  <column name="post_id" type="INTEGER" />
  <foreign-key foreignTable="post" onDelete="cascade">
    <reference local="post_id" foreign="id" />
  </foreign-key>
  <column name="created_at" type="TIMESTAMP" />
  <column name="vote" type="INTEGER" />

Only the last aggregate "total_votes" is created, the first two "nb_comments" and "last_comment" are completely ignored. This issue occurs in version 1.6.3 and 1.6.4. I've seen a patch before that makes this work correctly but it would be nice to have it fixed in a propel release.
Thanks!
Andrew

Ignore this, there's already an issue open that talks about it.

It's #222 if you ever stumble upon this ticket.


Train with new datasets

Thank you so much for your great effort.
I can predict the images using the given .py files. I couldn't find train.py files, so how to fine-tune the network with new datasets? where should i define the image samples of the new dataset ?


gRPC client freezes after 1-2 minutes and sometimes crashes on exit

grpc freeze.zip
https://user-images.githubusercontent.com/92914727/186722049-d401580e-ad53-4db3-b341-a82372da5176.mov
https://user-images.githubusercontent.com/92914727/186722105-b80ef14d-1516-416d-8e95-de8768224715.mov
Attached Source code and 2 videos.
First video shows that the clients get blocked when there are multiple instances loaded (confirmed that limiting the UI to a single client runs without issue).
Second video shows a crash on shutdown of the application
To run the application, run grpc_mock.lvproj and then UI.vi - it should launch a mock interface of the ADAS plugins in our system.
Then launch the UI located in the UI directory. It should connect to the plugin mocks launched with the mock interface and display status updates as shown in the blocking video.
This has been an intermittent issue, which seems to be present on some development systems and not others. The developer who reported it has updated from <IP_ADDRESS> to <IP_ADDRESS> - the issue remains on his system. The attached code has been relinked to work with <IP_ADDRESS>

can you give us links of all the pre-required installers/toolkits like VCOM, ADAS etc. Right now when I open the projects I have missing items

ADAS installation instructions are here - https://github.com/ni/adas-replay-hil-internal/wiki/Installation-Guidance
VCOM is on NI Package Manager - I have version 1.1 installed (which resolves an internal dependency issue).

Not sure if this is related, but while investigating the memory leak, (Issue #124), I found that the client stopped got hung when trying to read the server response after a few minutes of running this simple example
CommunicationHang.zip

I was also testing out streaming data instead of just messages. If the client doesn't read for a little bit (i.e. the server keeps sending data and causes a backup of lots of data), this results in the client getting hung in the read and the server also stops. See the attached example
StreamHangs.zip
.

This may be related to this issue: https://github.com/ni/grpc-labview/pull/126  Once we avoid ignoring previous occurrences, the grpc communication didn't hang anymore.

@NIbbuchanan I believe the hang issue became slower to occur when we ignore previous instances (about 15 mins instead of 30 secs) and the crashes went away, but we still see occassional hangs when registering for the status updates from multiple clients.
Email from the developer below:
I implemented the checks and crashes are gone now.
But i still notice sporadically block / hang in “..\emea-tbu-mercedes-dms-200933\Replay\Tools\Status_event_service\LV\StatusUpdate_client\RPC Service\StatusUpdate\End adas_StatusUpdate_RegisterStatusUpdate.vi”
I then have to kill LabVIEW as the call never returns.
I can set up a call with the developer to help understand the use case if that helps.

There were two other issues we found that may be causing this. @chadallee 's Token manager helps avoid crashes/hangs when writing to a client stream that has already been closed:
https://github.com/ni/grpc-labview/pull/120
And I also made the server/client stream write VIs non-reentrant to avoid simultaneous writes since this should not happen, but DLL doesn't currently block this correctly and can crash/hang. You should try making this change in your VIs as well.
https://github.com/ni/grpc-labview/issues/128
Here is a 64-bit DLL that has Chad's fix plus some memory leak fixes, plus Nathan's fix for closing client stream when there are outstanding items to read (my modified DLL just ignores any outstanding items when client stream is closed and correctly errors if client tries to read after stream is closed instead of hanging).
labview_grpc_server.zip


docs: Don't try to build gil-refs feature

Build for v0.23.0 docs is currently failing (https://docs.rs/crate/pyo3/0.23.0/builds/1542136)

Of course, thank you for all the amazing work on pyo3!


Adding css loader

I'm submitting a ...
[ ] bug report
[ ] feature request
[x] question about the decisions made in the repository

Is there a chance to add some css loader instead of that text "Loading..."? If it is which is the proper place to add those css?

You can add the css file or inline css to you index.html

as mentioned you can do this already with the index.html file


Split spring directory into mutiple secondary directories

Context
In version 4.0 of Spring Cloud for Azure, we are going to use multiple directories to group our modules which support differernt spring frameworks. For detailes, refer to design doc https://github.com/Azure/azure-sdk-for-java/wiki/Design-for-directory%2C-module-name-and-package-path-for-Spring-Cloud-Azure-messaging

Close this issue since this repo doesn't support the schema of third directory


Test project is was discovered and running test. After a password change, test in separate project are no longer discoverable.

Thanks for your interest in .NET Core.
Please note that this repo (dotnet/core) is not for filing product issues. Here are some repos where you can file an issue:

dotnet/cli - for CLI tools and questions
dotnet/corefx - for API issues and questions
dotnet/coreclr - for runtime issues
nuget/home - for NuGet questions and issues

What kind of password change are you talking about? How are you running the tests?

I think we're going to need more info to get any further here. I'm going to close this. Please reopen if you can provide any more data.


Roslyn showing invalid signature help in completion/diag

C# Extension Version:v2.0.41-beta.gc3fb724edb
C# Dev Kit Extension Version:
Steps to reproduce:

Use attached project
uncomment line 14 and create a new WebApp ctor
EXPECT: proper signature help

ACTUAL: not accurate

VS:

duplicate of https://github.com/dotnet/vscode-csharp/issues/6670 and fixed in the latest versions of the extension


fix crash in multi-modal

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@Narsil please have review. find the issue when enable this model in xpu. should be common issue.

@yao-matrix @yuanwu2017

@OlivierDehaene to be aware of the fix in  https://github.com/huggingface/text-generation-inference/pull/2245/commits/190368e1377224d654bc15c77d5b96ca5d295052

Thanks a lot for the changes! Rerunning tests now.


Add installation guide and fix demo gif

The guide will avoid moments like, "Wait do I have to use a lua interpreter?" and "What's openal32.dll?"

Hey, thanks for the PR.

Does it complain about missing openal32.dll for you? That's my bad. That's the sound library, and since I disabled the sound module, I figured it wouldn't need it, and it works just fine without it on my machine (I must have OpenAL installed though). I can fix the release to include it, you shouldn't have to download it separately.
Did the link to the demo gif not work for you, or you just think it's better to embed it?

heya

Yeah it complained about missing openal32.dll for me.
I think it's better to embed it. It communicates the essence faster.

If you agree with any of the changes it might be better for you to manually do them in one commit to avoid having so many. I messed up and needed multiple.


Thanks for this lib...

@MFlisar ...and for your effort for supporting it.
Please feel free to close this issue.

You're welcome


Is there a way to lock min date to 3 months before?

I am using mobipick for cheque date... so i want  to lock the min date to before 3 months date..cn u help me out of these?
One more thing that input box on which i am applying date picker, is dynamically created

This plugin is deprecated. I have no time to add any features. Sorry!


311 Info

Similar to permits issue, poll the following dataset: https://data.louisvilleky.gov/dataset/311-service-requests

Use the geofence widget to get notified of 311 requests that have opened in an area.

This issue was moved to office-of-civic-innovation/IFTTT-Smart-Louisville#22


Encrypt and sign one pass

Is there any way to encrypt and sign in one pass? Instead of encrypt first then sign using another node

Thank you for your feedback! Currently, encrypting and signing can't be done in one step, but we're open to adding this feature.

👍

Thanks! 🙏

Hi, is the new feature, encrypt or sign first? the final output is signature?

In the latest version, I had to remove the combined Encrypt/Sign and Decrypt/Verify operations.
The reason is:

Encryption typically uses the recipient's public key.
Signing usually requires the sender's private key.
Decryption is done by the recipient with their private key.
Verification is performed by the recipient using the sender's public key.
This process involves two separate key pairs.

Currently, there’s no straightforward way to represent two separate credentials in the node (or the necessary description for it is missing).

Just a clarification:
Currently the credential has a passphrase, public key and a private key field.
Would that not be all that's needed for encrypt, compress and sign in a single pass?
As you said one would put into credential 1:

the recipients public key for encryption in public key and
the senders private key for signing as private key.
Use the encrypt & sign node to generate the file to share with the other party (having received the public key from them and shared the signing public key with them).

When receiving a file we would put into credential 2:

separate senders public key to verify (what they encrypted with their private key) in the public key
separate recipients private key to decrypt (what the sender encrypted with their public key)
Use the verify & decrypt node to decrypt the file shared from the other party (having received their public key to verify and shared a public key to encrypt).

So encrypt & sign and verify & decrypt would be done with separate credential sets.
I might be missing something but I think that should work?
I attached a diagram to show the scenario if both sender and receiver were using n8n to exchange encrypted files.

Yes, that should work. I honestly never considered mixing private and public keys from different accounts in the credentials. As long as the number of clients remains manageable or the private key doesn't change, it shouldn't be a problem. I'll go ahead and implement this approach.

Just released a new version that reintroduces support for the combined operations Encrypt-And-Sign and Decrypt-And-Verify.


Object detection is not shown up in Apollo.

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): Ubuntu 18.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 5.0

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
docker/scripts/dev_start.sh docker/scripts/dev_into.sh ./apollo.sh build_gpu bootstrap.sh bridge.sh

and I started simulator.
cyber_monitor
Supporting materials (screenshots, command lines, code/script snippets):
Hello,
I'm having trouble in Perception module.
I use the LGSVL, and LGSVL works well but object detection is not displayed in Apollo.
At the module controller tab, I turned on the perception switch.
Sometime Perception switch is turned off automatically, but my GPU capacity is enough.
(I know that there are many issues about this, and the reason is about GPU. I use the 1660 Ti GPU.)

Cyber_monitor knows me that perception module is not working normally.

What should I do for Perception module working well?
Thank you.

are you receiving lidar messages ?

No, what means "lidar messages"?

are you receiving lidar messages ?

No, what means "lidar messages"?

for obstacle detection to work, you may need point cloud data as well sent from LGSVL

for obstacle detection to work, you may need point cloud data as well sent from LGSVL

How can I check the point cloud data?
In LGSVL, object detection works well, not in Apollo.

I believe the problem is that your GTX 1660 card is Turing architecture, like the RTX 20x0 series.
Apollo 5.0 does not support Turing, so you'll need to use a card with Pascal architecture like the GTX-1080. Alternatively you could try using Apollo Master, which (up until recently) was working with the Turing architecture, though it is not yet officially supported.  The most recent builds seem to have a problem with camera perception, but if that is resolved then you should be able to switch to apollo-master.
Or you can check out an older commit of apollo-master such as this one
You mentioned using apollo-5.0-lgsvl; there are instructions for using apollo-master with LGSVL here.

As mentioned above:

check the published message about lidar in cyber_monitor.
check the log in “apollo/data/log”  to see if there're some errors.

As mentioned above:

check the published message about lidar in cyber_monitor.
check the log in “apollo/data/log”  to see if there're some errors.

This is my error message. (apollo/data/log)
I can't find the file 'libperception_component_lidar.so'

I believe the problem is that your GTX 1660 card is Turing architecture, like the RTX 20x0 series.
Apollo 5.0 does not support Turing, so you'll need to use a card with Pascal architecture like the GTX-1080. Alternatively you could try using Apollo Master, which (up until recently) was working with the Turing architecture, though it is not yet officially supported. The most recent builds seem to have a problem with camera perception, but if that is resolved then you should be able to switch to apollo-master.
Or you can check out an older commit of apollo-master such as this one
You mentioned using apollo-5.0-lgsvl; there are instructions for using apollo-master with LGSVL here.

Thank you for advise.
However, Apollo Perception module still did not work well.
There is no different from apollo-5.0/lgsvl.
cyber_launch start modules/transform/launch/static_transform.launch has the error with the message.

The log you provided just info level logs, you should find some error level logs.

Oh, really thank you for informing me the important fact.
I'm trying the apollo-master with LGSVL with your link.

The log you provided just info level logs, you should find some error level logs.

There is no error log, only INFO log.

This error might be due to you have another static_transform process running in the background.
you may try to close it in the dreamview and then start the transform module in the terminal.

This error might be due to you have another static_transform process running in the background.
you may try to close it in the dreamview and then start the transform module in the terminal.

Oh, That's right.
I knew the fact you said, so I solved it just before.
However, I'm still having trouble executing Apollo.
'./apollo.sh test dreamview`
When this commend is executed, there is an error.

and so on...

How can I check the point cloud data?

is there a channel in cyber monitor related to point_cloud?

How can I check the point cloud data?

is there a channel in cyber monitor related to point_cloud?

yes, please checkout pointcloud keyword in https://github.com/ApolloAuto/apollo/blob/4d428a30df56f0941f3736c937deb7e33991ffbd/scripts/record_bag.py#L106 for reference

How can I check the point cloud data?

is there a channel in cyber monitor related to point_cloud?

How can I check the point cloud data?

is there a channel in cyber monitor related to point_cloud?

yes, please checkout pointcloud keyword in
https://github.com/ApolloAuto/apollo/blob/4d428a30df56f0941f3736c937deb7e33991ffbd/scripts/record_bag.py#L106
for reference

Yeah, PointCloud2 turned on now.

`cyber_launch start /apollo/modules/perception/production/launch/perception_all.launch'

'cyber_launch start /apollo/modules/perception/production/launch/perception_camera.launch`

THis is my error messages :(

'cyber_launch start /apollo/modules/perception/production/launch/perception_camera.launch`

Hi, I've encountered this yesterday.
I solved it by specifying the process_name attribute in the xml launch file:
modules/perception/production/launch/perception_camera.launch
<cyber>
    <desc>cyber modules list config</desc>
    <version>1.0.0</version>

    <!-- sample module config, and the files should have relative path like
         ./bin/cyber_launch
         ./bin/mainboard
         ./conf/dag_streaming_0.conf -->

    <module>
        <name>perception_camera</name>
        <dag_conf>/apollo/modules/perception/production/dag/dag_streaming_perception_camera.dag</dag_conf>
        <!-- if not set, use default process -->
        <process_name>camera_proception</process_name>
        <version>1.0.0</version>
    </module>

    <module>
        <name>motion_service</name>
        <dag_conf>/apollo/modules/perception/production/dag/dag_motion_service.dag</dag_conf>
        <!-- if not set, use default process -->
        <process_name>motion_service</process_name>
        <version>1.0.0</version>
    </module>
</cyber>


Improve doc for hal config artifact templates

Not much there about how this work. Plus there is this comment: "They're only usable for Jenkins triggers; they extract an artifact from the information jenkins supplies"

@demobox fyi


Added a BSVE CLI to help work with their API

I decided to cherry pick my other BSVE branch to push in the server side content alone without the client side components, which will take longer to finish.  I still need to fix the analysis test, but I think the actual search functionality still works.

Update: fixed the test.  This is ready for review.

LGTM.
It might be nice to have the CLI take a path to a JSON file of the credentials or pull from ENV vars, but I won't request these features until I have an actual need.

No click? :P

The CLI does actually use environment variables: BSVE_USERNAME, BSVE_APIKEY, BSVE_SECRETKEY.  I set those in bashrc so I don't have to worry about it.

@danlamanna I actually found click after I had done most of this, otherwise I would have considered it.


Copy and Pasting image

Will it be possible to paste an image from the clipboard into the editor?

@ddsky yes

@abr4xas How to prevent users dragging or pasting images inside the editor? I want to have a text-only editor. Thanks


Let users declare columns as URL-safe in lenses

As recently reported in the thread of #312 by @GeorgFerdinandSchneider and @VladimirAlexiev, the translation of R2RML's safe-encoding mechanism in SQL queries introduces a significant performance penalty when materializing the RDF graph.
In many cases this URL-safe-encoding function does not modify the DB string so we should give the option to users to declare this transformation as unnecessary.
This could be a novel kind of constraint to be specified in lenses, as we already do for non-nullability constraints and general functional dependencies.

@bcogrel do you have an idea when this might be implemented?

@yaskoo, I am planning to start working on it in the coming days. It should not be a lot of work, so I expect to have something to share early February.

Implemented by https://github.com/ontop/ontop/commit/978a18bc7f88b829cba176ec7e1e232ebce8daab. The new key is iriSafeConstraints (see the updated lens documentation).
See this file for an example.
This feature will be included in 5.0.2. It is already available in the Maven snapshot (5.0.2-SNAPSHOT).
@yaskoo, @GeorgFerdinandSchneider and @VladimirAlexiev, please give it a try and let me know if you need something.

@bcogrel, we're currently working on integrating this. Thanks!


Implement Track History

This has been on the back burner for a while - initial implementations were... dodgy and barely worked. I think I have a better idea of what needs to be done to make track history work now, I just need to commit to doing it.

Toggle to display history or not (part of Display filtering options)

Should work for individual items

History for each track
Global history lifetime setting - most likely in minutes but with the ability to handle multiple time formats
Tracks with history enabled automatically add history every so often, then remove when age > lifetime

https://learn.microsoft.com/en-us/dotnet/api/system.collections.queue?view=net-6.0

Implemented, mostly. Needs settings to be configurable and serialized. These settings should be purely local, no need to make them Server-authoritative.


Caching

I have separated the caching mechanism I came up with into this branch. I understand if this isn't what you had in mind as the caches are stored with each object, and I'm willing to try to implement time based refreshing in some manner in the future.

You may need to merge 0.3.0 into this branch as well

That looked awfully messy but this PR should include 0.3.0 changes.
I made the caches into dictionaries to allow for instant lookups when using any getById() method. In the case of System, caches are automatically populated the first time the API is called, and still must be repopulated manually using refresh().


[258] Only show full time and part time on subscription form

NB: there is some tech debt here.  At some point we should change the enum of working pattern types in the Vacancy model to no longer have these, once we're sure they're not in use any more.
Screenshots of UI changes:
Before

After

 Remove old education phases from the Job Alert form

All good 👍


grpcio-tools does not support protobuf v4

Currently set to 3.12 and later.
https://github.com/grpc/grpc/blob/master/tools/distrib/python/grpcio_tools/setup.py#L293
Would be very nice to use with protobuf v3 or v4.
Thank you!

Hello 👋
Just as a confirmation, is this issue solved with 1.51.1?
I just done a fresh installation and got protobuf 4.21.12 as a dependency
Successfully installed grpcio-tools-1.51.1 protobuf-4.21.12

Yes, this issue was resolved in 1.49.1


Wire up search() 1.0

Search 1.0:
The API for all searches is already implemented.    Learn now.  Fix later.
For now, we are doing a super duper simple implementation.
We pass in a list of tags, a hodgepodge set of #painTags and #contextTags which can describe a rough description of your project, team, and whatever else matters to you.  A developer types in the search box to retrieve Idea Flows on the home page, Glossary Definitions with tags in the descriptions, or FAQs with tags in the WTF/YAY events or FAQ notes.
There are search boxes on all the pages that need to be wired into the APIs:
http://om-ideaflow.herokuapp.com/s/#/
/ideaflow/task?tag={tag1}&tag={tag2}
/storyweb/glossary?tag={tag1}&tag={tag2}
/storyweb/faq?tag={tag1}&tag={tag2}
Future Vision:  The plan is to ultimately have a searchable metrics system, that has semantic models sophisticated enough to do SPARQL-based SPC in software development.  The search will eventually be against the semantic web as opposed to a postgres database, and get enriched with all kinds of rich capabilities.

Moved to ideaflow project


fix(): GraphiQL subscription client timeout is set in seconds instead of milliseconds

@blaugold Thanks for the contributions!


Add Login Page and SignUp page

Added SignUp Page
Commit# c12de4ca3237610918163f859fa0d757a8d1831d

Added Login Page
Commit# 48cdf7648cec46ce57ecd78a37f9905eac8a2485

Checked the code. We're good to close the issue.


Confused about IPA while doing Chinese G2P.

Thanks for this great work!
Here is my problem：
data = 'zho-s: 你'
out = tokenizer(words,padding=True,add_special_tokens=False,return_tensors='pt')
preds = model.generate(**out,num_beams=1)
phones = tokenizer.batch_decode(preds.tolist(),skip_special_tokens=True)
print(phones)

I searched from wiki, and what I expect is ni˨˩˦, however, the output is ni˨˩˦ni˨˩˦. In fact, for all mandarin, it doubles the output.
Is there some knowledge that I don't know about IPA which could explain this duplication?
Thanks!

Oh sorry to hear that.
Currently, I do not have a good way to solve it given the black-box nature of the T5 model. Which model checkpoint did you use? Could you switch to other checkpoints?
That's probably because the G2P model hadn't learned Mandarin well.  In our paper, the WER for Chinese is about 50% because the Chinese writing system is not transparent about its pronunciations. So a neural G2P is not suitable for Mandarin Chinese.  Such G2P models are more suitable for alphabetic writing systems. And repetition is a pretty common problem for text generation models.
You can definitely get more accurate pronunciations by querying the word in the Mandarin pronunciation dictionary.

Given that it doubles the output for all Mandarin words, it might be a problem in my preprocessing. I will check that again.

'<zho-s>: 你' gives a single 'ni˨˩˦'. I guess you have to put a bracket around the language code.

'<zho-s>: 你' gives a single 'ni˨˩˦'. I guess you have to put a bracket around the language code.

Thank you for your correction! You are absolutely right. Can't believe that I miss this typo.....

Thanks for this great work! Here is my problem：
data = 'zho-s: 你'
out = tokenizer(words,padding=True,add_special_tokens=False,return_tensors='pt')
preds = model.generate(**out,num_beams=1)
phones = tokenizer.batch_decode(preds.tolist(),skip_special_tokens=True)
print(phones)

I searched from wiki, and what I expect is ni˨˩˦, however, the output is ni˨˩˦ni˨˩˦. In fact, for all mandarin, it doubles the output. Is there some knowledge that I don't know about IPA which could explain this duplication?
Thanks!

Is that IPA phoneme? I can't read it, since the project had inferenced the g2pM polyphone data, I had guessed that it output as pinyin. How to convert pinyin into it?


Osiris wont load.

It just wont load, i have tried compiling myself, and using websites.
I have used, xenos injector and process hacker.

did you see OneByteLdr ?

Use Manual Map in Xenos. These settings work for me.

Aight will try

Ayyy it worked cheers mate, have a good one!


query regarding maven for snappy-java

snappy-java-<IP_ADDRESS> version contain pom.xml but after that pom.xml is removed and sbt is added.
in this pom i am not getting any source code of google snappy.
i want to confirm can we build xerial-snappy with pom file,we have to donwload the google snappy in our pom file.
pom file support for xerial snappy is present on maven central.

@anuscool For building snappy-java, you don't need pom.xml. See https://github.com/xerial/snappy-java#for-developers first.
pom.xml will be generated upon publishing snappy-java to Maven central.


fix an offense against the style guide

Use italics to define or introduce new terms

Do
Don't

A cluster is a set of nodes ...
A "cluster" is a set of nodes ...

These components form the control plane.
These components form the control plane.

changes in the commit

23 line **desired state** → *desired state*
29 line *desired state* → desired state

/assign @kbarnard10

/lgtm
/approve

@Bradamant3
Thank you for your review and merging.


azure acs kubernetes get-credentials Permission denied

I'm trying to get the credentials like this
az acs kubernetes get-credentials -g=<my_resource_group> -n=<my_cluster_name> and it's throwing this

I'm using this version
azure-cli (2.0.20)

acr (2.0.14)
acs (2.0.18)
appservice (0.1.19)
backup (1.0.2)
batch (3.1.6)
batchai (0.1.2)
billing (0.1.6)
cdn (0.0.10)
cloud (2.0.9)
cognitiveservices (0.1.9)
command-modules-nspkg (2.0.1)
component (2.0.8)
configure (2.0.12)
consumption (0.1.6)
container (0.1.12)
core (2.0.20)
cosmosdb (0.1.14)
dla (0.0.13)
dls (0.0.16)
eventgrid (0.1.5)
extension (0.0.5)
feedback (2.0.6)
find (0.2.7)
interactive (0.3.11)
iot (0.1.13)
keyvault (2.0.13)
lab (0.0.12)
monitor (0.0.11)
network (2.0.17)
nspkg (3.0.1)
profile (2.0.15)
rdbms (0.0.8)
redis (0.2.10)
resource (2.0.17)
role (2.0.14)
servicefabric (0.0.5)
sql (2.0.14)
storage (2.0.18)
vm (2.0.17)

Python location '/usr/local/opt/python3/bin/python3.6'
Extensions directory '/Users/ibraheemal-saady/.azure/cliextensions'

Python (Darwin) 3.6.3 (default, Oct 29 2017, 09:59:18)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)]

Legal docs and information: aka.ms/AzureCliLegal

any idea what's going on?

similar issue

This looks similar to https://github.com/Azure/azure-cli/issues/4746 but this is not on Windows.
cc: @mboersma @yugangw-msft

@IbraheemAlSaady We've had a few related issues so any other details would be useful.
https://github.com/Azure/azure-cli/issues?q=is%3Aissue+paramiko+is%3Aclosed
Is the key encrypted?

ah.. figured out my issue..  i had to pass my ssh key file path... --ssh-key-file

@derekbekoe I generated the cluster with the '--generate-ssh-key' flag, it was working when it was generated, but later when I'm trying to get credentials, I'm having the error above. The thing I did is that I reduced the VM count to 2 instead of 3 from the portal. Also my credit was due but I renewed. I assume that's not related but that's all what I did during the time I had the cluster. Hope it helps

@vshantharaj I tried that but didn't work too, I still get the same error

Did u try running as root...?
And ensure you use the same key which u used for creating the cluster...
On Nov 2, 2017 1:30 PM, "Ibraheem Al Saady"<EMAIL_ADDRESS>wrote:

@vshantharaj https://github.com/vshantharaj I tried that but didn't
work too, I still get the same error
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/4799#issuecomment-341516816,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGW_GrcTasyZi4HJ8XX0Oe_RTw5jMeX-ks5sygoogaJpZM4QN766
.

@vshantharaj yeah, didn't work.
It's frustrating, luckily it's a staging cluster, so I guess I'll just remove it and create another one , but if I moved to prudctuon and this happened, then it's a problem.
I hope it gets fixed

Cool... Some stuff I tried around this...( In case you want to give it a
shot)

update azure-cli
reinstalled azure-cli

On Nov 2, 2017 5:04 PM, "Ibraheem Al Saady"<EMAIL_ADDRESS>wrote:

@vshantharaj https://github.com/vshantharaj yeah, didn't work.
It's frustrating, luckily it's a staging cluster, so I guess I'll just
remove it and create another one , but if I moved to prudctuon and this
happened, then it's a problem.
I hope it gets fixed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/4799#issuecomment-341571850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGW_Gvhnht97PfWuEN-vRyrEmHWDF6daks5syjxdgaJpZM4QN766
.

Oh I did reinstall it twice haha, thanks for the help though, much appreciated.

The same issue here. And still don't know how to resolve

closing as az acs is deprecating


:bug: Fixed locale bug on Firefox on macOS

Signed-off-by: motss<EMAIL_ADDRESS>

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[BUG#2359][Alert] Mail Chinese name is too long garbled

Brief change log

Set the system property of "mail.mime.splitlongparameters" is false in the class "org.apache.dolphinscheduler.alert.utils.MailUtils"

Verify this pull request
This pull request is already covered by existing tests.

Manually verified the change by testing locally.

local test method : org.apache.dolphinscheduler.alert.utils.MailUtilsTest#testSendMails
situation one: Chinese 100.    result: success

situation two: Chinese 100 + English 100.   result: success

other situation: Whether I set this property or not, and whether the name contains Chinese or not.when the length of  attachment is too long, the mail will send failed. ( i have been test the situation that the length is 500, but i'm not sure the max length,because the exception is thrown by a native method)

https://github.com/apache/incubator-dolphinscheduler/issues/2359

Hi,
Thx a lot for your contribution.
LGTM.

Codecov Report

Merging #3199 into dev will decrease coverage by 5.91%.
The diff coverage is 100.00%.

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

SonarCloud Code Analysis is not running . please retry commit . Thx

ok,I have resubmitted it


Does it work with nextjs?

Hi,
Do you have an example for using it with nextjs? To me it looks like that it won't work. Thanks!

Hi, I haven't tried it. What specifically does not work for you?

It looks like getInitialProps is not called for some reason.

I mean when using it with nextjs pages. It seems to work with components though.

I don't know much about Next. Maybe this SO answer can help? I mean calling this component on server does not make much sense, right?

Closing as inactive.


feat(bench): added additional benchmarks

This pull request adds additional benchmarks to the tschema library. List the specific benchmarks that have been added.

[x] valibot
[x] ajv
[x] jsonschema
[x] joi
[x] yup

Benchmark results

These aren’t the same thing or same function . That’s why they’re not included.
Once there’s validator functions in place (#4) then comparing with these items actually makes sense. This is why the current benchmarks have a “builders” group too.
Closing for now. Will reopen later after #4 — as adding these then was already the plan.
Thank you


Order envlist

Codecov Report

Merging #3 into main will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          130       150   +20
  Branches        32        36    +4
=========================================
+ Hits           130       150   +20

Flag
Coverage Δ

#tests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

src/tox_ini_fmt/formatter/tox_section.py
100.00% <100.00%> (ø)

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 d9a0808...c3a3927. Read the comment docs.


We need some help in adding switches to our Java files such as --emulate or -e

What we need help with is adding switches so users can run the program in a certain way or run a command without entering it after load. We are taking about switches from the command Line such as:
-r help
With it being run as "java -jar TeddyAlive.jar -r help"

Ok, we need your help as we're new to Java files and coding.  We know html and basic Java commands + APIs


Support RSpec 4

RSpec 4 has changed the semantic of multi-condition filtering.  To include a module to a group matching any of the conditions, the conditions should be separate statements.
See:

https://github.com/rspec/rspec-core/issues/1821
https://github.com/rspec/rspec-core/pull/2874
example failure (Ammeter::RSpec::Rails::GeneratorExampleGroup that defines destination is not included) https://github.com/rspec/rspec-core/pull/2874/checks?check_run_id=1942170588

@alexrothenberg Appreciate it if you could accept and merge. RSpec 4's development build is red.

Spec failures look unrelated:
      +LoadError: cannot load such file -- bootsnap/setup

rspec-rails-4.1.0.pre requires ruby version >= 2.2.0, which is incompatible with the current version, ruby 2.1.2p95

Failure/Error: ActiveRecord::Base.establish_connection :adapter => "sqlite3", :database => ":memory:"

Gem::LoadError:

  Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).

@pirj  Thank you for this. I'll merge and try to get a new version onto rubygems as soon as I can get the build green again. As you've figured out I haven't touched this in a long time and bitrot has caused CI to go red but I should be able to resolve that with a little time.

Thank you!
We've worked this around with mininal impact in rspec-rails's specs (https://github.com/rspec/rspec-rails/pull/2469/files),
so please take your time. No pressure.
If you need help with any of the build issues - let me know, chances are we've been though some of this in RSpec, and I could help fixing or point out at our fixes.

Thanks for the offer. I used the github actions https://github.com/rspec/rspec-rails/blob/main/.github/workflows/ci.yml from rspec-rails as inspiration and was able to get it working in #65. I've already merged and pushed v1.1.5 up to https://rubygems.org/gems/ammeter.
I'm so happy to know that the rspec team still finds this useful as I use rspec every day and appreciate all the hard work you all have done to keep it awesome all these years 😍

Thank you once again!


License? Are these redistributable?

I'm mostly interested in the answer to this:
Can I re-host the contents of these archives, in whole or in part, freely?
Use-case: Packaging retdec for distribution in NixOS, is it okay for us to host this content?
(this is often prohibited for proprietary software and resources)
Licenses also clarify rights granted as much as restrict use... sometimes promising the content is yours to share or that you promise not to sue folks using it O:).
Please consider specifying licensing details so we can provide retdec to users with these parts included!

Thank you for noticing! This is an omission on our part. We will add the missing licensing details.

Added MIT license.


npartitions obtained with from_pandas... inconsistent?

from dask import dataframe as dd
import pandas as pd
a=list('aabbccddeef')
b=list(range(len(a)))
df = pd.DataFrame(dict(a=a, b=b),
                  index = pd.date_range(start='20200101',end='20200106', periods=len(a)))
ddf = dd.from_pandas(df, npartitions=5)
ddf.npartitions

Result
4

from dask import dataframe as dd
import pandas as pd
a=list('aabbccddeef')
b=list(range(len(a)))
df = pd.DataFrame(dict(a=a, b=b),
                  index = pd.date_range(start='20200101',end='20200106', periods=len(a)))
ddf = dd.from_pandas(df, npartitions=6)
ddf.npartitions

Result
5

The 2nd result tends to show that getting 5 partitions would be doable.
So, when asking for 5 partitions as in the 1st example, why not getting them?
Bests

npartitions : int, optional
The number of partitions of the index to create. Note that depending on
the size and index of the dataframe, the output may have fewer
partitions than requested.

You get the correct answer in the limit of many rows. The calculation is actually
chunksize = int(ceil(nrows / npartitions))

(in dask.dataframe.io) where you should notice the ceil - this guarantees at most as many partitions as requested, and if far easier to code than trying to get the exact number, and having irregularly sized partitions.
You could choose to supply chunksize= directly, if preferable.


Bump retrieval code go modules

Summary

This libdependency package bump may reduce the number of failures we see related to unmarshalling a bad JSON response, or at least provide more fruitful error messages on failures.
Use Cases

Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

bump @paketo-buildpacks/php-maintainers


add redirects for xcm overhaul

Original PR: https://github.com/moonbeam-foundation/moonbeam-docs/pull/777

@eshaben looks good! Fix conflicts plz. Also, it would be good to run the 404 checker tool in a local build to ensure we did not mess anything up!


feat: 🎸 expand collection metadata spec and name

Description
Return more information for collection metadata so its easier to see what each key should be
Breaking Changes
collection.collectionMetadataKeys() is renamed to collection.collectionMetadata() (method was alpha branch only)
JIRA Link
Originally implemented: DA-876
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 23.0.0-alpha.16 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


{Mysql} az mysql flexible-server import create: Adding logic for external migration

Related command

az mysql flexible-server create
Description

This pr adds logic for external migrations.
Testing Guide

History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Mysql


Found unknown categories

Getting this error:
ValueError: ['term', 'application_type', 'home_ownership', 'purpose']: Found unknown categories ['wedding'] in column 3 during transform
The full stack of error is here...
https://github.com/shantanuo/stack_question/blob/master/loan-risk-neural-network.ipynb

Oops, GitHub never notified me when this issue was opened; sorry I missed this! I'll try and take a deeper look at this when I've got some free time.


Subscriptions

There are a few notable issues (mostly dealing with the FeaturedCategory component), and it could be presented much nicer as subscriptions are being loaded. I think we should try to get this in now, to try and catch any major bugs. I will continue to clean it up and improve the styling over the next couple days and fix any major bugs we find during RC testing.
Notable issues:
~Subscriptions don't load when refreshing the page~
(hacked together a fix, we will need to rework the initial load to wait for the rehydrate action)
Can't subscribe to pages with no content
Can only view the first 10 files per channel on the subscriptions page (this should be easy to fix)
The actual saving of subscriptions seems to work pretty well though

small nitpick, does anyone else agree that this spacing is too much between the Home / Subscriptions menu and Trending?

@liamcardenas agreed. dropped it down to 24px

@kauffj We can probably move the subscribe button inside FileActions, I think we should keep it as is for now just to get it in now


Show class icon in the documentation page header

This PR makes documentation pages show the class icon next to the class name in the header. It uses the same method as the help search dialog to find class icons, so the icons match up.

Oh that's cool. Is there a reason why not have it for the "Inherits" and the "Inherited by" lists?
It may be a little bit distracting maybe?

Is there a reason why not have it for the "Inherits" and the "Inherited by" lists?

I thought that might look a bit messy, especially for classes that have a lot of classes inheriting them.


DBZ-7305: Align snapshot modes for DB2

closes: https://issues.redhat.com/browse/DBZ-7305

@mfvitale Applied, thanks!


Introduce types and clients for Metrics APIs

This PR introduces types and clients for both the custom metrics API and the resource metrics API.
The resource metrics API uses autogenerated clients, while the custom metrics API, due the nature of it's URLs, uses a custom client.

@piosz PTAL

A couple of notes on this PR:
Generating the generated files requires https://github.com/kubernetes/repo-infra/pull/7 (and needs to be placed in vendor).
I've tested this PR against my WIP copy of HPA v2 part III (use the custom metrics API, and also use the actual resource metrics API clients), so the code is at least sane enough to work properly (the bits required for the testing can be found at https://github.com/DirectXMan12/kubernetes/tree/feature/hpa-v2-use-cm-api and https://github.com/DirectXMan12/heapster/tree/feature/use-cm-types, which should turn into actual PRs shortly).
@kubernetes/sig-api-machinery-misc  I wasn't sure how to avoid depending on k8s.io/client-go/pkg/api for the autogenerated clients -- a bunch of that autogenerated code seems to rely on api.{Scheme,etc} being a global.  Any ideas there?

Can we split this PR into 2 separate ones: with custom metrics and metrics? Overall looks good for me, thought I'd like some from api-machinery team to take a look.

cc @kubernetes/sig-api-machinery-pr-reviews PTAL for general sanity

@kubernetes/sig-api-machinery-misc I wasn't sure how to avoid depending on k8s.io/client-go/pkg/api for the autogenerated clients -- a bunch of that autogenerated code seems to rely on api.{Scheme,etc} being a global. Any ideas there?

We have https://github.com/kubernetes/kubernetes/pull/41486 open and lgtm'ed.  Google US is out today, so we'll given Daniel a chance to take a look tomorrow.

ack, I'll pull that into kubernetes/repo-infra#7 once it's merged, and then regen this PR

This should be all set with regards to kubernetes/kubernetes#41486 -- I've regenerated with that code.

After a quick glance-over from someone on @kubernetes/sig-api-machinery-pr-reviews, I'd like to get this merged so that the Kubernetes PRs depending on it can move forward

You need fuzzer tests.  See https://github.com/kubernetes/sample-apiserver/blob/master/pkg/apis/wardle/install/install_test.go

Alright, I've addressed all the comments here, I believe (with the exception of cross-registering metrics, which we'll deal with later).  I'm going to merge this so the dependent PRs can move forwards.


How can i change the lat lng to different location it is inbuilt location in austraila

How can i change the lat lng to different location it is inbuilt location in austraila

Hi stuart how are u?  How can i change the lat lng to different location it is inbuilt location in austraila

Hi @rohith231 , not sure if you still need this. But you can change this line "   var mymap = L.map('mapid').setView([yourLat, yourLng], 6);. Please refer to leaflet documentation for more map related customization. https://leafletjs.com/reference-1.7.1.html


'/export/share

what's the issue is?

what's the issue is?
About VQA,which version for visual-genome?I download genome dataset and run VQA,but it occurs this problem:FileNotFoundError: [Errno 2] No such file or directory: '/export/share/datasets/vision/visual-genome/image/2389813.jpg',i think i download wrong dataset,could you tell me which version?


Feature Request: Wake up service

Would it be possible to wake up the device by calling a service from home assistant?

I was not aware Alexa devices could sleep. Are you talking about the show? Can you find an option in the official Alexa app? If not, probably not.

Is it available in the Amazon Alexa app?

I need this feature too.
On the echo shows you can say "Alexa Display off".
After that when you just say Alexa, it switches on the display and listening...
But when you send an custom command "Alexa Display on" it does not work.
Is there such a feature?

I need this feature too.
On the echo shows you can say "Alexa Display off".
After that when you just say Alexa, it switches on the display and listening...
But when you send an custom command "Alexa Display on" it does not work.
Is there such a feature?

https://github.com/custom-components/alexa_media_player/issues/1731#issuecomment-1264594021

I need this feature too.
On the echo shows you can say "Alexa Display off".
After that when you just say Alexa, it switches on the display and listening...
But when you send an custom command "Alexa Display on" it does not work.
Is there such a feature?

#1731 (comment)

Sadly, did'nt found way in the app to archive this.

bump


Regex Flag

Hi,
It would be of great interest if you could add a flag to allow a quick search with a regex expression, such as:
flags:
 -regex, --regex expression
Please implement this option.
Regards.

Thanks for filing the issue. I'll look into this now.

This has been added via new --custom/-c switches, check the README. I'll cut a new release in a minute.


Report Broken when using "useCucumberStepReporter":"true"

When I use allure-reporter to generate a Cucumber Report, using "useCucumberStepReporter":"true" and have more than one Scenario in one Feature, the generated report is the following:
Features:
Feature: Frontend Sanity

  Scenario: Login
    Given I login to Selfcare
      | user                  |
      |<EMAIL_ADDRESS>|

    Then I navigate to "Orders" Page

    Then I check that we are in "Orders" Page
  Scenario: Login

    Then I navigate to "Orders" Page

    Then I check that we are in "Orders" Page
  Scenario: Login

    Then I navigate to "Orders" Page

    Then I check that we are in "Orders" Page

Feature: Orders

  Scenario: Create Order
    Given I "Internal Delete" "Client" "orders_customer_01"
      | fromDB |
      | true   |

    When Via "Internal_SDP" API, I "Create" "Subscription" "orders_subs_01"
      | customerId         | customerName       | operatorId   |
      | orders_customer_01 | orders_customer_01 | [operatorId] |
    Then API status code should be "201"

  #CREATE SERVICE
    When Via "Internal_SDP" API, I "Update" "Subscription" "orders_subs_01"
      | ixsId          | adminName         | adminEmail        | adminLogin        |
      | IXS.IOrders.01 |<EMAIL_ADDRESS>|<EMAIL_ADDRESS>|<EMAIL_ADDRESS>|
    Then API status code should be "201"

    Then I set password for user
      | user              | realm               |
      |<EMAIL_ADDRESS>| selfcare.[operator] |
#
    Given I login to Selfcare
      | user              | password  |
      |<EMAIL_ADDRESS>| 123qwerty |

    When I navigate to "Orders" Page

    And I create Order with the following parameters
      | amount | format         | robustnessLevel | simType | name | contact   | address      |
      | 2      | FullSize (2FF) | Robust          | USIM    | name | 912345677 | Morada Teste |

    Then I check that the first order has the following info
      |Canal do pedido|Nome do utilizador   | Estado    |
      |Portal<EMAIL_ADDRESS>  | Submetido |

If I unset  "useCucumberStepReporter", the report is correctly generated (with every step being treated as on test):

Versions:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi @miguelsantos500 which wdio-cucumber-framework version did you use?

Sorry, updated above.

@miguelsantos500 try to update wdio-cucumber to the latest v2.2.2.
If it doesn't help you may go back to v1.1.1 for me it works.

Works with version 2.2.2, therefore I'm closing the issue.
However, is "useCucumberStepReporter" supposed to aggregate Cucumber tests by Feature?
Wouldn't it make more sense to aggregate by Scenario?

In your screen reporter works incorrect.
Steps from different scenarios should not join in one.
@miguelsantos500 make scenario name unique
instead of
Scenario: Login
Scenario: Login
Scenario: Login
make
Scenario: Login smth1
Scenario: Login smth2
Scenario: Login smth3
maybe it help
BTW I didn't test it fully with wdio-cucumber v2+ and won't fix any bug cuz now v2 works incorrect for me and we port this to wdio v5


Is there a way i can launch an application which is pinned to taskbar

Hi Team,
I have a scenario where i need to launch an application from task bar and then at end i also want to remove it from taskbar and validate if its removed . Is there any way i can do it ?
Similar to this https://github.com/Microsoft/WinAppDriver/issues/78 , but for application pinned to taskbar i cant see any info in inspect

Have you tried anything?


cc: error: arm64: No such file or directory / compilation of both libvips and sharp from source

Did you see the documentation relating to installation?
yes
Have you ensured the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime?
yes
Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
yes
If you are installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
yes when I ues npm install --unsafe-perm flag ，it didn't work. The error is the same.
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
I am not using that feature
What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages?
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   '/usr/local/node/bin/node',
npm verb cli   '/usr/local/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   'sharp'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm verb npm-session b6e9d019f8f8e2ef
npm http fetch GET 304 https://registry.npm.taobao.org/sharp 413ms (from cache)
npm timing stage:loadCurrentTree Completed in 1044ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 4ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 348ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 329ms
npm timing stage:loadIdealTree Completed in 859ms
npm timing stage:generateActionsToTake Completed in 32ms
npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /root/.npm/_locks/staging-fe1316a61e55350c.lock for /var/testImageServer/node_modules/.staging
npm timing action:extract Completed in 119ms
npm http fetch POST 404 https://registry.npm.taobao.org/-/npm/v1/security/audits/quick 156ms
npm timing action:finalize Completed in 13ms
npm timing action:refresh-package-json Completed in 23ms
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm timing action:preinstall Completed in 4ms
npm info linkStuff<EMAIL_ADDRESS>npm timing action:build Completed in 4ms
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /var/testImageServer/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Detected globally-installed libvips v8.10.2
info sharp Building from source via node-gyp
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/usr/local/node/bin/node',
gyp verb cli   '/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | arm64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "/usr/bin/python"
gyp verb find Python - executing "/usr/bin/python" to get version
gyp verb find Python - version is "2.7.16"
gyp info find Python using Python version 2.7.16 found at "/usr/bin/python"
gyp verb get node dir no --target version specified, falling back to host node version: 12.19.0
gyp verb command install [ '12.19.0' ]
gyp verb install input version string "12.19.0"
gyp verb install installing version: 12.19.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.19.0
gyp verb build dir attempting to create "build" dir: /var/testImageServer/node_modules/sharp/build
gyp verb build dir "build" dir needed to be created? /var/testImageServer/node_modules/sharp/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /var/testImageServer/node_modules/sharp/build/config.gypi
gyp verb config.gypi checking for gypi file: /var/testImageServer/node_modules/sharp/config.gypi
gyp verb common.gypi checking for gypi file: /var/testImageServer/node_modules/sharp/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args   '/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/var/testImageServer/node_modules/sharp/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.cache/node-gyp/12.19.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/12.19.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/node/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/12.19.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/var/testImageServer/node_modules/sharp',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture arm64
gyp verb node dev dir /root/.cache/node-gyp/12.19.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/var/testImageServer/node_modules/sharp/build'
  cc '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' -I/root/.cache/node-gyp/12.19.0/include/node -I/root/.cache/node-gyp/12.19.0/src -I/root/.cache/node-gyp/12.19.0/deps/openssl/config -I/root/.cache/node-gyp/12.19.0/deps/openssl/openssl/include -I/root/.cache/node-gyp/12.19.0/deps/uv/include -I/root/.cache/node-gyp/12.19.0/deps/zlib -I/root/.cache/node-gyp/12.19.0/deps/v8/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/nothing/../node-addon-api/nothing.o.d.raw  -Wall -arch arm64 -miphoneos-version-min=8.0 -funwind-tables -c -o Release/obj.target/nothing/../node-addon-api/nothing.o ../../node-addon-api/nothing.c
cc: error: arm64: No such file or directory
cc: error: unrecognized command line option ‘-arch’; did you mean ‘-march=’?
cc: error: unrecognized command line option ‘-miphoneos-version-min=8.0’
make: *** [../node-addon-api/nothing.target.mk:107: Release/obj.target/nothing/../node-addon-api/nothing.o] Error 1
make: Leaving directory '/var/testImageServer/node_modules/sharp/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.47-OPENFANS+20200622-v8
gyp ERR! command "/usr/local/node/bin/node" "/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/testImageServer/node_modules/sharp
gyp ERR! node -v v12.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm verb lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle false
npm verb lifecycle<EMAIL_ADDRESS>PATH: /usr/local/node/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/testImageServer/node_modules/sharp/node_modules/.bin:/var/testImageServer/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
npm verb lifecycle<EMAIL_ADDRESS>CWD: /var/testImageServer/node_modules/sharp
npm info lifecycle<EMAIL_ADDRESS>Failed to exec install script
npm timing action:install Completed in 2763ms
npm verb unlock done using /root/.npm/_locks/staging-fe1316a61e55350c.lock for /var/testImageServer/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 34ms
npm timing stage:runTopLevelLifecycles Completed in 5088ms
npm WARN enoent ENOENT: no such file or directory, open '/var/testImageServer/package.json'
npm verb enoent This is related to npm not being able to find a file.
npm verb enoent
npm WARN testImageServer No description
npm WARN testImageServer No repository field.
npm WARN testImageServer No README data
npm WARN testImageServer No license field.

npm verb stack Error<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (/usr/local/node/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
npm verb stack     at EventEmitter.emit (events.js:314:20)
npm verb stack     at ChildProcess.<anonymous> (/usr/local/node/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:314:20)
npm verb stack     at maybeClose (internal/child_process.js:1021:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /var/testImageServer
npm verb Linux 5.4.47-OPENFANS+20200622-v8
npm verb argv "/usr/local/node/bin/node" "/usr/local/bin/npm" "install" "--verbose" "sharp"
npm verb node v12.19.0
npm verb npm  v6.14.8
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 6263ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-11-29T13_25_19_070Z-debug.log

cc: error: arm64: No such file or directory

The libvips was installed according to the instructions: https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball.
Next, I installed sharp. At this point, everything seems to be in line with expectations.
And I tried to make a resize image demo.But an error is prompted. VipsOperation: class "jpegsave" not found
When I tried to install the libjpeg, the system reported cc: error: arm64: No such file or directory.
What is the output of running npx envinfo --binaries --system?
Raspberry Pi 4B
  System:
    OS: Linux 5.4 Debian GNU/Linux 10 (buster) 10 (buster)
    CPU: (4) arm64 unknown
    Memory: 421.39 MB / 3.71 GB
    Container: Yes
    Shell: 5.0.3 - /bin/bash
  Binaries:
    Node: 12.19.0 - /usr/local/bin/node
    npm: 6.14.8 - /usr/local/bin/npm

Hi, the salient part of the installation log is:

cc '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' -I/root/.cache/node-gyp/12.19.0/include/node -I/root/.cache/node-gyp/12.19.0/src -I/root/.cache/node-gyp/12.19.0/deps/openssl/config -I/root/.cache/node-gyp/12.19.0/deps/openssl/openssl/include -I/root/.cache/node-gyp/12.19.0/deps/uv/include -I/root/.cache/node-gyp/12.19.0/deps/zlib -I/root/.cache/node-gyp/12.19.0/deps/v8/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/nothing/../node-addon-api/nothing.o.d.raw  -Wall -arch arm64 -miphoneos-version-min=8.0 -funwind-tables -c -o Release/obj.target/nothing/../node-addon-api/nothing.o ../../node-addon-api/nothing.c
cc: error: arm64: No such file or directory
cc: error: unrecognized command line option ‘-arch’; did you mean ‘-march=’?
cc: error: unrecognized command line option ‘-miphoneos-version-min=8.0’

The part that says -Wall -arch arm64 -miphoneos-version-min=8.0 -funwind-tables is injected from the environment in which you're running npm. Have you set a custom CFLAGS environment variable?

Thank you for your reply.
I'm not sure.I did not actively set.
I try echo $CFLAGS.There is no output.

Something in your local build environment is setting these values so you'll need to find it and remove them.
(If it helps, they appear to be the sort of thing that you might have previously set when cross-compiling for Apple mobile devices, e.g. https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/BUILDING.md#armv8-64-bit )

okay,I'll try it later.

sharp has been successfully installed.
In fact, we should clear the build path and re install libjpeg with export  CFLAGS="".
But when I tried to run the image resize demo,it reported the following error：
const sharp = require("sharp");
async function testTime(fn){
	const start  = new Date();
	await fn();
	const end = new Date();
	console.log(end-start);
}

testTime(async function(){
	await sharp("./flower.png").resize(800).toFile("out.jpeg");
});

(node:13966) UnhandledPromiseRejectionWarning: Error: VipsOperation: class "jpegsave" not found

(node:13966) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:13966) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm sure I installed the libjpeg
root@cluster-node1:/var/testImageServer# ldconfig -v | grep jpeg
ldconfig: Can't stat /usr/local/lib/aarch64-linux-gnu: No such file or directory
ldconfig: Path `/lib/aarch64-linux-gnu' given more than once
ldconfig: Path `/usr/lib/aarch64-linux-gnu' given more than once
ldconfig: /lib/aarch64-linux-gnu/ld-2.28.so is the dynamic linker, ignoring

	libjpeg.so.62 -> libjpeg.so.62.2.0
	libturbojpeg.so.0 -> libturbojpeg.so.0.1.0
	libmjpegutils-2.1.so.0 -> libmjpegutils-2.1.so.0.0.0

Error: VipsOperation: class "jpegsave" not found

You'll need to compile libvips with support for libjpeg(-turbo).

ok，I got it.

support 8bpp PNG quantisation:		no
  (requires libimagequant)
file import/export with libtiff:	no
file import/export with giflib:		no
file import/export with libjpeg:	no
image pyramid export:			no
  (requires libgsf-1 1.14.26 or later)
use libexif to load/save JPEG metadata: no

When I tried to reload libvips, libjpeg still showed no effect.

root@cluster-node1:~/vips-8.10.2# ldconfig -p |grep jpeg
	libturbojpeg.so.0 (libc6,AArch64) => /usr/lib/aarch64-linux-gnu/libturbojpeg.so.0
	libmjpegutils-2.1.so.0 (libc6,AArch64) => /usr/lib/aarch64-linux-gnu/libmjpegutils-2.1.so.0
	libjpeg.so.62 (libc6,AArch64) => /usr/lib/aarch64-linux-gnu/libjpeg.so.62

./configure \
	--with-libjpeg-includes=/usr/lib/aarch64-linux-gnu \
        --with-libjpeg-libraries=/usr/lib/aarch64-linux-gnu

I use this method to try to install libvips

Have the libjpeg header files been installed? https://packages.debian.org/buster/libjpeg62-turbo-dev

perfect，In line with expectations.

For the first time for me, use it on raspberry.
I'm going to build a picture service on raspberry 4B cluster, and generate performance reports for raspberry system.
If you are interested, I will share the experimental results with you.


Not work today

Today the serve does not work.

Maybe you are within the EU, there are strict rules about cookies there. Try it with a VPN. If it doesn't help I'll still finish the debug mode though

How did you try it?

How did you try it?

The settings I configured earlier aren't working today. But after resetting with the deployment button, everything's running smoothly. There are no problems now. Thank you!

Okay, have a nice day


contract source code should be provided together with binary code

Cheating will always happens if we dont know what a contract is doing, it's too troublesome for every user to verify contract. I think a contract should be forced to open source for audit. For example, when a contract is published, the source code should also be provided, and the BPs should compile the source code, and check hash.

@bytemaster


Check the available system space before starting the download.

Probably, prompt the user with available space and confirm to go ahead with the download or not.

Yes good, can we show this prompt if there will be less space ? I haven't seen other downloaders like wget and curl asking for every download

Say, the file size is 5Gb and the available space is 2.5 Gb.
do we want to stop the download in between?  wouldn't it be better to prompt the user beforehand?

@setraj Yes, we are in the same agreement basically, I was talking about this case:
the required size is already there in the disk, should we still prompt ? or go ahead ?

ok, I get you.
Yeah in that case we can silently proceed with the download.
in case the space is not sufficient, we can notify the user that the download can't be continued because of insufficient space.

ok please proceed implementation
On Sat, Aug 7, 2021, 13:25 Rajesh Sethi @.***> wrote:

ok, I get you.
Yeah in that case we can silently proceed with the download.
in case the space is not sufficient, we can notify the user that the
download can't be continued because of insufficient space.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/arvyshka/blazer/issues/32#issuecomment-894636073, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBFCKJWWPTESQE4KG7Z45TT3UCY5ANCNFSM5BVM4R3A
.


Fix for a creation of new file incase of a static obfuscation scenarios

/label tide/merge-method-squash


VocabTree matching doesn't work

I am trying to use VocabTree matching and got the following exception
==============================================================================
Vocabulary tree feature matching
==============================================================================

terminate called after throwing an instance of 'flann::FLANNException'
  what():  Invalid index file, wrong signature

The matching is called like that
opts = pycolmap.VocabTreeMatchingOptions()
opts.num_images = 30
opts.vocab_tree_path = "/mnt/hdd/vocab_tree_flickr100K_words32K.bin"
pycolmap.match_vocabtree(database_path, matching_options=opts)

Is it a bug or maybe I am doing something wrong?

I cannot reproduce this at HEAD. There was a bug in v0.3, which has been fixed for v0.4 by https://github.com/colmap/pycolmap/pull/128.
import pycolmap
image_dir = '...'
database_path = '...'
pycolmap.extract_features(database_path, image_dir)

vocab_path = 'vocab_tree_flickr100K_words32K.bin'
# vocab_path = 'vocab_tree_flickr100K_words256K.bin'
# vocab_path = 'vocab_tree_flickr100K_words1M.bin'
!wget https://demuc.de/colmap/$vocab_path -O $vocab_path

opts = pycolmap.VocabTreeMatchingOptions(vocab_tree_path=vocab_path)
opts.check()
pycolmap.match_vocabtree(database_path, matching_options=opts)

Thank you very much!
I don't understand why it didn't work for me previously, but now it indeed works.


Consider extending EventEmitter in sources (close #95)

\cc @AlexanderMoskovkin @inikulin @LavrovArtem

lgtm

lgtm

lgtm


[docs][base] Move styles to the bottom of demos code for Menu

Part of #36498

[x] I have followed (at least) the PR section of the contributing guide.

This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.

@michaldudak this PR is ready for review

@gitstart I am unable to push to your branch (getting access denied). Can you merge with the latest master branch to run the ci/codesandbox build again so that we can merge the PR?

@gitstart I am unable to push to your branch (getting access denied). Can you merge with the latest master branch to run the ci/codesandbox build again so that we can merge the PR?

Done @ZeeshanTamboli


MultiheadAttention   conversion

How torch.nn.MultiheadAttention integrates with sageattention?
What should I do?

Thank you for reaching out.
SageAttention only supports q, k, v as inputs and outputs the attn_output. Unlike MultiheadAttention, which takes q, k, v before the linear transformation as input and outputs a linear transformation of attn_output. You might need to complete those transformations before and after sageattention using Torch by referring the code of MultiheadAttention.

You mean you need to refactor MultiheadAttention, do you

Yes, you should complete the computation contained in the MultiheadAttention function except for $\mathrm{Softmax}(QK^\top / \sqrt{d}) V$ that can be done by sageattention.
By the way, maybe you can Star and Watch our repository for possible updates, and we will appreciate that.

That is, That is, I need to replace the Softmax calculations in it, right?

Do I need to do attention calculations myself like this?
def forward(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor,
key_padding_mask: Optional[torch.Tensor] = None,
need_weights: bool = True, attn_mask: Optional[torch.Tensor] = None) -> Tuple[torch.Tensor, Optional[torch.Tensor]]:
    if self.batch_first:
        query, key, value = [x.transpose(1, 0) for x in (query, key, value)]

    # Linear projections
    query = F.linear(query, self.q_proj_weight)  # (N, L_Q, E)
    key = F.linear(key, self.k_proj_weight)       # (N, L_K, E)
    value = F.linear(value, self.v_proj_weight)   # (N, L_V, E)

    # Split into multiple heads
    query = query.view(query.size(0), query.size(1), self.num_heads, self.head_dim).transpose(1, 2)  # (N, num_heads, L_Q, head_dim)
    key = key.view(key.size(0), key.size(1), self.num_heads, self.head_dim).transpose(1, 2)          # (N, num_heads, L_K, head_dim)
    value = value.view(value.size(0), value.size(1), self.num_heads, self.head_dim).transpose(1, 2)  # (N, num_heads, L_V, head_dim)

    # 注意力计算：QK^T / √d
    dk = query.size(-1) ** 0.5
    attn_scores = torch.matmul(query, key.transpose(-2, -1)) / dk  # (N, num_heads, L_Q, L_K)

    # 使用 SageAttention
    attn_output = sageattn(attn_scores

I see that the internal calculation of MultiheadAttention looks like this, and here is the part that can be replaced, but I don't know how to change it, because it has two return values, and ours has only one return value, I don't know how to fix it.
attn_output, attn_output_weights = _scaled_dot_product_attention(q, k, v, attn_mask, dropout_p)

start = time.time()
attn_output1 = F.scaled_dot_product_attention(q, k, v, attn_mask, dropout_p, is_causal)
print('ini_times:', start, '\t', time.time() - start, end='\t')
time.sleep(3)
start = time.time()
attn_output = sageattn(q, k, v, tensor_layout="HND", is_causal=is_causal)
print('sage_times:', start, '\t',  time.time() - start)
这样进行统计之后，我发现我的运行速度没有降低，为什么呢？
ini_times:<PHONE_NUMBER>.4466343 	 0.0	sage_times:<PHONE_NUMBER>.447369 	 0.0010123252868652344
ini_times:<PHONE_NUMBER>.4504008 	 0.0	sage_times:<PHONE_NUMBER>.4540765 	 0.0017654895782470703
ini_times:<PHONE_NUMBER>.4588583 	 0.0	sage_times:<PHONE_NUMBER>.465288 	 0.0007486343383789062
ini_times:<PHONE_NUMBER>.4700654 	 0.0	sage_times:<PHONE_NUMBER>.4787986 	 0.0017690658569335938
ini_times:<PHONE_NUMBER>.485545 	 0.0	sage_times:<PHONE_NUMBER>.4895458 	 0.0
ini_times:<PHONE_NUMBER>.4915357 	 0.0	sage_times:<PHONE_NUMBER>.5012853 	 0.0006971359252929688
ini_times:<PHONE_NUMBER>.50397 	 0.0	sage_times:<PHONE_NUMBER>.5077531 	 0.0
ini_times:<PHONE_NUMBER>.5097473 	 0.0	sage_times:<PHONE_NUMBER>.5140347 	 0.0010018348693847656
ini_times:<PHONE_NUMBER>.5170624 	 0.0	sage_times:<PHONE_NUMBER>.518924 	 0.0
ini_times:<PHONE_NUMBER>.5209193 	 0.0	sage_times:<PHONE_NUMBER>.535997 	 0.0
ini_times:<PHONE_NUMBER>.539023 	 0.0	sage_times:<PHONE_NUMBER>.549657 	 0.0

Please refer to our FLOPS testing codes.
FLOPS testing needs warmup, e.g., 5 times, and taking the average latency of multiple executions, e.g., 100 times. Also, the sequence length of q k v should be long enough.

Can you provide me with the following link?

My sequence is only 197 in length, is that too short?


update concat module, remove ensure in fragment resources

Ensure isn't valid in concat 4 and up for the fragment resources.  This PR removes those and bumps the version requirement for concat

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


Bitfinex  paper trade ERROR

Hello   i have problem when i run paper trade  on Bitfinex
i run this Command  >>>>>   ./zenbot.sh trade bitfinex.BTC-USD --paper
im compare between  Binance     The Binance  is work   >> ./zenbot.sh trade binance.BTC-USDT --paper
Please Help Me  about this issue
This is out out  Error
------------------------------------------ INITIALIZE  OUTPUT ------------------------------------------
---------------------------------------- STARTING PAPER TRADING ----------------------------------------
!!! Paper mode enabled. No real trades are performed until you remove --paper from the startup command.
Press  l  to list available commands.
Web GUI running on http://<IP_ADDRESS>:20027/
/root/zenbot/extensions/exchanges/bitfinex/exchange.js:214
throw new Error('please configure your Bitfinex credentials in ' + path.resolve(__dirname, 'conf.js'))
^
Error: please configure your Bitfinex credentials in /root/zenbot/extensions/exchanges/bitfinex/conf.js
at wsClient (/root/zenbot/extensions/exchanges/bitfinex/exchange.js:214:15)
at Object.getTrades (/root/zenbot/extensions/exchanges/bitfinex/exchange.js:314:27)
at forwardScan (/root/zenbot/commands/trade.js:577:20)
at Object. (/root/zenbot/commands/trade.js:431:21)
at Immediate._onImmediate (/root/zenbot/node_modules/sosa/api.js:15:12)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)

did you fill in the credentials in you config file?

You Mean  api  ?

https://github.com/DeviaVir/zenbot/pull/1378 removed the code, which prevented a real sync to the exchange. so its a bug, that you have to fill in credentials for paper mode. also see #1403

should be fixed with #1405

Hello   I  successfull
Thankyou for help me  ^_^


validation of params for NewDatabase

Once upon a time, a young and proud number was sent to the NewDatabase function.
The number was 3.
It all went well, until it didn't: activity data was gotten, exchange data was filled, global scope was set to datasets with missing location, scope of dataset was set to production exchanges with missing location, technosphere exchanges missing locations were corrected, empty exchanges were removed. But, oh misery, after starting to add Carma CCS inventories, with a worksheet extracted in less than a second, Traceback the mysterious appeared from the dark. It was his call. Traceback started to throw lines and lines of code, until she got tired, after throwing an IndexError.
The leaders from the dimension where 3 was coming, kept sending him, again and again, without success: the IndexError kept winning.
...
Centuries went through and finally, the leaders of another dimension sent a young brave number to replace the original warrior. The number was 3.6.
The sole presence of 3.6 was enough to prevent Traceback the mysterious from appearing, and finally,  Carma CCS inventories were added, along with the fellow fossil carbon dioxide storage technologies, Biogas inventories, Electrolysis Hydrogen inventories, and even the last of the legion, methanol-based synthetic fuel inventories.
TL;DR:
I suggest NewDatabase also validates the actual source_version:

isinstance(source_versio, float)
source_version in [3.5, 3.6, 3.7]

>>> _ = NewDatabase(scenario = "SSP2-Base",
... year = 2028,
... source_db = "ecoinvent36-cutoff",
... source_version = 3)
Getting activity data
100%|██████████████████████████████████████| 18121/18121 [00:00<00:00, 95052.80it/s]
Adding exchange data to activities
100%|████████████████████████████████████| 615644/615644 [00:42<00:00, 14529.39it/s]
Filling out exchange data
100%|███████████████████████████████████████| 18121/18121 [00:03<00:00, 4717.18it/s]
Set missing location of datasets to global scope.
Set missing location of production exchanges to scope of dataset.
Correct missing location of technosphere exchanges.
Remove empty exchanges.
Add Carma CCS inventories
Extracted 1 worksheets in 0.48 seconds
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/lib/python3.8/site-packages/rmnd_lca/ecoinvent_modification.py", line 106, in __init__
    self.import_inventories(add_vehicles)
  File "/opt/conda/lib/python3.8/site-packages/rmnd_lca/ecoinvent_modification.py", line 122, in import_inventories
    carma.merge_inventory()
  File "/opt/conda/lib/python3.8/site-packages/rmnd_lca/inventory_imports.py", line 457, in merge_inventory
    self.prepare_inventory()
  File "/opt/conda/lib/python3.8/site-packages/rmnd_lca/inventory_imports.py", line 751, in prepare_inventory
    self.add_product_field_to_exchanges()
  File "/opt/conda/lib/python3.8/site-packages/rmnd_lca/inventory_imports.py", line 545, in add_product_field_to_exchanges
    y["product"] = self.correct_product_field(y)
  File "/opt/conda/lib/python3.8/site-packages/rmnd_lca/inventory_imports.py", line 587, in correct_product_field
    raise IndexError(
IndexError: An inventory exchange in Carma CCS cannot be linked to the biosphere or the ecoinvent database: {'name': 'market for water, completely softened, from decarbonised water, at user', 'amount': 0.006, 'location': 'GLO', 'unit': 'kilogram', 'categories': 'Materials/fuels', 'type': 'technosphere', 'uncertainty type': 2.0, 'loc': -5.115995809754082, 'scale': 0.1682361183106064, 'comment': '(4,5,3,2,3,3); estimate based on literature', 'negative': 0.0, 'simapro name': 'Water, completely softened, at plant/RER U'}

Should be fixed with your PR.


Fix offers for account stream

@bartekn  what is the context for this change?

Won't be able to add tests before 0.14.0 release (today) and I really want to have it in this release as currently streaming in "Offers for Account" doesn't work at all. Created a new issue to add tests to all streaming endpoints: #636.


(docs) add initial list of FAQs

Hi,
I noticed that a lot of people create issues with the camera not being able to be accessed over HTTP. Therefore I started a FAQ.
A FAQ with only one question seemed a bit useless so I added a translation question.
Let me know if you want any changes.

Good idea, thank you! :)


Crash when opening YT

I get FC every time when I want to expand YT window. ver 0.8.0
In <IP_ADDRESS> there is an error initializing player.

Same here. <IP_ADDRESS>. Set yt full screen or rotate screen when yt is on.

Fixed in https://github.com/feelfreelinux/WykopMobilny/commit/7f8ff820b9af1420c7e8d5f62502b0b936842316

0.9.3 will be released soon


Sample project: Cannot read property 'isComponent' of null

This issue originated in #2:

I ran into an issue when trying to query from the Kentico Cloud demo project "Sample Project"
The line that fails is below
https://github.com/CMeeg/gridsome-source-kentico-cloud/blob/993313d6cc3656ee1692ff8139dd5f8ee5192f90/src/KenticoCloudSource.js#L181
The error is Cannot read property 'isComponent' of null
I resolved this issue by changing the line to if (!!collectionNode && !collectionNode.isComponent) {.

A fix for this has been pushed and will go in the next release.


Resolve merge conflicts

What is done:

Resolved merge conflicts in https://github.com/reactjs/uk.react.dev/pull/489
Fixed minor punctuation and conjunction issues in texts related to conflicting parts

After merging this PR or cherry picking related commit onto https://github.com/reactjs/uk.react.dev/pull/489, we will be able to:

merge last sync update
close all of the old sync updates
continue our translation efforts (e.g. https://github.com/reactjs/uk.react.dev/issues/457#issuecomment-1758167378)

@bkatsevych please take a look
fyi @ltlaitoff

@bkatsevych should i create a new PR with current changes onto the last sync PR? The problem is that after the last sync update the analyze_bundle check is not passing anyway

@alinkedd Go for it

Close in favor of #494


fix: add variants for box ai (box/box-openapi#446)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

63 of 140 (45.0%)  changed or added relevant lines in 9 files are covered.
22 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.2%) to 41.969%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/schemas/aiTextGen.generated.ts
3
4
75.0%

src/schemas/aiAsk.generated.ts
2
10
20.0%

src/schemas/aiAgentTextGen.generated.ts
7
17
41.18%

src/schemas/aiDialogueHistory.generated.ts
8
20
40.0%

src/schemas/aiResponseFull.generated.ts
22
35
62.86%

src/schemas/aiAgentAsk.generated.ts
10
25
40.0%

src/schemas/aiCitation.generated.ts
7
25
28.0%

Files with Coverage Reduction
New Missed Lines
%

src/schemas/aiAgentTextGen.generated.ts
2
38.46%

src/schemas/file.generated.ts
2
56.78%

src/schemas/aiAgentAsk.generated.ts
6
30.11%

src/schemas/event.generated.ts
12
41.19%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.2%

Covered Lines:
12998

Relevant Lines:
24082

💛  - Coveralls


Missing ParentNode interface polyfill

Element, Document, DocumentFragment inherit from ParentNode interface which provides convenient properties like children
methods & properties should be added in a ParentNode polyfill, thus querySelector and append / prepend polyfills should be moved.
Spec: https://dom.spec.whatwg.org/#interface-parentnode

Hi, thanks for raising this. We love to see people wanting to extend the polyfill service to accommodate new features. We don't keep feature request issues open without a PR, but we do provide feedback on how enthusiastic we are to adopt the suggested idea. In this case, the feature you've suggested is moderately appealing to the core team, and we would be happy to receive a PR for it, and help you with reviews and testing, or with how to get started if you are a new contributor. We would need to ensure that the polyfill is filling for a standard feature of the web platform, which we're not sure is the case here.
You can find out more about common contribution scenarios and how to make the perfect PR here:
https://polyfill.io/v2/docs/contributing/common-scenarios
If you need any further help before you submit your PR, feel free to reopen this issue!

Incoming... meanwhile could you review my other PR please? Some get stuck on CI


sh syntax script highlights multiline arrays inside an if statement incorrectly

Inside an if statement the opening parenthesis of a multiline array will not be highlighted at all, while the closing parenthesis will be highlighted as an error.
#!/bin/bash

arr=(
  1 2 3 4
) # ok

if true; then

  arr=(1 2 3 4) # ok

  arr=( 1 2 3 4 ) # ok

  arr=(
    1 2 3 4
  ) # error!

fi

Here is how it looks in vim:

please try the latest version from dr. chips website

I still get the same behavior.

Am 2016-08-23 10:32, schrieb keremc:

I still get the same behavior.

you know, this issue is mirrored to the vim-dev ml.
The author responded there as well:
https://groups.google.com/d/msg/vim_dev/FxU_cFLhw-E/NoNjMH2cAgAJ
Best,
Christian


Add DH group 20 (384-bit random) to IPsec supported PFS groups

I've added Will Miller's suggestion, and merged this Matthias. Thank you for the PR!

I've updated the DH group name, and merged this Matthias. Thank you for the PR!


ci: sequelize renovate setup

Sequelize-inspired renovate setup to sync the deps maintenance strategy. Additionally ignores couple of deps that drop earlier node.js support which sequelize V6 still retains. I think someone with enough rights will have to enable the renovate app for this repo if it is deemed to be merged.
@WikiRik, @sdepold, @ephys, what do you think? I'm hoping this should be easier to maintain same deps strategy as sequelize V6 and sequelize-ts@v2 will still linger around for a bit.

@WikiRik yeah, can probably be removed and use same convention sequelize is using to validate commit msgs. I only updated it to add the "meta" type sequelize is using.

@sdepold @ephys I think one of you two needs to enable renovate btw


[JENKINS-69831] No notification on offline/online node

See JENKINS-69831. Adapts to the breaking changes introduced in https://github.com/jenkinsci/job-config-history-plugin/pull/237. To test this I reproduced the failure locally and confirmed the failure no longer occurred after this PR. Note that I am no longer a maintainer of this plugin, but I left it up for adoption the last time I touched it. @Dohbedoh are you interested in adopting this plugin to merge and release this fix as a follow-up to https://github.com/jenkinsci/job-config-history-plugin/pull/237?

@basil sure. Though I am on vacation, no laptop, and will be back in 2 weeks.

Thanks! As a reminder, this needs to be released to provide relief to the affected user(s).

Released as 1.18.