Error while playing songs

the bot is installed on pterodactyl once it worked normally
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
:/home/container$ java -Djavax.accessibility.assistive_technologies= -Dnogui=true -jar JMusicBot.jar
[21:13:40] [INFO] [Startup]: Loaded config from /home/container/config.txt
[21:13:40] [INFO] [JDA]: Login Successful!
[21:13:41] [INFO] [WebSocketClient]: Connected to WebSocket
[21:13:41] [INFO] [JDA]: Finished Loading!
[21:14:47] [ERROR] [LocalAudioTrackExecutor]: Error in playback of UKFlFnnAwdc
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:103)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Received non-success response code 404
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.validateResponseCode(YoutubeSignatureCipherManager.java:158)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.getCipherKeyFromScript(YoutubeSignatureCipherManager.java:143)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:103)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:91)
... 4 common frames omitted

Can repro. Every youtube song fails to play on latest version.

Właśnie mi się jedna włączyła ale reszta już nie

This appears to be a change YouTube recently made, and this should be fixed in the next release. However, please be sure to use the bug report template in the future.

sorry but why is this issue closed then its not fixed yet?


[FLAKY] test_simulated_quantize

https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/PR-7648/1/pipeline
@jwfromm

should be fixed in #7684


Two "Object Inspector" Feature Request. "Source: Cursor" & "Links to Online help"

From vbgunz on 2012-03-27T08:38:23Z
Current options are "Source: Console" and "Source: Editor". Is it possible to ask for a third "Source: Cursor"? It would behave by automatically updating the "Object Inspector" to wherever the cursor is in real time.
It would be nice to have an immediate reference to a member without having to ask for it. An always updating "Object Inspector" should make re/familiarizing oneself with any well documented module easier without the developer having to break their work-flow to Google, read docs, sift through source, switch windows, play with options, etc.
At least, hopefully it'll keep a developer from breaking more often.
The last request is linking back to the "Online help" from the "Object Inspector". A good example is os.path.abspath. The OI shows immediate information about abspath but doesn't provide a way to jump to modules path OR os.
The main points of the above feature requests is making "Learning" an integral part of "Coding". This is why I personally picked Python and IDE's really need to catch up with this concept. This is why when I first tried Spyder (yesterday), it showed promise in this area unlike any other Python IDE.
I hope the request is feasible. Thank you for the opportunity to share it with you.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=978

From ccordoba12 on 2013-02-13T09:16:03Z
On my plans for 2.3.
Status: Accepted
Owner: ccordoba12
Labels: -Cat-Miscelleneous Cat-ObjectInspector MS-v2.3

From pierre.raybaut on 2013-05-11T06:00:49Z
Labels: -MS-v2.3 MS-v2.4

I don't know about real time, that could get distracting, but it would be nice to have a menu item/shortcut for "show the object under the cursor in the object inspector"

I think that's what Ctrl+I is used for, isn't it?

Ah, cool, yep, that works. But there's no corresponding menu item, so there's no easy way to discover that.

Please read the Usage message shown in the Object Inspector every time Spyder is started.
What we could do is adding an entry in the context menu of both the Editor and the Consoles called Show help for the current object that has the same effect. What about that?

Heh. I never noticed that :P
Yeah, context menu would be great. It might also go well in the 'source' menu.


Implement splatting variables

The implementation is slightly ugly since I'm creating a vector of ProxyLabels which I am splatting again, but I think this is the issue with splatting altogether. At least this implementation works and is supposed to fix the issue at hand. Also @bvdmitri do you have an alternative for my implementation of Base.iterate for VariableRefs? I couldn't get it to work without duplicating all code unfortunately.

(I guess docs build mail fail because the new struct is not present in the documentation as a GraphPPL.Splat)

@wouterwln the iterate function is not actually being used (as coverage suggests), maybe we remove it?


test(ticdc):  Add more test cases

What problem does this PR solve?

Issue Number: ref #10781
What is changed and how it works?

add integration test check after resign ticdc owner

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

/retest-required

/retest-required

/retest-required


Add antctl test command to conduct post installation connectivity tests

Ref #6061
This PR introduces new tests for Antrea (Post installation connectivity tests) using antctl test command. Following are the functionalities :

Framework to conduct connectivity tests is created
Currently supports Pod to pod connectivity tests within same nodes, different nodes
Also supports testing internet connectivity

Github workflow is also updated accordingly

Hi @antoninbas Thank you for the review. I have made changes and it is visible in the new commit I've made.
Thank you

@antoninbas Thanks for the review, I have made all the changes and The examples of randomly generated namespace output is "antrea-test-gst75", "antrea-test-i9ubk" etc.
Thank you

Hi mentors, Thanks for the review and I've made changes and It is visible in the new commit I've made.
Thank you

Hey mentors, I have did all the changes.
Test files are yet to be implemented in this PR and I will implement it after the framework is finalised so as to prevent confusion.
Thank you

Hey mentors, I have made the changes in latest commit. Please review :)

Hey mentors, changes have been pushed in the latest commit :)

Hey mentors, Changes have been pushed in the commit :)

Hey mentors, changes have been pushed :)

Hey mentors, changes have been pushed.
There are 2 comments left to discuss from previous review
Thank you :)

Hey mentors, Changes are pushed :)

/skip-all

Thanks for your contribution to Antrea @kanha-gupta !

Thanks for your contribution to Antrea @kanha-gupta !

Thanks to all of you for the guidance :)


Issue with Extra Origins (Fabric) and/or Pehkui

When playing the Inchling origin or similarly using pehkui comands to resize the player, the player model becomes invisible when using the shoulder surfing 3rd person perspective (but not regular third person)

This might be due to the option keep_camera_out_of_head. It disables the player model rendering when the camera gets too close to the player.


Task1

Assign1/Task1*
:recycle: Current situation & Problem

Currently our app icon does not properly reflect the functionality of our app
The accent color needs to be changed for visual appeal
Our contacts page does not provide the contact information for Professor Aalami. *

:gear: Release Notes

Added new app icon picture and profile picture to assets
Changed accent color in assets
Changed contact information for Professor Aalami

:books: Documentation

I did not change any documentation

:white_check_mark: Testing

I did not perform any tests

:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Hi @apgupta3303, I just reviewed your PR and everything looks good! 👍

@AdritRao  Could you please review again?


Saving INF as text file to avoid CRLF issues.

The INF file was saved as a UTF-16 file which GIT will see as binary for the most part.  However, we have specified that all INF files are text that should have CRLF conversions in the repository .gitattributes file.  When we clone the respository, the CRLF conversions are still being done to the UTF-16 INF file(s) causing them to become mangled.  Building the sample fails as the INF essentially appears to be a corrupted file.
This change converts the INF file back to a pure ANSI unmangled text file.
All other UTF-16 INF files in the upstream repository should also be fixed.

There is another way to deal with this problem by introducing a local .gitattributes file.  I'll suggest that instead given that these files are being replicated from SD.


Add digits in factorial

Have you read the Contributing Guidelines on Pull Requests?
YES
(Write your answer here.)
Description
A C++ program for given a number(can be large), to find the number of digits in its factorial
(Write your answer here.)
Checklist

