Some Binary Assets included before v.1.1.0 do not include in the release tags, v1.2.0 and v1.2.1.

Expected Behavior

Expected v1.2.0 and v1.2.1 release tags include binary Assets:

wrench_darwin_amd64
wrench_darwin_arm64
wrench_linux_amd64
wrench_linux_arm64

Allow developers to download such binary Assets directly.
Current Behavior

Not included Binary Assets of the recent release tags, v1.2.0 and v1.2.1.  Only source files are available to download as release tag Assets.
https://github.com/cloudspannerecosystem/wrench/releases/tag/v1.2.0
https://github.com/cloudspannerecosystem/wrench/releases/tag/v1.2.1
Steps to Reproduce

RUN curl -L https://github.com/cloudspannerecosystem/wrench/releases/download/v1.2.0/wrench_linux_amd64 -o ./wrench  && chmod +x ./wrench in the container  didn't work because the Assets of release tag didn't include such the binary wrench_linux_amd64.

Context (Environment)

wrench version: v1.2.0 and v1.2.1

Fixed it at https://github.com/cloudspannerecosystem/wrench/releases/tag/v1.3.0


Feature request - SOCKS/HTTP proxy support & request/response content injection

First off, I would like to thank you for starting such a great project, there is nothing quite like it out there. I have some feature suggestions that could be a bit out of the scope of this project, but I feel they would be worthy additions.
My first request would be the inclusion of support for SOCKS/HTTP proxies, some services like Gmail, Outlook, etc. are particularly suspicious about users whenever they log on from a far different IP/Geographical location than the usual, and they greet the user with a token/identity request and/or geolocation information, which may raise some red flags. It could be extended to the point where you only supply a list of proxies, and evilginx2 automatically uses the most appropriate one based on similarity of the target's IP.
The second request would be some sort of scripting/injection feature that enables users to modify the proxied response body on the fly, depending on an URL or regex pattern. I think this would be useful to customize your phishing project even further, in case you need to show a message or inject javascript/html in the depths of a phished website's section (e.g. when a user is viewing an email message in outlook.com or changing his preferences), rather than focusing mostly on performing MITM for the login process.
Thanks,  I apologize if these features are out of the scope of the project, but I think they would be great!

Hey! Thanks for really good suggestions!
I plan to keep Evilginx not too attacker friendly and want to keep it at level of being a proof-of-concept to only show the flaws of 2FA. Proxy feature will make it weaponized for real attacks, so I doubt I will be implementing this.
As for JS injection this is a very good idea and I was thinking about it. For sure I will add it to the list. It would allow for additional deception regarding pages requesting U2F authorization.

I have the same idea, my first though was trying to learn go lang and build a custom version of evilginx2.


Compilation fails on 4.07.0

The compilation fails because Ocaml does not anymore treat bytes and string the same. The error message is:
/home/ayrat/.opam/4.07.0/bin/ocamlopt.opt -c -w @P@U@F -annot -bin-annot -thread -color always -I utils -I testgen -I invgen -I induction -I ic3 -I qe -I smt -I c2i -I terms -I certif -I lustre -I doc -o utils/lib.cmx utils/lib.ml
File "utils/lib.ml", line 1:
Error: The implementation utils/lib.ml
       does not match the interface utils/lib.cmi:
       Values do not match:
         val string_starts_with : bytes -> bytes -> bool
       is not included in
         val string_starts_with : string -> string -> bool
       File "utils/lib.mli", line 64, characters 0-49: Expected declaration
       File "utils/lib.ml", line 583, characters 4-22: Actual declaration

More details from ocaml docs:

The distinction between bytes and string was introduced in OCaml 4.02, and the "unsafe-string" compatibility mode was the default until OCaml 4.05. Starting with 4.06, the compatibility mode is opt-in; we intend to remove the option in the future.

The problem is fixed in the develop branch. Please use that version.


Add NCCL v2.4 support to docs

LGTM

@beam2d This pull-request is marked as to-be-backported, but the corresponding backport PR could not be found. Could you check?


Send out notification on changed property.

It seems like this was missing.

The C++ implementation example has calls the notify function in the write function:
    void setPriority(Priority priority)
    {
        m_priority = priority;
        emit priorityChanged(priority);
    }

In the documentation for NOTIFY it says: "The NOTIFY signal should only be emitted when the property has really been changed, to avoid bindings being unnecessarily re-evaluated in QML, for example. ". So what's also missing is a check to see if the value actually changed.

Is there something needed to get this merged?

@vandenoever from your comment:

In the documentation for NOTIFY it says: "The NOTIFY signal should only be emitted when the property has really been changed, to avoid bindings being unnecessarily re-evaluated in QML, for example. ". So what's also missing is a check to see if the value actually changed.

Closed by accident. Please reopen. The code now checks if the value was changed.

I would love to see this merged! I just got started porting some qml stuff I have from Go. I was confused for a long time why my property changes didn't work, and how I should communicate with my components if this wasn't possible. With this branch, this aspect of my code works great!

Still hope this gets merged at some point.

What's up with this PR @White-Oak ?


There is a green line to the left of the video

On iPhone 6s(iOS 14) there is two lines , let and bottom.

The cause of the problem is not yet known. It is under investigation.

@Mopiiex20 Fixed! please update to v0.3.1.


feat(frontend): BtcConvertTokenWizard component

Motivation
A wizard component for controlling the conversion flow.

@peterpeterparker ready for another look.


Favicon

One thing missing in the website interface is - a favicon. It can be "MyPetSpotlight" logo or any icon related to pets. It will enhance the website's visual appeal.

Good idea, would you like to work on that?

Good idea, would you like to work on that?

Yeah Sure. But what will be the icon ?

Good idea, would you like to work on that?

Yeah Sure. But what will be the icon ?


Shopping Cart

Thank you for the advanced tutorial.  I'm in between novice and advanced programmer so bare with me.  I am having an issue withChapter 2.  I don't know if this was done on purpose or its there for me to debug.
The issue is lines 67 and 136 of the first folder.  Assert.AreEqual("114.00€", totalSpan.Text);

95 Euros are expected is the error.  When I correct this the next test fails.  Any suggestions on how to fix this?

Yes, from 1-3 chapter, it is expected the tests to fail on random since they are flaky. In chapter 3, they should be more or less more stable. The tests till chapter 3 are depending on each other, which was the intent to show that this is a bad practice. I think I mentioned it somewhere, but I will take this as feedback, and in a future release, I will address it more clearly.

Thanks for the response.
You did address flaky but this is a new term and didn't stick right away.  I am starting to understand now as I debug.
Before I close this I wanted to say that I took this as a great way to debug the program.  For example.  I couldn't figure out why it wasn't picking the "orderNumber".  Since the page doesn't remain static the programmer would have to go into the code and swap out the old Xpath for a new one.
Thanks for your time.


Cross framework testing

Every component independent of framework (currently Angular & React) needs a comprehensive set of tests. Maybe, rather than writing cross framework components, we should focus on writing cross framework tests? Code reuse is still preferred over code duplication but with focus on shared tests, we wouldn't have to violate the coding principles of the frameworks to get anywhere.
Testing could be achieved in two steps:

State testing of a component given possible permutations. Basically every permutation documented in Chlorophyll can be tested to produce the same outerHTML.
Interaction testing of a component using basic selectors and interactions (focus, click, keypress etc) resulting in specific states.

The selectors for a specific components state and/or exposed value should also be shared to facilitate e2e testing in products using the components.

Not sure if this is relevant anymore due to migration to Green Core (Webcomponents). What would you say @splashdust?

@vsjolander Yes, I agree! We should focus on having comprehensive tests of the Web Components in Core instead.
Ideally something along these lines:
Unit tests (web test runner with Playwright)

API
Interactions
A11y

Visual regression testing

???

Integration tests

Standalone application

Angular, React, framework-less

Simulated shells

We have a pretty good setup for unit tests already, but the other areas are lacking.
But I think we can close this issue and open other more specific ones when we are ready to dig into this.


web server upgrade

Given the trimmed down scope of hyper v1, it's probably going to be just as much work, if not more, to upgrade to that vs any other server lib/framework.
Possibilities, alphabetical:

Actix Web

actix-http (lower level, similar to current hyper setup): https://github.com/deps-rs/deps.rs/pull/224
actix-web: TODO

Axum: TODO
Hyper v1
Leptos (full-stack)
Poem

Contributors, feel free to edit this post to add your ideas to the list.

My bias is obviously towards Actix Web but it's intersting being involved with a different flavored project to keep knowledge of "the other side" fresh.

I'm not sure why I locked this issue. Must've been a misclick, sorry. 😨
It is interesting that this project has used Hyper for the web server, which AFAIUI is more of a library than a framework, and has required the developers involved to do a lot more work from the ground up in order to have a fully functional server. I agree that we are better off with picking a more substantial web framework this time. Aside from hyper, I see no impediment to the use of any of the frameworks listed, they all seem capable of fulfilling our needs. I happen to only have some experience in Actix Web, but the other ones should not be too complicated to pick up either.
In terms of popularity, Axum has more total crate downloads (44.8M), followed by Actix Web (19.7M).
Given the isomorphic nature of Leptos, someone experienced with it could clarify if it would require us to rewrite the frontend, or just make way for other frontend niceties in the future.

In terms of popularity, Axum has more total crate downloads

FWIW, those numbers are skewed quite sigificantly by its default inclusion in tonic. If just the router was split to a separate crate you'd see a marked decrease.
I'm gonna spend some time today doing both conversions and we can see with PRs which is nicer for us.

