Error while installing torchlars (pip install torchlars)

I am runnning a conda environment (python=3.8) with pytorch 1.6 installed on Ubuntu 18.04. I get the following error when I run pip install torchlars. How can I fix this?
(pytorch16) ➜  csl-project git:(master) ✗ pip install torchlars
Collecting torchlars
  Using cached torchlars-0.1.2.tar.gz (6.5 kB)
    ERROR: Command errored out with exit status 1:
     command: /sdb1/kaushal/miniconda3/envs/pytorch16/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xvy_whov/torchlars/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvy_whov/torchlars/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3jm12ya0
         cwd: /tmp/pip-install-xvy_whov/torchlars/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-xvy_whov/torchlars/setup.py", line 21, in <module>
        CUDAExtension('torchlars._adaptive_lr', [
      File "/sdb1/kaushal/miniconda3/envs/pytorch16/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 779, in CUDAExtension
        library_dirs += library_paths(cuda=True)
      File "/sdb1/kaushal/miniconda3/envs/pytorch16/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 869, in library_paths
        if (not os.path.exists(_join_cuda_home(lib_dir)) and
      File "/sdb1/kaushal/miniconda3/envs/pytorch16/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1783, in _join_cuda_home
        raise EnvironmentError('CUDA_HOME environment variable is not set. '
    OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

First of all, does your pytorch see cuda? Try:
import torch
print (torch.cuda.is_available)

If it does see, then set up the CUDA_HOME path as its ask you to do it. My cuda folder is located in /usr/lib/cuda/ so:
export CUDA_HOME=/usr/lib/cuda

Thanks, separately installing CUDA fixed it. I guess the cudatoolkit that comes along with pytorch is not sufficient. Though this left me wondering if it Is possible to remove this dependency? Shouldn't the pytorch be sufficient by itself.


New order types (such as pegged non-persist, take profit)

Lack of order types/flags such as pegged non-persist, post only, reduce only, stop loss, take profit prevent makes some actions impossible (such as definitively closing all positions) and makes risk and position management harder. Adding these order types would give traders more control, potentially reduce load on the system, and likely reduce risk and spreads overall.
Updated to 0014-ORDT-order_types.md and other specs? to add the new order types
How do we know when we are done:

[ ] The spec has been updated to indicate the requirements
[ ] The specification contains acceptance criteria with IDs that reflect the scope of the work required for Q2 2022
[ ] The engineering team has reviewed the specifications and understand the scope
[ ] The spec is merged into the specs repo before engineering start development/test work

Closing, if we want any new order functionality it should be business driven in a new ticket.


Build with llvm 14

Hi, after 2a6cc3db76de28183556b78b0b78e88fa83b16ea  to build hipSYCL with LLVM 14/15 these includes are now required

Yes, and so far everything seems to run fine: https://github.com/Michoumichmich/hipSYCL/runs/5169688070?check_suite_focus=true


Getting error when running placement algorithmn

I have env that has pytorch with cudatoolkit11.3,and dgl-cuda-11.3,I have no idea why it cannot find the cuda not detected

I think there may be something wrong with your CUDA and cuDNN environment.

I set up my environment and everything seems to be right.However the errror arrives.

The environment in this project is not the latest so it is not incompatible with yours? Actually I haven't met this bug before.

I set up my environment and everything seems to be right.However the errror arrives.  Is there some tensor-numpy type bug in your code?

I got the same error like this


(Fix #8488) Update CSS for highlighted code links

Verified the same classes are used on the deployed site
Checked contrast values meet WCAG standards [exact ratios to be posted in comment shortly]
Before: lightmode -- no highlighting for active code blocks:

After -- highlighting observable:

To show states comprehensively:

Light mode -- normal section:

Light mode -- code section:

Dark mode -- normal section:

Dark mode -- code section:

Here are some accessibility contrast ratios:

Normal section, dark mode - 8.69 - PASSING
Code section, dark mode - 6.26 - PASSING
Normal section, light mode - 1.92 - WARNING
Code section, light mode - 2.46 - WARNING

The worst contrast ratio, 1.92, is not a result of this diff, but rather is the existing deployed value. We might want to consider redoing the theme with accessibility in mind.
For now, however, this diff addresses the bug at hand.

@iansu @amyrlam ping on this.

@quetzaluz looks good, maybe something in code styling like https://deploy-preview-8489--create-react-app.netlify.com/docs/running-tests#srcsetuptestsjs can be green on hover as well as active?


WIP - Client 3.0.0

WORK IN PROGRESS

Client 3.0.0 will be split in several modules e.g.: orkes-client-spring, orkes-client-gprc, orkes-client-netflix-integrations
The base client module will be a Java only library (no Spring or other framework dependencies)
Upgrade dependencies, like OkHttp 2.7.5
More refactoring + cleanup.

TODO

Create Gradle modules.
Move http client to base module.
Add back functionality that was stripped out through modules.

Client 3.0.0 is going to be the new Java SDK and we'll start over in a new repo.


Implement Snowflake type

Closes #106
Still WIP, as the specs are failing as somehow the nanosecond is lost between Time.epoch_ms and Time#epoch_ms. I haven't dug into it to find out why / how to fix it: https://carc.in/#/r/3ych
Enough operators should be delegated to allow snowflakes to be sorted in a collection.

Right then, epoch_ms methods don't carry that precision. Updated the specs and added a few more.

rebase plsarino

fuck don't make me actually review this

If it helps, to summarize this PR:

Snowflake itself should be useful as presented & specced
Cache supports an interop with UInt64 | Snowflake via #to_u64
REST supports an interop with UInt64 | Snowflake via #to_json / encode_tuple in payloads

The above 2 points are important so that this doesn't break:
client.on_message_create do |payload|
  client.cache.resolve_user(payload.author.id)
  client.create_message(payload.channel_id, "content")
end

Old snowflake converters are removed from all mappings and Snowflake / Snowflake? / Array(Snowflake) is used

Thanks!

:ping_pong: @meew0 , this affects a lot of changes; #105 , #136 , #137. and other WIP ones. Would be good to merge this soon (it should be merged first, before those, at the least)

Thanks! :smile: :heart:


Unit test for NSMNSE-37: removeClientInterface() function

PR for NSMNSE-37 (Subtask of NSMNSE-18)
Wrote unit test for pkg/unversial-cnf/config/composite.go:: removeClientInterface()

Added removeClientInterface_test.go (To be merged into Samuel's composite_test.go)

Added mock functions in pkg/universal-cnf/config/mocks/UniversalCNFBackend.go

My test cases cover 100% of lines in removeClientInterface() function:

Moving this PR to https://github.com/cisco-app-networking/nsm-nse/pull/50


improvement: skip files that are already indexed

If you are running this workflow on a bucket that has already been partially indexed (say, for example, someone shares 100 files, this is indexed, and then a few months later another 100 files are added and the indexing needs to be repeated), the workflow should skip files that already exist in the in the destination parent ID on synapse. For small datasets this is probably not so important, but could reduce expenses significantly with large datasets:

In this example, about 1/3 of the data were already indexed, so skipping those would probably have made this workflow about 1/3 cheaper. I anticipate having to re-index this bucket one or two more times in the future, and in that case would save ~$400 per run if the current files were skipped.

We are deprecating this repository and instead maintaining its functionality in nf-synapse. This issue is tracked in Jira here.


Quickfix for Python 3.9, more debug output

@r3dnck Did you check these changes with Kodi 16 and Kodi 17/18?

@r3dnck Did you check these changes with Kodi 16 and Kodi 17/18?

Kodi <19 uses Python 2, so this shouldn't affect them

Kodi <19 uses Python 2, so this shouldn't affect them


docs: add bookmarks, zli search

What type of PR is this?
documentation
Which issue does this PR fix:
none
What does this PR do / Why do we need it:
Adds zli search command to reference
Adds explanation of bookmark feature
These changes are edited from PR #97, and this PR replaces that one
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

To do:

update the 'What is new' document - from there start referencing the other docs
add an example of search output to the zli document

Added search command output examples, added zli remove

Would try the zli so output is in sync with docs.


[Feature Request] Implicit line between same object twice within view being displayed

Description
If a object is twice in a view, a implicit line should appear between the two objects and one should have the choice to override.  This would avoid the need for self pointing relationships to enable drawing and would assist it realising the same object appears more than once in a diagram.

For me, if you have twice an object in a view it's to avoid to have too many tangle lines.

In a data object the same element/attribute may appear in more that one place especially if foreign key.  So I want to see line.  And labelled based on an expression for view.

Hi,
What you describe is a very narrow use-case. As @romualdrichard pointed out, in the majority of cases, people don't want to clutter their views with additionnal, automatic lines.
In addition, these should not be just lines, but reallrelationships (maybe association, but some might want another type).
So such use-case should be implemented using a jArchi script (and it could be run with a keyboard shortcut to speed things up).
Regards

Must admit having trouble understanding the contradiction between it being a very narrow use case and all these diagrams being flooded with automatic lines.  Statement even contradicts current behaviour where one has to deleted unwanted lines when you select off the tree for a duplicate object on view which is another feature I wished to recommend, that is, have the choice of what lines are added. You can't have it both ways.  Note, I am aware of copy and special paste before y make that suggestion.
I suspect if you reflect and focus on data objects you will see it is not narrow use case.  Definitionally all data objects representing entities must have at least one common attribute appear between all relate entities.  Keys are basis of data stores. Data objects as they traverse the objects such as interfaces are common and would be benefical showing the commonality.  Can be common as object in flight and at rest at end points or transient store like queue or cache.
To force the addition of self referencing object relationships adds a burden of complexity to the management of concepts placed on diagrams.  It adds to performance degradation as such must be maintained and touched on filter of the tree.  To say an object is associated with itself is self evident.  Why does it have to be materialised as its own object when it can just be a visual object?
I know I could create such with jArchi but it is a poor work around as it needs the superfluous relationship to be create.  My model is already sustaining performance issues due to the volume of superfluous relationships.   Some intelligent additions to the management of implicit relationships, this being just one example, which would help reduce the volume of superfluous relationship one has to define in generating required visual diagrams.
regards

Must admit having trouble understanding the contradiction between it being a very narrow use case and all these diagrams being flooded with automatic lines. Statement even contradicts current behaviour where one has to deleted unwanted lines when you select off the tree for a duplicate object on view which is another feature I wished to recommend, that is, have the choice of what lines are added.

RTFM p.37

To force the addition of self referencing object relationships adds a burden of complexity to the management of concepts placed on diagrams. It adds to performance degradation as such must be maintained and touched on filter of the tree. To say an object is associated with itself is self evident. Why does it have to be materialised as its own object when it can just be a visual object?

That's just not how the ArchiMate standard itself works: a line between two elements must be a relationship. Allowing to show a line on a view without it been "backed" by a real relationship would make this view impossible to export through the ArchiMate Model Exchange File Format. And I guess that you care about data interoperability.

My model is already sustaining performance issues due to the volume of superfluous relationships.

That's maybe the sign that you should seriously think about buying a commercial tool so that a vendor will be happy to charge you some additional money to develop the one feature you need.
Regards

I appreciate this response as it makes sense.  Not sure if I agree with your intrepretation of the standard but understand the argurment about on archimate model exchange although I suggest this could be overcome by materialisng the implicit relationship on export and removing on import.
With the start of my performance issue have pondered moving to a commerical tool.  Would point out the guidance has a negative impact on donations.


feat(runtime-web): 修改 globalObject 默认值，和 web-pro 的默认值保持一致

 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.jiwei.bjw seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Stable and predictable costs: pay fees in TEER

Define fees in USD as a standard config, convert these fees into TEER value and charge them.

Fees in USD:

Change runtime configuration of the Transaction Payment Pallet: TransferFee, CreationFee, TransactionByteFee constants
USD, MILLIUSD, MICROUSD, .... ?

Implement a new CurrencyAdapter for the OnChargeTransaction of the Transaction Payment Pallet: CurrencyAdapTEER. It takes the exchange rate from the stable-fee pallet and converts the fee to a TEER fee:

CurrencyAdapTEER<C, OU,CON>, with CON: FeeConversion (according to Balance Conversion in Asset)


added jpeg/png/svg support

trying to use this for my own purposes and couldn't get jpeg/png/svg working but looks like this should do it fo

Implemented jpeg/svg support!


Dependabot PRs can introduce vulnerabilities

Package manager/ecosystem: ruby:bundler
Updated dependency: tzinfo 1.2.7 -> 2.0.2, activesupport <IP_ADDRESS> -> <IP_ADDRESS>.
Images of the diff or a link to the PR, issue or logs: https://github.com/Blaisorblade/dot-iris/pull/314
What you expected to see, versus what you actually saw:
I expect dependabot to never introduce vulnerabilities it knows about. This upgrade is a counterexample.
Details
Dependabot created https://github.com/Blaisorblade/dot-iris/pull/314 for a non-security upgrade, which downgraded activesupport to an old version suffering from CVE-2015-3227. Newer activesupport versions depend on tzinfo 1.2.x.
After I merged this carelessly, I got a new dependabot alert for that CVE; eventually I reverted the PR, and got https://github.com/Blaisorblade/dot-iris/pull/319.
For context: I'm no Ruby programmer, I just use a simple Github Pages website. I enabled dependabot when GitHub told me my version of GitHub Pages needed upgrading.
Side issues:

once I reverted https://github.com/Blaisorblade/dot-iris/pull/314, the dependabot report just disappeared, hindering this bug report. It'd be better to close the report.
EDIT: I only wanted security updates, but had to enable more because of https://github.com/dependabot/dependabot-core/issues/2437.

👋 Hey there! Sorry for the glacially slow response... we've been a bit buried the past few years, and only just now starting to dig through some of our backlog.
This issue is pretty old, and we've pushed a lot of bugfixes since then... is this still a valid / reproducible issue?

I have not seen this again myself, so it might be fixed or not. Feel free to close.as such.

Sometimes bundler itself would downgrade dependencies like this in the past, but I think the version we use now don't have this issue anymore, so I think this should be fixed. Let's close and if it reappears we'll have a look! Thanks!


Update dependencies closes #63

Coverage remained the same at 100.0% when pulling b9e9abb41e9a19fcb02c0fdc9e40d7ce77ab65f0 on update-dependencies-#63 into d89db9af6b2cc592b89a2bd6654800ab3a478ae6 on develop.


Stop passing the flutter build mode to the gradle test tasks

Hello,
Thanks for your efforts :)
This PR fixes the errors the users will get when they pass the --profile and --release build args:
 patrol test -t integration_test/app_test.dart --verbose --release
FAILURE: Build failed with an exception.

        * What went wrong:
        Cannot locate tasks that match ':app:assembleReleaseAndroidTest' as task 'assembleReleaseAndroidTest' not found in project ':app'.

 patrol test -t integration_test/app_test.dart --verbose --profile
FAILURE: Build failed with an exception.

        * What went wrong:
        Cannot locate tasks that match ':app:assembleProfileAndroidTest' as task 'assembleProfileAndroidTest' not found in project ':app'.

Hi, thanks for the PR!
I'm just not sure this is the right behavior. If Gradle test tasks for --profile and --release build modes don't exist (we can check that easily), we should prompt the user to add them, not silently fallback to debug.

We should update documentation, and not mask the error from the user.

Sorry for my late reply. I'm actually interested in learning how to create a Gradle task that can do that. I've researched the topic and ended up adding some config to my app's build.gradle. That resulted in creating the assembleProfileAndroidTest task and patrol started but what happened was that It just opened and closed. Can't remember if It reported failure in executing the tests tho (I'll confirm this once I've access to my work macbook). I think the accompanying apk used for testing will be/is missing what is essential to execute the tests.
I get your take on having to be explicit about this to the users tho.

That resulted in creating the assembleProfileAndroidTest task and patrol started but what happened was that It just opened and closed.

This sounds concerning – it'd be great if you could share a logcat. There'll be probably something useful in there.


Add support for AWS KMS

AWS pricing: https://aws.amazon.com/kms/pricing/
Terraform resources: aws_kms*

yo @alikhajeh1 can take this one on please?

@sashman thanks! I assigned it to you. If you notice duplicated costComponents/resources between the new new stuff you're adding, it might make sense to put them in a function in one of the resources and call it from the other ones. e.g. https://github.com/infracost/infracost/pull/222/files#diff-08ef288af65faeed6959c5e5d903167df115ae5fd0df2621b341c53f35856276R39 and https://github.com/infracost/infracost/pull/222/files#diff-c8fe718baaa1eb2eaade38039c21e6dea3927a01142b43143dd3be3f09b12be3R33


Update on ComfyUI integration?

What is the plan for ComfyUI integration?
Thanks

We're short-staffed right now, but it's something that will get done.


Similarity Metric Used

Hi, thanks for this awesome benchmark.
Is it possible to add the similarity metric used in each model in the benchmark? From what I understand, the choice of what similarity metric is used in each model influences what similarity metric people should use when storing the generated embeddings in a vector database for later similarity searches.
I believe this would help people to easily choose what similarity metric to use when storing the embeddings.
I can help and add this if it's valuable. Thanks!

@KennethEnevoldsen I do think it makes sense to show this in the leaderboard for all tasks - I think we currently only say it for STS:

Metric: Spearman correlation based on cosine similarity

But the other tasks primarily (exclusively?) use Cosine Similarity too. There are some models/tasks that perform a bit better with (non-normalized) dot as it prefers longer passages, but they're few and far between & not high on the leaderboard.

Tom Aarsen

From my understanding, @aminst refers to the intended distance metric of the model itself (@aminst do correct me if I am wrong) and not the task?
However, I do agree that a model might have been trained with a different metric in mind, and assuming a distance metric seems problematic. I would ideally allow the model to supply the distance metric and then we just report the score (e.g. spearman correlation) for whatever distance metric the model selects.

@KennethEnevoldsen
Yes, that is exactly what I meant. It would be great if the leaderboard also shows the distance metric the model used during training. It would also help people to not misuse the embeddings with a different metric.
The use case I have in mind is the following, does it make sense?

Somebody wants to convert their data into vector embeddings and store it in a vector database for later retrieval and semantic search.
The person uses the leaderboard to find the model to use.
They should manually search for the distance metric to use, which the leaderboard itself can offer.

Ohh, I see! Yes, that would indeed be optimal. I realised something similar with Sentence Transformers, so in Sentence Transformers v3 it will be possible to configure the similarity function in the model configuration. This will then be used when calling the new SentenceTransformer.similarity or SentenceTransformer.similarity_pairwise methods.
Additionally, ST models will start reporting their similarity function in the model card automatically, e.g. here.
That should help, at least with ST-based models.

Tom Aarsen

It sounds like this is something that we might consider adding after the additions to ST3. I will leave the issue open, but atm. we probably won't add it in.

I have added an issue related to using a custom sim. within the benchmark, but for the similarity of the model we will probably leave that to the model card.


Remove SHOW_CIVIFORM_IMAGE_TAG_ON_LANDING_PAGE env var from code

I don't think the environment variable SHOW_CIVIFORM_IMAGE_TAG_ON_LANDING_PAGE docs is actually needed anymore. Not since we got rid of the old home page. It doesn't look like any code is actually using it.
We should double check and remove it if this is true.

Still works. Can keep it.


Dropping Python 3.6 Support

torchaudio will drop Python 3.6 support soon, following PyTorch core.
https://github.com/pytorch/pytorch/issues/69005

List of work items on torchaudio
1. Switch stylecheck job

[x] Move stylecheck test to newer Python. (This is already doable)

Change the following code so that the job is carried out on some other Python version. (considering the next work item, I think it's okay to hard code Python version for this specific job)
https://github.com/pytorch/audio/blob/fd3c957399d85c003d5d80859f8153b8e8a7f0c1/.circleci/regenerate.py#L233-L242
Run .circleci/regenerate.py and check-ing the new .circleci/config.yml.

2. Remove 3.6 from the test matrix

[x] Remove 3.6 from the test matrix.

Update this line
https://github.com/pytorch/audio/blob/fd3c957399d85c003d5d80859f8153b8e8a7f0c1/.circleci/regenerate.py#L24
Run .circleci/regenerate.py and check-ing the new .circleci/config.yml.

3. Update documentation

[ ] Update the dependencies section of README
[ ] Update the description in setup.py

Working on item (2).

Working on item (3)


SAKIII-4321 reduced autosuggest width for chrome

https://jira.sakaiproject.org/browse/SAKIII-4321

Integrating this into my work on SAKIII-4137.


Reporting not accurate

Why [INFO] shows Issues found: 0 while the report states otherwise?
Just to be sure I did restart zap proxy as well as changed API key and run everything inside docker.

And here is the output from the console:
gauntlt@724fe0361390:/working$ zap-cli --api-key=123 shutdown
[INFO]            Shutting down ZAP daemon
gauntlt@724fe0361390:/working$ zap-cli --api-key=123 status
[ERROR]           ZAP is not running
gauntlt@724fe0361390:/working$ zap-cli  start -o '-config api.key=123'
[INFO]            Starting ZAP daemon
gauntlt@724fe0361390:/working$ zap-cli --api-key=123 status
[INFO]            ZAP is running
gauntlt@724fe0361390:/working$ zap-cli --api-key=123 report -o /working/output/report.md -f md; cat output/report.md
[INFO]            Report saved to "/working/output/report.md"

# ZAP Scanning Report

## Summary of Alerts

| Risk Level | Number of Alerts |
| --- | --- |
| High | 0 |
| Medium | 0 |
| Low | 0 |
| Informational | 0 |

## Alert Detail

gauntlt@724fe0361390:/working$ zap-cli --api-key=123  quick-scan -o '-config scanner.attackOnStart=true -config view.mode=attack -config connection.dnsTtlSuccessfulQueries=-1 -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true' -s xss,sqli --spider --recursive http://<IP_ADDRESS>:9009
[INFO]            Running a quick scan for http://<IP_ADDRESS>:9009
[INFO]            Issues found: 0
gauntlt@724fe0361390:/working$ zap-cli --api-key=123 report -o /working/output/report.md -f md; head output/report.md                                                                                [INFO]            Report saved to "/working/output/report.md"

# ZAP Scanning Report
## Summary of Alerts

| Risk Level | Number of Alerts |
| --- | --- |
gauntlt@724fe0361390:/working$ zap-cli --api-key=123 report -o /working/output/report.md -f md; head -20 output/report.md
[INFO]            Report saved to "/working/output/report.md"

# ZAP Scanning Report

## Summary of Alerts
| Risk Level | Number of Alerts |
| --- | --- |
| High | 0 |
| Medium | 1 |
| Low | 3 |
| Informational | 0 |

The report in the output of the quick-scan and alert commands defaults to only showing "High" risk issues. In your example, you only have Medium and below issues found. You can get these to show in the report by using the --alert-level option with quick-scan, which can be set to High, Medium, Informational, or Low. For example, to show all issues:
zap-cli --api-key=123  quick-scan -o '-config scanner.attackOnStart=true -config view.mode=attack -config connection.dnsTtlSuccessfulQueries=-1 -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true' -s xss,sqli --spider --alert-level "Informational" --recursive http://<IP_ADDRESS>:9009

Hope that helps!

literally just found this out after reviewing the helpers.py and cli.py files ;) thank you


Move model_converter/

partially address #89
This PR moves model_converter/ and associated code out of the root dir and into models/

LGTM


Hey just wondering

Hey , I finally got the argo40 to perfectly work with homeassistant thanks to ( remove usb and edit the file) method. So do u have a card to adjust the speed, on/off of the fan , is there is a way to know the status of fan , on/off , speed in HomeKit
I know I might sound dum, but I learn from you and other creative people :)

@s3oud333 sadly not now. The current implementation of the fan component only supports a list of speed, I need to have support for percentage value. There was a PR in the Core repo: https://github.com/home-assistant/core/pull/39204 but the author didn't have time to complete it.
The current workaround is to have a binary sensor (https://www.home-assistant.io/integrations/binary_sensor/) and an input number (https://www.home-assistant.io/integrations/input_number/). This way when you set fan speed via the automation you can set those two values (on/off and speed) and display them on a card. Another automation could be used to update the speed when you update input value, but I think speed based on CPU temperature is more useful.


docker-gen support detection of container creation/removal in remote nodes over  a swarm?

Hi
It seems that docker-gen in a multi node swarm only have visibility on containers that resides on the local host machine.
Is there any way to have visibility of what happens on remote nodes that belong to the same swarm?
Regards

I was looking a bit deeper into this issue and found that docker-gen is calling ListContainers function of the client in generator.go module, which returns the list of container from the current host/swarm-node only.
I was thinking it might be possible to get all the containers in the swarm by first getting the list of nodes, then getting the list of containers from each node and finally merging them all in one list. This may fix the problem from the root.

@candeemis I like your proposal. Do you have time to implement it?


Create logo for organization

Create a logo with initials RNB with a react logo as backdrop, and background color if bootstrap


Tab name isn't changed after changing file name

Create new file -> unnamed tab appeared
Save and set file name

Result: tab name wasn't changed, it was 'unnamed'

I've fixed it in 03978eb


Generate and include artifacthub-pkg.yml in Meshery Design exports

Current Behavior
Meshery users that want to list their designs in Artifact Hub need to manually generate an Artifact Hub package file (artifacthub-pkg.yml). Meshery already contains most, if not all, of the required information and properties of that file. Meshery Server can generate this file upon export of a design.
Desired Behavior
Make it easy for Meshery Users to list their designs in Artifact Hub by automatically generating the appropriate yaml file.
Implementation

Map the respective Meshery Design properties to the artifacthub-pkg.yml properties.
Generate the artifacthub-pkg.yml file and and assign the respective Meshery Design properties to the artifacthub-pkg.yml properties.
Include the artifacthub-pkg.yml file in the Design's .tgz (image) and image manifest.

Acceptance Tests

artifacthub-pkg.yml file is generated and bundled for each design export as an OCI image

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@ctcarrier and @Yashsharma1911, we'll need to go through an exercise of mapping attributes from Meshery Designs (and their catalog metadata) properties to Artifact Hub's package metadata properties.

I believe step 5 is done. Where do we consider the rest to be?


Update pre-commit URLs

These two URLs no longer point to usable pre-commit repositories so fix them to be valid.

Hi Claus, we switched to using black and pylint. So I think the precommit hook should reflect that. Here is an example of a precommit file that uses the correct versions installed in the virtualenv by pip, putting dependency management in 1 place, I think that this is the way you should approach it here as well.
https://github.com/django-oscar/django-oscar-odin/blob/master/.pre-commit-config.yaml


Bulk actions needed

It would be nice if actions could be performed on several items at once in an admin listing. Deleting and moving in particular (for pages, images, documents, snippets etc) also publishing (for pages only).
Also for enabling/disabling user accounts.

any update for this?

No. This issue tracks all updates on the matter. If there are updates you read it here.
Bulk actions for various content types is an enhancement that requires a lot of work.
We are happy if anyone would like to help. It is probably best to start with one of the following:

Write an RFC
Design mock-ups
Create a prove of concept

Any update on this?

 If there would be any update, it will appear here. So
no, no active development.
Anyone who needs this feature, is welcome to pick it up and submit a pull
request.
Tip/workaround/not ideal: Wagtail extends Django, so you can register the
Django admin in parallel to Wagtail admin. If you do not want to leave the
Wagtail admin UI, an simple custom Wagtail admin view with an iframe can
bring any view into Wagtail.
YMMV.
On Thu, 26 Nov 2020, 03:05 anefta<EMAIL_ADDRESS>wrote:

Any update on this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wagtail/wagtail/issues/121#issuecomment-734030606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPAZPVBL5ZZUJC5QXKOBW3SRWZXRANCNFSM4AMZC55Q
.

It’s here :) #7573 https://docs.wagtail.io/en/latest/releases/2.15.html#bulk-actions
pip install wagtail==2.15rc1


Variable subset selection for linear regression

I noticed that it took quite some time for the symbolic regression to beat a simple variable subset selection using linear regression. To clarify what I mean with this, I consider a large regressor matrix A in the problem y = A*b where b are the parameters and the task is to select a subset of the columns of A to include in the linear model. This can typically be solved to near optimality with LASSO regression.  After running for long enough, the symbolic regression did indeed find a better equation for my toy problem at a similar number of estimated parameters that did my subset selection, but it makes me wonder if subset selection can be used as a heuristic approach to seed some of the population members?
For reference, I include a naive, brute force algorithm that selects n variables from a regressor matrix A in an exact way, in case my above explanation didn't make sense
using IterTools, TotalLeastSquares
function ls_selection(A,y, n)
    m = size(A, 2)
    errors = Float64[]
    indices = Vector{Int}[]
    for ni = 1:n
        for inds = IterTools.subsets(1:m, ni)
            At = A[:,inds]
            θ = At \ y
            E = y - At*θ
            e = sum(abs, E)
            push!(errors, e)
            push!(indices, inds)
        end
    end
    mi = indices[argmin(errors)]
    mi, errors, indices
end

This sort of comparison is completely expected. Any algorithm that searches on a small subspace of equation space is going to beat a genetic algorithm which searches the complete equation space. e.g., for typical numbers, the linear equation space would have 10^10 fewer combinatorial possibilities than the full equation space.
I like the idea that allowing the user to put in priors on the equation, such as a high frequency of polynomial terms, would be really useful for these sorts of common equations! Maybe a polynomial search could be part of the internal loop? Although this is very specific to these sorts of equations, whereas SymbolicRegression.jl can work with arbitrary (even non-differentiable) operators.
also see https://github.com/MilesCranmer/PySR/issues/15

This sort of comparison is completely expected. Any algorithm that searches on a small subspace of equation space is going to beat a genetic algorithm which searches the complete equation space. e.g., for typical numbers, the linear equation space would have 10^10 fewer combinatorial possibilities than the full equation space.
I like the idea that allowing the user to put in priors on the equation, such as a high frequency of polynomial terms, would be really useful for these sorts of common equations! Maybe a polynomial search could be part of the internal loop? Although this is very specific to these sorts of equations, whereas SymbolicRegression.jl can work with arbitrary (even non-differentiable) operators.
also see https://github.com/MilesCranmer/PySR/issues/15

(The core algorithm improved a lot over the past year - it should do fine at polynomial searches now, so long as the true equation is a relatively small polynomial)


Could we get a 0.9.1 bug fix release?

We are having issues with a workflow here: https://github.com/USGS-CIDA/pyGDP/issues/120 that have already been fixed in master here https://github.com/geopython/OWSLib/commit/6f40078e0624079e266e00181b09e76c7956e733
Could we get a 0.9.1 bugfix release?

@rsignell-usgs done.


Support docker image for s390x and bump base java container 15.0.5_p3

This is a task in line with https://github.com/openzipkin/docker-java/commit/2c9caad366e476f9aee5ce0a376098a68969d448 and https://github.com/openzipkin/docker-java/commit/fbb1f11e0d447b04bf1f42a306293739464d40e8.
Summary

Update a version of the java base container to 15.0.5_p3
Add s390x to the platform option of docker build
Update a license of the docker_push file
Resolve the following docker build issue of zipkin-mysql for s390xERROR 4047 (HY000) at line 15 in file: 'zipkin-schemas/mysql.sql': InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.

@llinder are we OK merging this now?

This is great stuff. I left a small nit comment, other than that I will merge it today.

@jcchavezs  Please do not merge this until your last question is clearly resolved. :wink:


Moving a file between storages adds a new line a the end of the file

Even if the selector for add new line in the storage write node is not checked, a new line is added, either on read or on write.

Fixed and releases in version 1.5.0, as of 2023-11-16


docker.yml: Tag homebrew/brew:$brew_version

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

This tag was unintentionally omitted.

Just to check: is docker login able to manage multiple sessions at once? That is, even though the last docker login executed was for Docker Hub, it still remembers the previous GitHub login when pushing those images? Or does it auto-logout?

Just to check: is docker login able to manage multiple sessions at once?

Yep!


Error: instantiate failed.

Hello when i try to instantiate contract i receive:
(node:95071) UnhandledPromiseRejectionWarning: Error: instantiate failed. code: 4, codespace: sdk, raw_log: signature verification failed; please verify account number (48632), sequence (0) and chain-id (bombay-9): unauthorized
Source looks like this:
const instantiate = new MsgInstantiateContract(
    wallet.key.accAddress,
    '',
    3989,
    {
      buyer: 'terra1krq0p9qh9nujpf77cvma36acyeqy7gdedfamgw',
      seller: 'terra1krq0p9qh9nujpf77cvma36acyeqy7gdedfamgw',
      value: 1,
      expiration: 5,
      secret_hash: '688787d8ff144c502c7f5cffaafe2cc588d86079f9de88304c26b0cb99ce91c6'
    },
    { uluna: 1 },
  );

  const instantiateTx = await wallet.createAndSignTx({
    msgs: [instantiate]
  });

  const instantiateTxResult = await terra.tx.broadcast(instantiateTx);

  if (isTxError(instantiateTxResult)) {
    throw new Error(
      `instantiate failed. code: ${instantiateTxResult.code}, codespace: ${instantiateTxResult.codespace}, raw_log: ${instantiateTxResult.raw_log}`
    );
  }

  const {
    instantiate_contract: { contract_address }
  } = instantiateTxResult.logs[0].eventsByType;

  console.log('contract address', contract_address);

It's failing on:
const instantiateTx = await wallet.createAndSignTx({
    msgs: [instantiate]
  });

chain: bombay-9
terra.js: 2.1.0
It's working fine from the terra station

Put undefined instead of empty string. I will update the SDK to handle that automatically.


fix(timeRange): Correcting timeRange variables in nrql queries.

Fixes #19.

 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.

:tada: This PR is included in version 0.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


swoft怎么引入外部文件使其生效？

Q
A

Bug report?
yes/no

Feature request?
yes/no

Swoft version
x.y.z

Swoole version
x.y.z (by php --ri swoole)

PHP version
x.y.z (by php -v)

Runtime environment
Win10/Mac/CentOS 7/Ubuntu/Docker etc.

Details

Describe what you are trying to achieve and what goes wrong.

// paste output here

Provide minimal script to reproduce the issue

// paste code

refer https://github.com/swoft-cloud/swoft/issues/462


Raspberry Pi 4 Rev 1.2

I am copy pasting my issue from jgarff's repo here since I dont know which is the right repo to ask for updates.
Hi, just got a new Raspberry Pi 4 and tried to run my old code when i get this error message:
RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)
Some other people had this problem with older models before and so I checked my Revision with cat /proc/cpuinfo and is says
Revision	: c03112
Model: Raspberry Pi 4 Model B Rev 1.2
and compared it with the revision in rpihw.c and there was the problem:
//Raspberry Pi 4
.hwver = 0xC03111,
After a quick change I thought I am done, but now I'm just too stupid to install the lib into the right directory because the -d flag for setup.py install is not working (the error message says to specify the lib directory with -d because the default one seems to be wrong for me).
I've only used pip to install libs, so I really don't know how to do that stuff. Hope it gets updated soon.

i tested v4.2.3 on Pi4 rev 1.2 4GB RAM on pin 12 and it works like a charm. In order to install you need git clone --recurse-submodules


RFC: replace fasd with zoxide

I used to use fasd module until recently I discovered zoxide tool. It serves the same purpose as fasd and can replace built-in cd, so why not include it or replace fasd with zoxide?

We're not adding new modules to prezto core, you're free to include in your own contrib folder.

We would also accept this in the semi-official contrib repo. Thanks for bringing it up!

Adding it manually was pretty easy.
Can you please point where is that semi-official contrib repo?

https://github.com/belak/prezto-contrib/

Now that fasd has been archived by the author, it might be a good idea to revisit the idea of replacing it


German Contact Form

https://main--mammotome--hlxsites.hlx.page/de/de/kontakt
The German contact form is displaying all fields in one column instead of using two columns for some sections.
The following text section is missing, it should appear below the message box and before the checkboxes for products and solutions:

Service agreements should not be one of the checkbox options on the german form.
And the disclaimer text is missing from the form.

Fixed


Fix the logging issues with drone.wait

This code "fixes" the issues with drone.wait, however, I am assuming it doesn't actually do what it is supposed to, hence the reason for the "dont-merge" label.

@carlsondev Could we setup the run_examples script to run in the same style that the integration tests script runs? But instead we use a typhoon drone?

As a github action?

If possible, but we can postpone.


lntest: use filepath.Abs for lnd binary path

In this commit, we fix a bug that meant the integration tests weren't
able to be run on windows platforms. Before this commit, we manually
constructed a file path, using the regular unix based file path
delimiters. As a result, this wasn't done in a portable way , meaning
that the tests would only run on unix based systems. We resolve this by
using filepath.Join which will produce the proper path depending on
the host operating system.

Got a report from a windows user that this version still doesn't work.

test after #4220 is merged

Will be fixed by #4475.


QR Code from screenshot

Does anyone know a library to read QR codes from images (not taken from camera). QR Screenshots can be pasted in or uploaded from image

See https://github.com/zxing/zxing
https://zxing.org/w/decode.jspx

I see thanks for sharing this

2fast directly opens snipping tool to scan any QR on screen, it is open source, so you can see how it works.
https://github.com/2fast-team/2fast

wow its uwp too interesting

See also: https://sourceforge.net/p/twofactorqrcodereader/code/ci/master/tree/
That grabs QR codes visible on screen (to KeePass, but wouldn't be hard to adapt the code for use here)

Thanks. This is being worked on

2fast directly opens snipping tool to scan any QR on screen, it is open source, so you can see how it works. https://github.com/2fast-team/2fast

I checked and it looks like they have a key uri parser which will help in #4 and this issue. I need to implement #4 before I can do this as all apps seem to export via this method
https://github.com/2fast-team/2fast/blob/6016b6c3368ac17a786e1ccce7deeaad358d9bab/Project2FA.Core/Services/Parser/Project2FAParser.cs#L19


[WIP] Video streaming manager implementation

Partial fix to  #782
This PR is not ready for review.
Risk
This PR makes no API changes.
Testing Plan
Unit tests in VideoStreamingManagerTests file, also via manual testing internally.
Summary
Adds described functionality of VideoStreamingManager from Android Manager API proposal.

Codecov Report

Merging #826 into feature/issue_782_Android_Managers will increase coverage by 0.48%.
The diff coverage is 52.22%.

@@                           Coverage Diff                            @@
##             feature/issue_782_Android_Managers     #826      +/-   ##
========================================================================
+ Coverage                                 42.96%   43.44%   +0.48%
- Complexity                                 3028     3077      +49
========================================================================
  Files                                       379      381       +2
  Lines                                     17939    18210     +271
  Branches                                   1832     1880      +48
========================================================================
+ Hits                                       7707     7911     +204
- Misses                                     9858     9886      +28
- Partials                                    374      413      +39

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/smartdevicelink/proxy/SdlProxyBase.java
4.73% <0%> (-0.01%)
6 <0> (ø)

.../main/java/com/smartdevicelink/api/SdlManager.java
50.56% <33.33%> (+0.26%)
24 <0> (ø)
:arrow_down:

...com/smartdevicelink/api/VideoStreamingManager.java
51.69% <51.69%> (ø)
22 <22> (?)

...com/smartdevicelink/api/StreamingStateMachine.java
62.96% <62.96%> (ø)
13 <13> (?)

.../smartdevicelink/transport/MultiplexTransport.java
33.09% <0%> (-2.82%)
6% <0%> (ø)

...smartdevicelink/encoder/VirtualDisplayEncoder.java
31.03% <0%> (+1.72%)
9% <0%> (+1%)
:arrow_up:

...rtdevicelink/streaming/video/SdlRemoteDisplay.java
69.11% <0%> (+5.88%)
5% <0%> (ø)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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


Added Ken Thompson's recently cracked password

First Pull Request! I'm new to the field, and this project is super encouraging to me.
I added Ken Thompson's password to the list. I figure that while it was recently cracked, so it may not be everyones password right now, there's a good chance more and more going forward it would be a password l33t people would use.

I love it.


Installer fails if port 22 is selected

Installer fails when user selects 22 as wireguard port. Generated QR code is invalid.
I think some ports like 22, 80 etc. must be forbidden and error message should say Please select a different port or something like that.

Port 22 is used by ssh protocol, 80 for http, etc. - they are already in use.

@adokitkat I'm aware what these ports are used for and would never use them for wireguard myself. But I showed this script to a non-technical guy who entered 22 as the port and got this error. I just think the script need some protection in such cases.

Maybe there could be a warning that Ports 22,123,443 or whatever are in use, since SSH could also be listening on another Port.
Quick and Dirty way to get all used Ports:
netstat -tuln | awk -F":" '{print $2}' | awk -F" " '{printf $1" \n"}' | sort -n | uniq
Downside: It needs netstat installed and looks ugly at the moment.
An Alternative could be to forbid Ports 1-1024 to, at least, lower the risk of handling errors.

@KaeTuuN I think it's overkill to get all used ports. We just need to check the one entered by the user.
It can be done with lsof  which unlike netstat doesn't need to be installed.
For example, if you need to check if port 22 is already in use you have to execute lsof -i :22
I submitted a PR.

My Intention was to show all used Ports before the User enters Port Number.
But just checking the one entered should be enough and is much easier, that's true!

You can run SSH in port 22 TCP while WireGuard can simultaneously bind to 22 UDP.
In the attached photo, the user messed up somewhere else before running the script.
The linked pull request is also wrong for the same reason.


Add redeploy pipeline

Add pipeline that will redeploy all files in specified path.
Closes https://github.com/Azure/AzOps/issues/593

Looks great! Are you able to create a GH actions version as well?

Sure!

Added github pipeline and also added the customSorting feature to the github workflows.
Let me know what you think

Verified in GitHub Actions successfully now ✅
Does it make sense to also allow individual templates in the path as well to be able to redeploy a single resource? I can see some use cases where that would come handy.

Yes, I think that makes sense

Simple doc notes added in https://github.com/Azure/AzOps/pull/727


Update xtalcomp.h

Bug fix for overlapping atoms (after wrapping) producing false matches

Squashed into a single commit (See #4).


Support for API Management vnet join with multiple locations

As far as I can tell it is not possible to create an APIM using the Rest API that supports both vNet Join and multiple locations. The API seems to only provide a way to join the primary location to a vNet, any additional locations cannot have a subnet ID provided for them to join.
Can this be added to the Rest API?

I just came across this as well trying to front multiple AKS clusters that are isolated in separate VNETs. I was hoping to have a region of APIM for each AKS region, but this seems to be a limitation.

We are looking to replace our CI/CD IaC framework of currently more complex ARM template management of our APIM instances with Terraform, and this is a limitation / gap... very keen to get traction on this.

@sam-cogan @ukphillips @danbyrne-tal the REST API does support adding VNET into additionalLocations. Look at example apimanagementservicegetmultiregioninternalvnet


Close sidr when browser resized leaves behind inline body styles

Hey Guys
$.sidr('close') doesn't have any effect if the element is not visible (which makes sense). However, if this is used with a responsive design and media queries, you can get into a situation where the browser has been resized with sidr open, the media queries hide the menu but it leaves behind the inline styles on the body.
I have this jquery in place to close the sidr if the browser has moved beyond the mobile break point but it has no effect because of the :visible check.
$(window).bind('resize', function () {

        if($('body').hasClass('sidr-open') && $(window).width() >= 768) {
            $.sidr('close');
        }

    });

Any ideas on the correct way to achieve this?

$(window).bind('resize', function () {
if($('body').hasClass('sidr-open') && $(window).width() >= 768) {
$.sidr('close', 'sidr-main');
}
});

You can use $(window).resize(function () ... to implement the behaivour you want.


[Event Request] Codeunit 392 "Reminder-Make" - SetReminderLine - OnBeforeSetReminderLine

Dear Support,
We would like to add a new event called "OnBeforeSetReminderLine" to Reminder-Make codeunit, SetReminderLine procedure.
    procedure SetReminderLine(var LineLevel2: Integer; var ReminderDueDate2: Date)
    var
        IsHandled: Boolean;
    begin
        //>>New Event
        IsHandled := false;
        OnBeforeSetReminderLine(LineLevel2, ReminderDueDate2, IsHandled);
        if IsHandled then
              exit;
        //<<New Event

        if CustLedgEntry."Last Issued Reminder Level" > 0 then begin
            ReminderEntry.SetCurrentKey("Customer Entry No.", Type);
            ReminderEntry.SetRange("Customer Entry No.", CustLedgEntry."Entry No.");
            ReminderEntry.SetRange(Type, ReminderEntry.Type::Reminder);
            ReminderEntry.SetRange("Reminder Level", CustLedgEntry."Last Issued Reminder Level");
            ReminderEntry.SetRange(Canceled, false);
            OnSetReminderLineOnAfterSetFilters(ReminderEntry);

Event:
    [IntegrationEvent(false, false)]
    local procedure OnBeforeSetReminderLine(var LineLevel2: Integer; var ReminderDueDate2: Date; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11936.


Decouple time macro in source path from time spec

Currently we support roll spec with time MACROs (date, hour, min, second) by specifying MACRO pattern in time spec. I think we should decouple this to get a better flexibility.
For example, below spec should be a legit spec:
test-table:
  ...
  source: s3://xxx/{date}/{hour}/
  time:
      type: column
      column: col2
      pattern: UNIXTIME_MS

This spec is basically asking us to scan s3 file path with supported macros in it, but the time is actually from an existing column. My understanding is we don't support MACRO parsing if we don't specify it in time spec.
cc @chenqin

True,  we should consider extra timestamp from record instead of using batch time macro
for swap, we don't have timestamp...
https://github.com/varchar-io/nebula/blob/701265b6d0be6688d0573e18f1513d6a07118a14/src/ingest/SpecRepo.cpp#L132
for roll, we use timebucket to infer batch timestamp aka watermark
https://github.com/varchar-io/nebula/blob/701265b6d0be6688d0573e18f1513d6a07118a14/src/ingest/SpecRepo.cpp#L160
https://github.com/varchar-io/nebula/blob/701265b6d0be6688d0573e18f1513d6a07118a14/src/ingest/SpecRepo.cpp#L92-L96

True,  we should consider extra timestamp from record instead of using batch time macro
for swap, we don't have timestamp...
https://github.com/varchar-io/nebula/blob/701265b6d0be6688d0573e18f1513d6a07118a14/src/ingest/SpecRepo.cpp#L132
for roll, we use timebucket to infer batch timestamp aka watermark
https://github.com/varchar-io/nebula/blob/701265b6d0be6688d0573e18f1513d6a07118a14/src/ingest/SpecRepo.cpp#L160
https://github.com/varchar-io/nebula/blob/701265b6d0be6688d0573e18f1513d6a07118a14/src/ingest/SpecRepo.cpp#L92-L96

If no objection, will prepare a pr shortly.

If no objection, will prepare a pr shortly.

Thanks Chen, I don’t know if you have bandwidth, :) so I made some changes
this afternoon to test a dataset of ‘changes.feed’. I’ll wrap it and send a
diff.
On Tue, Jan 26, 2021 at 10:22 PM Chen Qin<EMAIL_ADDRESS>wrote:

If no objection, will prepare a pr shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/varchar-io/nebula/issues/84#issuecomment-768062534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLGAZKIW4J3WDXTOALQ2QDS36WMFANCNFSM4WRGERNA
.

Thanks Chen, I don’t know if you have bandwidth, :) so I made some changes
this afternoon to test a dataset of ‘changes.feed’. I’ll wrap it and send a
diff.
On Tue, Jan 26, 2021 at 10:22 PM Chen Qin<EMAIL_ADDRESS>wrote:

If no objection, will prepare a pr shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/varchar-io/nebula/issues/84#issuecomment-768062534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLGAZKIW4J3WDXTOALQ2QDS36WMFANCNFSM4WRGERNA
.


bug: libengine.dylib not found

Describe the bug
When cortex run llama3, libengine.dylib not found in folder.
To Reproduce
Steps to reproduce the behavior:

brew install cortexso
cortex pull llama3
cortex run llama3

Expected behavior
Model should run.
Screenshots
Log:

Directory:

Strange empty Users folder gets created too. Users > <username> > cortex > telemetry.
Desktop (please complete the following information):

macOS: 14.2.1

Hey @simboonlong could you please help upgrade to the latest version? I think those have been addressed.
Engine & Users
After installed the latest version, please try cortex engines llamacpp init

This is tested to indeed work with 0.5.0-1 version. it assumes that i do a npm global install of npm i -g cortexso.
However if i do the brew install of brew install cortexso, i seem to always stuck at cortexso 0.1.1 version installed in Cellar.

https://github.com/janhq/homebrew-cortexso/blob/bfcd5a09e37de50ea1bdce235b51cc059038eb79/Formula/cortexso.rb#L6

@simboonlong yeah, we are resolving brew to bump to a newer update.

This should be addressed when we refactoring cortex-cpp.

@simboonlong FYI, we are currently re-writing Cortex to be a full C++ codebase, instead of JS + C++ as before. We will launch v0.1 in coming weeks, so expect some changes.
I'll be closing this ticket, but reference it in our MVP test coverage so we ensure this does not happen in v0.1.


about some missing parts

Hi, thanks for your contribution on DiffSinger! and also thanks for mentioning my implementation, I just realized it yesterday:)
With your detailed documentation in README and paper, I can reproduce the training & inference procedure and the results with this repo. But during that, I found some missing parts to get the full training with shallow version: I think the current code only supports forced K (which is 71) with the pre-trained FastSpeech2 (especially of the decoder). If I understood correctly, we need a process for the boundary prediction and pre-training of FastSpeech2 before training DiffSpeech in shallow. Maybe I missed somewhere in the repo, but if it is not yet pushed, I wonder whether you have planned to provide that part soon or not.
Thanks in advance!
Best,
keon

We've mentioned the new way to obtain k in readme.md (in our paper appendix B).
We found that the original  "the boundary prediction network" was so cumbersome and with limited generalization. Also, reviewers complain that "this network increases the model complexity...".
Simply, just view k as a hyper-parameter, brutal-search it on the val-set or follow our appendix B to get a relative rational value.
as for fs2, it has been pushed in the latest version codes, but it is not the official code for the paper of fs2 :)
Thanks for your attention to our work!
Best wishes.

Hi, thanks for your contribution on DiffSinger! and also thanks for mentioning my implementation, I just realized it yesterday:)
With your detailed documentation in README and paper, I can reproduce the training & inference procedure and the results with this repo. But during that, I found some missing parts to get the full training with shallow version: I think the current code only supports forced K (which is 71) with the pre-trained FastSpeech2 (especially of the decoder). If I understood correctly, we need a process for the boundary prediction and pre-training of FastSpeech2 before training DiffSpeech in shallow. Maybe I missed somewhere in the repo, but if it is not yet pushed, I wonder whether you have planned to provide that part soon or not.
Thanks in advance!
Best, keon

We've mentioned the new way to obtain k in readme.md (in our paper appendix B).
We found that the original  "the boundary prediction network" was so cumbersome and with limited generalization. Also, reviewers in the previous venue complain that "this network increases the model complexity...".
Simply, just view k as a hyper-parameter, brutal-search it on the val-set or follow our appendix B to get a relative rational value.
as for fs2, it has been pushed in the latest version codes, but it is not the official code for the paper of fs2 :)
Thanks for your attention to our work!
Best wishes.

Thanks for the quick response!
gotcha, I see. Then can you guide me to pre-train fs2? suppose we try to train DiffSpeech on VCTK (e.g. by the conventional speaker embedding adding to text hidden before diffusion), and wanna get pre-trained FS2 including decoder for shallow training (assume we found that we can fix K as the same value with LJS). How can I get it to work with this condition?

Thanks for the quick response!
gotcha, I see. Then can you guide me to pre-train fs2? suppose we try to train DiffSpeech on VCTK (e.g. by the conventional speaker embedding adding to text hidden before diffusion), and wanna get pre-trained FS2 including decoder for shallow training (assume we found that we can fix K as the same value with LJS). How can I get it to work with this condition?

Basic commands for training fs2 (ljspeech):
CUDA_VISIBLE_DEVICES=1 python tasks/run.py --config configs/tts/lj/fs2.yaml --exp_name fs2_test --reset
If you want to train fs2/ds on multi-spk dataset, you should turn on the 'use_spk_id' or 'use_spk_embed' option & carefully check the related codes. But I'm not sure about the performance on VCTK (I've never tried), maybe some hyper-parameters should be tuned.

