Document NU5126

Fixes https://github.com/NuGet/docs.microsoft.com-nuget/issues/2564

Docs Build status updates of commit d987738:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7a11072:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0cf254e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU1211.md
:warning:Warning
View
Details

docs/reference/errors-and-warnings/NU1212.md
:warning:Warning
View
Details

docs/reference/errors-and-warnings/NU1213.md
:warning:Warning
View
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md

Line 21, Column 67: [Warning: file-not-found - See documentation] Invalid file link: 'dotnet/core/tools/global-tools'.

docs/reference/errors-and-warnings/NU1212.md

Line 19, Column 70: [Warning: file-not-found - See documentation] Invalid file link: '../create-packages/set-package-type.md'.
Line 23, Column 67: [Warning: file-not-found - See documentation] Invalid file link: 'dotnet/core/tools/global-tools'.
Line 33, Column 70: [Warning: file-not-found - See documentation] Invalid file link: '../create-packages/set-package-type.md'.
Line 37, Column 67: [Warning: file-not-found - See documentation] Invalid file link: 'dotnet/core/tools/global-tools'.

docs/reference/errors-and-warnings/NU1213.md

Line 17, Column 9: [Warning: file-not-found - See documentation] Invalid file link: '../create-packages/set-package-type.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4557d81:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1212.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1213.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0ade652:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1204.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1212.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1213.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit ed494f9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1204.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1212.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1213.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3026d5b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1204.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1212.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1213.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 14f95eb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1204.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1212.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1213.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b351eb3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1204.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1211.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1212.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU1213.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5045.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5126.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Define a test runner for roundtrip generated code tests

Define a procedural macro or build script that generates tests for generated code.
This way we can use reference to the generated code even without the need to generate it first.

Defining a test runner requires following changes in the current crate structure:

[ ] Set up a workspace where there can be multiple crates/members.
[ ] Add a code-gen-core which has all the logic for code generation.
[ ] Modify code-gen-core to include the schema initialization logic and add APIs for generating tests for generated code.
[ ] Add a code-gen-tests-runner crate that does not have any functionalities except testing the generated code. It should include some test cases for schema nd Ion input.
[ ] Modify code-gen-core to have APIs that can generate crate/gradle project which can then be used by test runner to run the tests on generated code.
[ ] Include a build script in code-gen-tests-runner that uses code-gen-core to generate tests and then writes tests in
the tests folder.


Calling DispatchQueue::Barrier() with 0 timeout returns false

When playing with DispatchQueueTest.Barrier line 77, the unit test would fail with std::chrono::nanoseconds was 1e4, but pass with 1e5

DispatchQueue::Barrier should return true unconditionally for an empty dispatch queue.


Allow variable values that have spaces and other quirks

Right now it's not possible to store in CSSex variables css properties/values that have spaces in them.
Example:
$!some_var 1px 1px 5px 10px;

Solved by https://github.com/mnussbaumer/cssex/pull/53


fix(factories): fix typo in exception

fixing, small typo in createShorthand.

Codecov Report

Merging #2645 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2645   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files         160      160
  Lines        2751     2751
=======================================
  Hits         2744     2744
  Misses          7        7

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 9805d59...d0fc061. Read the comment docs.

Released in<EMAIL_ADDRESS>


abstraction around access modeling, starting with turn costs

our turn cost model is hard-wired to the energy model, but should be accessible from other traversal models.
in general, we may want many such access models under the hood of a traversal model:
struct MyTraversalModel {
  access_models: Vec<AccessModel>
}

that we can step through and apply at each step of a search.
with this abstraction, we can re-write turn delays as its own access model which can be built from configuration.

still trying to think through the design here. is it

a TraversalModel has zero to many AccessModels
TraversalModel and AccessModel are siblings, both top-level objects referenced by the search


[client]Chechk schema null in advance

Motivation

If we set scheam as null when using PulsarClient new consumer  like this:

Consumer<?> consumer = client.newConsumer(null)
                .topic(topic)
                .subscriptionName(subscription)
                .subscribe();

It does not throw exceptions when building consumer, but will throw exceptions when org.apache.pulsar.client.impl.ConsumerImpl#connectionOpened invoked, then it will try to reconnect later. See the following log detail：

For detail, the code where throws exception is located at：
https://github.com/apache/pulsar/blob/74eae1a729c33c9fead9d54594bdee5fac8ab153/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L827

Also it is necessary to check schema  not null when building producer

Modifications
If schema is null, throw exceptions when buiding the consumer or producer
Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


How to customize sorting on column ?

By default, sorting is working as (default)=>(asc)=>(desc)=>(default) manner. And in the documentation there is no way to modify sorting default behavior. Like if I want (asc)=>(desc)=>(asc), How to achive it ?

So if I understand you correctly you don't want it to be possible to go back to an unsorted state? You can set the initial sort order but a few releases ago I removed the requirement to have the table always being sorted on something so now it will go back to the initial state (although I guess that could be a setting too).

Yes like other libraries there should be a setting for the same.

I've added an option called allowUnsorted which by default is true. If set to false sort will switch between ascending and descending were as true will go from descending to unsorted.


Signaling server link in the documentation needs to be updated.

Report

[X] I have searched existing issues and this is not a duplicate.

Expected Behavior
Documentation should point to the updated signaling server at  https://github.com/bengreenier/webrtc-signal-http now.
Actual Behavior
Documentation has not been updated yet.

The documentation in the wiki page has been updated to reflect this change!


added FAQ to reward summary ( Tested Locally)

Changes
Add Reward FAQ URL to LBRY App
Preview

i close this because has more than commit. fixes up on #1054


feat: add key-auth plugin