[ X ] I've read the contribution guidelines.
[ X ] I've checked the issue list before deciding what to submit.
[ X ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#2633
(Write your answer here.)

Hey, @HarshCasper  @ankitaggarwal23  @anushkrishnav @siddharth25pandey ,please do review my pr!
Thank you.

Don't push more than one code file in a single PR

Sorry, would not repeat it again.


bump handlebars to 4.1.0

All versions of handlebars are vulnerable to Prototype Pollusion.
Templates may alter an Objects' prototype,thus allowing an attacker
to execute arbitrary code on the server.
see https://www.npmjs.com/advisories/755
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for the PR; merging & will bump version + release.

0.0.7 out: https://www.npmjs.com/package/tiny-attribution-generator/v/0.0.7


problems with setting variables which already exist (idempotence) with gitlabform 2.10.1

Describe the bug
This issue appeared when I bumped gitlabform from 2.8.1 to 2.10.1 (also visible in 2.10.0)
❯ gitlabform --strict -v -c secrets.yml very-silly-test-group-for-ldap-and-fun
🏗  GitLabForm version: 2.10.0 = outdated 😔, please update! (the latest stable is 2.10.1)
Reading config from file: secrets.yml
Connected to GitLab version: 13.12.15-ee (e4445d58bff)
>>> Getting requested groups/projects...
:: # of groups to process: 1
groups: ['very-silly-test-group-for-ldap-and-fun']
:: # of projects to process: 0
:: (# of omitted projects - empty effective config: 1)
projects: []
omitted projects - empty effective config: ['very-silly-test-group-for-ldap-and-fun/testy-project']
@ (1/1) Processing group: very-silly-test-group-for-ldap-and-fun
Processing section 'group_secret_variables'
Adding build_vault_addr of group_secret_variables in very-silly-test-group-for-ldap-and-fun
Warning: Error occurred while processing group very-silly-test-group-for-ldap-and-fun, exception:

Request url='https://mygitlab.example.com/api/v4/groups/very-silly-test-group-for-ldap-and-fun/variables', method=POST, data='{"key": "VAULT_ADDR", "value": "https://vault.example.com"}' failed - expected code(s) [201], got code 400 & body: '{"message":{"key":["(VAULT_ADDR) has already been taken"]}}'

Traceback (most recent call last):
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/core.py", line 365, in run
    self.group_processors.process_entity(
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/__init__.py", line 30, in process_entity
    processor.process(
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/util/decorators.py", line 42, in method_wrapper
    return method(self, project_and_group, SafeDict(configuration), *args)
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/abstract_processor.py", line 48, in process
    self._process_configuration(project_or_project_and_group, configuration)
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/multiple_entities_processor.py", line 113, in _process_configuration
    self.add_method(project_or_group, entity_config)
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/gitlab/group_secret_variables.py", line 11, in post_group_secret_variable
    self._make_requests_to_api(
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/gitlab/core.py", line 130, in _make_requests_to_api
    response = self._make_request_to_api(
  File "/Users/weakcamel/git/config/.venv/lib/python3.9/site-packages/gitlabform/gitlab/core.py", line 221, in _make_request_to_api
    raise UnexpectedResponseException(
gitlabform.gitlab.core.UnexpectedResponseException: Request url='https://mygitlab.example.com/api/v4/groups/very-silly-test-group-for-ldap-and-fun/variables', method=POST, data='{"key": "VAULT_ADDR", "value": "https://vault.example.com"}' failed - expected code(s) [201], got code 400 & body: '{"message":{"key":["(VAULT_ADDR) has already been taken"]}}'

If I delete the group variable, this call adds it back but fails on re-run.
GitLabForm version
Output of gitlabform -V
❯ gitlabform -V
🏗  GitLabForm version: 2.10.1 = the latest stable 😊

GitLab version
13.12.15-ee

Hi @weakcamel!
I tested it on gitlabform 2.10.0 + GitLab 14.8.5-ee, gitlabform 2.10.1 + GitLab 14.2.4-ee and gitlabform 2.10.1 + GitLab 13.12.15-ee and I wasn't able to reproduce it.

Can you please retry with the latest pre-release version, enable debug mode and share the output, @weakcamel? Note: please check that output for secrets before sharing!

Hello,
Sorry for late reply, I've been away for a couple of days. Interesting that it doesn't always reproduce.. hmm...
By pre-release version do you mean the latest from main branch?

Installed the latest version from main
pip install git+https://github.com/gdubicki/gitlabform.git

and the output (redacted) is
waldekm-C02ZX6CTMD6N ~/git/config (master U:1*) $ gitlabform -c secrets.yml --strict --debug   very-silly-test-group-for-ldap-and-fun
🏗  GitLabForm version: 2.11.0b1 = pre-release 🤩 (the latest stable is 2.10.1)
Reading config from file: secrets.yml
Config parsed successfully as YAML.
Starting new HTTPS connection (1): gitlab.example.io:443
https://gitlab.example.io:443 "GET /api/v4/version HTTP/1.1" 200 50
<--- json = {"revision": "e4445d58bff", "version": "13.12.15-ee"}
Connected to GitLab version: 13.12.15-ee (e4445d58bff)
>>> Getting requested groups/projects...
https://gitlab.example.io:443 "GET /api/v4/groups/very-silly-test-group-for-ldap-and-fun HTTP/1.1" 200 None
<--- json = {"auto_devops_enabled": null, "avatar_url": null, "created_at": "2018-07-16T12:17:19.219Z", "default_branch_protection": 3, "description": "", "emails_disabled": null, "extra_shared_runners_minutes_limit": null, "full_name": "very-silly-test-group-for-ldap-and-fun", "full_path": "very-silly-test-group-for-ldap-and-fun", "id": 96, "ldap_access": 20, "ldap_cn": "ldapgroup", "ldap_group_links": [{"cn": "ldapgroup", "filter": null, "group_access": 20, "provider": "ldapmain"}, {"cn": "admin", "filter": null, "group_access": 40, "provider": "ldapmain"}], "lfs_enabled": true, "marked_for_deletion_on": null, "mentions_disabled": null, "name": "very-silly-test-group-for-ldap-and-fun", "parent_id": null, "path": "very-silly-test-group-for-ldap-and-fun", "prevent_forking_outside_group": false, "project_creation_level": "developer", "projects": [{"_links": {"events": "https://gitlab.example.io/api/v4/projects/382/events", "issues": "https://gitlab.example.io/api/v4/projects/382/issues", "labels": "https://gitlab.example.io/api/v4/projects/382/labels", "members": "https://gitlab.example.io/api/v4/projects/382/members", "merge_requests": "https://gitlab.example.io/api/v4/projects/382/merge_requests", "repo_branches": "https://gitlab.example.io/api/v4/projects/382/repository/branches", "self": "https://gitlab.example.io/api/v4/projects/382"}, "allow_merge_on_skipped_pipeline": null, "analytics_access_level": "enabled", "approvals_before_merge": 1, "archived": false, "auto_cancel_pending_pipelines": "enabled", "auto_devops_deploy_strategy": "continuous", "auto_devops_enabled": false, "autoclose_referenced_issues": true, "avatar_url": null, "build_coverage_regex": null, "build_timeout": 3600, "builds_access_level": "enabled", "can_create_merge_request_in": true, "ci_config_path": null, "ci_default_git_depth": null, "ci_forward_deployment_enabled": null, "compliance_frameworks": [], "container_registry_enabled": true, "created_at": "2018-09-17T16:49:14.994Z", "creator_id": 50, "default_branch": "master", "description": "This is my project", "emails_disabled": null, "empty_repo": false, "external_authorization_classification_label": null, "forking_access_level": "enabled", "forks_count": 0, "http_url_to_repo": "https://gitlab.example.io/very-silly-test-group-for-ldap-and-fun/testy-project.git", "id": 382, "import_status": "none", "issues_access_level": "enabled", "issues_enabled": true, "issues_template": null, "jobs_enabled": true, "last_activity_at": "2020-03-12T10:49:35.389Z", "lfs_enabled": true, "marked_for_deletion_at": null, "marked_for_deletion_on": null, "merge_method": "merge", "merge_requests_access_level": "enabled", "merge_requests_enabled": true, "merge_requests_template": null, "mirror": false, "name": "testy-project", "name_with_namespace": "very-silly-test-group-for-ldap-and-fun / testy-project", "namespace": {"avatar_url": null, "full_path": "very-silly-test-group-for-ldap-and-fun", "id": 96, "kind": "group", "name": "very-silly-test-group-for-ldap-and-fun", "parent_id": null, "path": "very-silly-test-group-for-ldap-and-fun", "web_url": "https://gitlab.example.io/groups/very-silly-test-group-for-ldap-and-fun"}, "only_allow_merge_if_all_discussions_are_resolved": true, "only_allow_merge_if_pipeline_succeeds": true, "open_issues_count": 0, "operations_access_level": "enabled", "packages_enabled": null, "pages_access_level": "public", "path": "testy-project", "path_with_namespace": "very-silly-test-group-for-ldap-and-fun/testy-project", "printing_merge_request_link_enabled": true, "public_jobs": true, "readme_url": "https://gitlab.example.io/very-silly-test-group-for-ldap-and-fun/testy-project/-/blob/master/README.md", "remove_source_branch_after_merge": null, "repository_access_level": "enabled", "repository_storage": "default", "request_access_enabled": true, "requirements_enabled": false, "resolve_outdated_diff_discussions": false, "restrict_user_defined_variables": false, "security_and_compliance_enabled": true, "service_desk_address": null, "service_desk_enabled": false, "shared_runners_enabled": true, "shared_with_groups": [{"expires_at": null, "group_access_level": 10, "group_full_path": "teams/ansible", "group_id": 182, "group_name": "ansible"}, {"expires_at": null, "group_access_level": 10, "group_full_path": "teams/security", "group_id": 180, "group_name": "security"}], "snippets_access_level": "disabled", "snippets_enabled": false, "ssh_url_to_repo": "git@gitlab.example.io:very-silly-test-group-for-ldap-and-fun/testy-project.git", "star_count": 0, "suggestion_commit_message": null, "tag_list": [], "visibility": "internal", "web_url": "https://gitlab.example.io/very-silly-test-group-for-ldap-and-fun/testy-project", "wiki_access_level": "disabled", "wiki_enabled": false}], "request_access_enabled": false, "require_two_factor_authentication": false, "runners_token": "u7-YETANOTHERTOKEN", "share_with_group_lock": false, "shared_projects": [], "shared_runners_minutes_limit": null, "shared_with_groups": [], "subgroup_creation_level": "owner", "two_factor_grace_period": 48, "visibility": "internal", "web_url": "https://gitlab.example.io/groups/very-silly-test-group-for-ldap-and-fun"}
https://gitlab.example.io:443 "GET /api/v4/groups/very-silly-test-group-for-ldap-and-fun/projects?include_subgroups=true&per_page=100 HTTP/1.1" 200 None
<--- json = [{"_links": {"events": "https://gitlab.example.io/api/v4/projects/382/events", "issues": "https://gitlab.example.io/api/v4/projects/382/issues", "labels": "https://gitlab.example.io/api/v4/projects/382/labels", "members": "https://gitlab.example.io/api/v4/projects/382/members", "merge_requests": "https://gitlab.example.io/api/v4/projects/382/merge_requests", "repo_branches": "https://gitlab.example.io/api/v4/projects/382/repository/branches", "self": "https://gitlab.example.io/api/v4/projects/382"}, "allow_merge_on_skipped_pipeline": null, "analytics_access_level": "enabled", "approvals_before_merge": 1, "archived": false, "auto_cancel_pending_pipelines": "enabled", "auto_devops_deploy_strategy": "continuous", "auto_devops_enabled": false, "autoclose_referenced_issues": true, "avatar_url": null, "build_coverage_regex": null, "build_timeout": 3600, "builds_access_level": "enabled", "can_create_merge_request_in": true, "ci_config_path": null, "ci_default_git_depth": null, "ci_forward_deployment_enabled": null, "compliance_frameworks": [], "container_registry_enabled": true, "created_at": "2018-09-17T16:49:14.994Z", "creator_id": 50, "default_branch": "master", "description": "This is my project", "emails_disabled": null, "empty_repo": false, "external_authorization_classification_label": null, "forking_access_level": "enabled", "forks_count": 0, "http_url_to_repo": "https://gitlab.example.io/very-silly-test-group-for-ldap-and-fun/testy-project.git", "id": 382, "import_status": "none", "issues_access_level": "enabled", "issues_enabled": true, "issues_template": null, "jobs_enabled": true, "last_activity_at": "2020-03-12T10:49:35.389Z", "lfs_enabled": true, "marked_for_deletion_at": null, "marked_for_deletion_on": null, "merge_method": "merge", "merge_requests_access_level": "enabled", "merge_requests_enabled": true, "merge_requests_template": null, "mirror": false, "name": "testy-project", "name_with_namespace": "very-silly-test-group-for-ldap-and-fun / testy-project", "namespace": {"avatar_url": null, "full_path": "very-silly-test-group-for-ldap-and-fun", "id": 96, "kind": "group", "name": "very-silly-test-group-for-ldap-and-fun", "parent_id": null, "path": "very-silly-test-group-for-ldap-and-fun", "web_url": "https://gitlab.example.io/groups/very-silly-test-group-for-ldap-and-fun"}, "only_allow_merge_if_all_discussions_are_resolved": true, "only_allow_merge_if_pipeline_succeeds": true, "open_issues_count": 0, "operations_access_level": "enabled", "packages_enabled": null, "pages_access_level": "public", "path": "testy-project", "path_with_namespace": "very-silly-test-group-for-ldap-and-fun/testy-project", "printing_merge_request_link_enabled": true, "public_jobs": true, "readme_url": "https://gitlab.example.io/very-silly-test-group-for-ldap-and-fun/testy-project/-/blob/master/README.md", "remove_source_branch_after_merge": null, "repository_access_level": "enabled", "repository_storage": "default", "request_access_enabled": true, "requirements_enabled": false, "resolve_outdated_diff_discussions": false, "restrict_user_defined_variables": false, "security_and_compliance_enabled": true, "service_desk_address": null, "service_desk_enabled": false, "shared_runners_enabled": true, "shared_with_groups": [{"expires_at": null, "group_access_level": 10, "group_full_path": "teams/ansible", "group_id": 182, "group_name": "ansible"}, {"expires_at": null, "group_access_level": 10, "group_full_path": "teams/security", "group_id": 180, "group_name": "security"}], "snippets_access_level": "disabled", "snippets_enabled": false, "ssh_url_to_repo": "git@gitlab.example.io:very-silly-test-group-for-ldap-and-fun/testy-project.git", "star_count": 0, "suggestion_commit_message": null, "tag_list": [], "visibility": "internal", "web_url": "https://gitlab.example.io/very-silly-test-group-for-ldap-and-fun/testy-project", "wiki_access_level": "disabled", "wiki_enabled": false}]
Common config: {"group_secret_variables": {"build_rt_apikey": {"key": "rt_apikey", "value": "REDACTEDTOKEN"}, "build_rt_password": {"key": "rt_password", "value": "abc123"}, "build_rt_user": {"key": "rt_user", "value": "builduser"}, "build_vault_addr": {"key": "VAULT_ADDR", "value": "https://vault.example.io"}, "build_vault_token": {"key": "VAULT_TOKEN", "value": "OTHER-REDACTED-TOKEN"}}}
Group config: {}
Common config: {"group_secret_variables": {"build_rt_apikey": {"key": "rt_apikey", "value": "REDACTEDTOKEN"}, "build_rt_password": {"key": "rt_password", "value": "abc123"}, "build_rt_user": {"key": "rt_user", "value": "builduser"}, "build_vault_addr": {"key": "VAULT_ADDR", "value": "https://vault.example.io"}, "build_vault_token": {"key": "VAULT_TOKEN", "value": "OTHER-REDACTED-TOKEN"}}}
Effective group/subgroup config: {}
Project config: {}
Effective config common+group/subgroup: {"group_secret_variables": {"build_rt_apikey": {"key": "rt_apikey", "value": "REDACTEDTOKEN"}, "build_rt_password": {"key": "rt_password", "value": "abc123"}, "build_rt_user": {"key": "rt_user", "value": "builduser"}, "build_vault_addr": {"key": "VAULT_ADDR", "value": "https://vault.example.io"}, "build_vault_token": {"key": "VAULT_TOKEN", "value": "OTHER-REDACTED-TOKEN"}}}
Effective config common+group/subgroup+project: {"group_secret_variables": {"build_rt_apikey": {"key": "rt_apikey", "value": "REDACTEDTOKEN"}, "build_rt_password": {"key": "rt_password", "value": "abc123"}, "build_rt_user": {"key": "rt_user", "value": "builduser"}, "build_vault_addr": {"key": "VAULT_ADDR", "value": "https://vault.example.io"}, "build_vault_token": {"key": "VAULT_TOKEN", "value": "OTHER-REDACTED-TOKEN"}}}
:: # of groups to process: 1
groups: ['very-silly-test-group-for-ldap-and-fun']
:: # of projects to process: 0
:: (# of omitted projects - empty effective config: 1)
projects: []
omitted projects - empty effective config: ['very-silly-test-group-for-ldap-and-fun/testy-project']
@ (1/1) Processing group: very-silly-test-group-for-ldap-and-fun
Processing section 'group_secret_variables'
https://gitlab.example.io:443 "GET /api/v4/groups/very-silly-test-group-for-ldap-and-fun/variables HTTP/1.1" 200 None
<--- json = [{"environment_scope": "*", "key": "artifactory_API", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api", "variable_type": "env_var"}, {"environment_scope": "*", "key": "artifactory_NAMESPACE", "masked": false, "protected": false, "value": "example", "variable_type": "env_var"}, {"environment_scope": "*", "key": "artifactory_PROTOCOL", "masked": false, "protected": false, "value": "https", "variable_type": "env_var"}, {"environment_scope": "*", "key": "artifactory_TOKEN", "masked": false, "protected": false, "value": "REDACTEDTOKEN", "variable_type": "env_var"}, {"environment_scope": "*", "key": "artifactory_URL", "masked": false, "protected": false, "value": "artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "artifactory_USER", "masked": false, "protected": false, "value": "builduser", "variable_type": "env_var"}, {"environment_scope": "*", "key": "DOCKER_DATA_URL", "masked": false, "protected": false, "value": "docker-data.artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "DOCKER_DEVELOP_URL", "masked": false, "protected": false, "value": "docker-develop.artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "DOCKER_FEATURE_URL", "masked": false, "protected": false, "value": "docker-feature.artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "DOCKER_MASTER_URL", "masked": false, "protected": false, "value": "docker-master.artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "DOCKER_PUBLIC_URL", "masked": false, "protected": false, "value": "docker-public.artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "DOCKER_SCRATCH_URL", "masked": false, "protected": false, "value": "docker-scratch.artifactory.example.io", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_DEVELOP_API_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api/pypi/pypi-develop", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_DEVELOP_INDEX_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api/pypi/pypi-develop/simple", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_DEVELOP_PUBLISH_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/pypi-develop", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_FEATURE_API_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api/pypi/pypi-feature", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_FEATURE_INDEX_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api/pypi/pypi-feature/simple", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_FEATURE_PUBLISH_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/pypi-feature", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_MASTER_API_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api/pypi/pypi-master", "variable_type": "env_var"}, {"environment_scope": "*", "key": "PYPI_MASTER_INDEX_URL", "masked": false, "protected": false, "value": "https://artifactory.example.io/example/api/pypi/pypi-master/simple", "variable_type": "env_var"}]
group_secret_variables BEFORE: ^^^
Adding build_vault_addr of group_secret_variables in very-silly-test-group-for-ldap-and-fun
https://gitlab.example.io:443 "POST /api/v4/groups/very-silly-test-group-for-ldap-and-fun/variables HTTP/1.1" 400 59
===> data = {"key": "VAULT_ADDR", "value": "https://vault.example.io"}
Warning: Error occurred while processing group very-silly-test-group-for-ldap-and-fun, exception:

Request url='https://gitlab.example.io/api/v4/groups/very-silly-test-group-for-ldap-and-fun/variables', method=POST, data='{"key": "VAULT_ADDR", "value": "https://vault.example.io"}' failed - expected code(s) [201], got code 400 & body: '{"message":{"key":["(VAULT_ADDR) has already been taken"]}}'

Traceback (most recent call last):
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/core.py", line 367, in run
    self.group_processors.process_entity(
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/__init__.py", line 30, in process_entity
    processor.process(
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/util/decorators.py", line 42, in method_wrapper
    return method(self, project_and_group, SafeDict(configuration), *args)
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/abstract_processor.py", line 48, in process
    self._process_configuration(project_or_project_and_group, configuration)
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/processors/multiple_entities_processor.py", line 113, in _process_configuration
    self.add_method(project_or_group, entity_config)
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/gitlab/group_secret_variables.py", line 11, in post_group_secret_variable
    self._make_requests_to_api(
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/gitlab/core.py", line 130, in _make_requests_to_api
    response = self._make_request_to_api(
  File "/Users/waldekm/git/config/.venv/lib/python3.9/site-packages/gitlabform/gitlab/core.py", line 221, in _make_request_to_api
    raise UnexpectedResponseException(
gitlabform.gitlab.core.UnexpectedResponseException: Request url='https://gitlab.example.io/api/v4/groups/very-silly-test-group-for-ldap-and-fun/variables', method=POST, data='{"key": "VAULT_ADDR", "value": "https://vault.example.io"}' failed - expected code(s) [201], got code 400 & body: '{"message":{"key":["(VAULT_ADDR) has already been taken"]}}'

@ (1/1) FINISHED Processing group: very-silly-test-group-for-ldap-and-fun
:: # of groups processed successfully: 0
:: # of projects processed successfully: 0
:: # of groups failed: 1
:: Failed group 1: very-silly-test-group-for-ldap-and-fun

Thanks.
It's super strange this output shows that there is no VAULT_ADDR variable in the variables already set in the very-silly-test-group-for-ldap-and-fun group...
Perhaps you have VAULT_ADDR defined as an instance-level variable, @weakcamel?

I thought it might be a conflict between group and project vars but it's not that either - the project doesn't have any variables at all. Another thought though: there are quite a few variables (30). Perhaps the response gets paginated by Gitlab and there are other pages to be processed?

Congrats and thanks for debugging this successfully @weakcamel. 👏😊
I plan to merge the above MR and release a patch release after the weekend.
(Technically this is a bugfix but some people's gitlabform runs may behave differently after we apply it and I try to follow the principle of least astonishment - especially during the weekend. 😇)

I have released the fix in v2.11.0b2 but it would take me some time to release v2.10.2 with this thing too though.
Can you temporarily switch to using the latest pre-release or exactly v2.11.0b2, @weakcamel, and verify if it works for you?
I expect a final release of v2.11.0 to happen within a few days.

That's fantastic @gdubicki , many thanks!
I tried the v2.11.0b2 release and it worked like a charm.

The fix is now in a final release v2.11.0.


Use debian:buster for go SDK container

Please add a meaningful description for your change here
Upgrade from stretch --> buster

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @tvalentyn
R: @youngoli
Do we typically add test output in PR descriptions?

What do you mean by test output? I'd say if you did some manual testing aside from basic unit tests and pre/post-commits, then it's useful to mention what you did.
Speaking of manual testing, have you tried building this container and running some Go SDK examples? The Go Postcommit should do that, but I'm not entirely sure if it builds a new Go SDK container or uses the one on docker hub, so it's probably a good idea to check this manually. (If you're not sure how to do this, let me know, I can help.)

Run Go Postcommit

I manually tested with sdks/go/examples/wordcount (job http://console.corp.google.com/dataflow/jobs/us-central1/2020-07-17_11_09_40-11538646221353136667) and the integration test suite, and made sure the --worker_harness_image_container was showing the containers I pushed to my $USER GCR subrepo.
If the Go postsubmit is running the goIntegrationTests task, it should build a new container I did actually run that script locally myself and had to adjust to use the global GCR repo - otherwise my tests failed because of permission errors. (workers in clouddfe, gcr in dataflow-build). I'm not sure if that was expected.


Use Markdown in README

The README is half written in HTML. I replaced any HTML I could without changing anything stylistically. I also updated some of the info in there.
I got rid of two contributors who I couldn't find more than one contribution from, and added one more I could.

Messed up the spacing. Re-adding HTML.


Address equivalent relationships

Some have specific and general relationships. e.g. https://jila.zb.uzh.ch/resource/?uri=https://resource.jila.zb.uzh.ch/actor/D9547011-AB46-38C2-86B2-EA87B7A33E22

Network links are identical to staging instance


Support env_file as top-level service element

I have been using the env_files flag to include environment files in my services but I don't like that this includes the files for every service.
Would it be possible to add support for using the env_files element directly so environment files can then be specified per service?

This should already be supported. I'll update the README and add a test shortly.

Actually, there is a fix needed to cases where both -env_files=... is passed in and env_file is set on the Compose service. Working on it now.

Just tried out the update and it works but I was thinking more of being able to have environment files included in the corresponding environmentFiles for the oci-container. The path for this environment file wouldn't necessarily have to exist when compose2nix runs (similar to volumes and devices).
For my use case, I have environment files created using environment.etc that I want my containers to read but these environment files can be modified through other means so I can't just have compose2nix read the contents of them pre-build. At the moment, my only option is to use the env_files flag but this results in containers sharing all the environment files with each other.
Not sure if this would require a whole new feature.

There is an existing flag -env_files_only that allows you to only include env files in the NixOS environmentFiles setting.  I've just pushed a fix, so now service-level env_files are included the list of env files.
However, this will apply to all services. If you also want per-service control (e.g., only include env files for this service), then we could define a new Compose label - something like compose2nix.settings.envFilesOnly=true - to allow control of this behavior at the service level.

The new fix with the env_files_only flag works well for my use case. It does mean moving any environment variables that are set in the compose file in with the ones I have to set through an environment file but that's not a big issue.
However, I do think that compose2nix should not require the paths in the compose env_file to exist (as is the case with volumes, devices, etc). Maybe it could follow the behaviour as set by the ignore_missing_env_files flag?

That behavior is enforced by Docker Compose, not compose2nix.
You can use required: false to ignore missing env files in the env_file list. See: https://docs.docker.com/reference/compose-file/services/#env_file

Ah of course, I forgot about the required option. That works very well.
Interestingly, I've noticed that setting something like
env_file:
      - path: /etc/test/vars.env
        required: false

results in
environmentFiles = [
      ""
      "/etc/test/vars.env"
];

I'm not sure where the blank entry comes from. It is generated for every service.
I've also noticed that -include_env_files=true is still required when using env_file in the compose file rather than in the command flags. This suprised me at first but does make sense.

Strange... I don't see that behavior in the test. Can you share one of the Compose services where you see this?
Re include_env_files: the tricky part is when you specify include_env_files=true and env_files_only=false, you'll have duplication of env variables since they'll be included twice - once in the environment map and once as a file passed to environmentFiles.

A minimal example I tried looks like
# docker-compose.yml
name: test

services:
  test:
    image: test
    env_file:
      - path: test.env
        required: false

I then run
nix run github:aksiksi/compose2nix?rev=88c1dd962e2ef27e03e92ea53c5f287192991ce3 -- -include_env_files=true

and get
# docker-compose.nix
...
virtualisation.oci-containers.containers."test-test" = {
    image = "test";
    environmentFiles = [
      ""
      "/home/elliott/Repositories/NixOS/test.env"
    ];
    log-driver = "journald";
    extraOptions = [
      "--network-alias=test"
      "--network=test_default"
    ];
};
...

This causes a failure in the build process as the empty string is not of type path.
Yes that is the duplication I was referring to. It can be avoided by using only one of environment or env_file in the compose file (being able to use both is nice but not really needed) or making sure that the files in env_file don't exist when compose2nix is run and setting required: false. In the latter case, the variables form the environment file never get read into environment as the file doesn't exist. Making sure the files don't exist may be impractical in some scenarios but is useful when you are writing a config for a system different to the one on which compose2nix runs.

Thanks for sharing an example. I have fixed the empty entry bug - it was only present when running the CLI, which is why I did not see it in tests...

It can be avoided by using only one of environment or env_file in the compose file (being able to use both is nice but not really needed)

Using both is quite useful imo. For example, you may have some environment values that are overridden by an env_file or a compose2nix --env_file.
There may be something we can do here as a "default", but I think the currently available options in compose2nix + Docker Compose should cover all scenarios.

Can confirm that the empty strings no longer appear and the build succeeds.
I think that the current setup works well and covers a wide range of use cases. Thanks for all your hard work on this project, its made my migration to NixOS as my docker host so much easier.


Problem with file in which every column is quoted.

I have a file with the following contents called test.csv. It is an example of what I get from my bank for credit card statements.
"30.03.2015";"29.03.2015";"09.04.2015";"BARAUSZAHLUNGSENTGELT";"5266 xxxx xxxx 9454";"";"0";"EUR";"0,00";"EUR";"-3,50";"0"

Trying to parse this with reckon using the command:
reckon -f test.csv --csv-separator ";" -p -v --comma-separates-cents

I get the following error:
/usr/lib/ruby/2.3.0/csv.rb:1883:in `block (2 levels) in shift': Illegal quoting in line 1. (CSV::MalformedCSVError)
    from /usr/lib/ruby/2.3.0/csv.rb:1845:in `each'
    from /usr/lib/ruby/2.3.0/csv.rb:1845:in `block in shift'
    from /usr/lib/ruby/2.3.0/csv.rb:1805:in `loop'
    from /usr/lib/ruby/2.3.0/csv.rb:1805:in `shift'
    from /usr/lib/ruby/2.3.0/csv.rb:1747:in `each'
    from /usr/lib/ruby/2.3.0/csv.rb:1761:in `to_a'
    from /usr/lib/ruby/2.3.0/csv.rb:1761:in `read'
    from /usr/lib/ruby/2.3.0/csv.rb:1307:in `parse'
    from /home/cp/.gem/ruby/2.3.0/gems/reckon-0.4.4/lib/reckon/csv_parser.rb:241:in `parse'
    from /home/cp/.gem/ruby/2.3.0/gems/reckon-0.4.4/lib/reckon/csv_parser.rb:11:in `initialize'
    from /home/cp/.gem/ruby/2.3.0/gems/reckon-0.4.4/lib/reckon/app.rb:18:in `new'
    from /home/cp/.gem/ruby/2.3.0/gems/reckon-0.4.4/lib/reckon/app.rb:18:in `initialize'
    from /home/cp/.gem/ruby/2.3.0/gems/reckon-0.4.4/bin/reckon:7:in `new'
    from /home/cp/.gem/ruby/2.3.0/gems/reckon-0.4.4/bin/reckon:7:in `<top (required)>'
    from /home/cp/.gem/ruby/2.3.0/bin/reckon:23:in `load'
    from /home/cp/.gem/ruby/2.3.0/bin/reckon:23:in `<main>'

It does work when I remove the quoting of the first column.

Hey @cpaulik, you may need to add a new option for skipping quotes around entries.  What do you mean about removing the quoting on the first column?

What I meant with unquoting the first column is to change the line in the csv to start with:
30.03.2015;"29.03.2015"...

Which new option do you mean?

Sorry for the delay. I meant that you'd have to add functionality to Reckon to identify columns surrounded by quotes and to remove them.

#78 has been merged to master, closing this ticket.


Add a dynamic registry registration API

Dynamic registries are a way for mojang to load data automatically from datapacks and optionally synchronize it with clients - a super useful feature that is unfortunately super locked down due to the use of constant unmodifiable collections in lieu of proper registry-registries (I call those meta-registries for short).
A first attempt to resolve this issue was made in #185, but 1.19.3 changed this system significantly - to the point I believe a new proposal is necessary.
Since builtin registries are no longer a thing, I believe a builder-style API is not as relevant. This PR thus adds a single API class with 2 methods for registering new dynamic registries, either serverside-only or synced with clients.
The test mod showcases the creation of a modded dynamic registry, with entry registration done through both data files and registry event.

This PR needs to be updated to 1.19.4

Maven Central might have burnt down, the Discord servers might be under a dictatorship, I don't care;
A Final Commend Period of 5 days for this PR has began and it will be over after 5 days
It doesn't matter if you own the Discords, this is our project and the show must go on


refactor: support esm in internal module

Codecov Report

Merging #3551 into dev will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##              dev   #3551      +/-   ##
=========================================
+ Coverage   99.09%   99.1%   +<.01%
=========================================
  Files          18      18
  Lines        1111    1112       +1
  Branches      299     299
=========================================
+ Hits         1101    1102       +1
  Misses         10      10

Impacted Files
Coverage Δ

lib/core/module.js
100% <100%> (ø)
:arrow_up:

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 c3e51a0...12c7c0a. Read the comment docs.


Fix error in topic matching algorithm

and implement exclusions for topics starting with "$"
closes #60

sorry man, I saw PR a bit late, when I run tests I saw failure on them, went to fix it, and forget to check other PRs.

Thanks again for your help in this library, your work was great!


[Windows] Can't extract assets_index.json from 31049740.blk

Trying to extract assets_index.json from 31049740.blk return the following error :

Greetings @Preciel
AssetIndexReader does not support reading from blk file directly, you'll need to extract the the file in it (ends with 06F while Xor is disable) and then pass use that output.
For more info please check the README in .

Oh, indeed, didn't understood it like that.
Thanks for the precision !


Where to enter IP address of the Philips Hue Bridge?

When I used postman to control the lights both the API key and the IP address of the bridge were needed. I can see where the key is entered but there isn't a place for the IP address. Can you please guide on this issue?

This should be resolved by #6. You can either select a discovered bridge or enter a custom IP address in the module configuration.

I'd like to report this problem as well... I've created the username using the alternate method (because the plugin wasn't creating it correctly). When done, the plugin reports that it is connected but it won't produce a list of available lights, groups, etc...
Near as I can tell it must be failing to send the get request to the right IP, and I'm wondering if there's a way to set the IP of the bridge directly (I'm assuming it isn't being discovered properly). But I don't see a spot for the IP Address to be entered manually in the module configuration.
Any suggestions are very much welcome!
Cheers,
James

@James-stgeorges
Did you make sure to use the newest version of this repo? I'm guess companion is still linking to the old version of this plugin.

@James-stgeorges Did you make sure to use the newest version of this repo? I guess companion is still linking to the old version of this plugin.

I'm running companion on Raspberry Pi using the most current stable release which at present is 2.21+4443-98594c92
Looking at the package.json the reference for the companion-module-phillipshue: is github:bitfocus/companion-module-phillips-hue#v0.0.6 which according to this repository is supposed to be the stable release from January but I know there has been several updates since then that cover this problem... and I'm a little unclear as to how to link to the newest version in this repo... I can change the reference in the package.json but I don't have a clear idea of what to change it too...
Any suggestions welcome for sure!
James

Easiest way (or at least the way I currently use):

Go into companion/module-local-dev
Clone this repo: git clone https://github.com/bitfocus/companion-module-phillips-hue.git
Remove the older module version from companion/node_modules/companion-module-phillips-hue

Now you should have the newest version of this repo.

That Did it!!! You're AMAZING!!! :-) Thank you so so much to all of you for working through it with me... its so very appreciated!


Improvement: Book ingestion

Title.
Currently using pypandoc to convert epubs to txt.
Look at other (more robust?) methods, and support for other formats.
https://github.com/VikParuchuri/libgen_to_txt

https://github.com/VikParuchuri/libgen_to_txt/blob/065f7252ae56b1c16f48fef6566a66bbf2ed1ced/libgen_to_txt/naive/other.py#L8


Integrations with vscode google translate

Hi,
I'm not sure if this is a bug or wrong configuration but i use vs code 1.67.0 with extension vscode google translate 1.4.13 that let me translate the text i select in any other languages. With kb macro I try to record this sequence:
f4, for go to the next in global search,
right arrow,
shift + end, for select the phrases to translate,
alt + shift + t, to translate the selected text with vscode google translate
When I play the macro recorded it copy the same phrases in the previous line.
Any fix?

Thank you for the reporting this issue.
I'll take a look at it.

I see.
The shortcut `alt+shift+t' to trigger translation is provided by Vscode Google Translate extension.
To enable the shortcut key to be recorded by Keyboard Macro Beta, you should define the corresponding wrapper for the key, since Keyboard Macro Beta is not aware of any other extensions installed together in the user's vscode.
So, could you try to add the following keybinding to your keybindings.json and try recording the same sequence again?
    {
        "key": "shift+alt+t",
        "command": "kb-macro.wrap",
        "args": {
            "command": "extension.translateTextPreferred"
        },
        "when": "kb-macro.recording && editorTextFocus"
    }

It works for me.

See the section in the README about making such wrappers like above. The explanation is for user's own custom keybinding definition, but it applies also to the other extension's keybindings. I'll fix the explanation later.
You can get the definition of the keyboard shortcut provided by an extension by searching in the Keyboard Shortcuts screen on your VS Code and select Copy on the context menu. (see below)

Thankyou tshino,
then it is my pc problem. I try your solution in my pc, but it doesn't work. The problem is the same nothing change.
If in your pc it works, it' s my pc problem. I will inspect.
Thankyou very much

Sorry to hear that it doesn't work. :(
Please feel free to post further comments if anything you found on this issue.


Coredump at sdscatlen

Hiredis version = 0.11.0
OS = Debian GNU/Linux 11 (bullseye)
Redis server v=6.0.16 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=6d95e1af3a2c082a
Scenario    ==> Inserting data into redis DB         ...Called from one of the unit test [googletest]
Command ==> "HSET <some_key> state off"
Stack Trace
Program received signal SIGSEGV, Segmentation fault.
__redisAppendCommand (c=0x0,
cmd=0x4daf10 "*4\r\n$4\r\nHSET\r\n$20\r\nsome_key\r\n$5\r\nstate\r\n$3\r\noff\r\n", len=61)
at hiredis.c:1186
1186        newbuf = sdscatlen(c->obuf,cmd,len);
(gdb) bt
#0  __redisAppendCommand (c=0x0,
cmd=0x4daf10 "*4\r\n$4\r\nHSET\r\n$20\r\nsome_key\r\n$5\r\nstate\r\n$3\r\noff\r\n", len=61)
at hiredis.c:1186
#1  0x00007fffff6f461c in redisvAppendCommand (c=0x0, format=, ap=) at hiredis.c:1206
#2  0x00007fffff6f4792 in redisvCommand (c=0x0, format=, ap=ap@entry=0x7ffffffed498) at hiredis.c:1267
#3  0x00007fffff6f4847 in redisCommand (c=,
format=format@entry=0x4dc530 "HSET runtime.status.comms state off") at hiredis.c:1276

Looks like you aren't making redisConnect is returning a valid context as c=0x0.
So you've got a NULL redisContext making redisContext->obuf just 0 + the offset of that structure, which if course is not a valid sds string :smile:
I can't help much more than that without a bit of code that reproduces the issue.  Fix should be simple though.  Just make sure redisConnect is returning a valid pointer and c->err is not set.

Closing as this doesn't seem to be a bug in hiredis but still happy to answer any other questions you have.


[FLOC-3728] Split out deprecated deployers.

https://clusterhq.atlassian.net/browse/FLOC-3728

Skimmed on presumption this is just copy/paste. Merge when green.


$meteor.collection(Posts).subscribe('posts') or $scope.$meteorSubscribe('posts') ?

What is the difference between
$scope.posts = $meteor.collection(Posts).subscribe('posts');

and
$scope.$meteorSubscribe('posts').then(function(handle) {
    $scope.posts = $meteor.collection(Posts);
});

?

Well, according to the API reference:

Calling $scope.$meteorSubscribe will automatically stop the subscription when the scope is destroyed.

...which indicates this will not be the case, if you use the other version.

The latter allows you to use a function to fetch only part of the data in the local minimongo.
Take a look here: https://medium.com/angular-meteor/coll-pub-sub-with-angular-meteor-cb13fe48f570
(and forgive the self promoting, but I think you may find it useful)


Overload PositiveInt's functions

Description
Overload PositiveInt's functions with types bundled in this library.
Checklist

[x] Overload comparisons.
[x] Refactor binary operations.
[x] Update Work in progress section in changelog.

Done.


how to run wav2vec_quantize?

hi there.
i want to quantize a wav2vec model by your script
but i got a lot of error when i want to run it.
how can run it?
i got the error for fairseq_mode and wav2letter

Hi @mehrdad78 ,
Wav2letter moved for flashlight project, so if you want to use wav2letter you have to install flashlight project.
For install in your local environment you can follow the step show in this README
But if you want to use Google Colab for quickly try, the author also shared a simple guide.
I hope this can be helpful.


[WIP] unique child objects are not Synced correctly

add test for syncing child unique object

How about this one? @hyperoslo/ios @3lvis We need it in our project.


deply locally problem

after npm start. Type a gene name, the local webserver will crash and show the following:
img
img2
And add // eslint-disable-next-line to the section does not work. see figure
Thank you.

The first thing is just a warning and not important at all.
The second thing seems to be a proper bug. Thanks for finding it! Do you experience the same issues the online version?

FYI, you can drag and drop images directly into the text area so that they show up next to your text :)

"Do you experience the same issues the online version?"
It will be a black page with nothing showing (though a refresh will work again).
The inspect is as below.

Sorry about the glitch. I'll invest!

Note to myself: this is caused by a recent change in resgen.io

Should be working again. Let me know if you still run into issues


How to run streamsync from cloned source

On a windows computer with python 3.10 and streamsync 0.2.6 installed
The hello app is not starting/loading
see screenshot,

I also tried
streamsync create app1
streamsync edit app1

The builder did not start either
I also went to apps subfolder
streamsync run hello

The hello app did not start
Question:
How to run streamsync from github source locally?

Running Streamsync from source can be slightly challenging.
First I'd change src/streamsync.py to something like 0.2.6wgong to check I'm actually executing the version from source.
Then you'd need to make sure that, with Node and NPM installed, you've compiled the required assets by running npm run build.

Thank you @ramedina86 , will try it out

Make sure that you have virtual environment installed by the name of .winvenv or .venv in your cloned directory
python -m venv .winvenv
or
python -m venv .venv
then run
pip install -e .
then
in ui folder
npm install && npm run build
and then in root folder run
streamsync edit hello --port 5000


Remove FATAL_ERROR when HIP_COMPILER is not clang

When HIP_COMPILER is "clang-14", rocRAND emits a fatal error, "On ROCm platform 'hcc' or 'clang' must be used as C++ compiler" [1]. As far as I can tell, these compiler checks are not necessary.

Hi, although I am not an expert in HIP packaging, to me it seems like HIP_COMPILER should not be set to specific versions of the clang binary, instead judging from how it's set in hipamd, and how its used in hip-config.cmake it should be either just clang or nvcc (HIP atop CUDA).
In other libraries HIP_COMPILER (e.g hipCUB) is used to differentiate between targeting CUDA, or ROCm, in the same way as here.
I was surprised that the build did not fail with this setting, because lots of compiler flags from hip-config.cmake, would not be set up, until I found where it is patched in debian. Mostly out of curiosity, can you tell me why HIP_COMPILER was also changed? I would think changing HIP_CXX_COMPILER (and paths) would be enough.

Mostly out of curiosity, can you tell me why HIP_COMPILER was also changed? I would think changing HIP_CXX_COMPILER (and paths) would be enough.

I'm not sure. I will ask.

In other libraries HIP_COMPILER (e.g hipCUB) is used to differentiate between targeting CUDA, or ROCm, in the same way as here.

Isn't that the purpose of HIP_PLATFORM?

Isn't that the purpose of HIP_PLATFORM?

find_package(HIP) (hip-config.cmake) does not set that, I think it is only reported by hipconfig, in code the macros __HIP_PLATFORM_AMD__ and __HIP_PLATFORM_NVIDIA__ are used, but these are set in hip_runtime_api.h i.e. cannot be used from cmake.

As far as I can tell, HIP_COMPILER is never actually used for compiling. That's... surprising, but I suppose it was just introduced to distinguish hcc and clang? Using it to distinguish AMD vs. NVIDIA seems like we're setting ourselves up for confusion, particularly given that there's CUDA support in clang.
I've suggested to Debian not to change the HIP_COMPILER and my (albeit limited) testing indicates that's working fine even when the actual binary doing the compilation is clang-14. The Debian HIP package is still a work-in-progress and it's honestly been pretty confusing, so I appreciate your help. Thanks for the advice!


Optimize tag name allocations

The biggest source of all evil parsing allocations is BaseTokenizer.FlushBuffer:

It's not easy to eliminate allocations here, especially when the public API is designed in a way that forces the tokenizer to allocate strings. However, there's some low-hanging fruit that can be taken care of. I've temporary introduced a few intermediate methods to see what exactly this memory is allocated for:

This PR addresses the 18.4% caused by allocating tag names over and over again. Since HTML tag names almost never deviate from a well-known set, we can cache one instance of the string per known tag and reuse it. In order to make the cache check as fast as possible, the lookup code has been pre-generated to account for all the tags from TagNames fields (the generator can be found here). As the result of this change, those 18.4% of FlushBuffer allocations are almost gone (some unique tags happen after all, but they are quite rare):

Optimising away ~18% of a method that's responsible for ~24% allocations is probably not that nice in a grand scheme of things, but that's better than nothing, right? =) And as an additional bonus, the cache lookup is actually faster then creating all those strings:
Before:

After:

Technically speaking, adding an optional parameter to a public method, like I did to FlushBuffer, is considered a breaking change by some people: it preserves source compatibility, but doesn't preserve binary compatibility (AngleSharp dll can't be swapped for new version without recompiling the calling assembly). I don't know what your policy for this kind of things is, but if it's a problem, it can be solved by adding an overload instead of an optional parameter.

After some additional thinking, I came to conclusion that it's better to make FlushBuffer( Func<StringBuilder, String> ) not public, but an internal overload instead. StringBuilder is an implementation detail and it doesn't make sense to expose it publicly. It might be a good idea to eventually expose a similar extension point somewhere to allow users to provide their own string caching logic for things like attribute values, but even then StringBuilder should be hidden behind an interface to allow switching internal implementation if and when needed.

Looks great, just two thoughts from my side:

We could have used a much reduced "known" HTML tag set; only the ~90% mostly used tags (thus finding a good compromise between the lookup depth / cost and the allocation cost)
Potentially using a hashset would be more efficient - we could compute the hash on the contained characters and obtain the item (if there is any) in O(1) time

We could have used a much reduced "known" HTML tag set; only the ~90% mostly used tags (thus finding a good compromise between the lookup depth / cost and the allocation cost)

That's an interesting idea. If we use the current tree as a starting point, it's kind of difficult to get rid of the 3rd switch: it requires making some tough choices like table - label - param, embed - image or script - option. Even though it's possible that throwing away unpopular tags will restructure the tree in a way that the tags the most people care about fit into two levels, I'm not sure this is the best optimisation course at this point. We spend 0.5% of the total parsing time in this method, so I'd say it's fast enough for now =)
An easy thing that can be done though is removing CharsAreEqual() calls for 2-char tags. After the 3rd switch it's not needed at all, since at this point we've already verified both tag chars. And if the tag requires 2 switches, then we need to check just one char. But I really think it's better to spend the effort on some other part of the code at this point.

Potentially using a hashset would be more efficient - we could compute the hash on the contained characters and obtain the item (if there is any) in O(1) time

Since we have a fixed (and I'd say fairly small) number of items, O(whatever) doesn't really matter, it's all about the constant. My gut tells me using a typical hashset with computing hashcode of a full string can easily take more time than 3 switches, at least for the longer tags. If we figure out a specialised fast hash function that would only use first 3 chars and produce optimal hash codes without collisions, the resulting hashset would probably be faster. But even though it would be fun thing to do, there's still a lot of allocations to hunt down, so maybe another time.


Added tests for FileIO interface

And fixed a bug.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 26.66%. Comparing base (8262b04) to head (09983f3).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   24.00%   26.66%   +2.66%
==========================================
  Files           5        5
  Lines         375      375
==========================================
+ Hits           90      100      +10
+ Misses        285      275      -10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Implemented custom meta props. Fixes #1634

Ref: https://github.com/erikras/redux-form/issues/1634
This allow creating own meta properties for fields via the reducer:
combineReducers({
    form: form.plugin((state, action) => {
        if (action.type !== 'redux-form/CHANGE') return state;
        return setIn(state, 'fields.' + action.meta.field + '.myCustomProp', true);
    })
});

results are passed to the meta object:
<Field name='foo' component={renderFancy} />

const renderFancy = ({input, meta: {myCustomProp}}) =>
    <input type="text" {...input} style={myCustomProp ? {color: 'red'} : null} />

Current coverage is 100% (diff: 100%)

Merging #1684 into master will not change coverage

@@           master   #1684   diff @@
=====================================
  Files          52      52
  Lines        1115    1115
  Methods         0       0
  Messages        0       0
  Branches        0       0
=====================================
  Hits         1115    1115
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 9186bd3...5b58aa5

I wonder if this should be documented somewhere. It seems like a pretty obscure "feature".
Good job implementing it, though!

Published in v6.0.3.

In the current redux-form version you can only write plugin for specific forms.
I use dynamic form names so I don't see how I can add a plugin to that.
Any other way I can access the main redux-form reducer or add custom meta properties any other way?


Fixes Kubernetes version comparison in igress API version computation.

Some cloud-hosted Kubernetes clusters return the version from .Capabilities.KubeVersion.Version that is not SemVer compatible (e.g., v1.22.6-eks-14c7a48 - not the v in front). The semverCompare function fails on such versions, so this PR strips the leading V and the trailing pre-release label (which also trips semverCompare) before comparing. With version 1.22 rolling out, this becomes important, as it no longer accepts extensions/v1beta1.

Thanks for the contribution!


Fix list/keyword formatting in redirect options.

The list of redirect options ran together rather than showing options individually. Keywords are also moved to verbatim/code formatting as used elsewhere.

Thank you very much! Merged!


Fixes #1773. Base color scheme for ListView hard to read

Fixes #1773
Simple fix: Changes HotNormal to use Cyan instead of DarkCyan. Not a dramatic change, but should improve readability.
Before:

After:

I think this also should be done on all drivers to be consistent.

I think this also should be done on all drivers to be consistent.

You're right. Oops. Thanks for noticing.


add tests, improve config & error handling, support multiple ssh key formats

fixes: https://github.com/cstanislawski/grafana-db-exporter/issues/22
fixes: https://github.com/cstanislawski/grafana-db-exporter/issues/26

I've been able to confirm that all 3 popular SSH key types are working:

RSA
ED25519
ICDSA


Multi-language support

Definitely need that.

Klingon needed.

NoCode solution supports every language. You make it your own language :).


Getting Missing types enums and Inputs

here is my schema on schema.prisma
model Offer {
  id String @default(cuid()) @id
  title              String
  gallery   String[]
  author     User

  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

}

model User {
  id                           String        @default(cuid()) @id
  name                         String
  email                        String        @unique
  password                     String
  gender       GENDERS
}
enum GENDERS {
  MALE
  FEMALE
  OTHER
}

when I try to create Mutation I tried to do this:
export const Mutation = mutationType({
  definition(t){
t.field('signup', {
      type: 'AuthPayload',
      args: {
        name: stringArg({ required: true }),
        email: stringArg({ required: true }),
        password: stringArg({ required: true }),
        gender: arg({ type: 'GENDERS' })
      },
      resolve: async (parent, { name, email, password, gender }, ctx) => {
        const hashedPassword = await hash(password, 10);
        const user = await ctx.photon.users.create({
          data: {
            name,
            email,
            password: hashedPassword,
            gender,
          }
        });
        return {
          token: sign({ userId: user.id }, APP_SECRET),
          user
        };
      }
    });
 t.field('createOffer', {
      type: 'Offer',
      args: {
        title: stringArg({ required: true }),
        description: stringArg({ required: true }),
        price: floatArg({ required: true }),
        discountprice: floatArg(),
        discountPercentage: floatArg(),
        url: stringArg(),
        thumbnail: stringArg(),
        gallery: arg({ type: 'OfferCreategalleryInput' })
      },
      resolve: async (parent, args, ctx) => {
        return ctx.photon.offers.create({
          data: {
            ...args,
            author: {
              connect: {
                id:ctx.request.userId
              }
            }
          }
        });
      }
    });
}
)}

when I run the server, I get this error
- Missing type GENDERS, did you forget to import a type to the root query?
- Missing type OfferCreategalleryInput, did you forget to import a type to the root query or mean OfferWhereUniqueInput?

But I tried to use t.crud.createOneOffer() or anything with t.crud.(which was not in nexus documentation I want to mention that), it solves the problem. So Is there any workaround with this?
I am using:
    "ts-node": "8.4.1",
    "ts-node-dev": "1.0.0-pre.43",
    "typescript": "3.6.3",
    "prisma2": "2.0.0-alpha.193",
    "nexus": "0.12.0-beta.9"

Same issue. Have you had a chance to fix it? For now, I have to get enum from photon and register enums manually, it's a bit ugly, but it's working 🤷♂.
import { enumType } from 'nexus';
import { MissingEnum } from '/generated/photon';

export const MissingEnum = enumType({
  name: 'MissingEnum',
  members: Object.values(MissingEnum),
});


[Formatting Bug]: Laravel Blade anonymous component attributes are being formatted to use single quote when use blade directive

Platform
Windows
Template before formatting
<x-floating_input placeholder="{{ __('SKU') }}"
    fieldName="variants[{{ $index }}][sku]" title="{{ __('SKU') }}"
    iconClass="ti-barcode"
    fieldErrorMessage='{{ $errors->first("variants.$index.sku") }}'
    fieldValue='{{ old("variants.$index.sku", "") }}'
/>

Template after formatting
<x-floating_input placeholder="{{ __('SKU') }}"
    fieldName="variants[{{ $index }}][sku]" title="{{ __('SKU') }}"
    iconClass="ti-barcode"
    fieldErrorMessage='{{ $errors->first("variants.$index.sku") }}'
    fieldValue='{{ old("variants.$index.sku", '') }}'
/>

Expected Behaviour
As you can see when I pass the fieldValue in the double quote " automatically changed to ' causing the component cannot be rendered. It should remains the double quote for empty check passed in. I'm not sure it's conflicting with other plugins or the plugin itself bug.
Relevant log output
No response

Just for more info is when I check the no single quote it automatically changed all single quote to double quote.
I think it's not some kind of bug but feature request to disable the quotes formatting?


Add Stack to legacy apis

For #182
https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/Stack.html
Suggested replacement is Deque, introduced in Java 6
Can I suggest adding some formatting config/automatic formatting so i don't have to manually satisfy checkstyle pedantic requirements.
Also, I couldn't build the annotation module - set to source/target Java 6 - until I change this to Java 8.

Thank you for your contribution @delanym!  I don't understand the Java version issue but perhaps it is related to using a very recent Java version?  #171 suggests a similar change although I believe this intent is to get local variable type annotations.


Count is different

hi,When I used the Chinese count, it was different from the token count displayed on openai's official website。
It's OpenAI

It's jtokkit count

You are using the wrong encoding, please take a look at my answer in this issue: https://github.com/knuddelsgmbh/jtokkit/issues/19#issue-1681077940

You are using the wrong encoding, please take a look at my answer in this issue: #19 (comment)

I noticed that the input and output of name of role and message need to be added to the token calculation, but the number I calculated in this way will actually be 1-2 more each time. When it is removed, the opposite is true. It is correct (consistent with the interface's usage return).
Has this logic changed? Or am I doing something wrong? I use gpt-3.5-turbo.

Have you tried this: https://jtokkit.knuddels.de/docs/getting-started/recipes/chatml ?
It is based on the official OpenAI cookbook on counting tokens in chatml format: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb

Have you tried this: https://jtokkit.knuddels.de/docs/getting-started/recipes/chatml ?
It is based on the official OpenAI cookbook on counting tokens in chatml format: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb
Edit: It may be possible, that something has changed with the recent function invocation release of OpenAI, see this documentation: https://platform.openai.com/docs/guides/gpt/managing-tokens
I have not yet looked into this, but on a cursory glance it seems that this line differs from the previous calculation:
num_tokens += 2  # every reply is primed with <im_start>assistant

instead of the previous
num_tokens += 3  # every reply is primed with <|start|>assistant<|message|>

Sure, I tried. But it seems wrong.
When I only input prompt for calculation, it is consistent with usage.prompt_tokens returned by the interface, and so is completion. However, after using this method, it will result in more Token calculations than the official returns (the code is written in this way).

I also encountered the problem of a different number of tokens. Empirically found out that spaces, indents and hyphens are also taken into account in the openAI tokenization window. But this tokenizer does not have

Have you tried this: https://jtokkit.knuddels.de/docs/getting-started/recipes/chatml ?
It is based on the official OpenAI cookbook on counting tokens in chatml format: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb
Edit: It may be possible, that something has changed with the recent function invocation release of OpenAI, see this documentation: https://platform.openai.com/docs/guides/gpt/managing-tokens
I have not yet looked into this, but on a cursory glance it seems that this line differs from the previous calculation:
num_tokens += 2  # every reply is primed with <im_start>assistant

instead of the previous
num_tokens += 3  # every reply is primed with <|start|>assistant<|message|>

yeh,Solved!!! thank you, good job,hhhh……


ZEVA - Count of warnings in ICBC check is incorrect

Describe the Bug
The count of warnings when a credit application VINs are checked against ICBC data is incorrect. This is evident in production.
Please note this bug was already fixed in a previous ticket.
Expected Behaviour
The number of errors should be added up correctly and displayed in the drop down. In this example the drop down says there are 3 warnings in total but as can ben seen in the screen shot there are 9.
Actual Behaviour
See above.
Implications
The analyst has to manually count the number of warnings rendering the count in the drop down useless.
Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: IDIR Analyst

Go to Credit transactions
Click on A credit application and click to review the details.
Look at drop down of errors and see number of warning in brackets.
See incorrect figures.

Revisit when ticket 1469 is complete - will make counting easier

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @tim738745

I think this will be fixed as part of the saving credit application errors/error 71 work.

PR build: https://zeva-dev-1978.apps.silver.devops.gov.bc.ca/


Triggering find widget with the cursor on an empty line starts selection mode

Put cursor on an empty line
Ctrl F

The find widget will search for a selection between the empty line and the previous line, failing to actually find occurrences in the whole document.

Fixed


[tutorial] Commenting C tutorial

Description of the tutorial
Hi, I would like to add content to 1-getting-started/commenting.c
Do you want to be assigned to work on this?
(mark [x])

[x] YES
[ ] NO

Optional: Any additional info you want to add
...

@balayokesh sure, you're assigned now!


[Feature Request/Enhancement] Different notifications depending on whether the resource value is increased or decreased

Hi,
In games where it's important to keep things lower (or higher) such as tracking madness or oxygen, it'd be great if there could be separate kinds of notifications for resources when decreasing vs. increasing, since one is often preferable to the other and the message adds a lot of gravitas to the change.
Regardless, thanks for the module, really useful for maddening tabletops!

@Krigsmaskine Hi! Thanks for the feedback. This is something I agree with, and will probably end up adding this to the module when I get to fiddle with the notifications. As always I don't have an ETA, but I've marked it as an enhancement and it'll be in one of the next updates, after #33 gets merged.

@Krigsmaskine This feature was added and will be released in 1.3.2 (ETA unknown, but somewhere within the next two weeks, more than likely).

@Krigsmaskine The feature you requested was added in in the latest release. It's a major release instead, 1.4.1. Happy DM'ing!


Insecure page load.

Some users shared a few links on my Zulip chat and Zulip seems to be loading some of the preview images over HTTP, as seen in the picture below.

The same sites that are loaded over HTTP are also loaded over HTTPS.

This leads to the browser showing 'Not Secure' to the left of the URL search bar in the browser, where a padlock is usually present.

These are the requests to the images from those two URLs that the site loads over HTTP.

The URLs:

http://datawanderings.com/2018/07/28/automate-boring-stuff-with-cmd/main.jpeg
http://parseplatform.github.io/img/preview.png

Shouldn't Zulip be enforcing HTTPS?
PS: I have allowed URL previews and I want to keep it like that.
Thank you for the help @andersk!

This happened when someone posted a link to https://parseplatform.org/, which declares
<meta property="og:image" content="http://parseplatform.github.io/img/preview.png">

resulting in this URL preview:

        Parse + Open
        Source = ❤

        The open source GitHub page for the Parse platform.


fix: 添加npm源的选择

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/xun082/create-neat/blob/master/CONTRIBUTING.md
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[✅ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Closes #包管理器的安装和镜像源的选择 #52
Related to #模板搭建架构升级，将现有模板原子化拆分，通过选项排列组合生成项目 #24

What is the new behavior?
添加npm源的选择
Does this PR introduce a breaking change?
[✅ ] Yes
[ ] No

Other information

添加npm源的选择

fix: 添加npm源的选择


additonal condition for url payload

This PR is to push an additional condition for the data payload for the URL. The change is to check if the value in json is a string in addition to the existing condition to check if the string starts with '{'

What is this looking to fix?

still confused — in the function you are changing, json is defined as Optional[Text] so inside of the if json statement it should be Text, and reading the code it seems like it's assuming it's of the format (A) a=1&b=2 or (B) {"a": 1, "b": 2} and it normalizes those to JSON bytes.
the isinstance(json, str) seems like it will always evaluate to true in this context, which will break the case of parameters being passed in as format (A).
it's also not clear to me what it is that you are looking to fix


✨CSS refactored issue#42 solved✨

i hope the CSS is working properly like before, @andoriyaprashant please review this.
Thank you!

Hello @T-Rahul-prabhu-38  , everything else is fine, but this won't run until the home.html file is found. So, you'll need to make this change in the settings: 'DIRS': [os.path.join(BASE_DIR, 'Docs', 'templates', 'html')], and you'll also need to import os.

so should i do exactly.

so should i do exactly.

Yes

im sorry , i meant to type what should i do.

im sorry , i meant to type what should i do.

Just replace "        'DIRS': [
BASE_DIR / "Docs" / "templates",
],"
to
DIRS': [os.path.join(BASE_DIR, 'Docs', 'templates', 'html')],
In setting.py of DevDocsHub folder
And also import os in settings.py

ok ill dothat.


Voice Text Channels

Summary
Adding support for voice text channels.
What is the feature request for?
The core library
The Problem
Access voice text channels
The Ideal Solution
/
The Current Solution
None that I know of.
Additional Context
No response

Support for this is there in the master branch.


Updates to Data, new YouTube icon, new Resume Button

Link to Ticket
TITLE Link
Description of Proposed Changes

added logic to render a download resume button for people who have final resumes (Luke and Michael T)
updated bios for Gib and Chris
updated pictures for Michael T and Gib
updated portfolio links for Dylan and Red and Bryan
added logic to render youtube icon to demos (Michael B, Emily, Chris, Luke)

Steps to Test
Outline the steps to test
git fetch --all
git checkout eh-new-and-revised-info

Impacted Areas in Application
List general components of the application that this PR will affect:

main.js
main.css
cohorts.json
images (added a resume folder)

Mentions @username
Tag users that need to review this code

Wait until Monday or Tuesday to review!! I'll add comments/commits as I get new data.

new changes

Gavin: resume, fun picture, portfolio, capstone
Esther: resume
Gib: resume
Emily: portfolio

new changes:

colin: quote and capstone
mikayla: portfolio, capstone
pete: resume
michael b: portfolio
samantha: capstone
michael c: capstone, portfolio
esther: capstone


Test if a config file on open

Closes #925

Codecov Report

Merging #927 into master will decrease coverage by 0.06%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master     #927      +/-   ##
==========================================
- Coverage   55.79%   55.73%   -0.07%
==========================================
  Files         101      101
  Lines        7915     7913       -2
==========================================
- Hits         4416     4410       -6
- Misses       2857     2862       +5
+ Partials      642      641       -1

Impacted Files
Coverage Δ

src/restic/backend/local/local.go
73.45% <ø> (+1.03%)
:arrow_up:

src/cmds/restic/global.go
24.44% <20%> (-0.11%)
:arrow_down:

src/cmds/restic/lock.go
66.66% <0%> (-2.78%)
:arrow_down:

sftp.go
60.93% <0%> (+0.5%)
:arrow_up:

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 90ba606...d0db1bf. Read the comment docs.


Add Spinnaker

This issue is a:
[ ] Bug Report
[ ] Enhancement suggestion
[ * ] Feature request
If the issue concerns an existing Marketplace application, please tag the maintainer of the application (found in manifest.yaml) below:
Enhancement suggestions / feature requests
Adding Spinnaker to the marketplace might be a nice touch

One of our users on the Kube100 slack channel feels that Spinnaker is a huge piece of software so may not be appropriate for the k3s service (given we don't currently have a system where marketplace apps can say "I need a minimum of X resources"). Your thoughts @jdbohrman ?

Let me know if spinnaker needs to be added. I'll give a shot. It would take 2-3 large nodes to run

Spinnaker is too big IMO for K3s, once we have the mechanism of highlighting minimum memory/CPU for an app we can revisit this, till then I would close this issue.


[CI] Run ci on apple-silicon

Lıst the steps to reproduce the ıssue or the Changes made

Provıde the brıef descrıtıon  of the changes made


Migrate all publicly-accessible datasets in s3 to ../<dataset_version_id>.

Right now some datasets files are present in the publicly-accessible s3 bucket under a uuid that is not the version id (for older datasets, as a consequence of legacy id systems). We should migrate all data in the publicly-accessible datasets bucket to live under <bucket>/<dataset_version_id>.(h5ad|rds) because these links are intended to be permanent, and they should make logical sense in terms of matching up to their version id. Once released, we can't change, so the time to do it is now.

Marking this as p0 because these are permalinks

Notes for progress on prod:
Extracted all DatasetVersions rows (count confirmed correct; 1401; latest timestamp and id is noted)
Extracted all DatasetArtifact rows (count confirmed correct; 5307)

This is in-place on prod; subsequent mirrors to dev and staging will rectify those environments.
TBD: delete superfluous s3://dataset-assets-public-prod/<id-that-isn't-version-id>.<ext> assets. Will include as part of ticket to simplify assets[].url attribute to always be s3://<bucket>/<dataset_version_id>.<ext>


Change info banner to detail

The info banner introduced in PR #6726 seems very "loud" and in your face, distracting the user from their task.
This changes it to a details component that delivers the same results but with a more minimalistic style.
Before

After

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Looks great. Thank you for updating 👍🏽


Why are both SCKAN endpoints being opened?

Should the example not default to production? And to have explanatory text talk about staging and how it might differ from production?
There should also be some explanation about what the store_directory and clean_connectivity parameters mean and about local caching of knowledge.

There is information in the notebook itself relating to the different versions of SCKAN (in the introduction). I have updated it - pasted below for your review. I have also added explanations for the parameters you mentioned (pasted below). I am struggling to write concise descriptions of the parameters so if you have any suggestions please let me know. I will add these into the README of the repo too.
"This notebook utilizes SCKAN, where both production and staging versions can be accessed. The production version of SCKAN accesses the officially released version of SCKAN, with finalised information and features. The staging version of SCKAN is the testing site, ensuring new changes deployed are working as intended. The staging version of SCKAN will contain information and features that the production version may not yet contain. For more information refer to the SciCrunch site."
_"Notebook parameters
The notebook utilizes certain parameters in order to produce the desired neuron population.
store_directory and scicrunch_release
The store_directory parameter caches the desired version of SCKAN, while the scicrunch_release parameter provides information as to what version is accessed when querying SciCrunch.
clean_connectivity
The clean_connectivity parameter refreshes the stored cache of SciCrunch information. By default this feature is deactivated (i.e. set to False). Activating and running this feature (i.e. setting it to True) may extend the runtime of the notebook."_

Notebook parameters
The notebook utilizes certain parameters in order to produce the desired neuron population.

These parameters do not relate to the notebook! What do they relate to?

The store_directory parameter caches the desired version of SCKAN, while the scicrunch_release parameter provides information as to what version is accessed when querying SciCrunch.

By default this feature is deactivated (i.e. set to False). Activating and running this feature (i.e. setting it to True) may extend the runtime of the notebook.

How about:
By default, the connectivity cache is used when a store_directory is provided. If there is no store_directory or if clean_connectivity is set to True then all requests for connectivity will result in a query to SCKAN and could result in a considerable delay (e.g. 20 seconds or more) before a notebook cell completes.


[Site request] Deviantart

Adding the md5 hasher to deviantart would be good.

I'm bad at github.
Suggestion has been added in ea16b0fb7f43eeeed8d68f59266c049f885ca8d2.


Typescript Language Server dies when opening AWS CDK sample app

Run the following commands:
$ npm i -g aws-cdk
$ mkdir hello-cdk
$ cd hello-cdk
$ cdk init sample-app --language=typescript
$ code .
The language serves constantly crashes.

Please fill out the issue template
/needsMoreInfo


non uniform width time scale axis chartjs

At the moment the his is as designed. We'd need to make a conscious choice to change this. @tannerlinsley thoughts?

Closing as a duplicate of #2774 since I think it's the same underlying issue


Allow people to modify the keystrokes easily

I want to change the keystrokes because they do not fit with my habits.
I'll propose a PR.

The best approach is probably to add a handle into the code that creates keymaps from commands, so that it can use a user-provided shortcut instead of the command default.
Maybe at this place AltCommand>>#buildShortcut:
https://github.com/ThierryGoubier/AltBrowser/blob/pharo7/Alt-Browser.package/AltCommand.class/instance/buildShortcut..st

Oh, even easier:
Create a method AltCommand>>#effectiveKeyStroke where we look in the settings if there is a registered keystroke for that command (matching on the command label?), if not calls #keystroke
Replace the two users of #keystroke by effectiveKeyStroke


Add reference to python sdk docs

🚀 Deployed on https://6318f6c1a6399922e447cceb--cozy-fox-0defec.netlify.app


is it outdated?

your live example is throwing :
Uncaught TypeError: Cannot read properties of undefined (reading 'init')
    at index.js:13:32
    at gapiScript.js:32:267
    at tb (gapiScript.js:24:468)
    at t (gapiScript.js:32:250)
    at g.<computed> (gapiScript.js:32:353)
    at F.<computed> [as loaded_0] (gapiScript.js:32:417)
    at cb=gapi.loaded_0:1:6

Also getting this error, following

Getting same error 😢

Looks like this is getting deprecated: https://developers.googleblog.com/2021/08/gsi-jsweb-deprecation.html
This also is related to #29

Implemented new flow check #29 for steps


typescript.experimental.syntaxFolding

Renames the setting typeScript.enableExperimentalFolding to be consistent with the html and json settings: typescript.experimental.syntaxFolding
Makes the setting visible for testing
Dynamic enabled/disabled-ment

Thanks!


Minimum number of nodes with elastic k8s clusters with ec3

Hello,
When selecting the elastic k8s option in IM Dashboard, the Elastic Data allows to configure the Maximum Number of WNs in the cluster

I think ec3 also supports to have a minimum number of WNs in the cluster (e.g. in preparation for a peak workload). Could you please confirm? If so, would it be possible to add this option to the IM dashboard too?
Thanks!
Sebastian

Hi @sebastian-luna-valero,
EC3 uses CLUES(https://github.com/grycap/clues) as the elastic management system.
Some of the options of CLUES is to keep extra empty slots or nodes free.
I will check how to add it to the IM-Dashboard.

I have added the option in the IM-Dashboard.
Could you test it please?

Thanks!
Not sure if it's related but on a test deployment I am currently getting:
fatal: [<IP_ADDRESS>_0]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip2", "install", "ply", "radl", "jaraco.functools==3.4.0", "more-itertools==5.0", "web.py==0.51", "requests==2.15.1", "PyYAML==5.4.1", "distro", "git+https://github.com/grycap/cpyutils.git@master"], "msg": "stdout: Collecting git+https://github.com/grycap/cpyutils.git@master\n Cloning https://github.com/grycap/cpyutils.git (to master) to ./pip-Pt1VQC-build\nCollecting ply\n Downloading https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl (49kB)\nCollecting radl\n Downloading https://files.pythonhosted.org/packages/8a/a2/620e4bed32f849759014cfd3a3390dae0bc8709a559052b77cf9f7292f79/RADL-1.3.0.tar.gz\nCollecting jaraco.functools==3.4.0\n\n:stderr: Could not find a version that satisfies the requirement jaraco.functools==3.4.0 (from versions: 1.0, 1.1, 1.2, 1.3, 1.4, 1.4.1, 1.5, 1.6, 1.7, 1.8, 1.8.1, 1.8.2, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.15.1, 1.15.2, 1.16, 1.17, 1.18, 1.19, 1.20, 2.0)\nNo matching distribution found for jaraco.functools==3.4.0\n"}

Not sure if it's related but on a test deployment I am currently getting:
fatal: [<IP_ADDRESS>_0]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip2", "install", "ply", "radl", "jaraco.functools==3.4.0", "more-itertools==5.0", "web.py==0.51", "requests==2.15.1", "PyYAML==5.4.1", "distro", "git+https://github.com/grycap/cpyutils.git@master"], "msg": "stdout: Collecting git+https://github.com/grycap/cpyutils.git@master\n Cloning https://github.com/grycap/cpyutils.git (to master) to ./pip-Pt1VQC-build\nCollecting ply\n Downloading https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl (49kB)\nCollecting radl\n Downloading https://files.pythonhosted.org/packages/8a/a2/620e4bed32f849759014cfd3a3390dae0bc8709a559052b77cf9f7292f79/RADL-1.3.0.tar.gz\nCollecting jaraco.functools==3.4.0\n\n:stderr: Could not find a version that satisfies the requirement jaraco.functools==3.4.0 (from versions: 1.0, 1.1, 1.2, 1.3, 1.4, 1.4.1, 1.5, 1.6, 1.7, 1.8, 1.8.1, 1.8.2, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.15.1, 1.15.2, 1.16, 1.17, 1.18, 1.19, 1.20, 2.0)\nNo matching distribution found for jaraco.functools==3.4.0\n"}

No it was an error in the CLUES ansible role.
Now it is fixed.

Thanks!
I chose the following in my test deployment:
HW Data

N of worker nodes 4

Elastic data

Max number of WNs: 6
Min number of WNs: 2

The cluster ends up having 4 nodes instead of 2. Is this expected?

As you have selected 4 worker nodes, initially the cluster will have 4 WNs.
After some time, some will be undeployed to maintain the minimun number of nodes free to 2.

Great, thanks!
Let's consider this solved then.