Thanks for your answer! I'll try and hopefully PR if I get some results. Looking forward to the upcoming release :)

I find that DiffGAN-TTS has implemented the multi-speaker TTS of our DiffSpeech, and obtained a very good audio quality😀.

Thanks for the sharing @MoonInTheRiver ! I'm taking a look, and if possible, I'd like to implement it and share the results soon:)

@MoonInTheRiver I just released my implementation of DiffGAN-TTS:
https://github.com/keonlee9420/DiffGAN-TTS
and I can see that it generates high-fidelity speech samples within only 4 denoising steps (and even with a single step) on VCTK and LJSpeech. Interestingly, in my experiments of comparison between DiffGAN-TTS and DiffSpeech, I found that DiffSpeech with 4 steps also shows compatible performance on LJSpeech, so I think we can enjoy fast sampling with any of them! For those who're interested in, please check my repo for more details. And any suggestions are always welcome :)


Gauges and weights for voting

Still doing QA on the API. Found some inconsistency with the FE and waiting for external team's response.


Switch to specfile library

Differences from the original implementation (will this be a problem?):

whitespace around sources/patches

specfile doesn't add extra empty line after adding a new source/patch
it also doesn't remove any empty lines when removing a source/patch

number of digits in source/patch number (ID)

with tag name Patch21, detected number of digits is 2, but it was 1 in the original implementation (why?)
with number of digits set to 0, and patch number set to 21, resulting tag name is Patch21, not Patch as in the original implementation