using actix-http: https://github.com/deps-rs/deps.rs/pull/224

actix-http: https://github.com/deps-rs/deps.rs/pull/224
Actix Web: https://github.com/deps-rs/deps.rs/pull/229
axum (lite): https://github.com/deps-rs/deps.rs/pull/225
axum: https://github.com/deps-rs/deps.rs/pull/228

@contributors Would appreciate opinions on the above PRs.
Confirmed on Tokio's discord that axum (full) is the only variant here which doesn't properly support our current routing structure. We'd have to do manual path parsing for /repo/... routes.


Review request for Microsoft.HealthcareApis to add version stable/2022-12-01

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.

Target is early December.

When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.

Ideally ASAP, but also targeting early December

By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

MISSING_RESOURCE_ID - submitted a suppression for this, since I believe it is a false positive. All of these APIs have "id" in the response

Looking for an initial review on this before publishing the manifest

    },

I'd recommend a small refactoring here to inherit 'allOf' TrackedResource from $ref to commontypes/v2/ types.json#Definitions/TrackedResource

Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:2567 in b430238. [](commit_id = b430238debb16b60c926f193d37f081a587fa1c4, deletion_comment = False)

    },

I'd recommend a small refactoring here to instead inherit 'allOf' TrackedResource from $ref to commontypes/v2/ types.json#Definitions/TrackedResource

Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:2596 in b430238. [](commit_id = b430238debb16b60c926f193d37f081a587fa1c4, deletion_comment = False)

      }

I'd recommend a small refactoring here to instead use a $ref to an appropriate type from commontypes managedIdentity.json

Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:2627 in b430238. [](commit_id = b430238debb16b60c926f193d37f081a587fa1c4, deletion_comment = False)

}

Please refactor to $ref commontypes/v3/types.json#Parameters/ApiVersionParameter instead

Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:4212 in b430238. [](commit_id = b430238debb16b60c926f193d37f081a587fa1c4, deletion_comment = False)

},

If this is ARM region name where you get the long running operation result, please refactor to $ref commontypes/v3/types.json#Parameters/LocationParameter instead

Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:4137 in b430238. [](commit_id = b430238debb16b60c926f193d37f081a587fa1c4, deletion_comment = False)

},

Please refactor to $ref commontypes/v3/types.json#Parameters/SubscriptionIdParameter, ResourceGroupNameParameter, ApiVersionParameter or whatever they are called instead

Refers to: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2022-12-01/healthcare-apis.json:4129 in b430238. [](commit_id = b430238debb16b60c926f193d37f081a587fa1c4, deletion_comment = False)


[PDI - 14247] - Migrator imports wrong revision dates for jobs.

@rmansoor, @brosander here are commits for master (https://github.com/pentaho/pdi-ee-plugin/pull/280). Thanks.

@rmansoor, @brosander please review


pybits: init immserive mode for pybits

@rogeredthat and I were sitting together and reviewing this, ended up making small changes and then larger changes and fixing the reviews on this PR. If you haven't done much since the last review, you could take this PR lite. Thanks for working on this so far. It was a good starting point.


A Java programmer from China is willing to work without compensation.

I am a Java backend programmer from China, and I have lost my job. Now, I am looking for a coding job outside of China, and I don’t mind the salary. I am even willing to work for free. Additionally, I hope to improve my English communication skills. If you need my help, please contact me at<EMAIL_ADDRESS>I just want to find something to do; I love programming. If you have the patience to explain your work tasks to someone whose English is not good, I am willing to work for you without caring about payment.

Hello @Grey1024 ,
This is not the right place.
I think you can use the mailing list: https://groups.google.com/group/mybatis-user


fly_mission and fly_qgc_mission examples freezes on mission accepted

The future does not appear to be returning with mission uploaded.
hamish@hamish-ThinkPad-T470:~/github/dronecore/2test/DroneCore/example/fly_mission/build$ ./fly_mission udp://:14540
Waiting to discover system...
[04:48:15|Info ] New device on: <IP_ADDRESS>:14557 (udp_connection.cpp:208)
[04:48:15|Debug] New: System ID: 1 Comp ID: 1 (dronecore_impl.cpp:286)
[04:48:15|Debug] Component Autopilot added. (mavlink_system.cpp:330)
[04:48:15|Debug] Found 1 component(s). (mavlink_system.cpp:462)
[04:48:15|Debug] Discovered<PHONE_NUMBER> (mavlink_system.cpp:464)
Discovered system with UUID:<PHONE_NUMBER>
Waiting for system to be ready
[04:48:15|Debug] We got an ack: 520 (mavlink_commands.cpp:140)
[04:48:16|Debug] We got an ack: 511 (mavlink_commands.cpp:140)
System ready
Creating and uploading mission
Uploading mission...
[04:48:16|Debug] Send mission item 0 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 1 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 2 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 3 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 4 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 5 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 6 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 7 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 8 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 9 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 10 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 11 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 12 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 13 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 14 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 15 (mission_impl.cpp:904)
[04:48:16|Debug] Send mission item 16 (mission_impl.cpp:904)
[04:48:17|Debug] Send mission item 17 (mission_impl.cpp:904)
[04:48:17|Debug] Send mission item 18 (mission_impl.cpp:904)
[04:48:17|Debug] Send mission item 19 (mission_impl.cpp:904)
[04:48:17|Debug] Send mission item 20 (mission_impl.cpp:904)
[04:48:17|Debug] Send mission item 21 (mission_impl.cpp:904)
[04:48:17|Debug] Send mission item 22 (mission_impl.cpp:904)
[04:48:17|Info ] Mission accepted (mission_impl.cpp:162)

At this point waits forever. I am getting messages "manual control lost" that I can't seem to get rid of, but I don't think that is the cause.

@hamishwillee is this the latest latest? I just tested this yesterday and it worked multiple times.

Yes, it was the latest latest, against the latest latest PX4 firmware. The other examples worked fine.

Oh, that's the example and not the integration test. Sorry, I'll test that one then next.

I'm running into another problem:
Waiting for system to be ready
System ready
Creating and uploading mission
Uploading mission...
[11:03:21|Warn ] Mission handling timed out while uploading mission. (mission_impl.cpp:1058)

Maybe something with the mission handling changed (broke?) in the firmware.

Nevermind, the integration test works, so this is something about the example.

So, the example works just fine on my Fedora Linux but stalls on macOS.
@hamishwillee when I ask latest latest, I mean: have you made sure that you have built and installed the latest?

Ok, after debugging this for several hours, I found that I had leftover library files in /usr/local/lib/.
Once I cleaned it up, did make clean, it all worked fine.
sudo rm -rf "/usr/local/lib/libdrone*"
make clean
make default
sudo make default install
(cd example/fly_mission && rm -rf build && mkdir build && (cd build && cmake .. && make && ./fly_mission udp://))

latest latest, I mean: have you made sure that you have built and installed the latest?

I would have said yes, but when I tried this again with a clean build, it is indeed working. I didn't have to delete "/usr/local/lib/libdrone*".
I almost wish it hadn't worked so I would feel like I hadn't wasted your time. Sorry!

No worries, thanks @hamishwillee!


[BUG] Auth string type mismatch: basic vs basicauth

What is the bug?
When a data source is set up with basic auth, it's not detected by Spark. The query fails and when checking the job stderr, this error is present:
Caused by: org.opensearch.client.ResponseException: method [GET], host [http://ec2-REDACTED.us-west-2.compute.amazonaws.com], URI [/.query_execution_result?master_timeout=30s&ignore_throttled=false&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false], status line [HTTP/1.1 401 Unauthorized]

Digging into the code for the frontend, it looks like they use basicauth for checking authentication, but Spark uses basic. Updating the Spark type to basicauth seems to fix the issue.
How can one reproduce the bug?
Steps to reproduce the behavior:

Set up OpenSearch with security enabled, and set up a spark data source with basic auth with correct credentials.
Try to run a query on the data source.
The query fails with the above error message.

What is the expected behavior?
The query should succeed.
What is your host/environment?

EMR Serverless

Do you have any screenshots?
N/A
Do you have any additional context?
N/A

Nevermind, looks like this is only an issue in 2.11, when re-building for 2.12 it's fixed.


Windows-Docs

Microsoft(https://g.dev/AnT1nG)
[Enter feedback here]

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

ID: 54254070-539b-6cf2-f988-c80ad685c5fa
Version Independent ID: 5bbe5140-eee5-abc3-1a26-1c0d13eab358
Content: Diagnostic Data Viewer Overview (Windows 10 and Windows 11) - Windows Privacy
Content Source: windows/privacy/diagnostic-data-viewer-overview.md
Product: windows-client
Technology: itpro-privacy
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@yogkumgit there is no proper feedback so close this issue #11008

@AnT1nG82 We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Support $PARTITION in the editor

v1.44.1
The $PARTITION function is not recognized as a valid function in the editor.

I'm assuming it needs to be integrated into https://github.com/microsoft/azuredatastudio/blob/main/extensions/sql/syntaxes/sql.tmLanguage.json
Maybe in line 270?
Suggestion from 'BingGPT'

The regular expression (?<!@)@@(?i)\b already matches @@IDENTITY, but it does not match $PARTITION. To change the regular expression so that it can match both @@IDENTITY and $PARTITION, you can replace the two @ symbols with a character set that includes both @ and $. Here’s an example:
(?<![@$])[@$]{2}(?i)\b
This regular expression uses a negative lookbehind assertion (?<![@$]) to check if the first character in the character set [@$] is not preceded by another character in the same set. The {2} quantifier specifies that exactly two characters from the character set should be matched. The rest of the regular expression remains unchanged.
So, this new regular expression will match any word boundary that is preceded by two characters from the [@$] character set, but not by another character from the same set. For example, it will match both @@IDENTITY and $PARTITION, but not @@@IDENTITY or $$$PARTITION. Is there anything else you would like to know?

given that this solution includes both 'regex' and 'chatGPT', this probably introduces an infinity of problems cfr the classic: https://blog.codinghorror.com/regular-expressions-now-you-have-two-problems/ 🤣

Parsing problems are from SqlParser. The grammar file is only for keyword colorization.
Thanks for the report!


Updated wanted ebooks list: Norwegian Folktales

Asbjørnsen and Moe seem to be the Brothers Grimm of Norway, both in action and in reputation.
Gutenberg’s translations are by Dasent, and were described favorably by the Norwegian authors (Wikipedia).

Thanks, I'll add this now. Normally we reserve additions to the wanted list as a Patrons Circle membership perk. Otherwise anyone can add things and it becomes a big list of random books instead of something more focused.


Migration to rxjs 7 fails with akiga-ng-router-store

Package "@datorama/akita-ng-router-store" has an incompatible peer dependency to "rxjs" (requires ">= 6.1.0 < 7", would install "7.2.0").
× Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
See "............\angular-errors.log" for further details.

Are you using version 7 even though Angular has not yet been upgraded?

Right now I'm using Rxjs version 6.6.7 with Angular 12. Trying to update to Rxjs 7.2.0, the only library that display that error is akita-ng-router-store.

@NetanelBasal Angular 12.2.0 is now officially compatible with v7. But it is still opt-in.
https://twitter.com/BenLesh/status/1423262299880673284?s=20
I'm seeing errors like this:
Type 'import("S:/tfs/rr/Defender.NG/node_modules/@datorama/akita/node_modules/rxjs/internal/Observable").Observable<any>' is not assignable to type 'import("S:/tfs/rr/Defender.NG/node_modules/rxjs/dist/types/internal/Observable").Observable<any>'.
Do you have advice yet on how to handle this? I'm going to roll back for now.

Update to the latest version.


docs(orderBy): updated controller example

Updated example which manually injects the filter.
It matches sibling example in functionality.

Thanks, I tweaked it a bit and landed it. Although I wonder why you didn't simply copy the styles from the second example?


fix grcov dependency checking

Hi,
I have grcov in version 0.8.4 and current version check causes problem here when running coverage.sh
This change fixes version check for me, but in the future this check should be redesigned.
Best regards,
Michal

Thanks so much for the contribution!  As you've noticed, this script has unfortunately fallen into disrepair.  For now, what do you think about updating the check to be the same one as the solana mono-repo's check? https://github.com/solana-labs/solana/blob/bb97c8fdcd3ec43979f25c18c49587c91089723d/scripts/coverage.sh#L13

@joncinque Done.


The input/output feature dimensions of Transformer Encoder and Causal Transformer Decoder?

Hi, thanks for your great project!
I am wondering the input/output feature dimensions of Transformer Encoder. The description in Section 4.1 of the paper shows the  input/output feature dimensions are both 768D, is it right? However, the description in Section 4.4 of the paper shows the
input feature dimension of Causal Transformer Decoder is 2048D,  what is the output feature dimension of Causal Transformer Decoder? And is there a dimension conversion (768D->2048D) before using Causal Transformer Decoder?

Hi, thanks for your interest and apologies for the delay.
You are correct, there is a linear layer that does this mapping -- https://github.com/facebookresearch/AVT/blob/b082c99a6b3104780237022274db74f5c3124cc5/models/base_model.py#L46


We have no candidate for maintainer beyond 2018

Just as we needed a maintainer when @divad12, @jswu, @mduan and I graduated, we will need a maintainer once @JGulbronson graduates in 2018. That seems a long way away, but our recruiting pipeline is dry!
Here's, very roughly, the pipeline we need to get people through before they could reasonably be a maintainer:

Finds uwflow.com
Finds UWFlow/rmc on GitHub
Sets up Flow running locally
Finds a small issue on GitHub they can work on
Submits their first pull request and gets it merged
Takes on a major feature and gets it merged
Is vetted for trustworthiness by current maintainers and is given deploy keys

Given what we've done in the past, it's a small miracle we managed to find a new maintainer at all. Let's not rely on a second miracle.
Step 1) in our funnel is very healthy, so let's focus on 2) and 3) until we've got some serious movement there.
From talking to @JGulbronson in person, I think the following is a reasonable short term plan:
First, we should make sure it is dead easy to get set up locally. The current set up is painful when dependency installations fail, and the initial data sync is really slow. The first problem is fixable with some additional documentation now that Jeff has very helpfully gotten the repository running in docker. The second problem should be fixable by parallelizing the downloads and/or making them resumable on failure.
Once we have dead easy setup instructions, we should close the link between 1) and 2) by advertising on the site more aggressively that flow is open source. In particular, we should push this message really hard to students in Math or Engineering. This could be a sizable (dismissable) banner on their profile page.
So potential action items:

Update the README to suggest Docker as the installation mechanism (this also unblocks developers who work on Windows!) along with instructions on how to get up and running locally with docker
Draft a banner with logic to display it to students in Math or Engineering to prompt them to contribute to Flow
Investigate how the initial data sync can be made faster

Awesome, thanks much for kicking off this discussion!
I'm wondering about a few things:

What do we need in a maintainer? How much time is this currently taking Jeff?
What major features do we have that we want folks to tackle?

Basically, I'm wondering if it's necessary to go through the same flow (no pun intended) that Jeff went to be maintainer — could it be possible that by fully understanding exactly what we want/need, we could solve this maintenance problem in other ways?
That said, I think the action items you've laid out are a great starting point, and I'd love to see folks get started on that!

Thanks for kicking off the discussions!
Agreed with David about 1) for all the reasons he listed.
I really like the funnel you laid out. I think that's a great model for thinking about this. You probably already had this in mind, but we should add tracking for the Github link (if we don't already) to get concrete numbers on the funnel.