Ⅰ. Describe what this PR did
Add  key-auth plugin. like: https://apisix.apache.org/docs/apisix/plugins/key-auth/
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Thanks! We already have a cpp version of the key-auth plugin: https://github.com/alibaba/higress/tree/main/plugins/wasm-cpp/extensions/key_auth
We want its go version to have the same configuration, as @WeixinX did (#515) with the basic-auth translation from cpp:
cpp version basic auth:
https://github.com/alibaba/higress/tree/main/plugins/wasm-cpp/extensions/basic_auth
go version basic auth:
https://github.com/alibaba/higress/tree/main/plugins/wasm-go/extensions/basic-auth

@dongjiang1989 You can take this task here: #589

@dongjiang1989 You can take this task here: #589

Great. Take it.
I will add common package for common config.
Now Change pr to WIP

cc @WeixinX

Could you add an e2e test to it like: https://github.com/alibaba/higress/blob/main/test/e2e/conformance/tests/go-wasm-basic-auth.go

Could you add an e2e test to it like: https://github.com/alibaba/higress/blob/main/test/e2e/conformance/tests/go-wasm-basic-auth.go

Done.  Please re-check.

@dongjiang1989 Please change the code according to the review comments. Thanks ~

@dongjiang1989 Hello, is there any progress?

@dongjiang1989 Hello, is there any progress?

@johnlanni Please re-check

cc @WeixinX

Codecov Report

Merging #586 (d013a3d) into main (5174397) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #586   +/-   ##
=======================================
  Coverage   35.46%   35.46%
=======================================
  Files          71       71
  Lines       10259    10259
=======================================
  Hits         3638     3638
  Misses       6333     6333
  Partials      288      288

@dongjiang1989 Please fix the e2e test.

@johnlanni  Please add

This case failed:TestHigressConformanceTests/WasmPluginsKeyAuth/WasmPlugins_key-auth
@dongjiang1989

@dongjiang1989 I am very sorry. I am very busy recently. I will review it for you this weekend

@dongjiang1989, please fix WasmPlugin e2e testing errors:
--- FAIL: TestHigressConformanceTests/WasmPluginsKeyAuth (30.01s)

@WeixinX @johnlanni  Please re-check

@dongjiang1989 整体问题不大了，能否将配置注解等规范化一下，可以参考 hgctl plugin 相关命令，这样方便后续生成 api spec 等，统一管理

@dongjiang1989 整体问题不大了，能否将配置注解等规范化一下，可以参考 hgctl plugin 相关命令，这样方便后续生成 api spec 等，统一管理

好的. 今晚我处理一下.
提个建议：最好对于plugin实现一套unittest framework case验证, 方便对UT验证case

目前是基于 e2e test 做验证的，插件的测试比较复杂，因为依赖Host，UT测不全面

@WeixinX 看下没有问题的话，approve 通过下

仅有一点点文档的问题，麻烦修正 ~

Fixed


Using fuzzy score when searching

Hi, this should improve fuzzy search as mentioned in #97. I am just using the score from the fuzzy search and sorting the tabs by this score.

@crudo thanks for taking a look at this but the fuzzy.js code already returns the results sorted by score (around line 124).
      // Sort by score. Browsers are inconsistent wrt stable/unstable
      // sorting, so force stable by using the index in the case of tie.
      // See http://ofb.net/~sethml/is-sort-stable.html
        .sort(function(a,b) {
          var compare = b.score - a.score;
          if(compare) return compare;
          return a.index - b.index;
        });


Upgrade rails and gems

It's a Rails security upgrade to 4.2.5. I also upgraded all other gems to the latest possible versions.

Looks good to me. :+1:


Nokogiri crashes Rails Commands

I've installed nokogiri 1.6.8 on El Capitan as a gem on my app. Every time I run a rails command, I get the following error:
/Users/name/RubyWorkspace/app/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri.rb:32:in require': incompatible library version - /Users/name/RubyWorkspace/app/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.bundle (fatal)
`
I've tried uninstalling and installing with and without all combinations of system libraries, libxml2, libxslt, and libiconv at least 20 times. How do I get the libraries to actually sync?

Can you try the steps here and report what you tried and your results? http://www.nokogiri.org/tutorials/installing_nokogiri.html#mac_os_x

I get the same error message as before.

I am getting the same error in the same circumstances... any ideas yet?

@jrafanie @SamuelNLerner @eukalyptus88 I followed steps 2 - 4 and it worked for me.

I can confirm the solution is to re-launch Xcode.
The question remains.. why isn't an error thrown when something hits this dependency wall.


[GH-417] Multi Node Test Framework

Implementation of Multi node test framework, has such functionalities:

Run unlimited number of nodes parallely, controlling their state from the main node.
Test all the types of transactions(except for the channels) in each node.
Send tokens between nodes using miner accounts.
Sync the nodes and compare them by top block hash or top block(sync test)
See the oracle interaction objects state for each node.

resolves #417

Also, all tests fail for me with messages similar to this:
 1) test namings test (MultiNodeSyncTest)
     test/multi_node_sync_test.exs:83
     ** (EXIT from #PID<0.581.0>) an exception was raised:
         ** (ArgumentError) argument error
             :erlang.port_command(#Port<0.13578>, "{:ok, peer_info} = Client.get_info(\"localhost:4002\")\n")
             (aetestframework) lib/worker.ex:493: Aetestframework.Worker.handle_call/3
             (stdlib) gen_server.erl:636: :gen_server.try_handle_call/4
             (stdlib) gen_server.erl:665: :gen_server.handle_msg/6
             (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

12:43:31.458 [error] GenServer Aetestframework.Worker terminating
** (ArgumentError) argument error
    :erlang.port_command(#Port<0.13578>, "{:ok, peer_info} = Client.get_info(\"localhost:4002\")\n")
    (aetestframework) lib/worker.ex:493: Aetestframework.Worker.handle_call/3
    (stdlib) gen_server.erl:636: :gen_server.try_handle_call/4
    (stdlib) gen_server.erl:665: :gen_server.handle_msg/6
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message (from #PID<0.581.0>): {:sync_two_nodes, "node1", "node2"}

Do you know why?

@cytadela8 Can you run firstly iex -S mix phx.server, and after that mix test, I am not sure but probably there is a problem that there is no _build/dev directory when you run mix test after you cloned the branch

@cytadela8 And about the generic way of executing the code on node and getting the return value, I was researching this and I found out that it is not possible, because the return value is always string and it has some additional unnecessary elements like iex>, that's why the result has to be filtered somehow. Probably I am wrong, and there is a way to do this, maybe it is possible using another library instead of Port

@0legIv You could do for example: Base.encode64(:erlang.term_to_binary(function_to_invoke)) and then regexp to match contents between "

If that would match something else then we could try things like {:return, Base.encode64(:erlang.term_to_binary(function_to_invoke))} and regexp between {:return, " and "}

@cytadela8 Yes, great idea, changed it

@0legIv Nice! Only the setup in test left. (see previous comment)

whats the status here? is it finished, so could you review or should we close for now?

@thepiwo Yes it's finished, I just need to fix the problem that it cytadela wrote in the previous comments and, I'm waiting for another reviews.

It would be good that our tests actually show coverage, so we can check what parts of code are tested and what are not

@thepiwo Yes, I can make a new issue for this

@cytadela8 can you re-review?

All of my previous comments are fixed, but merging probably introduced something that makes tests fail.


Update the index function running result

SELECT CHARINDEX ( 'TEST',
'This is a Test'
COLLATE Latin1_General_CI_AS);  return 11 instead of 13
Customer Feedback: https://github.com/MicrosoftDocs/feedback/issues/591

@EdisonDa : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

Hi @EdisonDa, thank you for  your contribution! You are correct,  the answer should be 11. Thanks again! #sign-off


Update BaseFileHelper.php

v2 fix for #9288

https://github.com/yiisoft/yii2/commit/b4da7b570c01f96d887d240a293e5ab903c7e672

Thank you!

anytime


Fix broken link when suggested voter guide links are added without "http.."

An example suggested voter guide: https://api.wevoteusa.org/vg/create/?voter_guide_possibility_id=1503
(If you sign in with Twitter or Facebook, and then Slack me your We Vote Id, I can give you access to this page.)
"Link to voter guide" just uses the raw link, so we should probably tack on an "http://" for links that don't have "http" at the start of the url.

To navigate the interface:

Go to the Voter Guides section
Click on "Review Suggested Voter Guides"
Click on "Suggest a Voter Guide" and paste in "www.lidbk.com/2019-endorsements" as an example. "Analyze & Save"
Then click on the "Edit" button
Click on the right-arrow to the right of "Link to voter guide"

The template is here: WeVoteServer/templates/voter_guide/voter_guide_create.html
The view that prepares data for this page is "voter_guide_create_view" in the file WeVoteServer/voter_guide/views_admin.py

it's possible that some pages might need an 'https' rather than an 'http'.

Verified! Thank you for your first check in with We Vote @irascible!


Increment Version

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/39658
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 67122d6ca9664519798e98d76e7855bb0a0f57ed
git push origin v0.2.0


challenge_required error login to any account on any ip

Describe the bug
Any account that logs in, even using another IP or VPN, reports the challenge_required error and asks you to confirm your identity.
In accounts where instagrapi was used, I can login and logout by browsing after verifying the account, but when I use the instagrapi login, it accuses challenge_required
To Reproduce
from instagrapi import Client
cl = Client()
cl.login('username', 'pass')# username e password instagram
user_id = cl.user_id_from_username("adw0rd")
medias = cl.user_medias(user_id, 20)
Traceback
Traceback (most recent call last):
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\private.py", line 255, in _send_private_request
response.raise_for_status()
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://i.instagram.com/api/v1/accounts/login/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\private.py", line 385, in private_request
self._send_private_request(endpoint, **kwargs)
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\private.py", line 285, in _send_private_request
raise ChallengeRequired(**last_json)
instagrapi.exceptions.ChallengeRequired: challenge_required
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\private.py", line 255, in _send_private_request
response.raise_for_status()
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://i.instagram.com/api/v1/accounts/login/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\Klayton\Desktop\Bot\BotInstagram\BotInstaMont\exemplo_login.py", line 4, in
cl.login('felipealvespereira29', '7ZTUEZtklmKz')
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\auth.py", line 383, in login
logged = self.private_request("accounts/login/", data, login=True)
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\private.py", line 402, in private_request
return self._send_private_request(endpoint, **kwargs)
File "C:\Users\Klayton\AppData\Local\Programs\Python\Python39\lib\site-packages\instagrapi\mixins\private.py", line 285, in _send_private_request
raise ChallengeRequired(**last_json)
instagrapi.exceptions.ChallengeRequired: challenge_required
Expected behavior
Until 12/08/2021 it worked normally.
Screenshots

Desktop (please complete the following information):

OS: [Windows 10]
Python version [e.g. 3.9]
instagrapi version [e.g. 1.9.14"]

Additional context
I've updated instagrapi, I've already looked for help to solve it but I couldn't.
NOTE: Using Google translator.

Also getting this, a loop of endless challenge_required errors.

Same for me 🙁

similar situation for me to accounts start getting challenge required lot even if change proxies while back was fine but recently start happening lot

Fixed in 1.9.18

Thanks adw0rd 🥳 👍


Updated Raspbian logo with a clearer version

Updated Raspbian logo with a clearer version

Top left old Raspbian logo,
Bottom left Ubuntu logo
Top right new Raspbian on white background
Bottom right new Raspbian on black background

The only problem I have with the new logo is the height, it's too tall. I'll merge this if it can be made closer to the sizes of the other logos.

Updated with this art:

Perfect!
I'm curious; What tool did you use to generate the ASCI art?

This website: http://www.text-image.com/convert/ascii.html
Settings:

Invert colors
Increase contrast
Rest is default

Image used:


pythonPackages.schema: Fix

This depends on contextlib2 and mock. The preConfigure hook
can probably be removed with the next version bump, see
https://github.com/keleshev/schema/pull/222.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build pythonPackages.schema


Add snippets for React Native

I think that it would be good to add some snippets for React Native in the future. Someone agree?

I've found some snippets for RN here:
https://gist.github.com/hoetmaaiers/93859527afbcb3ffe2e62f41e5f8e86e


Proposal: store instantiate-to-bounds result in kernel

Dart 2.0 specifies a nontrivial algorithm for inferring type arguments from bounds: the "instantiate to bounds" algorithm.  This algorithm needs to be used in several situations:

When a generic type is named (e.g. as a variable or parameter type, in an "as" or "is" test, or as a type literal expression)
During invocation of a generic class constructor when no type parameters are supplied
During type inference of a generic method call when no type parameters are supplied

In most situations, these three cases can all be handled by the front end.  However, there is one exception: when a generic method is invoked dynamically, the runtime must supply type parameters using the instantiate to bounds algorithm.  This might happen, for example, when executing code like this:
f<T extends ..., U extends ...>() { ... }
g(dynamic d) {
  d();
}
main() {
  g(f);
}

This is really unfortunate, because it means that the instantiate-to-bounds algorithm needs to be replicated in all runtimes, and we need to test it carefully to make sure the implementations don't diverge.
It seems like it would be much easier to have the kernel representation for a generic function or method include a default set of generic types; the front end could fill in this set of types using instantiate-to-bounds at compile time, and the runtime could simply use it when needed.  There would no longer be any need to replicate the instantiate-to-bounds algorithm in all the runtimes.
@leafpetersen does this seem feasible to you?  (Am I missing some crucial detail that would prevent this from working?)
@kmillikin this would require changes to the kernel format--what do you think?
CC: @sigmundch

CC: @stefantsov @sjindel-google

Yes, my informal expectation was that kernel would record this information for the backend to use.  Basically, I think of it as a set of "default arguments" for the type arguments that get computed by the frontend, and the backend just consumes them.  For the common case that the default arguments are all "dynamic", you can presumably just elide them for compactness.

Done in https://dart-review.googlesource.com/c/sdk/+/48424

cc @rakudrama @efortuna

thank youuuuuu!!!!!

The front-end part of this change is not landed yet.  The field currently contains null at all times.

@stefantsov: when will you able to revisit this? I have an outstanding review in the VM which implements this support there, and can't be landed until it's available in the CFE.

@sjindel-google It's very close to the top of my list, but I don't want to give promises because of the slight fuzziness on the other issues with seemingly higher priority.

A brief status update.  I'm working on the issue in two separate CLs:

CL 50941 handles default types for classes and typedefs.  It also contains a non-trivial refactoring of the existing code, because having the default types allows for more elegant solutions in many places.
CL 50945 runs instantiate-to-bound on functions.  It depends on CL 50941.  Currently it works for local functions and function expressions, and I'm going to add the support for methods and top-level functions soon.

Sorry for delaying this for some time.  I hope I'll get it working soon now that I have enough time to finish the task.

Another issue kicked in after the changes in the mentioned CLs.  Namely, checks for the correct number of type arguments for types are need to be made early in the process in order to make everything work.  I started implementing these checks in CL 51128.  CL 50941 and CL 50945 are rebased to depend on that CL.

CL 51128 is out for review.  Basically, without changes from this CL we can't tell if the number of supplied type arguments in the supertypes, the mixins, and the bounds is correct or not (yes, until the CL is landed, you may try and use List<int, String> as a supertype and observe very Dart 1-ish behavior of getting List<dynamic> for that).  Currently, I'm rebasing the remaining two CLs and (possibly) fixing arising issues in them.  Will keep this thread updated.

Ok, so the number of related CLs is still growing :-)  There are 5 of them currently, and it should soon become 6.  Here are the links to the existing ones, in the order from least dependent to most dependent:

[fasta] Report type argument number mismatch during outline building
[fasta] Normalize type arguments as in Dart 1 when not in strong mode
[fasta] Store calculated bounds of type variables as their defaults
[fasta] Update expectation files after CL 50941
[fasta] Run instantiate-to-bound on functions

The first 4 are sent out for the review.  That's what it takes for the preparation to the actual fix :-)

Small status update: CL 51128 has landed recently.

CL 51600 has landed.  CL 50941 got a +1, but it needs to be landed only together with CL 51620 that updates the expectation files.

CL 50941 and CL 51620 have landed.

CL 50945 is out for review, and it's the last piece of the puzzle.  I hope to get it landed soon.  I'll update the thread when it's done.

I believe the front-end part of this issue is resolved as of https://github.com/dart-lang/sdk/commit/6fc4854e986cb489108f58b476d39f9a0d5c29a7.


The abandoned Listener

https://github.com/apache/dubbo/blob/da6c3ebf5c2aa529c0732d4f354d0d390a471bac/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java#L267-L279
You're going to have more and more listeners, but they're not going to do anything, right

There is also a problem in the constructor of this class, the last sentence of the constructor is
notify(url.getBackupurls ());

There aren't any subscribers, so what's he doing?

public abstract class AbstractRegistry implements Registry {
    // ...

    public AbstractRegistry(URL url) {
        // ...
    }

    // ...

    @Override
    public List<URL> lookup(URL url) {
        List<URL> result = new ArrayList<>();
        final AtomicReference<List<URL>> reference = new AtomicReference<>();
        NotifyListener listener = new NotifyListener() {
            private volatile boolean notified = false;

            @Override
            public void notify(List<URL> urls) {
                if (!notified) {
                    notified = true;
                    reference.set(urls);
                    unsubscribe(url, this); // Unsubscribe the listener after receiving the first notification
                }
            }
        };
        subscribe(url, listener);
        List<URL> urls = reference.get();
        if (CollectionUtils.isNotEmpty(urls)) {
            for (URL u : urls) {
                if (!EMPTY_PROTOCOL.equals(u.getProtocol())) {
                    result.add(u);
                }
            }
        }
        return result;
    }

    // ...
}


patch temporal ui to authenticate with vault's oidc implicit flow

TODO: draft
signature validation and authorization will be handled by the atlas/temporal cluster.
the contents of the client_id token from vault looks something like below
{
  "header": { "alg": "RS256", "kid": "c8372bc7-00b7-7f61-1796-3851df008cd7" },
  "payload": {
    "aud": "atlas-staging",
    "datacenter": "us1.ddbuild.io",
    "email"<EMAIL_ADDRESS>    "exp":<PHONE_NUMBER>,
    "groups": [
      "team-workflow-engine",
      "datadoghq.com",
      "subproduct-engineeringefficiency",
      "product-ddinfrastructure",
      "dept-engineering"
    ],
    "iat":<PHONE_NUMBER>,
    "iss": "https://vault.us1.ddbuild.io/v1/identity/oidc",
    "name": "brendan.gerrity",
    "namespace": "root",
    "sub": "9cfeb92c-2db2-917b-0808-e84a9040c162"
  }
}

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


Merged out-of-band


FPGA: Add task_sequence_parallel_loop Tutorial

Adding a New Sample(s)
Description
This sample is an FPGA tutorial that demonstrates how to use task sequences to achieve asynchronous parallelism within kernel. This task sequences implementation uses inter-kernel pipes to pass data between loops and applies task sequences to schedule loops to run concurrently. The naive implementation uses arrays to pass data between loops and each loop are scheduled to run sequentially.
Checklist
Administrative

[X] Review sample design with the appropriate Domain Expert: <Yohann Uguen @yuguen-intel>
[ ] If you have any new dependencies/binaries, inform the oneAPI Code Samples Project Manager

Code Development

[X] Implement coding guidelines and ensure code quality. see wiki for details
[X] Adhere to readme template
[X] Enforce format via clang-format config file
[X] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[X] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com
FPGA regtest(s): Windows:
naive: https://spetc.intel.com/testsummary?testRunIds=10057262
optimized: https://spetc.intel.com/testsummary?testRunIds=10066030
FPGA regtest(s): Linux:
naive: https://spetc.intel.com/testsummary?testRunIds=10057447
optimized: https://spetc.intel.com/testsummary?testRunIds=10066029

Security and Legal

[ ] OSPDT Approval (see Project Manager for assistance)
[ ] Compile using the following compiler flags and fix any warnings, the falgs are: "/Wall -Wformat-security -Werror=format-security"
[ ] Bandit Scans (Python only)
[ ] Virus scan

Review

[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth(@tomlenth) and/or Project Manager
[ ] Tested using Dev Cloud when applicable

Waiting for @whitepau approval


Templated tests iteration should show in the report

When using templated test, each test case should be shown in the produced report. Current situation, we don't know if all of them of only some of them did fail without having to dig into the log file. This is further important in my current case as I'm doing performance tests and would like to be able to see the slowest test first, but of course, templated test come as longer since they are in fact many test and I cannot see the detail of each tests case independently.

Why don't you have separate tests for each iteration?

Initially to avoid the repetition which is my expectation of the goal from the template feature. Then it's required because our iterations are dynamic. An example, we have a page that returns many metric, I need to validate the performance of each metric. But that list of metrics vary based on different factors:

user logged in (which we handle by running the whole test suite once per "test user type")
data available in the current account (which isn't controlled by the test as we want to run those on some production account that are at risk of getting bad performance)
it's very easy to add a new metric and we might simply forget to add the specific performance test even if we have peer prog and code reviews.

The current template feature really well address those needs, except for the report that aggregate all the results as a single test

I still don't understand why you don't have each iteration as a separate test. That basically would mean that instead of using
*** Test Cases ***
Example
    [Template]    Template keyword
    iter1a    iter1b
    iter2a    iter2b
    iter3a    iter3b

you would use
*** Settings ***
Test Template    Template keyword

*** Test Cases ***
Example 1
    iter1a    iter1b

Example 2
    iter2a    iter2b

Example 2
    iter3a    iter3b

The latter could also be written in more compact style like this:
*** Settings ***
Test Template    Template keyword

*** Test Cases ***
Example 1        iter1a    iter1b
Example 2        iter2a    iter2b
Example 2        iter3a    iter3b

Because I'm not doing
*** Test Cases ***
Example
    [Template]    Template keyword
    iter1a    iter1b
    iter2a    iter2b
    iter3a    iter3b

I'm doing
GET server metrics
    [Setup]       Get available metrics from server
    [Template]    User get metric named ${metric_name}

    FOR    ${metric_name}    IN    @{metrics_list}
        ${metric_name}
    END

"Get available metrics from server" fetch data from the test server, that data vary depending on the account connected (which happen in the Suite Setup, based on environment variable from the run), thus we cannot hardcode the individual test.

I see. When using FOR loops with templates you obviously cannot have separate tests like I proposed and splitting should be done somehow by Robot. Splitting probably wouldn't be too complicated technically and the hard part is agreeing on the syntax.
One possibility would be using a special tag like robot:split-iterations. It could automatically copy the test  for each iteration and update the name with a running index.
Instead of trying to solve just this one use case, we could also consider integrating DataDriver by @Snooz82 with the core or at least to add new features/APIs to make the current integration smoother. If you do lot of data-driven testing and haven't studied DataDriver earlier, you may want take a look.


Input Tag is not binding properly with v-model

Version of Vue I'm using?: v2.3
Version of vue-input-tag I'm using?:2
Here I am passing the data by v-model to the input tags. but it is not showing. please check the screenshot. how can i solve this.

I think it's related to this: https://github.com/matiastucci/vue-input-tag/pull/94


⚠ Turnos 24x7 has degraded performance

In ff3ba31, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1016 ms

Resolved: Turnos 24x7 performance has improved in c8bdc39.


transform the code with babel or with a string

we use babel and cannot use ts-loader patch etc...
we have a plugin that take a ts containing the string, want to pass it to your package and then send the new string back to babel.
how we could do that?

The thing is that we don't control the build. It's meteor that use Babel.


Work on WT32-SC01 Plus ?

Hi,
is somebody using or working on the use of an "WT32-SC01 Plus" Support ?
It is like this: https://github.com/DustinWatts/FreeTouchDeck/issues/98
But has an ESP32-S3.  Datasheet: https://www.antratek.de/media/wysiwyg/pdf/WT32-SC01-Plus-V1.3-EN.pdf

Main controller of WT32-SC01 Plus development board is configured with a more integrated and powerful WT32-S3-Wrover-N16R2 module. this module is a general-purpose WiFi + BT + BLE MCU module, 16MB SPI flash and 2MB PSRAM configured in. It supports RGB colorful display of various pictures, capacitive multi-touch makes interaction easier, and the use of IPS full touch screen brings users better visual effects and a more comfortable experience.

Display Driver: ST7701
Touch-Driver: FT6336U via I2C
When i flash precompiled firmwares like Freetouchdeck / "ESP32-S3-DevKitC-1 (Using USB keyboard)" (flashed via the debug port) i get no picture on the screen and on the console:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2 (DOWNLOAD(USB/UART0))
Saved PC:0x40041a79
waiting for download

So i believe it is not enough to change some pin assignments...

Hi @ranseyer on my Discord there are some people who ported FTD to the WT32-SC01. If you join and ask the question there you'll probably find the answers you are looking for.

Thanks for the feedback. I asked the question in the discord.
But the WT32-SC01 and the WT32-SC01 Plus are complete different...
There are more topics than the pin assignments only
I would say: other types of

ESP Chip
RAM
Display
Touch

...
Source: https://www.antratek.de/media/wysiwyg/pdf/WT32-SC01-Plus-V1.3-EN.pdf


support the case when OLM is installed in a non-OpenShift environment

needed when testing minikube + olm

going to backport this since it is needed in order to backport https://github.com/kiali/kiali-operator/pull/337


some way to add keys to store

Hi!
Very nice library and I am using it for a long time. Thank you!
One question: is there any way to add new key or sub key to store?
Maybe something like store.$set('key.subkey', value)?

I found a solution.
First, make the root vue component accessible (for example, via window)
window.$root = new Vue({
el: ...,
data: {store},
...
})

Then, use normal vue's $set method:
$root.$set($root.store, 'key', value)
//or, for a second level:
$root.$set($root.store.key, 'otherKey', value)

And we are able again to access the store:
store.key.otherKey = 'anotherValue'
then vue re-renders fine and completely itself, no any $forceUpdate needed.
@cklmercer, I could extend the readme with this approach. Are you interested?


cidrgrep: Init at unstable-2020-11-17

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

cc @9er

@GrahamcOfBorg build cidrgrep

Result of nixpkgs-review pr 171868 run on x86_64-linux 1

1 package built:

cidrgrep


cif error with ase (replace CIF with XSF also for oxides)

There appears to be an issue with the cif-format of all oxides (according to ase)
The following line:
_symmetry_Int_Tables_number      '1'
throws an error:
"ase.spacegroup.spacegroup.SpacegroupNotFoundError: invalid spacegroup 1, setting 1 not found in data base".
The issue is resolved by removing the " ' "s
_symmetry_Int_Tables_number      1

Thanks. We are using pymatgen that has a more robust parser. But indeed probably the best will be to replace with XSF like for the unaries, for which the parsers are more robust

xsf added now


Change Databricks premerge/nightly to not use different python version for tests

Describe the bug
The databricks build got changed to require the cudf_udf init script and installed conda. Some of the builds have been changed to use different python version then what Databricks provides.  We want to change the regular tests back to not change the python version. We shouldn't be testing with a python version that isn't hte same as the user would use on Databricks. Personally I would rather see the tests.sh script back install pytest like in https://github.com/NVIDIA/spark-rapids/pull/7753 and just separate out the cudf_udf test to do something special there.
It also has the benefit a developer can just run test.sh like they used to without worrying about other steps.

@pxLi @NvTimLiu

note related to https://github.com/NVIDIA/spark-rapids/issues/7639

It also has the benefit a developer can just run test.sh like they used to without worrying about other steps.

Relates to #7473.

https://github.com/NVIDIA/spark-rapids/pull/7789 keep to use the default Databricks python in jenkins/databricks/test.sh for spark-rapids integration tests, only apply workaround of cudf_udf conda installing with python=3.8 for the file jenkins/databricks/cudf_udf_test.sh
So suppose we're good to close the issue as https://github.com/NVIDIA/spark-rapids/pull/7789 got merged.


[BUG] sporadic failure: Prophet failing test_update_predict_predicted_index

Prophet seems to be sporadically crashing test_update_predict_predicted_index.
This is not a "normal" test failure, it seems to be workers crashing?
worker 'gw1' crashed while running 'forecasting/tests/test_all_forecasters.py::TestAllForecasters::test_update_predict_predicted_index[Prophet--fh=1-update_params=True--window=5 days 00:00:00]'

So far one crash on run
https://github.com/alan-turing-institute/sktime/runs/5083489689
(linux, python 3.8)

mistaken attribution, the reason is not Prophet, but likely a consequence of the second problem described in #2012

Based on #2003, the culprit seems to be pytest-xdist.


#3667 - Bull Scheduler increments the next scheduled job when manually promoted (Ensure Next Delayed Job)

Ensures a scheduled job will have a delayed job created with the next expected scheduled time based on the configured cron expression.
DB row used as a lock to ensure the initialization code will not recreate delayed jobs or create them in an unwanted way if two PODs start at the same time. To be clear, the lock approach is the same used in other areas of the application and locks a single row in the table queue-consumers, please not, the table will not be locked. Please see below the sample query executed.

START TRANSACTION
select
	"QueueConfiguration"."id" AS "QueueConfiguration_id"
from
	"sims"."queue_configurations" "QueueConfiguration"
where
	(("QueueConfiguration"."queue_name" = 'archive-applications')) LIMIT 1 FOR UPDATE
COMMIT

While the queue is paused, no other delayed jobs will be created.

Great work and analysis. Just 2 minor comments.


Import issue

podfile: -
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'DZNPhotoPickerController'
Successfully updated my pod files but not able to import DZNPhotoPickerController.h
#import < DZNPhotoPickerController/DZNPhotoPickerController.h >
#import < DZNPhotoPickerController/UIImagePickerController+Edit.h>
Whats going wrong ?

I have other pod files also.All are working fine but  DZNPhotoPickerController. Have tried all possibities but nothing works. If you get any solution please update me.Thanks.

Ya its cocoapods-0.39.0

Not such as. Ok Thanks.

I got same issue. Did we need to update podspec?

Got this issue too.
Strange is that sometimes it gives me error in the #import line, sometimes it doesn't (pre-building - but always error on build).
This does not work:
#import < DZNPhotoPickerController/DZNPhotoPickerController.h >
#import "DZNPhotoPickerController.h"

This works:
#import <DZNPhotoPickercontroller/Classes/DZNPhotoPickerController.h>

But when I made the above line work, your UIImagePickerController+Edit.h file gets an error saying it couldn't find the file to import #import "DZNPhotoPickerControllerConstants.h"
So far, haven't resolved this. I'm updating cocoapods right now.

The issue is still there however if you set the header search path for DZNPhotoPickerController recursive it will work.

same issue, has this been fixed ?

did fix mentioned in #100 were pushed to 1.4.5 ?


[ Application ] Make Utils for Application @open sesame 09/22 19:10

Currently some of application use bitmap_helper and they have it
independently. rather than do this way, It might be better to make
static lib and link.
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #582. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009211645220.73850393295288-f7130da7339af20c92483a48c142ac448a3ba35b/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009211707140.922935962677-f7130da7339af20c92483a48c142ac448a3ba35b/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009211825540.80668711662292-163c87926951d7ce1a0fb4ae8b3f9fc365b7fab0/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009211857440.35219192504883-163c87926951d7ce1a0fb4ae8b3f9fc365b7fab0/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009211924230.64545893669128-163c87926951d7ce1a0fb4ae8b3f9fc365b7fab0/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009220806310.036365032196045-163c87926951d7ce1a0fb4ae8b3f9fc365b7fab0/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009220810200.57993793487549-163c87926951d7ce1a0fb4ae8b3f9fc365b7fab0/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/582-202009221910350.57456588745117-163c87926951d7ce1a0fb4ae8b3f9fc365b7fab0/.


Access generated mutations (generateMutationSetters: true) from module instance

Is there a way to use auto-generated mutations (with generateMutationSetters: true option) from the module instance? In Vue component for example?
const userModule = new UserModule({ store, name: "user" });

userModule.firstName = value;

// OR

userModule.set__firstName(value)

Or they have to be explicitly defined in this case?

Yes, I think this should exactly like you say.
Similar to the automatically generated getters.
Did you have any problems with it?

Hi Bodo, so you are saying that in Vue component I can import module instance and do userModule.firstName = value; to modify the state?
The thing is that it looks like I am directly modifying the state bypassing mutation which contradicts with the Vuex pattern where the state should only be changed inside mutations.
Or I am getting it wrong and userModule.firstName = value; calls generated mutation on the background?

userModule.firstName = value; is indeed calling the generated set__firstName mutation on the background. Super cool!
Thank you!


Joining cluster reports "error fetching signed node certificate"

I follow the README to build a cluster, but encounter errors while joining the cluster:
# swarmd -d /tmp/node-2 --hostname node-2 --join-addr xxx.xxx.xxx.xxx:4242 --log-level debug
Warning: Specifying a valid address with --listen-remote-api may be necessary for other managers to reach this one.
DEBU[0000] no valid local CA certificate found: local root CA certificate does not exist
DEBU[0000] downloaded remote CA certificate.
DEBU[0000] no valid local TLS credentials found: open /tmp/node-2/certificates/swarm-node.crt: no such file or directory
WARN[0000] error fetching signed node certificate: rpc error: code = 3 desc = A valid join token is necessary to join this cluster
WARN[0000] error fetching signed node certificate: rpc error: code = 3 desc = A valid join token is necessary to join this cluster
WARN[0000] error fetching signed node certificate: rpc error: code = 3 desc = A valid join token is necessary to join this cluster
WARN[0000] error fetching signed node certificate: rpc error: code = 3 desc = A valid join token is necessary to join this cluster
WARN[0000] error fetching signed node certificate: rpc error: code = 3 desc = A valid join token is necessary to join this cluster
Error: rpc error: code = 3 desc = A valid join token is necessary to join this cluster
FATA[0000] rpc error: code = 3 desc = A valid join token is necessary to join this cluster

I find bsloan666 meet the same issue. Could anyone help to give comments on this issue? Thanks very much in advance!

We need to update the readme to cover the latest changes to the node joining workflow.
You need to pass a --join-token flag to swarmd when you join a cluster. You can use swarmctl cluster inspect default to find the correct token to use.
This is a bit more seamless when using Docker 1.12 release candidates (docker swarm init / docker swarm join). swarmd and swarmctl are meant as examples for swarmkit development, so we don't give the documentation and UI the same level of attention.


KAFKA-8993: EOS perf test framework

Adapted from ProducerPerformance framework to test EOS application performance in a consume-process-produce loop.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Fixing the last nit comments from Chirs, while noting that we got 2/3 green builds already with jdk 8 as a flaky test.

My suggestion would be to move the new perf test code to the streams-perf repo for now. We need to do some adapting to the perf test tools anyway, and this also allows us to iterate more quickly, not break existing uses, etc.

My suggestion would be to move the new perf test code to the streams-perf repo for now. We need to do some adapting to the perf test tools anyway, and this also allows us to iterate more quickly, not break existing uses, etc.

Sounds good to me.

I would say we should attempt to merge at this point in parallel, as having a diverged codebase later on is hard to backport. We also don't want to maintain a stream perf repo which is completely out-of-sync and hard for other community folks to reproduce the test result we have, if they want to test on their end as well. If community couldn't reproduce, there is no point of maintaining this codepath in AK as well, since we are speaking different language from people outside of streams perf. From my past experience, diverged codebase is very hard to be maintained.

I'm fine merging all of the perf testing work we're doing back to AK after it has stabilized. In the short term trying to do this work in AK is going to slow things down significantly. Given the change in scope of the test tool, I think it is reasonable for them to diverge, which ProducerPerformance remaining as is, with a much narrower scope.

I don't think there is a huge amount of work to merge this PR. For example we just need to change the reference in producer_performance.py to let it adapt to the new interface, and `kafka-producer-perf-test. These combined shouldn't take more than one hour to finish. I will definitely prioritize the merging with perf test tool also, while in the meantime trying to make these changes verified as well.

Closing this stale PR due to inactivity.


Links on the documentation page are not working

[Enter feedback here]
Links on the documentation page are not working

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

ID: 95bfb99a-cdf3-2d32-7c9c-b6517e4716d5
Version Independent ID: 95bfb99a-cdf3-2d32-7c9c-b6517e4716d5
Content: Configuration and data deployment in pipelines - Power Platform
Content Source: power-platform/guidance/coe/setup-almacceleratorpowerplatform-deployment-config.md
Service: power-platform
Sub-service: guidance
GitHub Login: @jenschristianschroder
Microsoft Alias: jeschro

Thanks for your comment, @KodulkarNilesh. This issue has been assigned to the doc author for review.

Hi @KodulkarNilesh,
Thank you for reporting this. We will fix these links as part of our next docs update.
In the meantime, you can find the referenced files here:

deploymentSettings.json: https://github.com/microsoft/coe-starter-kit/blob/main/CenterofExcellenceALMAccelerator/config/deploymentSettings.json
customDeploymentSettings.json: https://github.com/microsoft/coe-starter-kit/blob/main/CenterofExcellenceALMAccelerator/config/customDeploymentSettings.json


clean up example a smidge

Very minor changes...

Remove Xplat Client ID since it is treated differently than other client ids

Pull "Resource" up so it's easy to test different audience URLs.

Make forcibly refreshing the token optional

CC @ahmetalpbalkan

lgtm

Thanks; merged.


2022.04.0 base

Related: codewars/runner#189
A proof of concept that uses the Coq Platform scripts to install the base package set for 2022.04.0:

Coq 8.15.1 only + coq_codewars
Base image is now Ubuntu Jammy (slightly larger; way fewer headaches :wink: )
Final size: 2.08 GB
Passing and failing examples now use CWAssert in coq_codewars for unit tests
bin/run now accepts CONTAINER_ENGINE variable to specify container engine (default: docker). This is because I use Podman myself for development so the original bin/run doesn't work for me

I haven't installed the libraries from 8.12 yet (Equations, mathcomp) because I don't intend this to be the version we release on Codewars. If this proof of concept looks fine, I'd like to install the full package set which includes Equations, mathcomp and many other open-source libraries, which could greatly increase the variety of Coq Kata we can author on Codewars.

Deprecating in favor of #2


Implement .sym and .nosym

... to selectively suppress the output of symbols in the symbol table.

implemented by 1b32877.


tests: Prevent installation of test plugin binaries

Test plugin binaries were inadvertently installed along with the mptcpd binaries.  This was caused by the attempt to get test plugins to be built as actual Libtool modules rather than Libtool convenience
libraries when listing test plugins under the Automake check_LTLIBRARIES variable.  Test plugins were built and installed locally under the tests subdirectory, but the base install directory could be overridden with the DESTDIR make variable, ultimately forcing test plugin binaries to be installed outside of the mptcpd tests directory.
The fix involved listing the plugins under the check_LTLIBRARIES  Automake variable, and forcing Libtool to generate modules instead of convenience libraries by adding a "-rpath" option to the linker flags.  Test plugins sources were then moved to appropriately named test subdirectories to make the plugin test less brittle, and more easily understood.  A side benefit is that test plugins are now only built if the tests themselves are built via "make check" or "make distcheck".
Fixes #72.

Cleanup looks fine too


feat(intersection): switch default/occlusion_first_stop when occlusion appeared/disappeared or approved/disapproved (#3664)

Description
https://github.com/autowarefoundation/autoware.universe/pull/3664 と同一の内容
intersection/intersection_occlusionをmanualにすると"intersection"を承認してもまた非承認に戻されてしまう，という問題があったのを解決した．それに伴ってintersectionモジュールが持つuuidの個数が3個から2個に減ったが，RTCのinterfaceとしては透過的であり操作面での変更はない．
こちらのバージョンのFOAを使用して動作確認を行った．
https://github.com/tier4/FieldOperatorApplication/pull/590
Related links

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Codecov Report
Patch coverage: 19.40% and project coverage change: +10.38 :tada:

Comparison is base (63ca797) 3.44% compared to head (32529e7) 13.83%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@               Coverage Diff                @@
##           beta/v0.8.0     #442       +/-   ##
================================================
+ Coverage         3.44%   13.83%   +10.38%
================================================
  Files               99     1395     +1296
  Lines             7485    97956    +90471
  Branches          4099    29092    +24993
================================================
+ Hits               258    13551    +13293
- Misses            7033    69756    +62723
- Partials           194    14649    +14455

Flag
Coverage Δ

*Carryforward flag

differential
3.45% <ø> (+<0.01%)
:arrow_up:

total
13.83% <19.40%> (?)

Carriedforward from 6dafaf4

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

...nterface/include/osqp_interface/osqp_interface.hpp
0.00% <ø> (ø)

common/osqp_interface/src/csc_matrix_conv.cpp
66.03% <ø> (ø)

...ommon/osqp_interface/test/test_csc_matrix_conv.cpp
9.70% <ø> (ø)

common/osqp_interface/test/test_osqp_interface.cpp
15.00% <ø> (ø)

...rviz_plugin/src/pose_history_footprint/display.cpp
0.00% <ø> (ø)

...ier4_planning_rviz_plugin/include/path/display.hpp
0.00% <ø> (ø)

...planning_rviz_plugin/include/path/display_base.hpp
0.00% <ø> (ø)

...on/tier4_planning_rviz_plugin/src/path/display.cpp
0.00% <0.00%> (ø)

...viz_plugin/src/velocity_steering_factors_panel.cpp
0.00% <0.00%> (ø)

...ht_rviz_plugin/src/traffic_light_publish_panel.cpp
0.00% <0.00%> (ø)

... and 54 more

... and 1237 files with indirect coverage changes

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


Add Indian rupee

I added some keys to currency/constants.js to support the Indian rupee.

[x] Map against the country (CURRENCY_BY_COUNTRY)
[ ] Recognize synonyms (SYNONIMS)
[x] Add the display symbol (DISPLAY_NAMES)

One problem I ran into, is that synonyms work for the plain text values rs and rupee*, but not for the currency symbol ₹. Typing e.g. 47 ₹ or 21 $ in ₹ doesn't do anything. Any ideas?

This problem you are mentioning is also reproducible for other currencies. In fact, only 3 currencies will be recognized by the symbol: $, € and £. If you confirm that 20 ₽ or 20 ₣ also do nothing for you, I think you should be allowed to merge your pull request and track this as a separate issue.

@maximbaz Thanks, you're right. I tried ₽ and ₣. Didn't work. Shall I raise a separate issue?

@dar5hak thanks!


Better  behaviour for interval lower than base

For now it's constant, but it's not really what you'd expect, find something more intuitive

This is resolved by forbidding intervals lower than base.


Helm charts for deployments

Describe the task
Helm charts are layer of abstraction on top of OCP/k8s yaml templates.
Acceptance Criteria

[x] Answer: are we using helm charts?

SME/User Contact
(may want to use a persona to fill this in)
Additional context

Will still need to write OCP/k8s

Answer: No.  Does not add value to our deployment setup.


Spider pitt city planning

Created a working spider for Pittsburgh City Planning hearings and notices: http://pittsburghpa.gov/dcp/notices.

Fixed formatting issues that were causing YAPF to fail in latest push

@bonfirefan want me to take a look at this? Not sure if that was intentional

Sorry, I requested a review in error

This is a ping to all! See if you can enable edits from maintainers!
Enable edits from maintainers!:

In the the right sidebar of your pull request, select Allow edits from maintainers. You can change these permissions at any time by unselecting this option.


docs: fix amazon_ecr_credential_helper typo in runner_install variable description

Description
Update variable description for runner_install to match the expected variable for amazon_ecr_credential_helper
Migrations required
No
Verification
n/a

Thanks for fixing the wrong description.


generate a list of paid & enrolled legacy users to upgrade automatically

As a legacy MicroMasters user who:

Is enrolled in a current MITx Online course (3T2022 or 1T2023)
has paid
has not used all my exam attempts ,

I need to be enrolled in the verified track of my course(s).
As a CS teammember, I'd like to be able to confirm for specific users that contact CS that this will happen.
Acceptance Criteria:

[ ] generate a list of users (emails) and course runs that should be upgraded
[ ] write a management command or similar for enrolling these users in their courses as verified
[ ] since users can enroll, and users can pay, between now and the launch of ecommerce, we will need to be able to run this more than once.
[ ] Since these users have paid on micromasters, and AR/Finance has already accounted for their payments, no special tracking is required.

Related issues

[ ] test importing of grades into open edX
[ ] #961

@pdpinch Is the first checkbox, generating the list of users that satisfy all 3 points above must be generated as result of a management command on micromasters? I might have missed this but I don't believe we have any representation of users exam attempts in mitxonline.

It doesn't matter to me where we run it. I think @rhysyngsun agrees with you that it needs to be run on micromasters.
Do note though, that I think there's an edge case with how we calculate exam authorizations on micromasters, https://github.com/mitodl/micromasters/issues/5219

We can write a management command in micromasters to

find everyone who is authorized for the exam
upgrade learners with an existing enrollment in mitxonline to verified

While we're doing this, we should also capture a list of all the users who are authorized but have not enrolled, which can be used as an input to #

@pdpinch latter proposed condition is going to give very different result, then the original request on the issue. The second approach, does not involve any current enrollment information. Is that what we want?

Sorry to distract. I was thinking that the two lists were opposites of each other, and therefor easy to create at the same time. If that's not the case you can ignore for now and we'll have a follow-up for #961.


Cannot use class or style properties in DataTable with typescript

When I add class or style properties in DataTable (and some others components) with typescript, I got error:
Type '{ headers: { key: string; value: string; }[]; rows: ClientDetalii[]; class: string; }' is not assignable to type 'IntrinsicAttributes & DataTableProps'.
  Property 'class' does not exist on type 'IntrinsicAttributes & DataTableProps'

Also I can not add id property. Thus, I cannot customize the display of the table. For example, its width

Besides the DataTable, what are the other components?

I am at a loss to answer. I checked my small pet- project and it seems like the typescript is swearing nowhere. But I remember that somewhere styles or class were ignored. Sorry for my (google translate) English.


Parametric Domain

Issues from parametric_domain.md

[x] 1) parametric_domain is not used for running/reproducing a bco e.g. not used by execution_domain
[x] 2)  the parameters exposed are NOT default values.
[x] 3) automatically generated
[x] 4) human readable
[x] 5) Value HAS to be resolved before being populated (elaborate on this @mazumder)
[x] 6) Defined as:

"parametric_domain": [
    {"param": "name_of_parameter", "value": "value_of_parameter", "step": "step#"},
    {"param": "name_of_parameter", "value": "value_of_parameter", "step": "step#"}
]

Fixed.
https://github.com/biocompute-objects/BCO_Specification/commit/b19617cbaa20cd3ac026b7a0a29cfb560ab9f95f


Update README

Alexis asked us to update the README to

Remove the availability warning
Focus on telling people how to build
Direct people to the Weave Cloud website for more information
Move language away from replacement Prometheus and toward how it relates to Prometheus community/ecosystem

This PR makes those changes.
Anita, I welcome feedback from you, especially wrt how this relates to the rest of our documentation architecture.
Aaron, I'm particularly keen to make sure that this ties in with the onboarding work you're doing. i.e. that people who come to this GitHub page, think "I want to use Cortex with Weave Cloud", and follow the cloud.weave.works link will be given enough information to actually begin using cortex on Weave Cloud.

Thanks for the feedback @abuehrle. Updates applied. PTAL.


More

Nice little mod, but, how about adding doors made of bars (prison/jail doors) and/or doors with barred windows and maybe some compat with other mods metals.
Thanks for taking the time to make the mod and hopefully expand upon it.

Thanks for the idea. I will probably look into it and add those features, I've planned to add support for other mods metals for some time now, just couldn't decide what mods.
I'm glad you like the mod!