recheck

/packit build

recheck

Differences from the original implementation (will this be a problem?):

whitespace around sources/patches

specfile doesn't add extra empty line after adding a new source/patch
it also doesn't remove any empty lines when removing a source/patch

IIRC, these things were important in order to avoid creating noisy diffs when re-adding patches (created from commits which were created in the source-git repo from dist-git) to specfiles in a source-git context.

number of digits in source/patch number (ID)

with tag name Patch21, detected number of digits is 2, but it was 1 in the original implementation (why?)

B/c there is no leading 0 in the patch id, and that's what 1 means according to the doc-strings.

with number of digits set to 0, and patch number set to 21, resulting tag name is Patch21, not Patch as in the original implementation

The behaviour of the original implementation was intentional, 0 meant "no patch ID at all".
Docs don't reflect the actual implementation.

Ok, but AFAICT most existing spec files don't have any empty lines between sources/patches, so (from the PoV of rebase-helper) adding an extra empty line also creates a somewhat noisy diff slightly_smiling_face
I wonder if it is possible to reproduce the scenario you mentioned, so I can try to find some solution.

These are valid points. Again IIRC (remembering is hard), it was curl for which this was done. I do realise that reproducing a manually edited spec-file is pretty challenging, and we will probably need to improve the options we offer in order to be able to cover all the use cases. So if you think this is just nitpicking, I'm fine with not doing this right now.
The only thing that would be nice to have is remove extra empty lines when removing sources or patches, in order to prevent "gaps".