@JGulbronson could you chime in more on 1)? How much time you spend, what kind of stuff you find yourself doing, what do you think would be most impactful, etc. I think I have some sense of what you've been up to, but there could stuff lots of stuff behind the scenes that I missed!

In terms of time for purely maintaining, it's not much. But ideally, the maintainer has others contributing, and encourages/helps them get set up and putting up PR's. So I think the first step is getting the funnel healthy like Jamie said, and getting regular contributions. I'll still be around for a while, so that should give us enough time.
To get people interested, the setup process needs to be as easy as possible. I have a Docker image that's usable, (and I see Jamie has a PR to fix it :P), so the next part should be parallelizing getting the data. Ideally, the amount of time from someone saying "I want to contribute!", to being up and running with data locally, should be as short as possible. Allowing them to get data faster would go a long way.

Great!! Get people interested and contributing and involved. :)
On Sat, Jun 18, 2016 at 5:53 PM, Jeff Gulbronson<EMAIL_ADDRESS>wrote:

In terms of time for purely maintaining, it's not much. But ideally, the
maintainer has others contributing, and encourages/helps them get set up
and putting up PR's. So I think the first step is getting the funnel
healthy like Jamie said, and getting regular contributions. I'll still be
around for a while, so that should give us enough time.
To get people interested, the setup process needs to be as easy as
possible. I have a Docker image that's usable, (and I see Jamie has a PR to
fix it :P), so the next part should be parallelizing getting the data.
Ideally, the amount of time from someone saying "I want to contribute!", to
being up and running with data locally, should be as short as possible.
Allowing them to get data faster would go a long way.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/UWFlow/rmc/issues/280#issuecomment-226973217, or mute
the thread
https://github.com/notifications/unsubscribe/AAJvxzoNSnd4vW2bawXbQOSu_QkQWhwCks5qNJMYgaJpZM4IzTjh
.

I'll see if I can take some time this week to see what the setup process looks like and decrease pain doing it. It's not clear to me how to use docker to run locally at the moment.

Thanks Jamie!
On Sun, Jun 19, 2016 at 11:48 AM, Jamie Wong<EMAIL_ADDRESS>wrote:

I'll see if I can take some time this week to see what the setup process
looks like and decrease pain doing it. It's not clear to me how to use
docker to run locally at the moment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/UWFlow/rmc/issues/280#issuecomment-227013569, or mute
the thread
https://github.com/notifications/unsubscribe/AAJvxxrsWmpsX1qR2uhJaDccJZyV5vcuks5qNY74gaJpZM4IzTjh
.

@divad12 is there any more discussions on this topic since last year?

Closing in favor of #313


OpenRCT2: implement caching for GitHub API

According to https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28 , the limit is 60 requests per hour, so invalidating after 5 minutes should be fine.

Done in https://github.com/Cyndaron/Cyndaron/commit/55481ba70b666c8951626f3ae6ff5ccd18c506f5.


Add preact-render-to-json

Useful for Jest snapshot testing Preact/JSX components.

Oh wow, thanks for putting that together!  I was wondering - how much did you have to change from preact-render-to-string to get it to output JSON?  Just wondering about repos and that kind of stuff.  Happy to have it though!

Coverage remained the same at 100.0% when pulling 7117ecdb165f04e843b5e3aeed1bed69894878b0 on nathancahill:add-preact-render-to-json into 8611fbcedd74dcbc50bdd860c04637f84481cd37 on developit:master.