MetroUI script fails in Edge (but only when editting files offline)

Hi,
currently, the script is not properly loading in Edge.
I narrowed down the issue to: Metro-UI-CSS/js/utils/storage.js
Apparently, in Edge, window.Storage is some native thingy that cannot be overriden, and boom, the script fails to load once reached that point. A simple workaround would be to use another variable name than Storage.

Metro 4 does not override window.storage

https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8816771/

Soon Edge will switch to Chromium and all problems will be solved :)


Suppress NPM vulnerabilities

At the moment NPM vulnerabilities cannot (always) be suppressed, as they don't mention a cpe, cve or cwe. Please provide a way in which they can be suppressed, e.g. using the NPM vulnerability.
An example of a vulnerability I want to suppress is:
<vulnerabilities>
	<vulnerability source="NPM">
		<name>786</name>
		<cvssScore>0.0</cvssScore>
		<cvssAccessVector></cvssAccessVector>
		<cvssAccessComplexity></cvssAccessComplexity>
		<cvssAuthenticationr></cvssAuthenticationr>
		<cvssConfidentialImpact></cvssConfidentialImpact>
		<cvssIntegrityImpact></cvssIntegrityImpact>
		<cvssAvailabilityImpact></cvssAvailabilityImpact>
		<severity>Low</severity>
		<description>Version of `braces` prior to 2.3.1 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application
			to be unresponsive leading to Denial of Service.
		</description>
		<references>
			<reference>
				<source>NPM</source>
				<url>- [GitHub Commit](https://github.com/micromatch/braces/commit/abdafb0cae1e0c00f184abbadc692f4eaa98f451)</url>
				<name>Advisory 786: Regular Expression Denial of Service</name>
			</reference>
		</references>
		<vulnerableSoftware>
			<software>braces:<2.3.1</software>
		</vulnerableSoftware>
	</vulnerability>
</vulnerabilities>

Duplicate of #892


install error

Hi,
I tried to install bamtools, however when I tried to make, it reported error as followed:
###################
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::ReadNamesFileReader::Read(std::map<std::__cxx11::basic_string, ReadGroupResolver>&)’:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:413:74: error: no matching function for call to ‘make_pair<std::__cxx11::string, bool>(__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type&, bool)’
resolver.ReadNames.insert( make_pair<string,bool>(fields[1], true) ) ;
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/string:40,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_tool.h:14,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.h:13,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:524:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:524:5: note:   template argument deduction/substitution failed:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:413:74: note:   cannot convert ‘fields.std::vector<std::__cxx11::basic_string >::operator’ (type ‘__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type {aka std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
resolver.ReadNames.insert( make_pair<string,bool>(fields[1], true) ) ;
^
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::StatsFileReader::ParseReadGroupLine(const string&, std::map<std::__cxx11::basic_string, ReadGroupResolver>&)’:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:610:75: error: no matching function for call to ‘make_pair<std::__cxx11::string, ReadGroupResolver>(const string&, ReadGroupResolver&)’
readGroups.insert( make_pair<string, ReadGroupResolver>(name, resolver) );
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/string:40,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_tool.h:14,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.h:13,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:524:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:524:5: note:   template argument deduction/substitution failed:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:610:61: note:   cannot convert ‘name’ (type ‘const string {aka const std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
readGroups.insert( make_pair<string, ReadGroupResolver>(name, resolver) );
^~~~
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::ResolveToolPrivate::MakeStats()’:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:1017:93: error: no matching function for call to ‘make_pair<std::__cxx11::string, bool>(std::__cxx11::string&, const bool&)’
else resolver.ReadNames.insert( make_pair<string, bool>(al.Name, isCurrentMateUnique) );
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/string:40,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_tool.h:14,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.h:13,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:524:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:524:5: note:   template argument deduction/substitution failed:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:1017:68: note:   cannot convert ‘al.BamTools::BamAlignment::Name’ (type  std::__cxx11::string {aka std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
else resolver.ReadNames.insert( make_pair<string, bool>(al.Name, isCurrentMateUnique) );
~^~
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp: In member function ‘void BamTools::ResolveTool::ResolveToolPrivate::ParseHeader(const BamTools::SamHeader&)’:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:1049:93: error: no matching function for call to ‘make_pair<std::__cxx11::string, ReadGroupResolver>(const string&, ReadGroupResolver)’
m_readGroups.insert( make_pair<string, ReadGroupResolver>(rg.ID, ReadGroupResolver()) );
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/string:40,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_tool.h:14,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.h:13,
from /home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:524:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:524:5: note:   template argument deduction/substitution failed:
/home/dell/softwares/tools/Hi-C/bamtools-2.4.0/src/toolkit/bamtools_resolve.cpp:1049:70: note:   cannot convert ‘rg.BamTools::SamReadGroup::ID’ (type ‘const string {aka const std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
m_readGroups.insert( make_pair<string, ReadGroupResolver>(rg.ID, ReadGroupResolver()) );
~~~^~
make[2]: *** [src/toolkit/CMakeFiles/bamtools_cmd.dir/build.make:186: src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:506: src/toolkit/CMakeFiles/bamtools_cmd.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
######################
Could you give me a hand?
Thanks!

which compiler is this? It looks like GCC 7. Is this on RHEL or something?

The line of code references in your output has been changed in commit https://github.com/pezmaster31/bamtools/commit/01c5637e90a1dc4a70a137efcfc901333f204a42, which is more than 3.5 years ago. Why are you trying to compile a release from over 6 years? I'm closing this, reopen it once you can reproduce this issue on the latest release.


Run on PC and Apk file to run offline from phone

Hi! Cool project :)
Please, explain, can i run it in offline mode from my Android device to send files without visiting website qrss.netlify.app/ ? And also how to run it on PC without internet? ("npm install" and "npm run dev" does not work)
If yes, how? Or maybe it possible to develop apk application to use on phone?
Thank you!

Using PWA technology, the web terminal can be used in an offline environment. for the CLI version, you can slso install it in advance and use it offline.
If you prefer APK, you can encapsulate one.

Using PWA technology, the website can be used in an offline environment. for the CLI version, you can slso install it in advance and use it offline.
If you prefer APK, you can encapsulate one.

Okay, i made it works from phone by PWA, but it only works on streaming QR's...
So means - if i stream QR's on PC screen and capture them by phone it get 100% (all blocks green) but no download or anything else happens
Also, i don't get how to run it on PC without beeing on website online. I'm a daily user and may i ask instructions step by step? Thanks

I'm a daily user and may i ask instructions step by step?

This is an open-source project, and I welcome collaboration to improve it.
However, my time is limited. so I‘m sorry, I have no obligation to provide such services for free.

i don't get how to run it on PC without beeing on website online.

You can use the QiFi CLI to do this

So means - if i stream QR's on PC screen and capture them by phone it get 100% (all blocks green) but no download or anything else happens

I think there may have a bug. if you know how to fix it, you are welcome to try it and submit a PR. or create a new detailed Issue that can be reproduced.

Okay i made it works for both PC and Android in offline mode in both directions :) How can i contribute all of that to here? Thanks

Using PWA technology, the website can be used in an offline environment. for the CLI version, you can slso install it in advance and use it offline.
If you prefer APK, you can encapsulate one.

Okay, i made it works from phone by PWA, but it only works on streaming QR's... So means - if i stream QR's on PC screen and capture them by phone it get 100% (all blocks green) but no download or anything else happens
Also, i don't get how to run it on PC without beeing on website online. I'm a daily user and may i ask instructions step by step? Thanks

sudo npm install -g pnpm
git clone https://github.com/qifi-dev/qrs.git
cd qrs
pnpm install
pnpm build
node .output/server/index.mjs
Visti <IP_ADDRESS>:3000 in your browser.

Using PWA technology, the website can be used in an offline environment. for the CLI version, you can slso install it in advance and use it offline.
If you prefer APK, you can encapsulate one.

Okay, i made it works from phone by PWA, but it only works on streaming QR's... So means - if i stream QR's on PC screen and capture them by phone it get 100% (all blocks green) but no download or anything else happens
Also, i don't get how to run it on PC without beeing on website online. I'm a daily user and may i ask instructions step by step? Thanks

sudo npm install -g pnpm git clone https://github.com/qifi-dev/qrs.git cd qrs pnpm install pnpm build node .output/server/index.mjs
Visti <IP_ADDRESS>:3000 in your browser.

Thank you very very much! It's exactly what i mean :)
Would be cool for author's to add it to release "Readme.md" file
P.S. How can i share\contribute my HTML file to this project? So anyone can download it and it works universal for any platform PC\Phone :)

Using PWA technology, the website can be used in an offline environment. for the CLI version, you can slso install it in advance and use it offline.
If you prefer APK, you can encapsulate one.

Okay, i made it works from phone by PWA, but it only works on streaming QR's... So means - if i stream QR's on PC screen and capture them by phone it get 100% (all blocks green) but no download or anything else happens
Also, i don't get how to run it on PC without beeing on website online. I'm a daily user and may i ask instructions step by step? Thanks

sudo npm install -g pnpm git clone https://github.com/qifi-dev/qrs.git cd qrs pnpm install pnpm build node .output/server/index.mjs
Visti <IP_ADDRESS>:3000 in your browser.

Thank you very very much! It's exactly what i mean :)
Would be cool for author's to add it to release "Readme.md" file
P.S. How can i share\contribute my HTML file to this project? So anyone can download it and it works universal for any platform PC\Phone :)

You can put the files in ..output\public into a html server.

Would be cool for author's to add it to release "Readme.md" file

Welcome to add it to README file

Thanks i will do both ;)


Upgrade guide missing for 4 to 5

http://docs.simplebus.io/en/latest/Symfony/upgrade-guide.html
I don’t see anything for 4-5, can I just upgrade if we run php 7.1 and symfony 3.4?

https://github.com/SimpleBus/SymfonyBridge/releases/tag/v5.4.0


Option to preserve page labels when merging

I often have to reorder pages from the same document, but pages labels aren't preserved. The manual does document this deficiency and states a future version might correct this, but no ticket previously existed to track the issue.

Thanks for creating the ticket. There are several other tickets around similar issues. I'm going to create a new label for this and tag the related issues with it as well. There's a chance (no promises) that I may get to it this summer in conjunction with some closely related work.

I have very similar issue, albeit when extracting subsets of pages. To reproduce the issue, take the PDF file generated from the following LaTeX code:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\pagenumbering{roman}
This is page i
\clearpage
This is page ii
\clearpage
\pagenumbering{arabic}
This is page 1
\clearpage
This is page 2
\end{document}

To generate the PDF file, run pdflatex page-numbers.tex. The four pages of the PDF file are labeled/numbered i, ii, 1, and 2. Let's extract the first and the last page:
qpdf page-numbers.pdf  --pages page-numbers.pdf 1,4 -- page-numbers-selection.pdf

The resulting PDF file contains indeed the first and last page, but the last page's label is now ii instead of 2.

Yup, thanks for the example. I can use this in testing once the feature is implemented.

This is fixed on master and will be included in qpdf 8.3.0, which should be out by the end of this week.


RuntimeError: shape mismatch: value tensor of shape [28] cannot be broadcast to indexing result of shape [0]

I tried to run the code of Molecule Generation in the Tutorials.
from torchdrug import datasets, core, models, tasks
from torch import optim

dataset = datasets.ZINC250k("~/molecule-datasets/", kekulize=True,
                            node_feature="symbol")
model = models.RGCN(input_dim=dataset.node_feature_dim,
                    num_relation=dataset.num_bond_type,
                    hidden_dims=[256, 256, 256, 256], batch_norm=False)
task = tasks.GCPNGeneration(model, dataset.atom_types, max_edge_unroll=12,
                            max_node=38, criterion="nll")
optimizer = optim.Adam(task.parameters(), lr = 1e-3)
solver = core.Engine(task, dataset, None, None, optimizer,
                     gpus=(0,), batch_size=128, log_interval=10)
solver.train(num_epoch=1)
solver.save("gcpn_zinc250k_1epoch.pkl")
results = task.generate(num_sample=32, max_resample=5)

And I got the error.
Traceback (most recent call last):
  File "./test.py", line 18, in <module>
    results = task.generate(num_sample=32, max_resample=5)
  File "/home/foo/opt/anaconda3/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad                     return func(*args, **kwargs)
  File "/home/foo/opt/anaconda3/lib/python3.7/site-packages/torchdrug-0.1.0-py3.7.egg/torchdrug/tasks/generation.py", line 1369, in generate
    new_graph = self._apply_action(graph, off_policy, max_resample, verbose=1)
  File "/home/foo/opt/anaconda3/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad
    return func(*args, **kwargs)
  File "/home/foo/opt/anaconda3/lib/python3.7/site-packages/torchdrug-0.1.0-py3.7.egg/torchdrug/tasks/generation.py", line 1248, in _apply_action
    bond_type[is_modified_edge] = edge_action[has_modified_edge]
RuntimeError: shape mismatch: value tensor of shape [28] cannot be broadcast to indexing result of shape [0]

My environment : torch==1.4.0 ,python==3.7.4, rdkit==2020.03.3
Thanks.

Hi,
I try out the same code for molecule generation (GCPN model) on Google colab (Click me), and it seems everything works well.
I notice that the error is caused by line 1248 in torchdrug/tasks/generation.py, and the line number is different from our official codes. https://github.com/DeepGraphLearning/torchdrug/blob/6151fa9c742ae1cdeb931ce7ce8e1b2a9a08081d/torchdrug/tasks/generation.py#L1248
Did you modify these codes? Can you provide your generation.py codes?

Upgrading PyTorch from 1.4 to 1.5 has made the code work fine.
Thanks.


Multi-GPU use different amounts of memory in DDP with LoRA

Hi, thanks for this awesome project! I am playing the fine-tune LLM with LoRA. I am running this script and wrap it with PEFT to do LoRA fine-tune. I am running with 2 A100 80GB. Without LoRA, each process uses 34.5GB GPU memory for DDP. With LoRA, the single GPU uses around 26.5GB GPU memory. However, when enabling DDP with LoRA, the second process uses 46GB memory. I am curious why it uses 20GB more. I tried to reinstall the env but got the same results

It is weird and then I test the same script on 2 A40 48GB and surprisingly both processes use 26.5GB. Then I tried to increase the batch size to make GPU can just fit one model, and here is the results:

The two processes use the similar amount of GPU memory again. So I am just curious if it is a feature to store something to accelerate when there is enough memory left(can I disable this feature?) or it is just because I did something wrong. The complete training script and results are here

i meet the same issus

I also meet this issue，does anyone have any idea?

i meet the same issus

@yezhengmao1 For us to investigate, it would be great if you can provide code to reproduce the issue.


executeRaw case sensitivity issue

mutation {   executeRaw(     database: default,     query: "SELECT * FROM Receipt"   ) }
I getting an error  ERROR: relation "receipt" does not exist\n  Position: 15
cause table name is actually "Receipt" and not "receipt"
mutation {   executeRaw(     database: default,     query: "SELECT * FROM \"Receipt\""   ) }
also didn't help.

Hi @jleed ,
thanks for reaching out to us and reporting this bug! Can you please follow our bug template and provide the missing pieces? This way we have unfortunately no fix this bug. We need reproduction steps so we can look into it, e.g. what connector are you using?


hw.device-type: Add SolidSense N6G device

Change-type: patch
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@balena-ci I self-certify!


Reject instantiating RefCounted with interface types

Issue noticed in this thread.
For the purposes of forward-compatibility, RefCounted has rejected classes because it is intended that in the future RefCounted!SomeClass reference-counts the actual instance and not just a class reference. Once implemented, interfaces should be handled in a similar way.
It is my intention to work on class support for RefCounted, but in case the status quo continues for a long time, we have to reject interfaces as well.

If RefCounted does not accept classes, then it accepting interfaces is a bug. Merging.


Added andMap

andMap is useful for constructing a mapN of arbitrary size.
(andMap is becoming the standard name for the Applicative version of ap in Haskell. It's also how I would pronounce the (~) operator, since (<~) is map. )

That was fast. Faster than I found out that I forgot to add the function to the export list =\

Thanks! 2.2.0. Yeah that catches me on almost every PR I get on the extras :)

PS @evancz a dead code warning would help (but not a big deal, I can live without it)

That's on the wishlist actually ;)

:+1:


Link for Azure Disk Encryption for Windows points to Linux documentation

Under https://learn.microsoft.com/en-us/azure/security/fundamentals/encryption-overview#azure-disk-encryption
the link to the "Azure Disk Encryption for Windows VMs" points to the Linux documentation (https://learn.microsoft.com/en-us/azure/virtual-machines/linux/disk-encryption-overview)

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

ID: 16c7901b-497c-38bd-3615-defab17b572b
Version Independent ID: 9855d796-3469-8be5-c9a7-75516d9b8856
Content: Azure encryption overview
Content Source: articles/security/fundamentals/encryption-overview.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@atombravo
Thanks for your feedback! We will investigate and update as appropriate.