These are valid points. Again IIRC (remembering is hard), it was curl for which this was done. I do realise that reproducing a manually edited spec-file is pretty challenging, and we will probably need to improve the options we offer in order to be able to cover all the use cases. So if you think this is just nitpicking, I'm fine with not doing this right now.

Thanks, I'll have a look. I don't think this is just nitpicking, noisy diffs are something we (the specfile library) want to avoid as much as we can.

The only thing that would be nice to have is remove extra empty lines when removing sources or patches, in order to prevent "gaps".

Agreed, I'll try to implement that.

Ok, I think I addressed everything. Test will fail without specfile 0.5.0, so it will probably take a while until they are all green.

Ok, I think I addressed everything. Tests will fail without specfile 0.5.0, so it will probably take a while until they are all green.

Let's give karma to the updates then..;)

recheck

/packit build

@nforro thanks a lot for working on this!
We can easily rollback our deployment in case of any issues. (It would be nice to test the stage before moving the stable branches.)

Thanks, should I go ahead and merge this then?


  Seems that a lot of the extensions was able to activate.

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I did a little more testing.
We have a setting in our project to organize imports on save and vs code would just hang while organizing imports.
Then, I got a pop up Typescript and Javascript crashes 5 times in the last 5 minutes. From the settings go the pop-up, I disable the Typescript and Javascript extension. And then, I was able to save the code.
Now, I downgraded  VS code to 1.92.2 and enabled all the extensions and everything seems to be working.