I kept all of the logic and stripped out the JSX and string stuff. Basically returns:
{
    type: nodeName,
    props: attributes,
    children: pieces
}

one thing I noticed - we can rip out the encodeEntities entirely, JSON doesn't require HTML entity escapement

You're right of course. I'll update that.

Is that the preferred way to test components in Preact? If so this should be part of the official docs. It will be very helpful for beginners to see a good way of testing in Preact.

Well, I literally created the project/repo a couple hours ago, so "preferred" is relative 🙂
But I did explore the docs looking for a section on testing first, before forking preact-render-to-string to create this project. So it might be good to add a docs section on testing.

@oren It's for Jest only, but a great solution.  I'd like to include it in preact-boilerplate and potentially preact-cli if it works as well as it looks like it should.

I understand that it is best only. I would think that having it as part of the official docs is valuable since we currently have nothing about testing.


update.sh: add oracle linux 8 kernels

We already have oracle linux 7 kernels, let's add oracle linux 8 as well

Hum, initial runs have to be manual to btfhub-archive (because of the amount of files and the time of the execution). With that said, I can run this later this week or the next manually and push to btfhub-archive generated files (or if you can/are willing to do, let me know). After that I can merge this change.
Thanks.

Oh yes and it takes a very long time, let me check if I can find a computer on which to launch a complete process and I will do a PR on btfhub-archive as well. Thanks !

Added by https://github.com/aquasecurity/btfhub/pull/60


How should the model of this parameter be called

StableDiffusionPowerPaintBrushNetPipeline.from_pretrained(
base_model_path,
brushnet=brushnet,
text_encoder_brushnet=text_encoder_brushnet,
torch_dtype=dtype,
low_cpu_mem_usage=False,
safety_checker=None,
)
safety_checker=None,
How should the model of this parameter be called？

Hi @hjj-lmx,
We have provided codes for its usage of initialization and forward. You can also refer to its source implementation for more details.


Add time scale property

Would it be possible to add a static timeScale property to the Tween class? In essence this would scale the delta property passed to tweens by a given scalar to speed up or slow down all tweens in the scene (e.g. to give a slow motion effect).

This was added for both Tween and Timeline in the recent overhaul. Could definitely use some testing if you have time.


tf.layers.Dense work error with unit is a Tensor

System information
tf version 1.5.0
Describe the problem
tf.layers.Dense._rnn_output_size() not work when self.units is a Tensor.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

@tensorflowbutler fix

Nagging Assignee @aselle: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