If I understand you correctly, disabling TS/JS extension has unblocked you to save again, so it seems to be caused by save participants of this extension?

Yes.

What's save actions do you have enabled? For example, format on save or code actions on save?

having same issues, it takes so much time,have to close VScode and then reopen :(

fix eslint issues
organize imports
format on save

What's save actions do you have enabled? For example, format on save or code actions on save?

fix eslint issues
organize imports
format on save

What if you try disabling the eslint extension? If there's still an issue after that you can also try disabling each of those individual setting too to see which one causes the problem

Please try the steps I suggested

worst support team


MM-47663 : Test out MUI for menu components POC

Summary
Since material-ui has peer dependency on react-17, the base commits have been rebased from react 17 upgrade pr. Actual work on the pr starts from these commits
Ticket Link
https://mattermost.atlassian.net/browse/MM-47663
Related Pull Requests
Has changes from https://github.com/mattermost/mattermost-webapp/pull/10836
Screenshots

Release Note

@M-ZubairAhmed Could you rebase this branch to sort out the conflicts and duplicate commits? I think that'd probably be the easiest way to fix at least the duplicated commits

will be handled in separate individual prs. thanks everyone.


"click button" vs. "select button" in Blazor docs

I understand the reasoning behind avoiding the term "click," but it feels odd to refer to it as "selecting a button." It seems like an attempt to replace a widely accepted simplification. The event name is click, and Blazor operates on top of HTML elements, where "click" carries a broader significance. This isn't about drafting specifications for new browser developers, where emphasizing a broader meaning might be relevant.
To my knowledge, the Blazor documentation might be the first instance where I've seen this approach. For comparison, consider these references:
https://www.google.com/search?q=to+select+a+button
https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.button.click
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.click
https://www.w3schools.com/jsref/event_onclick.asp
https://developer.apple.com/documentation/swiftui/button - uses "to activate button"
https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event (does not use click nor select)
This perspective might prompt a reconsideration of the terminology, aligning more closely with established norms.

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

ID: cee76442-8a46-8ec0-bf3f-2e774fea5cda
Version Independent ID: d1f1c5cf-c0c8-b093-6a9f-ac100adc9f1f
Content: click - Microsoft Style Guide
Content Source: styleguide/a-z-word-list-term-collections/c/click.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Note for the record that all ASP.NET Core docs (and .NET docs IIRC) are following the convention, not just the Blazor node of the ASP.NET Core docs. This provision has been (mostly) faithfully followed for many years by all of the docs teams AFAIK.


fix(api-metrics): distinguish bound counter and bound up down counter type

Which problem is this PR solving?

https://github.com/open-telemetry/opentelemetry-js/issues/2480
metrics SDK UpDownCounter implements api.BoundCounter under the hood, while api.BoundCounter specifying that it does not accept negative values.

Short description of the changes

api.UpDownCounter interface is defined with the same definition with api.Counter (i.e. TypeScript will not complain if we assign an api.UpDownCounter to api.Counter). This PR doesn't change this and added a new API api.BoundUpDownCounter to keep this pattern on the bound metric types.
Clean up in the examples that an UpDownCounter should be named as upDownCounter to help people understand that it is not a Counter type.
This PR is not breaking since those two types are not distinguished by the TypeScript type system.

I cannot find anything about bound metrics(nor metric handles) in spec except an OTEP which renames metric handles to bound instruments: https://github.com/open-telemetry/oteps/blob/main/text/metrics/0070-metric-bound-instrument.md

@Rauno56 yeah, bound instruments are not in the feature freeze api spec. let's track it at https://github.com/open-telemetry/opentelemetry-js/issues/2545.

Closing in favor of removing these types from the API package.


Fixing typo.

fixes #21

Sorry I did not work on the frontend, could you suggest someone else for review ?

Resolved by https://github.com/neurolibre/neurolibre/commit/c5232b99dfe67b0f052221071f11402a00bcc914


download: add ensure_pandoc_installed

this is done in a new pull request to ensure a clean history.

why not merged?

@janschulz

Sorry for the long wait, real life interfered :-/

Thanks!


[FLINK-36094] CDC SchemaRegistryRequestHandler should throw exception which is not SchemaEvolveException

As shown in https://issues.apache.org/jira/browse/FLINK-36094, Current, SchemaRegistryRequestHandler only throw
SchemaEvolveException, which will not handle the others(like network, oom, or else.

@leonardBang @yuxiqian @ruanhang1993 , CC, WDYT?

Could you please modify these parts together?

done it


RUMM-1225 update Maven configuration

What does this PR do?
Update Maven configuration (move from Bintray to Sonatype OOSRH)

Codecov Report

Merging #14 (65cacfa) into main (d1d98ea) will decrease coverage by 1.83%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main      #14      +/-   ##
============================================
- Coverage     78.66%   76.83%   -1.83%
  Complexity       49       49
============================================
  Files             7        7
  Lines           164      164
  Branches         14       14
============================================
- Hits            129      126       -3
- Misses           25       28       +3
  Partials         10       10

Impacted Files
Coverage Δ
Complexity Δ

...n/com/datadog/android/bridge/internal/BridgeRum.kt
75.00% <0.00%> (-3.95%)
16.00% <0.00%> (ø%)


ERROR: failed to parse formatted text - HTTP Link

Hi,
I'm current running into the following error:
asciidoctor: ERROR: failed to parse formatted text: https://github.com/todotxt/todo.txt-cli/wiki/Todo.sh-Add-on-Directory#recur-intelligently-add-recurring-tasks-todosh-ls1-some-task2-some-other-task3-a-third-task—2013-06-11-3-of-3-tasks-shown

when I try to render this document. I tried it both with the column as a as shown below and without it
[cols="1,4a"]
|===
|Item|Details

|recur
|https://github.com/todotxt/todo.txt-cli/wiki/Todo.sh-Add-on-Directory#recur-intelligently-add-recurring-tasks-todosh-ls1-some-task2-some-other-task3-a-third-task--2013-06-11-3-of-3-tasks-shown

|===

the version I'm using is:
$ asciidoctor-pdf -v
Asciidoctor PDF 1.6.0 using Asciidoctor 2.0.15 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin17]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

Any ideas? Thanks.

The -- in the URL is being replaced. You will need to escape it. Please see https://docs.asciidoctor.org/asciidoc/latest/macros/complex-urls/

Thanks a lot @mojavelinux


Teach lens about EthAccounts (et al)

relayer needs to know about EthAccounts to interoperate with EVM chains.
This integrates the approach used by @giansalex into lens
https://github.com/cosmos/relayer/compare/main...disperze:ethermint

This looks correct but it doesn't seem to restore the same public key that is displayed in Keplr.
For example:
In Keplr using this mnemonic
three elevator silk family street child flip also leaf inmate call frame shock little legal october vivid enable fetch siege sell burger dolphin green

I see this evmos address evmos1dea7vlekr9e34vugwkvesulglt8fx4e457vk9z
But if I run lens keys restore --chain evmos test (this should default to coin type 118)
I see this address evmos1f840flrx7jzfz7tqws6aewf20czpd3a836ckw5
If I run lens keys restore --chain evmos test1 --coin-type 60
Then I get this address evmos1j57yt284w9zqwz6tkrvlrc3p76s8vzv96wgsrk
Chain registry says coin type for evmos should be 60
I saw similar results before this PR where the keys would never match what Keplr displays and thought this would fix it but I'm starting to think Keplr is doing something behind the scenes to generate the address.

It's not immediately obvious what the value for --algo should be if a user is trying to restore ethereum based keys.
lens keys restore --chain evmos testnew2 --coin-type 60 --algo eth_secp256k1 yields the following output:
panic: Cannot encode unregistered concrete type ethsecp256k1.PubKey.

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*LegacyAmino).MustMarshalLengthPrefixed(...)
        /Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/codec/amino.go:107
github.com/cosmos/cosmos-sdk/crypto/keyring.marshalInfo({0x1053ca4a8?, 0x14000fbadc0?})
        /Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/info.go:247 +0x6c
github.com/cosmos/cosmos-sdk/crypto/keyring.keystore.writeInfo({{0x1053c9180, 0x14000fb7e60}, {{0x105d73fa0, 0x2, 0x2}, {0x105d73fc0, 0x2, 0x2}}}, {0x1053ca4a8, 0x14000fbadc0})
        /Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/keyring.go:759 +0xc8
github.com/cosmos/cosmos-sdk/crypto/keyring.keystore.writeLocalKey({{0x1053c9180, 0x14000fb7e60}, {{0x105d73fa0, 0x2, 0x2}, {0x105d73fc0, 0x2, 0x2}}}, {0x16bd17968, 0x8}, ...)
        /Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/keyring.go:750 +0x1b8
github.com/cosmos/cosmos-sdk/crypto/keyring.keystore.NewAccount({{0x1053c9180, 0x14000fb7e60}, {{0x105d73fa0, 0x2, 0x2}, {0x105d73fc0, 0x2, 0x2}}}, {0x16bd17968, 0x8}, ...)
        /Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/keyring.go:556 +0x200
github.com/strangelove-ventures/lens/client.(*ChainClient).KeyAddOrRestore(0x14000fbc4d0, {0x16bd17968, 0x8}, 0x1ba010?, {0x16bd17987?, 0x14000cefd50?}, {0x14000cefd48?, 0x1046e1eb4?, 0x14000f3e820?})
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/client/keys.go:138 +0x220
github.com/strangelove-ventures/lens/client.(*ChainClient).RestoreKey(...)
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/client/keys.go:61
github.com/strangelove-ventures/lens/cmd.keysRestoreCmd.func1(0x14000f68780?, {0x14000f4c770, 0x1, 0x7?})
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/cmd/keys.go:138 +0x1ac
github.com/spf13/cobra.(*Command).execute(0x14000f68780, {0x14000f4c700, 0x7, 0x7})
        /Users/justintieri/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x4c4