units is an int, as mentioned explicitly in the docs. It's not something that you can dynamically change as part of a computation graph, it's a hardcoded architecture parameter (since it determines the dimensions of the layer's weights).
Docs:
units: Positive integer, dimensionality of the output space.


Issue with Malmo Build

I'm trying to get set up with malmo. I went into the scripts directory and ran:
chmod +x malmo_build.sh to allow executing the script.
Then i ran ./malmo_build.sh and got this error:
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_date_time.a(greg_month.o): relocation R_X86_64_PC32 against symbol `_ZTVN5boost9date_time18all_date_names_putINS_9gregorian17greg_facet_configEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEEE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Malmo/src/JavaWrapper/CMakeFiles/MalmoJava.dir/build.make:96: Malmo/src/JavaWrapper/libMalmoJava.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1341: Malmo/src/JavaWrapper/CMakeFiles/MalmoJava.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
(I tried running ./malmo_build.sh -fPIC but that didn't work at all. Malmo threw invalid option errors for -f, -P, -I, and -C.)

You can try to compile with static boost library installed. On Ubuntu and Fedora, this is a distinct package from the standard libs. Try to recompile after install. After some research online, I also added the below flag, which is supposed to be equivalent to fPIC
set( CMAKE_POSITION_INDEPENDENT_CODE ON )

@MadelynWith5Ns Did u ever find a fix?


tmux-yank often copies non-existent lines under the line until the bottom of the screen

I previously thought that there was a problem with the tmux_is_at_least() function, but after making some changes I realised that it was that. I don't know what's causing it, but I often have tmux-yank copying all the space under the line where there are none, until the end of the screen.
I end up with copied text like this:
<copied text that really exists>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\

To use the copied text I have to go to tmux registers <prefix>,= and then type e and remove the line breaks. Using tmux 3.3.

Actually, I think just $ chmod +x helpers.sh appears to fix the problem, but I am not sure yet.

I confirm I also get this sometimes.
Any help with fixing this is welcome.


[SYNSD-893] Add query for disjointed name

Problem:

Synapse allows an entity name to be disjointed from the name of the file. This can lead to some problems when the downloadAs name (The name of the file) overlaps with other files in the folder - and when the name of the FileEntity appears to be correct.

Solution:

Adding in a small query I used to identify which Files in a specific folder had a DownloadAs name which did not match the name of the entity. We had used this to pass along information over to the collaborator to resolve the issue.

I also added a small script via this commit to the examples section that contains how to update all files in a folder to match the downloadAs to the name of the entity: https://github.com/Sage-Bionetworks/synapsePythonClient/commit/ed00ef506e5d5334c21728e4533e57a52124bd3e

@thomasyu888 Is this the best location to put these 1-off scripts. Is there something else you had in mind, or perhaps if we should create another folder to contain these?


Support for stale-while-revalidate and stale-if-error HTTP headers

Hey guys.  My use case requires more flexibility for our HTTP caching, and I found these 2 handy headers (stale-while-revalidate and stale-if-error) defined in this RFC:
https://tools.ietf.org/html/rfc5861#page-3
I was thinking of working on this and submitting a PR to this request repo.   I was wondering if this is something you guys would consider?  If it's something that would be an outright rejection I will instead just make it a separate NPM module. :)
Thanks.

If you can isolate your new logic into separate module under the lib folder that would be great. Also this new logic should be enabled via options key explicitly.
The other way around is to consume request in your own module and implement it there. Either way I would be interested to see the implementation.

I needed this exact use case and have forked lru-cache in order to support it:
https://github.com/cyberthom/stale-lru-cache
You could do something like this to cache responses from request:
var LRU = require('stale-lru-cache');
var cache = LRU(100);

var url = 'http://www.google.com/';
var key = url;
cache.wrap(key, function (callback) {
    request(url, function (error, response, body) {
        if (error) return callback(error);
        if (response.statusCode >= 400) return callback(new Error('Response error'));
        callback(null, body, response.headers['cache-control']);
    });
}, function (error, value) {
    // Do something with value
});


Unicode and emoji support

Markdown Avalonia doesn't support Unicode and emojis.
Text: 💡
Result:

Version: 0.10.4
Might related to https://github.com/AvaloniaUI/Avalonia/pull/4893

It is related to AvaloniaUI/Avalonia#4859.
For now, we need to set the FountFamily for workaround.

I released v0.10.6 for fix it.


net::ERR_UPLOAD_FILE_CHANGED

    > net::ERR_UPLOAD_FILE_CHANGED

If I understand this error correctly, the file that you are uploading has been modified or changed and therefore Chrome throws an error because it must be selected by the user again. I do not think there is much that tus-js-client can do against it. Maybe it is also a bug in Chrome or the Google Drive app where they do not retain the file long enough for the upload to be completed.
Originally posted by @Acconut in https://github.com/tus/tus-js-client/issues/255#issuecomment-828386273

Closing in favour of https://github.com/tus/tus-js-client/issues/255 because it is an error specific to tus-js-client.


wslconfig file doesn't work

I want to limit the memory in wsl2 by creating wslconfig file. But it doesn't work.
Environment
Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0
Ubuntu 20.04
Linux version 4.19.104-microsoft-standard
Steps to reproduce
Follow the document

Expected behavior
Memory in WSL2 can be limited.
Actual behavior
WSL2 may consume memory more than expected.

I need helps to debug whether the wslconfig is loaded.

Can't repro here. There is some lore that the file is sensitive to whitespace (crlf) but I couldn't make it break changing that personally either.

Can't repro here. There is some lore that the file is sensitive to whitespace (crlf) but I couldn't make it break changing that personally either.

Can't repro here. There is some lore that the file is sensitive to whitespace (crlf) but I couldn't make it break changing that personally either.

I fixed it by removing the BOM header.
Thank you!

Can't repro here. There is some lore that the file is sensitive to whitespace (crlf) but I couldn't make it break changing that personally either.

I fixed it by removing the BOM header.
Thank you!

Can't repro here. There is some lore that the file is sensitive to whitespace (crlf) but I couldn't make it break changing that personally either.

I fixed it by removing the BOM header.
Thank you!

Can't repro here. There is some lore that the file is sensitive to whitespace (crlf) but I couldn't make it break changing that personally either.

I fixed it by removing the BOM header.
Thank you!

I fixed it by removing the BOM header.
Thank you!

The problem I had is when I created the .wslconfig file in notepad it saved it as a text file with the extension .txt so I had to remove .txt to make it take effect

To solve the problem, you need to check if the file is named ".wslconfig.txt" and remove the ".txt" extension if it exists. Renaming the file to ".wslconfig" will resolve the issue.

I created the notepad file without the extension (.txt) and I still get the  default values. when I check the .wslconfig properties, it says the type is a "Text Document" is this file supposed to be saved with a different extension?

I created the notepad file without the extension (.txt) and I still get the default values. when I check the .wslconfig properties, it says the type is a "Text Document" is this file supposed to be saved with a different extension?

Had the same issue. Yes, it seems to have something to do with it. Creating the file from Terminal (cd to C:/User/USERNAME directory and nano .wslconfig) created the file with the right file type. After it WSL applied the established configuration.

@alv-tor dumb question but what do you mean by nano .wslconfig? Also, i tried to save it as "all files" instead of text file and that did not help either

@alv-tor dumb question but what do you mean by nano .wslconfig? Also, i tried to save it as "all files" instead of text file and that did not help either

I mean that creating directly a new file “.wsconfig” worked for me. I did it directly in Terminal by running the command “nano .wsconfig”. Hope it helps.

The easiest way is,

open Users/ inside vscode

The easiest way is,

Open Users/ inside Vscode
Open the config file
Remove the .txt extension by renaming manually or press F2 for renaming
Open terminal
Run wsl --shutdown
Run wsl free -m for checking the memory allocation is okay or not

Thanks

Best Answer!!💯

Since I found this searching by google, just want to say that, on Windows u need to create a file with LF and not CRLF chars. Every txt file i created was using CRLF, and i never changed my wsl2 memory allocation. So, i need to create a file on the wsl environment, and copy this .wslconfig to my C:user
and finally thjis worked for me.


add missing bang to shebang. correct usage of cp. correct wrong copy …

…target dir. safeguard sudo-rm-rf. safeguard against variable expansion into IFS chars. clean up whitespace.
Signed-off-by: corbolais<EMAIL_ADDRESS>

Commit 47c84e6 is now part of PR #880. Closing now.
Thanks.


Add custom curl settings options

Description of change:
Adding functionality to create custom curl settings.
Add test.
Cleanup some code.
Description of implementation:
Should be able to set an array of custom curl setting on MailchimpSettings that should remain persistent between request and set for every request.
Risks & Mitigation:
low - none

FILE: src/Mailchimp.php :x:
line: 281 | message: The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
line: 307 | message: The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line

The Lint Wizard redacts anything he may have said before! :sparkles::sparkles::sparkles:
Lint Wizard Approved :heavy_check_mark:

The Lint Wizard redacts anything he may have said before! :sparkles::sparkles::sparkles:
Lint Wizard Approved :heavy_check_mark:


Minimal set of linter rules in analysis_options.yaml

renamed from old filename
added basic linter rules
added unawaited_futures, and ignoring it in transaction_test as it is full with pending/non-awaited queries

Codecov Report

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

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   91.19%   91.19%
=======================================
  Files          11       11
  Lines         977      977
=======================================
  Hits          891      891
  Misses         86       86

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 edb816c...3fafac7. Read the comment docs.


Can't dynamically call the same anonymous component twice, with different attributes each time

Laravel Version: v8.6.0
PHP Version: 7.4.0
Database Driver & Version: irrelevant

Description:
{{-- Works: --}}
<x-foo value="abc" a="b" />
<x-foo value="abc" />

{{-- Doesn't work: --}}
<x-dynamic-component component="foo" value="abc" a="b" />
<x-dynamic-component component="foo" value="xyz" />

Steps To Reproduce:
Create a basic anonymous component named foo. It doesn't have to do anything, just make it an empty div.
Create another component that uses the code above.
The issue is that the dynamic component call for foo gets compiled and cached. Even though the call is different each time.
So the first call assumes an $a variable existing, but this variable is not present in the second call.
Hence, an exception like this is thrown:
Undefined variable: a (View: /Users/samuel/Projects/dynamic-component-wire/storage/framework/views/a553ad954f8954104deb899637465b63312af2fd.blade.php) (View: /Users/samuel/Projects/dynamic-component-wire/storage/framework/views/a553ad954f8954104deb899637465b63312af2fd.blade.php)

Debugging
When you open a553ad954f8954104deb899637465b63312af2fd.blade.php, you see:
<?php extract(collect($attributes->getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?>
@props(['value','a'])
<x-foo :value="$value" :a="$a" >

{{ $slot ?? "" }}
</x-foo>

This is the compiled & cached version of the dynamic x-foo call. The issue is that the same file is used for both calls, even though they're different.
This can be proved by adding a dump() statement above the @props line:
<?php dump(isset($a)); ?>

This results in:

Expected behavior
Each dynamic call can be different, therefore we shouldn't reuse compiled views for them.
Each of those <x-dynamic-component component="foo" ... /> calls should have a separate compiled file.

Probably will need a PR. Not sure how much time I have to keep looking into dynamic components.

Sure, appreciate the bug fixes so far.
I've spent a lot of time in Blade internals at this point do I think I should be able to do this.

This fixes it:
protected function bindings(string $class)
{
-    if (! isset(static::$bindings[$class])) {
        [$data, $attributes] = $this->compiler()->partitionDataAndAttributes($class, $this->attributes->getAttributes());

-      static::$bindings[$class] = array_keys($data->all());
+       return array_keys($data->all());
-    }

-    return static::$bindings[$class];
}

The $bindings static property on DynamicComponent caches the parsed bindings by component name.
So the DynamicComponent::$bindings array looks like:
'components.foo' => [
  0 => "value"
  1 => "a"
],

And the next time DynamicComponent is calling components.foo, it uses this cached version instead of parsing the bindings again.
I will submit a PR, but before I do, could you please tell me if you know whether there's a reason for this caching? Or is that just a performance thing?
Thank you.

Probably just performance. I guess we will have to ditch that.


Breaks gravestone mods

With this mod gravestones doesnt spawn and after uninstalling this mod gamerule keepinventory stays on

Yea, it's incompatible with gravestone mods or data packs due to the way it was made.
To set the keepInventory gamerule to false again, you can run the following command:
/gamerule keepInventory false


[Policy Assistant] Predict Verdict and Flow of Decisions made by Policies

Idea for #150.
Dependency: #152
Predict the effect of Policies on traffic, and visualize the relevant rules (from ANP, NetPol v1, and/or BANP) that produced the effect.
Prototype visualization:

/remove-lifecycle stale

Hi @huntergregory can this be sumarized as: "Repurposing cyclonus analyze --mode=query-traffic" ?

Hey @gabrielggg, good call out. We're still in a stage of design iteration for this, and query-traffic mode may be a helpful reference for design or implementation. For reference, query-traffic mode looked like this for NetworkPolicyV1 (full output):

On the other hand, this is what we came up with for the KubeCon demo (video and code):

hey @huntergregory awesome, first of all, congratulations on the great presentation on kubecon Paris, i just saw the video. At the end of the video, on the summary, you put a slide with the topics coming next on the project, and i saw that you highlighted this issue #168 , but seeing the demo and your previous screenshots i see that the walkthrough you proposed on this issue is almost done, so i just wanted to know how are you going to proceed with this issue, so that i can help.

Thanks @gabrielggg for the congrats and the interest, and sorry for the delay.
Just created #220, which is the main thing lacking right now. We could definitely use some help in this area! Feel free to assign yourself to that issue.
As for this issue (168), let me copy over the KubeCon demo code to main branch as a starting point, but we can work on #220 independently of this.

/remove-lifecycle stale


allow assume role before running terraform commands

Gives the ability to assume a role before applying the terraform commands. This is useful for doing cross account terraform calls. This feature has been suggested in terraform itself https://github.com/hashicorp/terraform/issues/1275, but it has been open for a year.
This PR allows drone to be run under a central IAM role in AWS that has the ability to assume other roles.

LGTM

Excellent. I don't have write access though - if someone could merge in that would be great. Thank you.

LGTM


⚠ Thumbnails API Endpoint has degraded performance

In f640388, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1071 ms

Resolved: Thumbnails API Endpoint performance has improved in cdb2506 after 13 minutes.


Build break: Revert "Clear PASESession state while initializing it"

Reverts project-chip/connectedhomeip#4567
Appears that this broke the Zephyr build, verifying.

https://github.com/project-chip/connectedhomeip/pull/4582 might be a better fix.

https://github.com/project-chip/connectedhomeip/pull/4582 might be a better fix.

I think #4582 addressed this.  @woody-apple can you confirm?


MavenParser throws assertion on poms that omit versions in favor of parent pom dependencyManagement

I'll use spring-cloud-stream-parent and spring-cloud-stream as concrete examples, but the issue is more general than just those poms.
The spring-cloud-stream-parent pom uses a dependencyManagement section to set out versions for various org.springframework.cloud dependencies.
The spring-cloud-stream pom entirely omits the  tag for dependencies whose versions are coming from the parent's dependencyManagement section, like so:
<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-validation</artifactId>
    </dependency>
...
</dependencies>

When encountering this pom RawMavenResolver throws here.
I've added a @Disabled test to MavenDependencyResolutionIntegTest to exercise this

This isn't a general problem with parent dependency management. There is something special here about spring-messaging.

Guessing it's that we may not be recursively evaluating props:

https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.6.RELEASE/spring-boot-dependencies-2.1.6.RELEASE.pom


Some correction in contributions.md and add a basic c++ project cryptographer.

Some correction in contributions.md and add a basic c++ project cryptographer.

@sourabhv7  contribute to https://github.com/Ishaan28malik/Get-Dev-Resources instead

Ok


stdlib: Avoid condfails resulting from typed throws adoption

The standard library's swiftinterface must temporarily remain buildable when $TypedThrows evaluates to false since there are still supported Swift 5.11 compilers that did not have the feature enabled by default. Declarations using typed throws in their signatures are guarded in printed swiftinterface files with #if $TypedThrows and therefore @inlinable code that uses those declarations must also be conditionalized on $TypedThrows.

@swift-ci please smoke test


codegen: change RaiseAtom to RaiseTerm

fixes #375

Could you please add a Changelog entry for this change?

This is also a breaking change, which is something we need to consider.

This is also a breaking change, which is something we need to consider.

I mentioned this in the Changelog, do you think that's enough?


@conda-forge-admin, please add bot automerge

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/beanie-feedstock#9.


CPR popup appears on alive marines if they have a mask on

Click on a healthy marine
CPR "Take their mask off!" popup appears even when they aren't in crit

also appears when you click yourself


Website design vendor

Last year we went with WebChirpy.
If anybody has an alternative, please suggest/advice. Do make sure you've a contact person available from the suggestion you're making. If you've a quote from them, even better. Or, try to get one while suggesting.

We've decided to go with Webchirpy.


[WIP] Use Blueprints, add Header

This PR updates the documentation site to use Blueprints and the new header

Closing this, we'll use the gatsby theme in the future instead 👍


Bump SSX Version

Description
Bump SSX Version
Type

[x] Release

SSX React also needs a bump

Yep, its bumped as well! To 1.2.5

Codecov Report
Base: 90.34% // Head: 90.34% // No change to project coverage :thumbsup:

Coverage data is based on head (7266ed9) compared to base (9e3c1bb).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   90.34%   90.34%
=======================================
  Files          25       25
  Lines        3336     3336
  Branches      270      270
=======================================
  Hits         3014     3014
  Misses        322      322

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Fix f-string in import_utils

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[BUG] TypeError: has_permission() got an unexpected keyword argument 'scope'

Describe the bug
This is ideally a hybrid (feature request/bug/compatibility) depending on the authors' intent.
I was following the tutorial and at the point of implementing the chat in chat/room.html. I was getting a socket closed because
of the underlying problem.
This is a compatibility issue, by default, this system is designed to use the rest_frame work settings (including permission settings).
For example IsAuthenticated Permission. Its has permissions method expects 3 parameters, self, request and view. In contrast, the has_permissions of the channelsrestframework expects the fields scope, among others, and which by default will be provided by the calling functions.
By default the has permissions method will come from the default permission classes defined in the rest_framework permissions will do not expect and do not receive scope as a field hence the above error.
Possible solutions include.
Specify alternate default permission classes for the consumers used by djangochannelsrest framework
e.g. CHANNELS_DEFAULT_PERMISSION_CLASSES and give those the sensible defaults in this case
class AsyncAPIConsumer(...):
     permission_classes = djangochannelsrestframework.permissions.IsAuthenticated // as an example
     **OR**
     permission_classes = api_settings.CHANNELS_DEFAULT_PERMISSION_CLASSES
```
This would be augmented by the documentation specifying the same issue.

**To Reproduce**
1. Follow the tutorial as in https://djangochannelsrestframework.readthedocs.io/en/latest/tutorial/part_1.html + part_2.html
This can be equivalent to just defining the Consumer.
```
class RoomConsumer(ObserverModelInstanceMixin, GenericAsyncAPIConsumer):
    queryset = models.Room.objects.all()
    serializer_class = serializers.ChatRoomSerializer
    lookup_field = "pk"
  # note permission_classes not defined. It may be possible to solve this by setting custom permission classes
  # per consumer
   ...
```

3. Use any default rest_frame work permission settings.

```
REST_FRAMEWORK = {
   ...,
    "DEFAULT_PERMISSION_CLASSES": ('rest_framework.permissions.AllowAny', ),
     ...
}.
```.

**LOG**
```
INFO 2022-07-05 19:49:31,253 runserver<PHONE_NUMBER>89251778304 HTTP GET /static/images/favicons/favicon.ico 304 [0.00, <IP_ADDRESS>:48004]
ERROR 2022-07-05 19:49:31,517 server<PHONE_NUMBER>89251778304 Exception inside application: has_permission() got an unexpected keyword argument 'scope'
Traceback (most recent call last):
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/routing.py", line 71, in __call__
    return await application(scope, receive, send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/security/websocket.py", line 37, in __call__
    return await self.application(scope, receive, send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/sessions.py", line 47, in __call__
    return await self.inner(dict(scope, cookies=cookies), receive, send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/sessions.py", line 263, in __call__
    return await self.inner(wrapper.scope, receive, wrapper.send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/auth.py", line 185, in __call__
    return await super().__call__(scope, receive, send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/middleware.py", line 26, in __call__
    return await self.inner(scope, receive, send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/routing.py", line 150, in __call__
    return await application(
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/consumer.py", line 94, in app
    return await consumer(scope, receive, send)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/consumer.py", line 58, in __call__
    await await_many_dispatch(
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/utils.py", line 51, in await_many_dispatch
    await dispatch(result)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/consumer.py", line 73, in dispatch
    await handler(message)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/generic/websocket.py", line 194, in websocket_receive
    await self.receive(text_data=message["text"])
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/generic/websocket.py", line 257, in receive
    await self.receive_json(await self.decode_json(text_data), **kwargs)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/djangochannelsrestframework/consumers.py", line 181, in receive_json
    await self.handle_action(action, request_id=request_id, **content)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/djangochannelsrestframework/consumers.py", line 176, in handle_action
    await self.handle_exception(exc, action=action, request_id=request_id)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/djangochannelsrestframework/consumers.py", line 136, in handle_exception
    raise exc
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/djangochannelsrestframework/consumers.py", line 157, in handle_action
    await self.check_permissions(action, **kwargs)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/djangochannelsrestframework/consumers.py", line 112, in check_permissions
    if not await ensure_async(permission.has_permission)(
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/asgiref/sync.py", line 435, in __call__
    ret = await asyncio.wait_for(future, timeout=None)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
    return await fut
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/channels/db.py", line 13, in thread_handler
    return super().thread_handler(loop, *args, **kwargs)
  File "/home/user/.virtualenvs/kaddle/lib/python3.9/site-packages/asgiref/sync.py", line 476, in thread_handler
    return func(*args, **kwargs)
TypeError: has_permission() got an unexpected keyword argument 'scope'
```

 - channelrestframework  1.0.0
 - channels 3.0.5
 - django > 3.0

You quite right, I think what we should do is when falling back to the default (rest framework permissions) we should call them in such a way as to ensure we do not pass scope but pass a proxy object request object in the same way rest framework methods expect. I suppose the best way to do this is to check if the permissions class subclasses a given subclass or not.

Okay, that is even a much better solution.

In the end I due to some other bugs I opted to change things so we no longer used any settings from the REST_FRAMEWORK domain.

Fixed in v1.1 will no longer retrieve values from REST_FRAMEWORK settings.


[server] Handle empty auth string on login

It is possible that the performLogin function will be called by a different
client and when no auth string is given we will get the following exception:
CodeChecker/lib/python3/codechecker_server/api/authentication.py", line 86, in performLogin
    user_name, _ = auth_string.split(':', 1)
AttributeError: 'NoneType' object has no attribute 'split'

To solve this problem we will raise an exception that no credentials
are supplied.

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- web/tests/functional/authentication/test_authentication.py  1

See the complete overview on Codacy


travis: Test ghc 8.0.1 (and avoid some compiler warnings on 8.0.1)

It's a prerelease version, but it's likely to be good to start testing
against it now.
Two commits are needed to avoid compiler warnings on 8.0.1 (and thus errors since we use -Werror). The errors that would appear are noted in the commit message.

The various Travis PRs #118 #120 and #128 will probably have merge conflicts with each other. I can deal with them as the PRs are merged one by one.

will rebase in next 24 hours. I can and should be prodded if not.

I think github automatically sends notifications when I push new commits to a PR branch now, so notifications should have been sent. let me know whether that's true so I know whether I can safely stop notifying via comment


Redundant Nulls Removal

Summary
Campus Mobile codebase contains a large number of unnecessary nullable variables and null checks. This issue removes a majority of the redundant nulls.
Resolves #1955
Changelog
[General] [Change] - Removed redundant nulls throughout the app
Test Plan

[ ] PR #2055 Test Plan PASS on iOS
[ ] PR #2055 Test Plan PASS on Android

Talked w/ Charles. Decided to pause this until the Dart 3 migration gets merged in

Spoke with Alex. Most likely this will be paused until after the next release of Campus Mobile


N46: Fish Folk

Part of #1378

:exploding_head: something went wrong in gh's ui

I've rewritten the section and added more info and links.
Hope you're ok with my tweaks - feel free to ping me here if you think that something needs to be changed. :)

LGTM, thanks you kindly for fixing it up 🙏

@erlend-sh do you mind if I delete the https://github.com/rust-gamedev/rust-gamedev.github.io-1 repo? both github and vscode's github integration seem to be greatly confused by a pull request from it

Go ahead.


[ARM] Add new parameter to support adding managedBy information for az group create

Add new parameter --managed-by to support adding managedBy information for command az group create
Issue: #9342

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

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

add to S164.


Added 4 photos of Pi components

Adding stock photos of components for use in the guide to "Independent Custody"

Appreciate this! But the independent custody guide is being built in a separate repo, please make this PR over there -- thank you!
https://github.com/SeedSigner/independent_custody_guide


WalletConnect: Has anyone had this error Failed to load wallet data: Operation timed out?

Maybe I'm doing something wrong or haven't accounted for some variable, but on Vercel this repository has the same problem.
Failed to load wallet data: Operation timed out

Hi @Dev-A-Line can you provide the repo ? Or more details about the issue?

Hi @re2005  can be used to demonstrate the problem - vuedapp.vercel.app/ as the same problem occurs locally. Pressing Connect > WalletConnect [ws:*** || qr]> redirects to TrastWallet and asks to approve and then this error appears: Failed to load wallet data: Operation timed out.

Yes, facing the same issue here.
It seems that the RPC server used by the demo is not working properly.
Locally you can try yo use one of the public RPC servers, check on https://chainlist.org/ for the desired network you are trying to connect.

Got it, thanks, I'll try it now.
This is correct:
https://vue-dapp-git-fork-re2005-feature-update-demo-chnejohnson.vercel.app/

@re2005  Got it, thank you very much again


Does not work in Windows Class Library

Is there any way to make this work in a Windows Class Library?  I got it to work in a Web project, but if I have a Windows Class Library project, it doesn't do anything.  I just keep getting unhandled exceptions.

Hi @mrzappit,
Could you provide some more info on this issue? It should work the same in a Windows Class Library as in a Web Project.
What exceptions are you getting?
Which Visual Studio version are you using?
What does the tst template look like?

I apologize.  I couldn't figure out why the same template was working for a Web project but not for a Windows Class Library, so I assumed that was the problem.  It turns out, we just weren't properly setting the location of the source files.


Test uses obsolete syntax

The test language/mixin_illegal_syntax_test.dart uses an old style of syntax in which a typedef is used to create a mixin application. I think we should remove tests that test obsolete features.

I guess the point is that all the tested tools are forced to enforce that the given obsolete feature is rejected. Otherwise some tools could allow it, and developers "out there" could keep using them.
After a while, some new syntax could be introduced which happens to give some usages of the old feature a new meaning (maybe the syntactic structure is different, but the point is that it is now intended to be OK to write something that looks like a usage of an obsolete feature).
At that point, obviously, we can't keep a test which will require some (maybe even all) legitimate usages of that new feature to be rejected. So we have to remove tests enforcing that an obsolete feature is rejected "if/when that syntax is reused".
Until such a thing happens, however, I do not think it is important (maybe not even a good idea) to get rid of this type of test. Just like a bunch of 'regress_*_test.dart', it may be very unlikely that the same bug comes back, but we still keep these tests indefinitely, just in case. I don't see a compelling reason why we shouldn't do the same thing for these reject-obsolete-feature tests.
In the concrete example, tests/language/mixin_illegal_syntax_test.dart, I believe that we have no plans to introduce syntax that actually overlaps with the old mixin syntax (we are discussing typedef T = List<int>; and stuff like that, but I believe that nobody has argued for reintroducing typedef T = C with M;).
In summary, I wouldn't have a problem with a general rule that says "after a while, remove tests that enforce rejection of obsolete features", but I don't actually see a strong motivation for doing it.


FuzzyFinder

Would be awesome to be able to FuzzyFind files in your project. Just like vim or sublime.

Any update on this issue?

Press ctrl+shift+o and type file name

That's awesome!  Thanks @abose


Use argparse for trace download and console.

Commits in this PR

Use argparse for trace download and console.
Using argparse is less code and gives more helpful errors, but more
importantly it will allow us to parse more complicated subcommands.

PR chain

#427 Set default params for NO_GUI_DEV_MODE.
#428 Refactor controller_debug's debug command.
#429 Sort includes in controller_debug.py.
#430 controller_debug: Print help for trace.
#431 Fix typo: seperate -> separate.
#432 Add readline to list of imports.
#433 Get rid of most "global" statements.
#434 Get rid of crc16 global variable.
#436 Add documentation for exec command.
#437 Tighten up trace documentation a bit.
👉 #438 Use argparse for trace download and console. 👈 YOU ARE HERE

Thanks for all the reviews, Steve!


Multi-threading example slow

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

Environment: Numba 0.43.1 with Python 3.7.3 on Mac.
I am running the example 1.18.3. in https://numba.pydata.org/numba-doc/dev/user/examples.html#multi-threading. The results are
numpy (1 thread)         9 ms
numba (1 thread)        49 ms
numba (4 threads)       20 ms

I also tried this
@jit(nopython=True)
def func_np_nb(a, b):
    return np.exp(2.1 * a + 3.2 * b)

It is as slow as the inner_func_nb one. I also tried on my ubuntu machine and get the same result.

@cielcao thanks for using Numba and for reporting this. I tried it on my mac and I get the following:
💥 zsh» python threading_example.py
numpy (1 thread)        16 ms
numba (1 thread)        37 ms
numba (4 threads)       18 ms

One possible cause of this is that Anaconda ships with an MKL-accelerated NumPy package.  That package run many of the common math ufuncs (like multiplication, addition, and exp(), in this example) automatically multithreaded and SIMD-accelerated.  (That is your "numpy (1 thread)" case might have only 1 python thread, but many MKL threads.)
My assumption is that the example function above is bottlenecked on the computation of exp() on an array, which the Anaconda NumPy+MKL will likely be able to run faster than Numba.  If the above code is indicative of your operation, and the size of input array you expect, sticking with NumPy is probably fine.  Numba is generally more beneficial on more complex functions.
(You might be able to get Numba to close the gap with MKL-accelerated ufuncs by installing SVML into your environment and enabling fastmath: https://numba.pydata.org/numba-doc/dev/user/performance-tips.html#intel-svml)

Thanks for the prompt reply. I installed the icc_rt and it did make a difference. I change the size to 10**7 to signify the effect.
without icc_rt installed
'''
numpy (1 thread)       296 ms
numba_np (1 thread)       485 ms
numba (1 thread)       584 ms
numba (4 threads)      178 ms
'''
with icc_rt installed.
'''
numpy (1 thread)       293 ms
numba_np (1 thread)       212 ms
numba (1 thread)       558 ms
numba (4 threads)      168 ms
'''
numba_np is for the func_np_nb I wrote in the previous post, which just add decoration to the numpy function instead of using loop. It seems like the looping version does not get optimized.
By the way this is not related to my project, just got curious about the result :).

Closing this issue as it seems to be resolved. If this is not the case please re-open with a comment about any item that appears to be unresolved. Many thanks.


Update targets delegations in generate_targets_metadata

Fixes issue #: #1037
Description of the changes being introduced by the pull request:

Collect keys and threshold of delegated roles and update delegations in generate_targets_metadata() in a similar manner as generate_root_metadata() does for top-level roles.
Move key dictionary generation from generate_root_metadata() to a helper function _add_keys_to_keydict()
Update tests

Fixing this issue was partially blocked by #574: after loading the repository the delegated roles' 'keyids' and 'threshold' are lost which leads to throwing "missing key" exceptions while trying to update the delegations.
I suggest a short-term solution of #574 by using the recently added logic of hierarchically loading the delegations in load_reposiroty(). This makes it possible to get the delegated roles keyids and threshold from its delegating role metadata.
Clearly this won't work if more than one delegation to the same role exists but ... this is not supported correctly anyway in the current implementation so lets cover the simplest use case here?
Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

Some time has passed since the last updates on this pull request so I had to rebase and force push. However I think the reformatted set of changes is addressing all the comments up to now.

Some time has passed since the last updates on this pull request so I had to rebase and force push. However I think the reformatted set of changes is addressing all the comments up to now.

Thank you for the updates. They look good on a first pass, I'm aiming to do a more thorough review next week.

Someone with enough permissions to restart travis-ci? Seems like another timeout 👀

Bad news is  #1096 was merged and this now has conflicts. Good news is the proxy tests should be more reliable once you rebase :)

Thanks @joshuagl, applied your code style suggestions and rebased. Let's see the tests :)

Rebased on develop with the linter failure fix.

Good work, thanks!


added CSP link

this is my own PR, i added CSP link under Related topics

Closing via https://github.com/MicrosoftDocs/windows-itpro-docs/pull/9598#issuecomment-856746833


Library is not thread-safe: deadlock can happen

Here library calls foreign callbacks under mutex lock:
template<class TSlot, typename... TCallArgs>
    void call(TCallArgs&&... args)
    {
      lock_guard lock(*this);
      for (const auto& slot : slots_)
      {
        if (!slot.call)
          continue;

        TSlot(slot.key).call(std::forward<TCallArgs>(args)...);
      }
    }

    template<class TInit, class TSlot, typename... TCallArgs>
    TInit accumulate(TInit&& init, TCallArgs&&... args)
    {
      static_assert(std::is_same<typename TSlot::result_type, void>::value == false, "Cannot accumulate slot return values of type 'void'");

      lock_guard lock(*this);
      for (const auto& slot : slots_)
      {
        if (!slot.call)
          continue;

        init = init + TSlot(slot.key).call(std::forward<TCallArgs>(args)...);
      }

      return init;
}

Imagine that one thread connects to "signal1" own function "slot1" which fires "signal2". First, it locks "signal1" mutex, then attempts to lock "signal2" mutex.
Another thread connects to "signal2" own function "slot2" which fires "signal1". First, it locks "signal2" mutex, then attempts to lock "signal1" mutex.
In some cases, threads will enter into deadlock: thread1 always waits "signal2" mutex, while thread2 always waits "signal1" mutex.

I've illustrated problem:

This sounds more like a "design" problem in your application which will always lead to deadlocks when using locks / mutexes.
If signal1 triggers slot1 which fires signal2 which triggers slot2 which fires signal1 which again triggers slot1 you've got yourself a nice indirect endless loop.

Code above just shows the issue; of course, in real code there will be conditional execution and more levels of indirection, so no endless loops will appear.
But deadlock is still possible when library calls external code which can again call library API which acquires another lock.
The same thing happens in the "Dining philosophers problem".


Allow login to insecure HTTPS registry

Enable TLS InsecureSkipVerify for docker login when the targeted
registry is specified in --insecure-registry.
Signed-off-by: Arnaud Porterie<EMAIL_ADDRESS>

I tested with a private HTTPS registry with basic auth setup. Tested also with --insecure-registry and works as expected.
Not sure how to add tests for this one.
@icecrime PTAL

@dmp42 @dmcgowan @jlhawn I'm not sure how it worked without TLS before. The behavior in this PR is that: if the private registry has no TLS set up, all authenticated interactions with the HTTP registry will fail. Cf #5083

This is the fix for #9570 correct?

@phemmer no it's not, I updated the title accordingly. I can update this PR or open a new one if we have consensus on https://github.com/docker/docker/issues/9570.

Need to fix some things

The real blocker for 1.5 is to have docker login work with normal secure registries. Insecure registries can be fixed in the minor release.


[HOLD] Update to Angular 4

Codecov Report

Merging #158 into master will not change coverage.
The diff coverage is 100%.

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

Closing to reopen against an rc-branch


Update device-management.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/3703

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LanaChin
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Made some edits and merged.


[ISSUE #8769] Fix doc typo

Which Issue(s) This PR Fixes

Fixes #8769

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

Project coverage is 47.35%. Comparing base (daf3d1a) to head (3dd0412).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8770      +/-   ##
=============================================
- Coverage      47.52%   47.35%   -0.17%
+ Complexity     11592    11545      -47
=============================================
  Files           1282     1282
  Lines          89848    89848
  Branches       11557    11557
=============================================
- Hits           42697    42545     -152
- Misses         41927    42052     +125
- Partials        5224     5251      +27

Flag
Coverage Δ

47.35% <ø> (-0.17%)
:arrow_down:

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

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


Unbiased MMD estimate depends on the kernel matrix diagonal entries

I am running into issues when trying to compute the unbiased (full) estimate of MMD^2 for a given kernel matrix in Python. The answer provided by shogun does not match the answer I expect to obtain. This might come from the following observation: changing the diagonal entries of the kernel matrix changes the value of the unbiased (full) estimate of MMD^2 returned by shogun which should not be the case. Here are two reproducible examples:
import shogun as sg
import numpy  as np

def my_mmd_unbiased(m, K):
    """
    m: number of samples from P
    K: kernel matrix: np.array [XX, XY
                                YX, YY]
    """
    n = K.shape[0]-m # number of samples from Q
    XX = K[:m,:m]
    XY = K[:m,m:]
    YY = K[m:,m:]
    np.fill_diagonal(XX, 0)
    np.fill_diagonal(YY, 0)
    return np.sum(XX)/(m*(m-1)) + np.sum(YY)/(n*(n-1)) - 2*np.sum(XY)/(n*m)

def shogun_mmd_unbiased(m, n, K):
    """
    m: number of samples from P
    n: number of samples from Q
    K: kernel matrix: np.array of shape (m+n,m+n)
    """
    kernel = sg.CustomKernel(K.astype(np.float64))
    mmd = sg.QuadraticTimeMMD()
    mmd.set_p(sg.DummyFeatures(m))
    mmd.set_q(sg.DummyFeatures(n))
    mmd.set_kernel(kernel)
    mmd.set_statistic_type(sg.ST_UNBIASED_FULL)
    # compute_statistic() returns MMD^2 scaled by n*m/(m+n)
    return mmd.compute_statistic()*(n+m)/m/n

np.random.seed(0)
m = n = 1000
K = np.random.rand(m+n,n+m)
K = K + K.T

print(my_mmd_unbiased(m, K))
print(shogun_mmd_unbiased(m, n, K))
K[0,0] = 7
print(shogun_mmd_unbiased(m, n, K))
K[0,0] = 2e7
print(shogun_mmd_unbiased(m, n, K))
K[0,0] = 2e8
print(shogun_mmd_unbiased(m, n, K))

0.0009910327956028642 (my mmd)
0.0009515195270068944 (shogun mmd with K[0,0] = 1.0976270078546495 (unchanged))
0.0009513943805359304 (shogun mmd with K[0,0] = 7)
0.0031087391544133425 (shogun mmd with K[0,0] = 2e7)
-0.9994037747383118 (shogun mmd with K[0,0] = 2e8)

K = np.array([[0,2,1,2], [2,0,3,4], [1,3,0,4], [2,4,4,0]])
m,n = 2,2
print(my_mmd_unbiased(m, K))
print(shogun_mmd_unbiased(m, n, K))
K[0,0] = 2e8
print(shogun_mmd_unbiased(m, n, K))

1.0 (my mmd)
1.0 (shogun mmd with K[0,0] = 0 (unchanged))
-1.0 (shogun mmd with K[0,0] = 2e8)

So changing values of the diagonal entries of the kernel matrix changes the ST_UNBIASED_FULL estimate. The same observation also applies to the ST_UNBIASED_INCOMPLETE estimate where changing the diagonal entries or the k(x_i,y_i) entries changes the estimate while it should not.
Any idea what is happening?
Thanks!

Thanks for reporting this. I will try to have a look soon and get back.
Am Sa., 28. Nov. 2020 um 17:46 Uhr schrieb antoninschrab <
<EMAIL_ADDRESS>
I am running into issues when trying to compute the unbiased (full)
estimate of MMD^2 for a given kernel matrix in Python. The answer provided
by shogun does not match the answer I expect to obtain. This might come
from the following observation: changing the diagonal entries of the kernel
matrix changes the value of the unbiased (full) estimate of MMD^2 returned
by shogun which should not be the case. Here are two reproducible examples:
import shogun as sgimport numpy  as np
def my_mmd_unbiased(m, K):
"""    m: number of samples from P       K: kernel matrix: np.array [XX, XY                                YX, YY]    """
n = K.shape[0]-m # number of samples from Q
XX = K[:m,:m]
XY = K[:m,m:]
YY = K[m:,m:]
np.fill_diagonal(XX, 0)
np.fill_diagonal(YY, 0)
return np.sum(XX)/(m*(m-1)) + np.sum(YY)/(n*(n-1)) - 2np.sum(XY)/(nm)
def shogun_mmd_unbiased(m, n, K):
"""    m: number of samples from P       n: number of samples from Q    K: kernel matrix: np.array of shape (m+n,m+n)    """
kernel = sg.CustomKernel(K.astype(np.float64))
mmd = sg.QuadraticTimeMMD()
mmd.set_p(sg.DummyFeatures(m))
mmd.set_q(sg.DummyFeatures(n))
mmd.set_kernel(kernel)
mmd.set_statistic_type(sg.ST_UNBIASED_FULL)
# compute_statistic() returns MMD^2 scaled by nm/(m+n)
return mmd.compute_statistic()(n+m)/m/n
np.random.seed(0)m = n = 1000K = np.random.rand(m+n,n+m)K = K + K.T
print(my_mmd_unbiased(m, K))print(shogun_mmd_unbiased(m, n, K))K[0,0] = 7print(shogun_mmd_unbiased(m, n, K))K[0,0] = 2e7print(shogun_mmd_unbiased(m, n, K))K[0,0] = 2e8print(shogun_mmd_unbiased(m, n, K))
0.0009910327956028642 (my mmd)
0.0009515195270068944 (shogun mmd with K[0,0] = 1.0976270078546495
(unchanged))
0.0009513943805359304 (shogun mmd with K[0,0] = 7)
0.0031087391544133425 (shogun mmd with K[0,0] = 2e7)
-0.9994037747383118 (shogun mmd with K[0,0] = 2e8)
K = np.array([[0,2,1,2], [2,0,3,4], [1,3,0,4], [2,4,4,0]])m,n = 2,2print(my_mmd_unbiased(m, K))print(shogun_mmd_unbiased(m, n, K))K[0,0] = 2e8print(shogun_mmd_unbiased(m, n, K))
1.0 (my mmd)
1.0 (shogun mmd with K[0,0] = 0 (unchanged))
-1.0 (shogun mmd with K[0,0] = 2e8)
So changing values of the diagonal entries of the kernel matrix changes
the ST_UNBIASED_FULL estimate. The same observation also applies to the
ST_UNBIASED_INCOMPLETE estimate where changing the diagonal entries or the
k(x_i,y_i) entries changes the estimate while it should not.
Any idea what is happening?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/issues/5133, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFKVP2UWCXORJS2T4CO3HLSSEZOHANCNFSM4UF52Y2A
.


Change Error Messages in TSDB Status Page

This PR changes the wording when there are no datapoints to No datapoints left instead of the blanket Error parsing time. Another test is also added and both are moved into the correct testing suite.
Follow up to #8654 as proposed here.

:+1: Thanks!


Changed the function for http://localhost:8080/api/user

I have done the same thing what @alexeykazakov (https://github.com/fabric8-services/fabric8-auth/issues/135#issuecomment-334320707) mentioned. For some reason the api request is working for me. I was also able to get ctx.ResponseData. Also make a note that everytime after make dev, I had to generate a new access_token. Otherwise, it gave me 500 Unknown error.
@sbose78 Can you verify if this works for you as well?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

[test]

@kishansagathiya thanks for testing this proxy but I found a bunch of issues with the original approach. I adressed them in a new PR - https://github.com/fabric8-services/fabric8-wit/pull/1694