github.com/spf13/cobra.(*Command).ExecuteC(0x14000f42500)
        /Users/justintieri/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x354
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/justintieri/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/strangelove-ventures/lens/cmd.Execute()
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/cmd/root.go:130 +0x74
main.main()
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/main.go:23 +0x20

lens keys restore --chain evmos testnew2 --coin-type 60 --algo EthSecp256k1 yields the following output:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x10 pc=0x103173fec]

goroutine 1 [running]:
github.com/strangelove-ventures/lens/client.(*ChainClient).RestoreKey(...)
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/client/keys.go:65
github.com/strangelove-ventures/lens/cmd.keysRestoreCmd.func1(0x140010b9b80?, {0x140010a0380, 0x1, 0x7?})
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/cmd/keys.go:138 +0x1bc
github.com/spf13/cobra.(*Command).execute(0x140010b9b80, {0x140010a0310, 0x7, 0x7})
        /Users/justintieri/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x4c4
github.com/spf13/cobra.(*Command).ExecuteC(0x140001d7900)
        /Users/justintieri/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x354
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/justintieri/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/strangelove-ventures/lens/cmd.Execute()
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/cmd/root.go:130 +0x74
main.main()
        /Users/justintieri/go/src/github.com/strangelove-ventures/lens/main.go:23 +0x20

Still seeing some panic's that stem from the SDK.
I am running this as a test case:
// TestKeyRestoreEth restores a test mnemonic
func TestKeyRestoreEth(t *testing.T) {
	keyName := "test_key"
	mnemonic := "three elevator silk family street child flip also leaf inmate call frame shock little legal october vivid enable fetch siege sell burger dolphin green"
	expectedAddress := "evmos1dea7vlekr9e34vugwkvesulglt8fx4e457vk9z"
	var coinType uint32
	coinType = 60 // Ethereum coin type used in address derivation

	homepath := t.TempDir()
	cl, err := client.NewChainClient(
		zaptest.NewLogger(t),
		client.GetCosmosHubConfig(homepath, true),
		homepath, nil, nil,
	)
	if err != nil {
		t.Fatal(err)
	}
	_ = cl.DeleteKey(keyName) // Delete if test is being run again
	address, err := cl.RestoreKey(keyName, mnemonic, coinType)
	if err != nil {
		t.Fatalf("Error while restoring mnemonic: %v", err)
	}
	if address != expectedAddress {
		t.Fatalf("Restored address: %s does not match expected: %s", address, expectedAddress)
	}
}

and seeing this output:
=== RUN   TestKeyRestoreEth
--- FAIL: TestKeyRestoreEth (0.00s)
panic: Cannot encode unregistered concrete type ethsecp256k1.PubKey. [recovered]
	panic: Cannot encode unregistered concrete type ethsecp256k1.PubKey.

goroutine 22 [running]:
testing.tRunner.func1.2({0x103f76980, 0x140010101a0})
	/usr/local/go/src/testing/testing.go:1389 +0x1c8
testing.tRunner.func1()
	/usr/local/go/src/testing/testing.go:1392 +0x384
panic({0x103f76980, 0x140010101a0})
	/usr/local/go/src/runtime/panic.go:838 +0x204
github.com/cosmos/cosmos-sdk/codec.(*LegacyAmino).MustMarshalLengthPrefixed(...)
	/Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/codec/amino.go:107
github.com/cosmos/cosmos-sdk/crypto/keyring.marshalInfo({0x104133ab8?, 0x140010160c0?})
	/Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/info.go:247 +0x6c
github.com/cosmos/cosmos-sdk/crypto/keyring.keystore.writeInfo({{0x104132c50, 0x14000fed320}, {{0x104a1c080, 0x2, 0x2}, {0x104a1c0a0, 0x2, 0x2}}}, {0x104133ab8, 0x140010160c0})
	/Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/keyring.go:759 +0xc8
github.com/cosmos/cosmos-sdk/crypto/keyring.keystore.writeLocalKey({{0x104132c50, 0x14000fed320}, {{0x104a1c080, 0x2, 0x2}, {0x104a1c0a0, 0x2, 0x2}}}, {0x103b95ac8, 0x8}, ...)
	/Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/keyring.go:750 +0x1b8
github.com/cosmos/cosmos-sdk/crypto/keyring.keystore.NewAccount({{0x104132c50, 0x14000fed320}, {{0x104a1c080, 0x2, 0x2}, {0x104a1c0a0, 0x2, 0x2}}}, {0x103b95ac8, 0x8}, ...)
	/Users/justintieri/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.5-0.20220523154235-2921a1c3c918/crypto/keyring/keyring.go:556 +0x200
github.com/strangelove-ventures/lens/client.(*ChainClient).KeyAddOrRestore(0x140004bd290, {0x103b95ac8, 0x8}, 0x3c, {0x14001007f18?, 0x0?, 0x0?})
	/Users/justintieri/go/src/github.com/strangelove-ventures/lens/client/keys.go:136 +0xf8
github.com/strangelove-ventures/lens/client.(*ChainClient).RestoreKey(...)
	/Users/justintieri/go/src/github.com/strangelove-ventures/lens/client/keys.go:61
github.com/strangelove-ventures/lens/client_test.TestKeyRestoreEth(0x14000fc6680)
	/Users/justintieri/go/src/github.com/strangelove-ventures/lens/client/keys_test.go:55 +0x23c
testing.tRunner(0x14000fc6680, 0x10411b358)
	/usr/local/go/src/testing/testing.go:1439 +0x110
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:1486 +0x300

this should solve it

import (
   "github.com/cosmos/cosmos-sdk/codec/legacy"
   "github.com/tharsis/ethermint/crypto/ethsecp256k1"
)

legacy.Cdc.RegisterConcrete(&ethsecp256k1.PubKey{},
	ethsecp256k1.PubKeyName, nil)
legacy.Cdc.RegisterConcrete(&ethsecp256k1.PrivKey{},
	ethsecp256k1.PrivKeyName, nil)

this should solve it
import (
   "github.com/cosmos/cosmos-sdk/codec/legacy"
   "github.com/tharsis/ethermint/crypto/ethsecp256k1"
)

legacy.Cdc.RegisterConcrete(&ethsecp256k1.PubKey{},
	ethsecp256k1.PubKeyName, nil)
legacy.Cdc.RegisterConcrete(&ethsecp256k1.PrivKey{},
	ethsecp256k1.PrivKeyName, nil)

see this note https://github.com/tharsis/ethermint/blob/v.10.1/crypto/codec/amino.go#L24

Ahh looks like that does it! 😄

Also add this commit  to allow to simulate tx  https://github.com/disperze/lens/commit/3a5fa8dc9b9e9bc1a9eeedc3865236a22b68f816  (from cosmos-sdk)


[ADP-2959] Simplify delegation and payment address classes

[x] Remove n parameter from PaymentAddress and DelegationAddress classes and move it to the methods as singleton SNetworkId n parameter
[x] Add some functions that simplify the call of the methods in the old way (forcing @n) so as not to change too much the call site
[x]  Remove :: NetworkDiscriminant superfluous signature around
[x] Remove redundant constraints on PaymentAddress and DelegationAddress now that n is removed

ADP-2959

bors r+

bors ping


Update sbt, scripted-plugin to 1.10.4

About this PR
📦 Updates

org.scala-sbt:sbt
org.scala-sbt:scripted-plugin

from 1.10.3 to 1.10.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.10.3).
You might want to review and update them manually.
action.yml

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, old-version-remains, commit-count:1

The action.yml file isn't updated 😢
I will look into that issue.

https://github.com/sbt/setup-sbt/pull/16 🤔


[4.0] Allow classes to share an Encoder with superclass

What's in this pull request?
Cherry-picks #10520 to swift-4.0-branch.
Explanation: On encode, we previously treated every container request as a push; instead, we should allow the same container type to be requested multiple times so a class can pass its Encoder directly to its superclass if it needs to.
Scope: Affects anyone trying to share an Encoder with their superclass when using JSONEncoder and PropertyListEncoder.
Radar: rdar://problem/32927085
Risk: Low
Testing: Adds unit tests to JSONEncoder and PlistEncoder to confirm expected behavior.

@swift-ci Please test


[themes] Add product icon themes

Fixes  #79130

[x] productIconThemes definition files, with font specification and icon definitions (name -> font character)
[x] JSON schema for product icon themes associated to -product-icon-theme.json
[x] New contribution point productIconThemes
[x] new setting workbench.productIconTheme
[x] Test Product Icons example in vscode-colorize-tests
[x] icon registry with all themable icons
[ ] allow to contribute to icon registry from icon contribution point
[x] update svg references to use codicons #86708
[x] product icon theme selection command
[x] name icons ids like we did it with color ids (id describes icon location glyphMargin.collapedRange, not the chosen representation (chevron-right). However we want to keep chevron-right as these can be accessed in Markdown or labels using `$(chevron-right)
[x] update code references to unicode characters (git decorations, debug breakpoints, etc.)
[ ] allow codicons to be used in webviews
[x] have helper wdget that makes it easy to host an image
[x] finalize API https://github.com/microsoft/vscode/issues/113828

Do you have a build task to generate the product icon font .woff? At this moment I have no idea how to easily create a product icon font, even though there's already an example and documentation.

For the sample I used an online tool, https://icomoon.io/app/#/select, but a build task would be great. I created https://github.com/microsoft/vscode-extension-samples/issues/303

@aeschli  A quick question: can we customize icons in completion list?

@HaoboGu yes, these icons are prefixed with symbol-, for example you can use the following configuration:
"symbol-string": {
  "fontCharacter": "\\EA46"
},
"symbol-module": {
  "fontCharacter": "\\EA47"
},
"symbol-namespace": {
  "fontCharacter": "\\EA47"
},
"symbol-package": {
  "fontCharacter": "\\EA47"
},
"symbol-object": {
  "fontCharacter": "\\EA47"
}

You can also reference our product icon documentation for the list of the icons and names.

@PKief  Thanks a lot!

Are there any plans to allow setting color data for an icon? Furthermore, are there any plans to allow for using .svg directly, instead of referencing a glyph in a fontmap?
A limitation of font formats (with exception to color font formats) is that no color data can be stored. Therefore, an icon like in the example below wouldn't be possible to properly include, right?

It's intentional that glyphs only have a single color.  We want the color come from color themes. The color must work well with all other colors in the theme, in particular with the background color(s).

Is the current model allowes multiple extensions to make changes to icons view? Example:

one extension changes suggest icons
the other extension contributes activity bar icons

Are they going to be merged or it is not allowed?

@usernamehw it would work just like File Icon themes, you can only select one.

Any ETA on when this will be ready?

@boaz-codota The finalization of this feature has gotten pushed back due to other priorities.
Is there a particular thing you are waiting for?

+1 one for me, I'd love to be able to change a single icon, as in the above issue #110240

What if I want to add a new icon instead of overwriting an existing one, just to use it in my own extension?

Would it even be possible to manually merge multiple extension icons into 1 Frankenstein extension?

Yes, an extension can define any number of product icon themes.

I was looking for tools to merge .woff files and forgot that there was a build task in extension sample that generates font from .svg. If extension authors were to use this extension sample then it should be easy to merge multiple product icons into 1.

I just pushed to insiders that product icon themes are now official API

I just pushed to insiders that product icon themes are now official API

Closing this issue. https://github.com/microsoft/vscode/issues/114942 is for the icon contribution point

Closing this issue. https://github.com/microsoft/vscode/issues/114942 is for the icon contribution point

I still don't quite get how I would use this to add an icon to certain file types or languages.
For example, if I want to add an icon to .bmx files, how would I use this?

@Hezkore Product icon themes are not built to change the icons of files or languages. I think what you mean are the file icon themes.

Yes, but that would replace ALL icons.
So for example, if I add support for .bmx then all .js files will have an empty icon.
Multiple issues regarding this was closed and redirected to this fix.

@Hezkore See https://github.com/microsoft/vscode/issues/14662#issuecomment-787912133. Let's discuss it in that issue.


[skip ci] doc: update README-MULTISITE.md

I update the parameters according to this PR: #7315 In addition, where rgw_zonesecondary: True and rgw_zonemaster: False,
I change rgw_zonegroupmaster to be False as those lines below:
https://github.com/ceph/ceph-ansible/blob/main/README-MULTISITE.md?plain=1#L396 https://github.com/ceph/ceph-ansible/blob/main/README-MULTISITE.md?plain=1#L417 https://github.com/ceph/ceph-ansible/blob/main/README-MULTISITE.md?plain=1#L520 https://github.com/ceph/ceph-ansible/blob/main/README-MULTISITE.md?plain=1#L535 Add note at line 205 here https://github.com/ceph/ceph-ansible/blob/main/README-MULTISITE.md?plain=1#L205
Signed-off-by: quangln94<EMAIL_ADDRESS>

@guits
My email<EMAIL_ADDRESS>Can i become one of the contributors to this PR


Add new defs for linux on a stick

had to do this manually for some reason

Closed by https://github.com/hackclub/markcop/commit/a9e73f351f5129342db73254e213144776d0ab76


What are the parameters you can pass to chain.call to modify the original prompt sent to a model?

I'm using the example from the docs, running the following code:
       const vectorStore = await HNSWLib.fromDocuments(
		docs,
		new OpenAIEmbeddings({ stripNewLines: false })
	);

        const chain = VectorDBQAChain.fromLLM(model, vectorStore);

	const res = await chain.call({
		input_documents: docs,
		query:
			"What is this about? ",
	});

I understand that chain.call feeds the documents found in the vector store to the OpenAI prompt and adds something at the beginning to make the model answer the question.
But how can I actually edit the original prompt sent and add a few statements to it?  For instance, what if I want to add some general context about all the documents that might be found? Or what if I don't want it to answer a question but to, say, challenge the user's input?
Couldn't find it in the documentation, maybe you can direct me to the right place or suggest which parameters / functions could be used to achieve that?

I'm trying to do same thing

Ok, no answer from the community, so figured it out myself.
First, you need to replace the deprecated VectorDBQAChain with the newer RetrievalQAChain, which basically does the same thing.
Then, when you initiate the chain, you need to add the verbose: true parameter to the options of the model like this:
const chain = RetrievalQAChain.fromLLM(model, vectorStore.asRetriever(), {
		verbose: true,
	});

Mind you, because langchain.js works badly for any node below version 16 you need node version 16+ for the verbose option to work, otherwise it throws an error on Object.hasOwn code. But once you upgrade to node 16 (use nvm to do that, so you can switch back and forth), then you'll be able to see what langchagin is actually sending to the model in the backend and what prompts it's using.

And, by the way, the prompt that is used is
Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.

your_pieces_of_content

Question: your_question

Helpful answer:

Now the question is if you can actually change the original prompt used above or not and how to do that.
For now, I found that one option is to retrieve the search results using
const results = await vectorStore.similaritySearch("meditation");

And then make a manual query to the model. But there must be a better way to do that.
Anyone has an idea how?

Ok, found a solution to change the prompt sent to a model. This can be useful if you want to create your own prompts (e.g. not only answering questions, but coming up with ideas or translating the prompts to other languages) while maintaining the chain logic.
First, I had to look into
https://github.com/hwchase17/langchainjs/blob/53b6cb4fd9365e26b21c5e40ed2ddd8077562fdb/langchain/src/chains/question_answering/load.ts#L48
and
https://github.com/hwchase17/langchainjs/blob/53b6cb4fd9365e26b21c5e40ed2ddd8077562fdb/langchain/src/chains/chat_vector_db_chain.ts#L21
to understand what parameters can be passed to the fromLLM function of RetrievalQAChain.
I found out that you can simply pass the prompt option when calling the model, which should contain the prompt function that modifies the original prompt.
So I added the following variables to my script modifying the original prompt:
    const template = `Use the following pieces of context to come up with an interesting response to the statement at the end. If you don't know what to say, just say that you don't know, don't try to make up an answer.

    {context}

    Statement: {question}
    Innovative Response:`;

	const prompt = new PromptTemplate({
		template: template,
		inputVariables: ["context", "question"],
	});

Then I added the following code to the chain call:
const chain = RetrievalQAChain.fromLLM(model, vectorStore.asRetriever(), {
		// returnSourceDocuments: true,
		// verbose: true,
		prompt: prompt,
	});

Now it is using my prompt instead of the default one.

How do you pass the values of context and question in the above example to the prompt template that is passed into the QAChain? Do we just pass them to chain.call?
My code is structured a little differently.
     let documents = await vectorStore.similaritySearch(userSubmittedQuestion);     let inputPrompt: StuffQAChainParams = {         prompt: new PromptTemplate({             inputVariables: ["chat_history", "question", "context"],             template: "Say {chat_history} Question: {question} Context: {context}",           })     };     const model = new OpenAI({ openAIApiKey: config.OPENAI_API_KEY, temperature: 0, maxTokens: 2000});     const chain = loadQAStuffChain(model, inputPrompt);     const response = await chain.call({ question: userSubmittedQuestion, input_documents: documents});


RecordRTC: setting a property that has only a getter

I received this error on mozilla firefox for linux and windows, on firebug.
TypeError: setting a property that has only a getter
var navigator = window.navigator;

I also get the same error.