WIP: implement DSA plugin

This is a first working draft of the plugin.
It discovers DSA work queue devices /dev/dsa/wqN.N and correspondent device entries in /dev/char/<major>.<minor>
Here is how the work queue resources are descrived in kubectl output:
$ k describe node dhcp0 | grep -A3 Allocatable
Allocatable:
  cpu:                  2
  dsa.intel.com/wq0.0:  1
  dsa.intel.com/wq0.1:  1

Ref: #442

Codecov Report

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

@@           Coverage Diff           @@
##           master     #494   +/-   ##
=======================================
  Coverage   56.41%   56.41%
=======================================
  Files          30       30
  Lines        2035     2035
=======================================
  Hits         1148     1148
  Misses        816      816
  Partials       71       71

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 74ec533...483dcf3. Read the comment docs.

@bart0sh nice! can you capture this as an open item:
"For example, Intel® DSA devices can use the IDXD kernel driver or DPDK-supported drivers, such as vfio-pci."
we may need to have something similar what QAT plugin does with regards to binding the device to a certain driver?

Thanks for pointing this out. That definitely makes sense for future work.
On the current stage, however, we'll be fine with supporting 3 modes: user, kernel and mdev in my opinion. All of them are provided by idxd kernel driver and idxd is supported by DPDK IOAT Rawdev driver. That can cover most of use cases.
Current draft is a POC supporting only user mode. I'm planning to extend it in the next 3-5 days to support kernel and mdev modes + add support for shared and dedicated work queues. So, the device resource would look like dsa.intel.com/-wq0.0-, e.g. dsa.intel.com/user-wq0.0-shared.

@bart0sh is <queue> meaningful for the user? also, is kernel mode something that needs to be exposed to containers?

@mythi work queue is the only consumable DSA resource as far as I understand. Other DSA resources (engines and devices) are used mostly for configuration purposes. All userspace libraries I've examined work with queues, i.e. with /dev/dsa/wqN.N device nodes and symlinks.
kernel mode resources don't need to be exposed to the containers as far as I can see. However, they can ensure that either  other workflows are not using DSA device in dedicated mode or that amount of other workflows using the device is not higher than plugin would allow in shared mode.

As a user I would probably be not interested in a particular queue, e.g. wq0.1, but in just any queue available. Then at runtime I'd configure my software to work with the allocated queue. The name of the queue could be passed with an env variable. Does it make sense?

@rojkov users might be interested in using multiple queues on the same device for performance reasons. On a workload level queue names are usually hidden from users by high level userspace APIs.
Configuration of the queues should be done by cluster admin from my point of view. User would just specify which queues are needed for the workflow.

@rojkov I should've explained queue naming scheme better. Its format is wqD.N, where D is a device number and N is a queue number.

@bart0sh: @rojkov highlighted the same question what I had in mind: are all the devices the same or would user care about device "topology". It looks that there are N amount of wqD devices so would it make sense to make it: dsa.intel.com/wq0: 2. etc..

@mythi That would make sense for the same type of queues. However, I'd not suggest doing this unless we want to restrict plugin to share only one type of queues or something similar.
For example: wq0.0 can be configured as dedicated user queue and wq0.1 - as shared mdev queue. So, for the naming scheme I'm proposing the correspondent resources would be: dsa.intel.com/wq0.0-user-dedicated and dsa.intel.com/wq0.1-mdev-shared respectively.

It sounds like a node is going to have only one available resource per type (the types are 4 dimensional: 1) device, 2) queue, 3) user/mdev, 4) dedicated/shared) and users are supposed to know which particular queue to use. Right?
Is it possible to have dsa.intel.com/wq0.0-user-dedicated and dsa.intel.com/wq0.0-mdev-shared on the same node? What about different nodes?

@rojkov queue can't have 2 types at the same time, so having dsa.intel.com/wq0.0-user-dedicated and dsa.intel.com/wq0.0-mdev-shared or even dsa.intel.com/wq0.0-user-shared is not possible on the same node.
However, it's possible on 2 different nodes.
After giving your idea more thought I think it makes sense to group work queues by their types, i.e. having resourse names  dsa.intel.com/wqD-<user or mdev or kernel>-<shared or dedicted> or even without device number:  dsa.intel.com/wq-<user or mdev or kernel>-<shared or dedicted>.

@mythi @rojkov just discovered that queues can be given a name. Not sure it matters anyhow as device nodes will be named the same way, e.g. /dev/dsa0/wq0.1. Do you think those should be also part of resource names?
Another thing is grouping. DSA engines and queues can be grouped. I was not going to expose this info at least in the first plugin version. What's your opinion?
I'm still thinking that exposing 2 types (shared-dedicated and kernel-user-mdev) should be enough for majority of use cases. Thoughts?

I'd start with dsa.intel.com/wq-<user or mdev or kernel>-<shared or dedicted> and probably wait for users' feedback.

I'd start with dsa.intel.com/wq-<user or mdev or kernel>-<shared or dedicted> and probably wait for users' feedback.

+1

Another thing is grouping. DSA engines and queues can be grouped. I was not going to expose this info at least in the first plugin version. What's your opinion?

@bart0sh let's start with basic resources as discussed earlier and add configurability/grouping later.


Replace unmaintained actions-rs/* actions in CI workflows

Basically all of the actions-rs/* actions are unmaintained. See https://github.com/actions-rs/toolchain/issues/216 for more information. Due to their age they generate several warnings in CI runs, for example in https://github.com/aevyrie/bevy_mod_picking/actions/runs/4508384305:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

To get rid of those warnings the occurrences of actions-rs/toolchain are replaced by dtolnay/rust-toolchain, and the occurrences of actions-rs/cargo are replaced by direct invocations of cargo.

Thanks!


Update CLI documentation for local dev quickstart

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

Thank you @khaale for the contribution!
This is a breaking change on CLI, which we shouldn't add.
We are fixing it to make the CLI command in original instruction works.
Thanks again
Bowei

Actually, I meant to close this. #2172 is checked in.


Add tests filter

@sksamuel similar to the tag request, a filter would be really helpful. the exclude / filter options on the test task only work for me if I use Junit but I really would prefer using this plugin.

This is easy to do, but we need to consider what syntax to use.
Gradle style perhaps:
entire spec
--tests a.b.SpecName
or specific test path
--tests a.b.SpecName mytest**
or
--include a.b.SpecName mytest**
--exclude a.b.SpecName mytest**

I prefer the gradle style commands with filtering by class name personally. A specific test would be super cool because then I don't have to do the f: thingy to focus for each test in code when I am debugging. The first one to run a specific spec is also helpful.

Retaining this functionality would be nice if it is not too much work:
https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/testing/TestFilter.html

Yeah that's what I was thinking. The gradle one isn't great as it uses a ClassMethodFilter internally which assumes the test name is a method handle.

Ah gotcha. The killer feature is the specific test within a spec.
How hard is it to do a line number run? Like in ruby they have this thing where you can call File: and it will run the containing test. Just a thought and maybe not even something thats possible

Line number is possible, but I think the test path is sufficient
--include a.b.Spec full name of test here (or wilcard).
On Wed, 14 Apr 2021 at 11:32, Reza Malik @.***> wrote:

Ah gotcha. The killer feature is the specific test within a spec.
How hard is it to do a line number run? Like in ruby they have this thing
where you can call File: and it will run the containing test. Just a
thought and maybe not even something thats possible
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/kotest/kotest-gradle-plugin/issues/3#issuecomment-819654696,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGQHJ4XKZO5LJLT3ORLTIW7SNANCNFSM4R3DNLXQ
.

Agreed there

@sksamuel Like we discussed, this would be a very needed enhancement when you get a chance to get to it.

It will go into 5.0
On Mon, 14 Jun 2021 at 10:24, Reza Malik @.***> wrote:

@sksamuel https://github.com/sksamuel Like we discussed, this would be
a very needed enhancement when you get a chance to get to it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kotest/kotest-gradle-plugin/issues/3#issuecomment-860774188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGVWCX4O3Y25D4H4JO3TSYNL7ANCNFSM4R3DNLXQ
.

Test filtering works well using the Kotest plugin for IntelliJ. The "Kotest" tool window uses the current editor view to show the opened spec class with a list of its test paths. You can use it to create a new Kotest run configuration which allows to configure "Test Path", "Spec Class", and "Package". It used these values and passes them to the kotest engine language entry point, e.g. io.kotest.engine.launcher.MainKt --package my.package.com --spec my.package.com.MySpec --testpath test path --reporter teamcity
It seems the Kotest Gradle plugin also uses this entry point but does not pass these arguments.

Yeah the -Dkotest.filter.specs and -Dkotest.filter.tests are 5.x only.

@sksamuel Did this already make it into 5.x?

Yes it's available in 5.
So we can update this now.
On Fri, 4 Feb 2022 at 15:15, Reza Malik @.***> wrote:

@sksamuel https://github.com/sksamuel Did this already make it into 5.x?
—
Reply to this email directly, view it on GitHub
https://github.com/kotest/kotest-gradle-plugin/issues/3#issuecomment-1030354528,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGUL2WUADTHDUJPDJFTUZQ6VHANCNFSM4R3DNLXQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for working on getting this in


Qt4 is mistakenly an option in graphics preferences

Problem Description
PyQt4 support was removed in https://github.com/spyder-ide/spyder/issues/6889
However, Qt4 is still an option is Spyder v3.3.1.
See Tools > Preference > IPython console > Graphics tab > Backend

The fact that Spyder doesn't work anymore with Qt4 doesn't mean that people can't use Spyder to create applications with PyQt4 or use the Matplotlib Qt4Agg backend.
That's why that option was not removed when we removed support for PyQt4.


Update README.md

I believe the plugin you created is quite useful. I've taken a look at the source code, and I'm impressed with your approach. While you might already have plans, I wanted to contribute, so I've submitted a pull request to update the README.md.
https://github.com/YU000jp/logseq-remove-empty-blocks-typescript/blob/updateREADME/README.md

Thanks for your work!


rework store api

This PR consolidates the work that I've been doing on this plugin. Here is a quick rundown:

Introduce StoreFileBuilder struct that allows store configuration to be set by the host, including default values and custom serialize/deserialize functions.
Add several convenience methods: length, keys, values, entries
Reusable loading and saving functions for each store. The API exposes load and save methods to sync state from and to disk on demand.
Rename StoreFile to Store and Store to StorePlugin
Introduce a proper Error type for invoke handlers to return
Add license headers
Add rustfmt config
Add doc comments to public rust API and js API
Added covector
Added change files for a nice first changelog

supersedes: #6
supersedes: #5

Really amazing work!


Convert external source to entity

This PR expands on #539 and implements a way for the user to import external entries into DSpace through the lookup window.
Removed the option to select external entries in the lookup window and replaced it by an "import" button.
Clicking the button opens an import window for the relevant external entry.
This window displays:

Information about the external entry (display value and uri)
A text input for the collection ID to import the new entry into (this is a placeholder and will be replaced by a dropdown of sorts). The collection we're submitting in is automatically entered here.
A selectable list of similar entities already present in the repository
An option saying "new entity"
An option saying "new authority"

Selecting any of the options will automatically deselect the other options.
Clicking import with a local entity selected will simply add the local entity to the selected list in the lookup window.
Clicking import with new entity selected will perform an import of the external entry into a DSpace item for the collection entered. After the import is complete, the new entity is added to the selection on the lookup window.
The authority option is a placeholder and currently doesn't do anything when selected.

Thanks for the comment @paulo-graca ,
the collection input is a temporary placeholder, it will eventually be turned into a proper dropdown.
I have however moved the input below the "entities" label, as it indeed makes more sense to be positioned here.
As mentioned in the PR description, the authority option is also a placeholder. To avoid confusion, I've added the boolean property authorityEnabled to the component and set it to false. This hides the authority section of the import window for now.

The commits specific to this branch (excluding #539) can be seen at https://github.com/atmire/dspace-angular/pull/4 to ease the code review


Fonts from google are getting blocked if requested from http when PdnsAd. is run via https

When running PowerDNS-Admin via https, and using Chrome, one gets the following error:
Mixed Content: The page at 'https://dnsadmin.net/pdnsadmin/domain/example.com' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all'. This request has been blocked; the content must be served over HTTPS.

That is because of the links in the head:
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
 <link href='http://fonts.googleapis.com/css?family=Roboto+Mono:400,300,700' rel='stylesheet' type='text/css'>

The files in question are:
app/templates/base.html
app/templates/login.html
Related: #30

I believe the proper syntax should be
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>

That way the browser will use the same protocol as it used to load the page itself.

Yes, It should be // instead of http:// in the url. Fixed it commit bca3005


Added a new configuration option 'alwaysFireChange'

If set, the dp.change event will fire even if the actual date value had not been updated.
Resolves #993
In addition, our use case is to update an input control not owned by the datetime control. When creating the datetime picker control with defaultDate set, it doesn't fire the dp.change event due to this behaviour. Our code is simpler for controlling the content of that input if we can just listen to the dp.change event and always expect it to fire with the current value.

The proposed change makes sense. Or we need another event to handle the situation, something like "db.click".
Why haven't the maintainers responded for a year? Is the project unsupported?

It's a very useful improvement.


Output list of refreshed themes in theme:refresh command

1. Why is this change necessary?
The theme:refresh command does not show any output, which might be confusing
2. What does this change do, exactly?
It outputs the names of the refreshed themes
3. Describe each step to reproduce the issue or behaviour.
bin/console theme:refresh
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 17 committers have signed the CLA.:white_check_mark: hanneswernery:white_check_mark: shyim:white_check_mark: geertijewski:white_check_mark: peterjaap:white_check_mark: jleifeld:white_check_mark: Schrank:x: pweyck:x: OliverSkroblin:x: taltholtmann:x: ssltg:x: Niklas:x: tobiasberge:x: bneumann97:x: PaddyS:x: quynhnguyen68:x: Dominik28111:x: mitelgNiklas seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This PR was closed due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://docs.shopware.com/en/shopware-platform-dev-en/contribution/contribution-guideline


feat: add docsUrl configuration (#51)

with the new docsUrl configuration, you can integrate in existing astro projects with a different sub route.

Adding functionality as asked on #51 . Had the same problems on my project.

Thanks for your PR. I made some changes and merged it int https://github.com/ocavue/astrobook/pull/56

Thanks for your PR. I made some changes and merged it int #56

No problem!
I am making some changes to add notes to the documentation, just like the official storybook.
Will definitely open a new PR when finished!
Thanks for maintaining this project, really.


Preserve contract history/ created date on genesis import

For history reasons with Tendermint starting at height 0 only, we had squashed the contract history on dump state import. This is not needed anymore as Tendermint evolved and leaves some smell with tests using imports.
Preserving the full history and state would also enable adding more data to queries as requested feature.

@GNaD13 is this something you find interesting and want to start?

@GNaD13 is this something you find interesting and want to start?

Yeah, Can I take this??

I would remove this from 0.30 scope as it is L and already way over delivery.
But happy to merge this in main and the next release from when it is ready.
So, help is appreciated, but ideally we can check https://github.com/CosmWasm/wasmd/milestone/22 and ensure everything is done there first (some issues have open PRs already)


fix: double gas for UTXOs only

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3753   👈

This comment was auto-generated by Graphite.


Update deployment-server.yaml

Fix multiple envFrom in deployment.yaml

That's great !
Thank you for the contribution here @mittalsuraj18, very appreciated !


recalibrate() fix

Please update your branch from bearing:master since there have been several changes in bearing:master that are not in your fork yet.

@yarocoder you mentioned at the meeting you had updates, could you please push so that they appear here? Thanks.

Hi Brian,
Yeah, it prevented me from making an edit to the code last night without fixing the discrepancies between my commit and the current working calibrate.py code.
Let me know if you want any edits to fix the mismatching metadata error with Gamma_Analysis.py (possible solutions indicated in my comment for the associated issue in the Issues tab on this repository).

Hi Brian,
The recent commits are for both the recalibrate() and Sea Salt issues. The changes I've made are as follows:
calibrate.py: In the recalibrate() function, the _recal identifier is removed from every element containing it from essentially the sample_measurements object (called files in recalibrate()) before being passed into the calibration_table function. Also, I've fixed the capitalization in the check for _recal.Spe which may or may not have been an issue in the original code. Now I think the functionality is solid for the recalibrate() function, but a new issue has appeared: A "peak not found" error is issued by calibration_check(). I need help with this error because the peak finding is a more technical aspect of the code, and it's part of the changes that need to be made (see Required Changes below).
Gamma_Reference.py: Renamed the Reference() class into base_reference_class(). Created an inherited class petri_reference_class() that adds the specific count rate as an attribute ref_spec_ct_rate, while preserving the reference mass, concentration, concentration error, and conversion attributes. Created a specific count rate list petri_specific_count_rate that is pulled from elements N2-N19 from the UCB018 Loc010 (reference) Petri Google sheet. Created a list of samples names that require the use of the Petri reference. Created a separate soil mass for the Petri reference and renamed the old S5F soil mass reference. Changed the use of the S6F soil mass to the S5F soil mass as taken from the associated Google Sheets. Created a petri_reference attribute of Gamma_Reference.py that creates an instance of petri_reference_class() and inputs the Petri reference mass, concentration, concentration error, conversion, and specific count rate array.
Gamma_Analysis.py: In the main() function, assigned the S5F reference by default. Added a check if the sample uses the Petri reference, if so it assigns the specific activity attribute of petri_reference in place of the UCB018_Soil_Sample010_2.Spe spectrum. In the analyze_isotope() method, added a check if the reference is of type base_reference_class() or petri_reference_class() and if so assigns the soil_reference or petri_reference attributes of Gamma_Reference.py as the reference object for mass, concentration, concentration error, and conversion (and specific count rate in the case of the Petri reference). Added the same check when the code finds the reference peak, peak area, emission, emission uncertainty, and activity. The usual method is used if the reference object is the S5F reference class, and a simple assignment of the ref_spec_ct_rate attribute of petri_reference is done if the reference object is the Petri reference class. Either way, the reference_activity and sample_comparison objects are input into the isotope_concentration method. In isotope_concentration, I've added the check of reference objects, but there is no functionality (see Required Changes below). One additional change is the removal of the input of the detector efficiency into emission_rate() function and the use of it in that function. We should keep the absolute_efficiency() function in case we need it in the future, but currently the code does not need it.
Required changes: In Gamma_Reference.py, there needs to be a list of the which isotopes each element of petri_specific_count_rate refers to and an attribute for an isotope list can be added to it. This can play into the idea of having a dict for the isotope references in isotope_concentration(). I think the major issue in analyze_isotope() is that it calls on isotope_activity() to find a weighted average of the isotope activity based on the emission rate array input into it, which becomes a problem for the Petri reference since we only have the specific count rate for each peak. So I need help breaking the petri_specific_count_rate list based on which isotope each peak energy belongs to and help with either creating an emission rate array for the Petri reference or finding the weighted average of the specific count rate for each isotope in the Petri reference and inputting that into the isotope_concentration() function.

See comment in Sea Salt pull request!

The changes remaining in this pull request are either already included in #60, or they are reversions. So I'm closing this now.


need to flag use of aria-selected on option element

using aria-selected on a native <option> element doesn't actually do anything and the native selected attribute / functionality of the control always wins out.
developers shouldn't use the attribute on the native option element
https://w3c.github.io/html-aria/tests/option-aria-select.html

verified


After idea 2018.2 installs lombok, it still shows me lombok dependency is missing.

Short description
After idea 2018.2 installs lombok, it still shows me lombok dependency is missing.
Lombok Dependency is missing
Project "sell" does not seem to have lombok dependency added.
This plugin does not provide it and will not function correctly without.
Please make sure to add it manually and refresh your project.
But i alreadyadded dependency to pom.xml.
Expected behavior
@Slf4j can work.
Version information

IDEA Version: IDEA 2018.2
JDK Version: java 9.0.4
OS Type & Version: windows 10
Lombok Plugin Version:  Lombok 0.19
Lombok Dependency Version:  Lombok 0.19

Steps to reproduce
What steps do we need to take to reproduce this issue?

???
???
???

Sample project
Please provide a sample project that exhibits the problem.
You should also include .idea folder so we can inspect the settings.

[ ] Sample project provided
[ ] I am able to reproduce this error on the sample project by following the steps described above

Additional information
Is there any additional information you can provide to help us understanding and solving the issue?
Stacktrace
If you are experiencing an issue and IntelliJ throws an error please provide the stacktrace.

STACKTRACE HERE (inside code markup)

help me

me too

same issues

@zzzzjinxiang use plugin version 0.19-LATEST-EAP-SNAPSHOT instead. See issue #508

I added two dependencies to the pom.xml, you need delete one , this problem would disapper. That's so studied. Shame XD.


Wikigraphs paper pretrained checkpoints

Dear authors of the paper Wikigraphs,
I am currently trying to make some experiments on our dataset. Unfortunately, I couldn't be able to find any pretrained checkpoints. May I ask does it have any way for me to have the pre-trained checkpoints from you, or the checkpoints are not provided at this time?
Thank you & best regards,

Hi Do Xuan, thank you for your interests in our work. Unfortunately, we do not have any plan to release the checkpoints at the moment. However, you may train the GNN-based transformer model in the paper using the default config, or the unconditional or BoW-based one by changing model_type to text or bow2text, respectively. Let me know if you have any problem doing that.


tee: should match GNU's output if used with /dev/full

aligned 'tee' output with GNU tee when one of the files is '/dev/full'
don't stop tee when one of the outputs fails; just continue and return
error status from tee in the end

#1805


Ovirt Web-portal Console Error Setting VM ticket failed.

[ Thank you for submitting an issue to the VM Portal issue tracker. Please read these instructions and delete this section before submitting your issue. ]
[ If this is a bug report, use this section and delete the other one: ]
Description of problem [include screenshots and browser console logs]:
VM Portal version number: 4.4.10
oVirt version number: 4.4.10
Browser and version:
Steps to Reproduce:

Fresh install Ovirt 4.4.10 on HP DL380 Gen8
Access Web-Gui VM portal
Try use VM Console ( VNC/SPICE)

Actual results: Fail with the Following error : VDSM ********** command SetVmTicketVDS failed: General Exception: ('unsupported configuration: VNC password is 12 characters long, only 8 permitted',)
Expected results:
Use the Console with no errors
Additional info:
[ If this is a request for a feature or enhancement, use this section and delete the other one: ]
Feature enhancement request:
[ Describe the feature or enhancement you would like. Be as detailed as possible, including screenshots or links to design documents. ]

This is a known issue on backend: since libvirt 8 [1], a warning appears when providing a ticket with a password with length over than 8.
A fix in engine will be introduced on oVirt 4.5: https://github.com/oVirt/ovirt-engine/commit/a1e7e39348550b575f1f01b701105f9e1066b09f.
Therefore, I'm closing this issue.


Windows Python modules

I note since v0.16 there is a now a Greaseweazle WIN executable.  The Wiki Software-Installation page does not show the traditional method to install Python modules under Windows.  Before v0.16 I expect this was documented but the Wiki only reflects the latest release?
https://github.com/keirf/Greaseweazle/wiki/Software-Installation
Case in point is the installation of the "bitarray" Python module.  Can this be added to the Wiki?

Is it even possible to use the Python scripts under Windows or does it have to be a Windows executable?
I installed cx_Freeze and attempted a "make windist" but it failed.  I might open another issue for that but right now I just need to know what needs to be installed under Windows to run the Python scripts.  This used to work in earlier versions.

Yes it can work in Windows from scripts.

After all that is what cx_freeze freezes 😊

Going back to the original point what is needed to install the required Python modules under Windows please?

If you have visual c compiler installed then all required modules can be installed via  python -m pip just as on Linux.

Unfortunately Keirf you now need propriety software to build the Windows bitarray unless you use one provided by a 3rd party.
python -m pip install crcmod pyserial bitarray
Fails to install "bitarray".
For others that may be interested here is a solution...
python --version
Make note of the version number.  My install is Python 3.8.5.
Go to this site where someone has built various bitarray 32 and 64 bit packages:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#bitarray
You will see names that have "cp39", "cp28", etc.  These are the CPython version numbers.  You need to grab the one that matches your Python version and also 32 or 64 bit build.  For me I grabbed:
bitarray-1.4.2-cp38-cp38-win32.whl
Then run this using the pip command after setting the correct filename:
pip install bitarray-1.4.2-cp38-cp38-win32.whl
Now you should be able to run the install commands again:
python -m pip install crcmod pyserial bitarray
cd Greaseweazle-v0.20
python gw
You should see the GW options.

What do you mean by proprietary software? The C compiler?

Yes, I see there is a "Community" version of it that features:
Powerful IDE, free for students, open-source contributors, and individuals.
Is it not possible to use a free open source solution such as mingw?
Not sure why there needs to be Python specific versions for the bitarray module.  It would be convenient if the WHL file could be distributed with GW.

It doesn't matter, the binaries produced by the Microsoft compiler are not restricted license-wise. Bitarray and indeed python are already distributed for users in the windows prepackaged version of Greaseweazle. If you want to use the bare scripts for some reason, such as creating your own parallel releases, you have to deal with setting up the required environment yourself. It's not an installation that I support now I provide prepackaged binaries. This is to save me time.

Reason I use the Python scripts is because I made some changes to support by F1 compatible board interface which allows 4 drives and buffers and pull-up resistors that suits Shugart.  I needed to allow 4 drives but the GW F1 Python limits it to 3 drives.
I guess I could patch the EXE to allow 4 Shugart drives if it's just one byte.
ok, I understand you mainly targetting a Windows audience and it has to be kept simple for them.
So either I use Python scripts or set up a Windows build environment to use cx_Freeze or one of the others, or patch a byte or 2 in the EXE.  When I have more time I might look at the 2nd option or the user of my board understands only 3 Shugart drives with the current EXE unless you add something in as an INI config option I suggest elsewhere.

@staticmem is it worth making a PR with these changes?

@staticmem is it worth making a PR with these changes?

The Firmware changes I made are here, just follow the instructions to access the repository:
https://microbee-mspp.org.au/forum/viewtopic.php?p=16405#p16405
My Firmware changes are for v0.21 but I see Keirf has just released v0.22. So I will look at applying my patch for that release. Also keep in mind that I don't make an EXE release but as stated you can still use the Python scripts under Windows.
ps: I do make kits available as I'm so snowed under and only send kits to members in Australia anyway.  I probably should release the Gerber files for it.


Deep validation for SBoM. 1 BREAKING change.

Features

[x] Closes https://github.com/CycloneDX/cdxgen/issues/367
[x] Automatic 1.4 mode for dependency track users
[x] Performs automatic deep SBoM validation for 1.4 and 1.5 specs by default. Validates the various purls and refs.

Bug Fixes

[x] Fixes #388
[x] Fixes #389

BREAKING CHANGES

@types packages are no longer excluded for npm. This legacy feature had existed to reduce false positives with SCA tools.

Known issues

[ ] https://github.com/CycloneDX/cdxgen/issues/394

@ajmalab could you kindly test this branch thoroughly and let me know how it looks for nodejs and other projects.
With this change, @ will be used only in bom-ref and ref, while %40 will be used for all purls.

@ajmalab, waiting for your confirmation.

Hey, I won't be able to take a look at this until after a few more hours unfortunately, will get back to you when I find some time.

@heubeck Could you test this PR by passing the argument --spec-version 1.4?

@heubeck Could you test this PR by passing the argument --spec-version 1.4?

very happy to do so, stay tuned.

First observation (no issue, but would need to adapt my tool), the metadata.component section on recursive (-r) mode differs (seems more appropriate, is it cdx 1.4 compliant?):

On a mixed project (maven + yarn) cdxgen 9 fails (but outputs a file):

reason is this (right side is cdxgen 9):

component section for reference:

Hey, the bom-ref of the library in the component section is also urlEncoded, while the bom-refs in the dependencies block aren't. I believe they should be consistent.

@heubeck, could you retest and share your observation? Could you also join our discord https://discord.gg/pF4BYWEJcS

Tested for the purl behaviour, looks good!

@ajmalab could you also test monorepos etc to see how it looks?

@heubeck, could you retest and share your observation? Could you also join our discord https://discord.gg/pF4BYWEJcS

Awesome, @prabhu - now all my tests succeed, from my tools perspective, this version using --spec-version 1.4 behaves the same like cdxgen 8.6
:man_dancing:

@heubeck, could you retest and share your observation? Could you also join our discord https://discord.gg/pF4BYWEJcS

Awesome, @prabhu - now all my tests succeed, from my tools perspective, this version using --spec-version 1.4 behaves the same like cdxgen 8.6 man_dancing

Also fine with the latest update. Thank you, really looking forward to the new release.

Hey @prabhu, curious, what was the reason for not using valid purls in the bom-ref too instead of keeping the @ symbol as is?

@ajmalab, it would be another breaking change since downstream tools such as depscan use bom-ref for display, etc. Is it affecting your workflows?

Ah I see. It's fine for my workflows, was just curious if it was related to the spec :)


Fix storypins ui

Fixes tests and fixes bugs.

Is this PR supposed to be against the composer branch?

Wrong branch. WIP


In install documentation state where can you find custom_libs folder

While installing the program i was not able to find obs-websocket.dll the custom_libs folder mentioned in the last part of install documentation does not say where it is located.

Do you mean this article? If so, it states that for older versions you need to use OBS Notifier 1.0.5 or older (1.0.4, 1.0.3..).
For new versions of OBS, no additional actions are required, so there is no custom_libs.


p2p: add optional "expected peer id" check

https://github.com/iqlusioninc/tmkms/blob/de115cd2494f197081db34b955386398613b2dda/src/connection/tcp.rs#L56
maybe in order not to be a breaking change, this can be put in a separate new_with_peer_id function instead of new

This is a fairly important, long-unaddressed issue: though the handshake is authenticated, the peer's identity is never verified, so the connection is trivially MitMed.

This is a fairly important, long-unaddressed issue: though the handshake is authenticated, the peer's identity is never verified, so the connection is trivially MitMed.


Bad line breaking before '+', '-', '&&' etc, even when in parenthesis

function plusone(x) {
  return (x
    + 1);
}

In the function above JSHint complains that there is a Bad line breaking before '+', even though the whole return is within parenthesis, specifically to avoid ASI.
I use this style of coding because I find that it's easy to lose track of a + at the end of the line. Having it in the beginning gives me a better/quicker overview/understanding, especially when there is a really long, multi-line expression following.
Also operators which aren't subject to ASI are affected, such as && or ||. Is this considered bad style that should be avoided?

Sorry, this isn't a "proposal" as it's already been agreed to


Storybook Components: Sales/Auction/Button and Sales/Open/Button have some unclear stories.

Some of the stories have unclear names likes V1, V2, etc. Need to figure out if they are really useful and if they are how to properly name them.
Storybook:

Code:

storybook removed


Once it is rotated, the AquireFragment only displays the wait screen.

If the AcquireFragment is showing and I rotate the screen, GamePlayActivity onCreate is called again, causing new BillingManager creation, causing startServiceConnectionIfNeeded(null) to be called.
While that connection is being established, startServiceConnectionIfNeeded also gets called via AcquireFragment.handleManagerAndUiReady(), causing onBillingSetupFinished() to run with error code 5 (developer error) because "Client is already in the process of connecting to billing service." (warning from BillingClientImpl.startConnection()).
So setWaitScreen(false) doesn't get called from handleManagerAndUiReady() and the user would have to press back and then press purchase again to continue with the purchase flow.
@gorgon

Are you talking about TrivialDrive_v2?
There, once you rotate the screen, your activity (and so the BillingClient) should be destroyed and a new BillingClient instance should be created. So there should be no problem with the client being already in the process of connection to billing service.

Thanks for your response. No, not TrivialDrive_v2, I'm talking about this codelab.
Yes, BillingClient is being destroyed and re-created. However, when you rotate the screen, there is much less time elapsed between the BillingClient being created and handleManagerAndUiReady() being called in AquireFragment. There is much less time elapsed because the user does not need to press the purchase button before handleManagerAndUiReady() is called.

Codelab is implemented to be as short as possible, so it doesn't handle the rotation properly.
Please see TrivialDrive_v2 for proper implementation.


sed: -e expression #1, char 16: unknown option to `s' -< *seems to fail near end of start_geocint.sh

Fixed in the latest merge


Windows hardshare client-side

Windows host, hardshare client

the new hardshare client implementation does not use UNIX sockets and will be compatible with Windows.


Correspondence between Hand and Body Images

Hi, thanks for your dataset.
Is there any correspondence between hand and body images? i.e. Given the cropped hand image, can I find which body image it was originally from?
I'm interested because if we can find some samples where both hands and body are annotated, it might be helpful to learn the correlation between them.
I briefly checked the dataset before opening this issue. It seems that the images are not directly related by name. e.g. in the sample data, Sample_hand/subject_1/hand/00000001/image_cropped/left/image0000033.png is not likely to come from
Sample_body/subject_1/body/00000001/image/image0000033.jpg.

Am I getting anything wrong?
Thank you :)

Thank you for being interested in HUMBI. Actually, as you have noticed, hand data and body data are not captured at the same time (When capturing hand data, subjects were asked to focus on following some American sign languages while stand still). But thank you for bring up the point and we will consider that in next round of improvement.


Make lambda blocks resizable

The code looks reasonable. I'm not sure I like the color, and I'm not sure I like that it's not controllable through CSS, but it seems to work well.
An alternative solution would be to resize the lambdablock to the bounding box of its children. This is when Blender does for group boxes. A partial implementation of this is in the autoresize-lambda-block branch. Would you prefer this approach, that approach, or both approaches?

I didn't spent much time on how it looks, that something of lower priority for later.
The bounding box approach is good for finished program parts and setting minimum sizes.
When constructing a program you might want to reserve space, and resize the lambda to bounds where it is easy to drag blocks into particular places.
So ideally it is a combination of both.

Agreed. Will merge, thanks again!


GloSC launcher running in UAC Elevated mode causes Steam to force SC into Lizard mode

Ever since Valve reworked their UAC detection code a few weeks ago GloSC has been having trouble with Steam forcing the Steam Controller into Lizard Mode when it detects focus on the SteamTarget.exe dummy window.
I'll probably also file this as a bug with the Steam developers, but I just thought I'd let you know if you hadn't tested GloSC on the steam client beta branch yet.

The issue here is that Steam cannot send the controller to lizard-mode anymore if GloSC is running?

I probably didn't explain it clearly, so I'll try again...
The issue is that GloSC_GameLauncher.exe is running with elevated permissions so it can launch programs and hook properly, thus any program launched from it runs under its elevated permissions which Steam gets confused by and thinks it needs to be in Lizard Mode to interact with the game window. The SteamTarget.exe dummy window works fine (Lizard Mode is disabled when interacting with it), but the actual input to the game window is disrupted by Lizard Mode so the user selected config never gets used.

Just clearing up a misconception here:
GloSC_GameLauncher doesn't hook anything.
It needs (rather needed) admin privilegges to UN-hook Steam ;)
Anyway this is fixed by commit 18a51cf9c3a6b0497c78a86171d25ef2d0ce0ffc


Add photo album example.

This demonstrates a contextual transition where the context can change.
Most of the meat of this PR is the PhotoAlbumTransition implementation.

Gentle ping.


Only run post action for cache subcommand

This approach doesn't work - seems like the post-if  can't see inputs.command, or maybe my syntax is wrong.


[OSDEV-1102] Propagate production location updates to OpenSearch (match promote, split)

OSDEV-1102) Propagate production location updates to OpenSearch (match promote, split)
A refresh was added for the 'updated_at' field during promotion and split because extended fields for the new and old facilities are updated using a trigger in these methods.

Please fix conflicts.
Remove unnecessary ) in the link to the ticket in the PR description.
What do you think about changing the description to this:

This PR adds functionality to refresh the updated_at field during the promotion and splitting of facilities. This change is necessary because the extended fields for both the new and old facilities are updated via triggers within these methods, and refreshing updated_at ensures accurate tracking of the most recent modifications.


generate_payload: add new subkey

Could you put the command you used to generate the gpg key block in the commit message?


support gulp-data

support gulp-data https://www.npmjs.com/package/gulp-data

@ccbikai this has now been published.
https://www.npmjs.com/package/gulp-handlebars-extended


Telemetry Code Changes

Task Description
I need to remove some things and make some code changes based on the final setup.

as per @swissspidy  needs to update the telemetry based on custom events/dimensions approved by the review team

@swissspidy  to remove the unapproved item prior to deploy as part of RC1


issue in powerpool/monitor.py

class ServerMonitor(Component, WSGIServer):
    """ Provides a few useful json endpoints for viewing server health and
    performance. """
    # Use our custom wsgi handler
    handler_class = CustomWSGIHandler
    defaults = dict(address="<IP_ADDRESS>",
                    port=3855,
                    JSON_SORT_KEYS=False,
                    JSONIFY_PRETTYPRINT_REGULAR=False,
                    DEBUG=False)

The address & port values are hard-coded in monitor.py. I'm trying to run powerpool and simplecoin_multi on two separate hosts...  the settings in config.yml are not overridding the values set here.

The code section you've posted is a default. The config settings do override the monitor (we're running about 8 instances on simplemulti), please make sure your config file is getting used/loaded in.
If it is a configuration issue I'm happy to take a look - but it is probably better to handle those sorts of issues on our mailing list - https://groups.google.com/forum/#!forum/simplecrypto-dev

I think I may understand my issue...  The example config shows:
#MON:
#address: "<IP_ADDRESS>"
# Default port. This gets ofset
#port: 3855
# Whether or not to sort + pretty print the JSON output.
#JSON_SORT_KEYS: False
#JSONIFY_PRETTYPRINT_REGULAR: False
# Use DEBUG output
#DEBUG: False
####### Monitor config example #######
MON:
type: powerpool.monitor.ServerMonitor

That's how I built my config,2 separate sections.  Thought it looked weird.
I'm guessing that this needs to be all together:
MON:
type: powerpool.monitor.ServerMonitor
address: "my.ip.address"
port: 3855
etc....
?

Yea, I believe you can only set one monitor per PowerPool instance

Your top section is that you gave is all commented out, so it's doing nothing...
For support please email the mailing list instead.


Tutorial for a working matteircd example using docker images

I used Docker images on a Fedora 23 x64 machine:
docker pull mattermost/platform
docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform

Visit the address http://localhost:8065/ then

create an account<EMAIL_ADDRESS>( user hello , and password hello ),
and also an organization named temporary

docker run -d -p 6667:6667 --name ircd xyproto/matterircd -mmserver localhost -mmteam temporary -interface <IP_ADDRESS>

Then opened IRC client ( e.g. xchat ), and in an new server tab and enter:
/server localhost

This connecs to the matterircd IRC server, and login:
/msg mattermost login hello hello
LOGIN hello@localhost hello

Next step fails:
/j #town-square   for which I get Cannot join join (Channel is invite only)
This seems to connect and refuse, but not yet fully working.
I think there needs to be a working demo example using Docker images. That will enable someone to evaluate IRC integration.

Mattermost is a fast-moving target lots of internal changes that breaks older versions of matterircd.
The matterircd docker image also doesn't seem to be up to date.
But you can get it running if you fix your setup.

Mattermost must run on port 80 (if using http), or 443 (if using https), matterircd has no support for other ports yet. And you must specify version 2.0

docker run --name mattermost-dev -d --publish 80:80 mattermost/platform:2.0

Because you're running http you need the -mminsecure parameter. Also the -mmserver is not localhost because that will try to connect to the inside of the docker container. You'll need to specify to ip address of your docker host. So change -mmserver <IP_ADDRESS> to your ip. Also specify -debug so you can get more information what went wrong.

docker run -d -p 6667:6667 --name ircd xyproto/matterircd -mmserver <IP_ADDRESS> -mmteam temporary -interface <IP_ADDRESS> -mminsecure -debug
If you follow this, it should work.
Any tutorial, maybe by combining your and mine posts is welcome :-)

Made this: https://github.com/maxandersen/mattermost-ircd-example

@maxandersen +1

The tutorial from @maxandersen  works! I think we can close this issue now.

@maxandersen Would you mind adding your information to https://github.com/42wim/matterircd/wiki ?

did a quick'n'dirty copy/paste of the info.

Thanks!


Fixed keyboard host dpad up/down directions

Fixes regression for #764 and reverses a change made in #658

Looks good to me!


Refacor: Move test dir to packages

Move toolkit/test/test.helpers.ts into toolkit/packages, so that external projects can directly rely on the testing methods inside.

I think you need to add the index file you're referring to from the package.json.

Done.


Test and build wheels for musllinux aarch64

NumPy has starting building musllinux aarch64 wheels (numpy/numpy#24993) so let's follow their lead. Building the wheels is easy thanks to cibuildwheel, but we will follow the usual policy of only building wheels for platforms we are actively testing on in CI. When numpy release such wheels it will be simplest to test using QEMU on a github runner in the same way as is currently done for musllinux x86_64, but building numpy from source within emulation is a slow process. So here using some of the limitied Cirrus CI resources to test on ARM64 hardware.

Tests successfully pass on Cirrus CI.
Wheel successfully build by cibuildwheel, testing on quay.io/pypa/musllinux_1_1_aarch64 docker container on M1 mac.


OpenIdConnect and cookie

#As of OpenAPI Specification 3.0 it is possible to use more authentication methods, in ASP.NET Core it is easy to AddAuthentication with OpenIdConnect and AddCookie. As swashbuckle is not supporting 3.0 I'm looking at NSwag. Is it possible to use NSwag and use cookie-authentication?
https://swagger.io/docs/specification/authentication/
https://swagger.io/docs/specification/authentication/cookie-authentication/
and use OpenIdConnect discovery?
https://swagger.io/docs/specification/authentication/openid-connect-discovery/

The answer before is just to change the spec for your needs. Maybe we also have to add more settings to configure the Swagger UI for that...,

I think I'll spend some time into NSwag and see how far I can get with it. With "we" you mean that there is no own processor or custom html template to use as override as in "me" to do so? :)

There is a processor to add scopes:
https://github.com/RSuter/NSwag/tree/master/src/NSwag.SwaggerGeneration/Processors/Security
But there is not processor to add auth infos except this one (Swagger 2.0 only?): https://github.com/RSuter/NSwag/blob/master/src/NSwag.SwaggerGeneration/Processors/Security/SecurityDefinitionAppender.cs
And maybe we have to add more UI configuration settings: https://github.com/RSuter/NSwag/blob/master/src/NSwag.AspNetCore/SwaggerUi3Settings.cs#L36


Ignore .docc files rather than emitting warnings, since it's useful to have them in packages without warnings

Ignore .docc files rather than emitting warnings, since it's useful to have them in packages without warnings.
Motivation:
Unlike other Xcode-specific file types, such as Storyboards and Asset Catalogs, the .docc bundles are not needed for correctness during the build, and should therefore not trigger warnings.
Modifications:

introduced a list of ignored file types in TargetSourceBuilder
add that list to the end so it is only used if additionalFileTypes doesn't contain those types
add a unit test

Result:
Building a package does not emit warnings for .docc bundles.
rdar://78133445

@swift-ci please smoke test


Bug in introduce field from constructor

#Bug
Introduce field from constructor in a struct does not work.
class A
{
    public struct B
    {
        public B(int a)
        {

        }
    }
}

Current output after fix applied (if it is a code fix bug):
class A
{
    private readonly int a;

    public struct B
    {
        B(int a)
        {
            this.a = a;
        }
    }
}

Expected output after fix applied (if it is a code fix bug):
class A
{
    public struct B
    {
        private readonly int a;
        public B(int a)
        {
            this.a = a;
        }
    }
}

Bug confirmed, @FLOAT4 is working on it.


Update Docs: Intro “start-with-a-template”

Summary

Test plan

Checklist
Please add a x inside each checkbox:

[ ] I have read the contribution guidelines.
[ ] Code is formatted via running yarn format.
[ ] Tests are passing via running yarn test.
[ ] The status checks are successful (continuous integration). Those can be seen below.

A picture of a cute animal (not mandatory but encouraged)

Changed logo and shortened title

Thanks @wernerglinka, can you check https://metalsmith-netlify-cms-starter.netlify.app/? I might be confusing for users reading the README that the link is broken.

I fixed the link

I fixed the link

Great, I think I used the stale one from the PR. https://metalsmith-netlify-starter.netlify.app/ works!

Thanks for the follow up @wernerglinka 🚀


can't run demo

@zixia
THX for your wechaty from v0.15.167
i am download from github code . and run in node environment。but i can't run the demo 。 this is my step:
1、 cd  wechaty-master/examples
2、npm start ( ts-node ding-dong-bot.ts )
show some error
12:16:44 INFO Wechaty v0.15.167 starting...
12:16:44 INFO Wechaty initPuppet() using puppet: puppeteer
(node:19522) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
at PuppetPuppeteer. (/Users/Radish/Desktop/wechaty-master/src/puppet-puppeteer/event.ts:95:33)
at Generator.next ()
at fulfilled (/Users/Radish/Desktop/wechaty-master/src/puppet-puppeteer/event.ts:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:19522) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19522) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
i have some suggest
i think may be some developer don't know how to run the demo .
if @zixia   you have some time , you can  write a  detail  course  about how to run the demo .
thank you very very much .
my setp to run demo (but fail):
1、download code an go to file  cd wechaty-master/examples :
  RadishdeMacBook-Pro:examples

2、try to look ts-node version , i am no install ts-nodel:
  RadishdeMacBook-Pro:examples Radish$ ts-node -v
  bash: ts-node: command not found

3、install ts-node :
  RadishdeMacBook-Pro:examples Radish$ sudo npm install -g ts-node
  RadishdeMacBook-Pro:examples Radish$ sudo npm install -g typescript
  RadishdeMacBook-Pro:examples Radish$ ts-node -v
  ts-node v6.1.1
  node v10.3.0
  typescript v2.9.2
 cache "/var/folders/2_/tymztdk55lz6mh20cx6ngxg40000gn/T/ts-node-8ad684cb67a82e37dd1ebd0d41951c3503d317f250347ec755aad52d2c9d444e/d6ad0660bc25582c818797f15fa0aba48886bbcc112ec445dd9f0ff9ecabf068)

4、try npm install, but fail ,  i try  npm install @types/node, and  npm install, it looks success .
 RadishdeMacBook-Pro:wechaty-master Radish$：npm install @types/node
 RadishdeMacBook-Pro:wechaty-master Radish$：npm install

5、 run demo （fail）
RadishdeMacBook-Pro:examples Radish$ npm start

@radishyell Thank you very much for reporting this issue.
This bug was introduced by the latest refactoring work of the new Puppet system.
Please try the latest master branch code, this bug should have already been fixed.
And as we are testing the v0.15 with new Puppet, please also have a look at #1296


clrs enhancement

PGN with Jax implementation and NeurIPS 2020 paper____
├─Message-Passing Neural Network (MPNN) for Graph Convolutional Networks (GCNs)____
│    ├─■──"Applying Triplet Message Passing with HK Transforms in MPNN for Graph Neural Networks"____ ── Topic: 20
│    └─■──Implementation of Deep Sets (Zaheer et al., NeurIPS 2017) using adjacency matrices and memory networ ── Topic: 13
└─GATv2 Graph Attention Network with adjustable sizes of multi-head attention and residual connections
├─■──Graph Attention Network v2 architecture with adjustable head number and output size.____ ── Topic: 36
└─■──Processor factory with various models and configurations____ ── Topic: 25

Postprocessing Decoder Output with Sinkhorn Algorithm and Hard Categorization____
     │         ├─Node Feature Decoding with Encoders and Decoders____
     │         │    ├─■──Position Encoding Function for Natural Language Processing____ ── Topic: 23
     │         │    └─Node feature decoding using decoders and edge features____
     │         │         ├─■──Creating Encoders with Xavier Initialization and Truncated Normal Distribution for Encoding Categori ── Topic: 33
     │         │         └─Node feature decoding with decoders and edge features____
     │         │              ├─■──Node feature decoding and encoding with decoders and edge features____ ── Topic: 2
     │         │              └─■──Graph diff decoders____ ── Topic: 32
     │         └─Postprocessing of decoder output in graph neural networks.____
     │              ├─Decoder Output Postprocessing with Sinkhorn Algorithm and Cross-Entropy Loss____
     │              │    ├─Message Passing Net with Time-Chunked Data Processing____
     │              │    │    ├─■──Python Class for Message Passing Model with Selectable Algorithm____ ── Topic: 26
     │              │    │    └─■──NetChunked message passing operation with LSTM states for time-chunked data____ ── Topic: 7
     │              │    └─Loss calculation for time-chunked training with scalar truth data.____
     │              │         ├─Loss calculation function for time-chunked training with scalar truth data.____
     │              │         │    ├─■──Loss calculation for time-chunked training data____ ── Topic: 4
     │              │         │    └─■──Logarithmic Sinkhorn Operator for Permutation Pointer Logits____ ── Topic: 10
     │              │         └─■──Decoder postprocessing with Sinkhorn operator____ ── Topic: 28
     │              └─Gradient Filtering for Optimizer Updates____
     │                   ├─■──Filtering processor parameters in Haiku models____ ── Topic: 30
     │                   └─■──Filtering null gradients for untrained parameters during optimization


Server: add with_shared_state()

Allows true state sharing for multiple tide server applications without Arc<Arc<State>>.
See discord discussion: https://discordapp.com/channels/598880689856970762/649056551835009097/731205374832541746

I can't open the discord link so I'm not sure what the motivation is — but guessing it seems like we want to have access to Arc<State> somehow?
Not opposed to always have require State to be Arcd when passed to the with_state constructor — or perhaps it's even better to require State: Clone which would provide the same guarantees in a more direct way.

Yeah, the idea is to be able to have more than one server share the same state without passing an Arc, which would become Arc<Arc<>> and then passed to middleware as an Arc<State>.
I think this was the intention to begin with but probably was mistaken?
Does State: Clone prevent us from having an Arc internally that is different from a user-passed Arc?

State: Clone indeed means we would no longer need to have an internal Arc since the state can be freely cloned already. with_state(Arc::new(state)) would be valid.
One downside however is that depending on how State is constructed, Arc may show up in the Server's type signature — but I don't think this needs to be a problem.

I think that was part of the stated issue though, that it's annoying to have to deal with an Arc<> in the middleware when it's probably going to be anyways?

I mean in some cases it may very well be an Arc<RwLock> or perhaps only some fields need to be wrapped in an Arc<Mutex> for the whole struct to simply be #[derive (Clone)]. There are patterns we can introduce people to that extend to Rust as a whole.
I think State: Clone is probably the best way ahead here.

Uhhh, I'm not sure that is possible. impl<State> Read for Request<State> requires DerefMut...

So @jbr got the above to compile using pin-project-lite: https://gist.github.com/jbr/b0fd2964eb57a1d8d512e4d167ad6554
However I think that Request probably shouldn't hold the State. See https://github.com/http-rs/tide/issues/643

Closing in favor of https://github.com/http-rs/tide/pull/644


Baldassano projected to wrong hemisphere

Hi!
From what I can tell. the Baldassano annot files are incorrect. The left is projected to the right and vice versa.
--Mo

Ahhh yes yes I am familiar for ggseg -- it's awesome!  Thanks for doing that and for making our field a better place!
Ya ya ya definitely check out Baldassano's lab webpage though... the data should be there!


Improve failure message of #change matcher with block and #satisfy matcher by including the block snippet

This closes #937.
This PR depends on https://github.com/rspec/rspec-core/pull/2420 and https://github.com/rspec/rspec-support/pull/315.

On a side note: can this logic be applied to the satisfy matcher to provide a better description/failure message than "...satisfy block"?

Done 👍

Now this is ready for re-review.

@myronmarston Thanks for the quick review 😺


IOS transparency issue

Background grey rather than transparent

Hey @hmmgo,
I think it's been fixed by #2 PR. Try upgrading the package to the latest (1.4.0) version and see if it works.

Yeah! Solved.


Update .gitignore

.exe under c/cpp, as windows generates .exe files
.orig as a result of coala running locally, in case someone forgets to use -n.

Please assign me this one.

@Monal5031 Please give a more descriptive title to this issue.


FEAT: Support adjusting GPU offload layers for llama.cpp loader

This PR adds an "N GPU Layers" input to model card if you selected ggufv2 format, to adjust the number of layers offloaded to GPU when using llama.cpp loader. It will replace the "N-GPU" dropdown (only on ggufv2 selection).
Special values: -1means auto (the old SIZE_TO_GPU_LAYERS method), 0 means CPU only.
btw: I'm not sure if I should replace the N-GPU dropdown (Looks like the "N-GPU" selection won't have any effect for llama.cpp), or add a new row to the model card. Maybe we could use a wizard-like page for more configurable options in the future?

Just noticed #1070 :joy: I can rebase this PR on that if you want.

Just noticed #1070 😂 I can rebase this PR on that if you want.

You came cross to have the same idea haha, you can rebase this after that merged.

Hi, @notsyncing . Note that #1070 has been merged. Should just keep the frontend code in this PR.
Could you please  provide creenshots showing the effect of adding this option? We recently want to refactor the front-end, as there was hardly any place left to add new parameters where the LAUNCH model was.

Screenshots:
If model format is not ggufv2, shows the following (original):

If model format is ggufv2, change the N-GPU dropdown to N GPU Layers input:


Non-null assertion operator ignored in sub context

Bug Report
🔎 Search Terms
non-null assertion, deno, Property 'x' does not exist on type 'never'.
🕗 Version & Regression Information
This regression happened between typescript 4.2.2 and 4.3.2.
⏯ Playground Link
Playground link showing no errors in 4.2.2
Playground link showing errors in 4.3.2
💻 Code
interface Point {
  x: number;
  y: number;
}
let p: Point | null = null;
function assignP(value: Point) {
  p = value;
}
assignP({ x: 2, y: 3 });
let z: number = p!.x * p!.y;
if (p) {
  z = p!.x * p!.y;
}
console.table({ x: p!.x, y: p!.y, z });

🙁 Actual behavior
Errors inside the if block because p is inferred as never.
🙂 Expected behavior
No errors.
I also believe the non-null assertion operator in the if block should not be required since the context would only be reached if p was not null. The non-null assertion in the if block was required in 4.2.2.

You see this behavior due to a fixed bug. See #44025.
In the end it's due to #9998.

You can get the behavior you want by changing your code to this:
let p = null as Point | null;


Fix ::User Profile Page - Project/Packages Tabs Have Inconsistent Layout

Fix ::User Profile Page  Project Tab Have Inconsistent Layout and Style
Added the big_avator for consistency in the all header_items tabs.
https://github.com/go-gitea/gitea/issues/24871

Description
in the user profile page the Packages and Projects tab have small icons for user but other tabs have bigger profile picture with user info:
Screenshots
For Packages And Projects:

For Other Tabs:

Before

After changes
Project View

Packages View

Org view for projects page

Org view for packages page

@silverwind

Not sure if related to this PR, but I fixed this issue in https://github.com/go-gitea/gitea/pull/25108/commits/e0813eff1113c76670d1bfef899a3c95b949fe4e:

You missed the Code tab which you can see when enabling the repo indexer in app.ini:
[indexer]
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH    = indexers/repos.bleve

It still renders full width. Please give it the same treatment.

Exactly ,
Can you take it forward. I think Fix ::User Profile Page - Project/Packages Tabs Have Inconsistent Layout is done.

@puni9869 Some issues:

"Projects" tab is missing while "Code" tab is active:

On "Projects" tab, the tab bar's line is too wide, streching beyond the navbar even:

Code tab search looks alright and does not flash incorrect content, so needs no adjustment imho.

Also, I see I missed the all option in the package selection field, will correct later.

Fixed this in https://github.com/go-gitea/gitea/pull/25108/commits/cc79ebaec5a054a3c58fdf21b52c79c641833ce7.

That headerbar template is shared among all
I'll fix it asap.

looks good to me 2, thatnks

Can we get one more approval.

There are some major conflicts in this PR. Will re-write this in follow up PR.


localization for subscribe button

issue #21618
en PR
/language it

review page
https://deploy-preview-21692--kubernetes-io-master-staging.netlify.app/it/#kubeweekly

/uncc @kbhawkey
/uncc @Rajakavitha1
/cc @kubernetes/sig-docs-it-reviews

LGTM

I think "Iscriviti" would be a better translation

@Fale
Done, thanks

/lgtm
(probably it should be squashed, I guess)

/lgtm

@Fale

(probably it should be squashed, I guess)

Done

/assign @kbhawkey
for approval (file in i18n directory)

Echoing https://github.com/kubernetes/website/pull/21692#pullrequestreview-430203405
/approve


pcdet ---> AttributeError: 'PosixPath' object has no attribute 'flush

2021-06-25 09:23:23,992   INFO  -----------------Quick Demo of OpenPCDet------------------------- 2021-06-25 09:23:24,091   INFO  Total number of samples: 	1 2021-06-25 09:23:26,637   INFO  ==> Loading parameters from checkpoint ckpt/pv_rcnn_8369.pth to CPU 2021-06-25 09:23:27,441   INFO  ==> Done (loaded 367/367) Traceback (most recent call last):   File "demo.py", line 103, in <module>     main()   File "demo.py", line 87, in main     for idx, data_dict in enumerate(demo_dataset):   File "demo.py", line 41, in __getitem__     points = np.fromfile(self.sample_file_list[index], dtype=np.float32).reshape(-1, 4) AttributeError: 'PosixPath' object has no attribute 'flush'

The problem has been solved.
The main reason is the conflict between different versions of QT

The problem has been solved.
The main reason is the conflict between different versions of QT

I also met the same problem. Could you please tell me how you  solved it？


set expiration using update

Hello, is it possible to set expiration on a stored while if it is added by update?

Yes. Every time you call store.set(key, val, expiration) the expiration date gets updated.


fix: add chemical responsible emails to appsettings.json

the recipient of chemicaldecleration emails are sent to "chemicalEmail" which is defined in appsettings.json in chemcom-api.
This needs to be changed to the following email adresses<EMAIL_ADDRESS><EMAIL_ADDRESS>

added the two emails as a secret in keyvault "chemicalEmail". It should be fetches alongside the other keyvault secrets fetched for appsetting. But I am not 100% sure of this so we'll have to wait and see.


implemented search functionality in profiles section

Changes
Filtering Logic: Enhanced to check individual skills properly.
Event Handling: Wrapped the code in DOMContentLoaded to ensure elements are loaded before the script runs.
Fixes #131 .

Changes Filtering Logic: Enhanced to check individual skills properly. Event Handling: Wrapped the code in DOMContentLoaded to ensure elements are loaded before the script runs. Fixes #131 .

you are not followed my account

Changes Filtering Logic: Enhanced to check individual skills properly. Event Handling: Wrapped the code in DOMContentLoaded to ensure elements are loaded before the script runs. Fixes #131 .

you are not followed my account

Hi @Gyanthakur I have followed your account now.


Move blueice_extended_model to models

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

alea/models/init.py
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
2870

💛  - Coveralls


the modernx GUI is not showing up

mouse is moving but no HUD shows up, even using seek in keyboard arrows doesn't show anything, i set the level 3 in .conf for test purposes.

It seems like there is a problem with the script that is causing this and I'm unable to identify it. It has not been updated since 2 years ago. In the meantime, you can try this recently updated fork.


Merge main into release/6.0

Merge the following PRs into release/6.0:

https://github.com/apple/sourcekit-lsp/pull/1450
https://github.com/apple/sourcekit-lsp/pull/1453
https://github.com/apple/sourcekit-lsp/pull/1451
https://github.com/apple/sourcekit-lsp/pull/1455
https://github.com/apple/sourcekit-lsp/pull/1462
https://github.com/apple/sourcekit-lsp/pull/1472
https://github.com/apple/sourcekit-lsp/pull/1474
https://github.com/apple/sourcekit-lsp/pull/1473
https://github.com/apple/sourcekit-lsp/pull/1460
https://github.com/apple/sourcekit-lsp/pull/1447
https://github.com/apple/sourcekit-lsp/pull/1467
https://github.com/apple/sourcekit-lsp/pull/1459

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

Closing in favor of https://github.com/apple/sourcekit-lsp/pull/1477


gitea should fail gracefully when OIDC IDP has problems

First, thank you very much for developing gitea!

Gitea version (or commit ref): db0d4ffdc7d0800b7785beddee4a715b1f7589bd
Git version: v1.10.0-RC1, (I am sorry, I "destroyed" the test-case when fixing the issue, so I cannot test against more recent)
Operating system: Ubuntu 18.04.3 LTS, 4.15.0-66-generic #75-Ubuntu SMP, upstream Dockerfile
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

2019/11/12 07:36:17 ...uth/oauth2/oauth2.go:173:createProvider() [W] Failed to create OpenID Connect Provider with name '<...>' with url 'https://keycloak-management-infra.router.default.svc.cluster.local/auth/realms/<...>/.well-known/openid-configuration': Get https://keycloak-management-infra.router.default.svc.cluster.local/auth/realms/<...>/.well-known/openid-configuration: x509: certificate signed by unknown authority
2019/11/12 07:36:17 routers/init.go:92:GlobalInit() [F] Failed to initialize OAuth2 support: Get https://keycloak-management-infra.router.default.svc.cluster.local/auth/realms/<...>/.well-known/openid-configuration: x509: certificate signed by unknown authority
Description
When gitea has been configured against an OIDC IDP and when between restarts the IDP's endpoint  stops being served with "proper/correct" certificates, gitea fails to start, running in a restart loop with a container built from the upstream Dockerfile.
Instead, I would like gitea to fail gracefully, disabling the IDP in question and allowing to login with other authentication sources (local admin comes to mind) to fix the problem "in app". I stumbled upon the issue when trying to "migrate" an instance over differently built experimental OpenShift clusters via the persistent volume. I "solved" the issue by deleting the corresponding row in "login_source" on the database.
The issue is minor, stems from operator weirdness in my case and is fixable. Abstracting from my specifics, however, I can imagine cases where a certificates' best-before-date may have been reached. I agree for various reasons that one should not trust such a certificate any more, especially for an IDP.
However, it would be nice to be able to fix such issues without  reverting to fiddling with the database.
Thank you very much for your consideration! Cheers!
Screenshots

Maybe an option on Auth Source.

This is an ongoing issue and surfaces in more than just certificate issues.
I have a self-hosted instance of an OIDC provider (Keycloak) that occasionally fails for completely random reasons. Since it's behind a proxy, when it fails the proxy will return a plaintext "502 Bad Gateway" response, which Gitea happily tries to parse and brings itself down when it doesn't work.
2020/05/30 18:57:23 ...uth/oauth2/oauth2.go:174:createProvider() [W] Failed to create OpenID Connect Provider with name 'keycloak' with url 'https://keycloak.example.com/auth/realms/universe/.well-known/openid-configuration': invalid character 'B' after top-level value
2020/05/30 18:57:23 routers/init.go:142:GlobalInit() [F] Failed to initialize OAuth2 support: invalid character 'B' after top-level value
Received signal 15; terminating.

Yep, my personal keycloak failed and I have no time to fix it. So now I'm unable to use my gitea...

I worked it around by creating a new instance of keycloak on the same URL and deleting it from the settings page.

I understand that this is a solution for some, but I can no longer re-enable keycloak. So in my case the cure is worse than the problem. Rebooting gitea in order to see if the connection does not help.

@netcicd I don't understand. Why can't you re-enable keycloak?

@zeripath thx for your rapid response. My monitor made the check-box invisible :) Can re-enable indeed this way (but this is hardly usable)
This implies that a user needs to log in as admin to get it working again. I use Keycloak and Gitea in Docker. Gitea boots faster than Keycloak and some form of retry /graceful recovery should be possible. I can imagine that you can configure a timeout as a solution: e.g. if Keycloak does not come back within say 5 min, only then disable. Or make it configurable.


update the in-composition definition to v1 spec

Signed-off-by: Eric Charles<EMAIL_ADDRESS>Description of your changes
This update the definition of the wordpresscluster example to apiextensions.crossplane.io/v1 - The current apiextensions.crossplane.io/v1alph1 is no more available with the latest crossplane release.
The schema of the yaml has changes, so examples/in-composition/definition.yaml is updated accordingly.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review. -> NA

How has this code been tested

I have successfully tested on my local env deploying a GKE cluster and having the wordpress UI available.

This also bumps the gke version to clusterVersion: "1.18"


Http client discovery

Make it possible to discover PSR-18 HTTP Client implementations.
Solves https://github.com/http-interop/http-factory-discovery/issues/6.
This pull request depends on https://github.com/http-interop/http-factory-discovery/pull/7 and https://github.com/http-interop/http-factory-discovery/pull/8.
There is currently only one HTTP Client implementation that works: Http\Adapter\Guzzle6\Client. But the following implementations will also start working when/if they are updated to support PSR-18:

Http\Adapter\Guzzle5\Client
Http\Client\Curl\Client
Http\Client\Socket\Client
Http\Adapter\React\Client
Http\Adapter\Buzz\Client
Http\Adapter\Cake\Client
Http\Adapter\Zend\Client
Http\Adapter\Artax\Client

I am not sure why the build fails on lower dependencies. What does the script test-all do? I can't find it anywhere.

What does the script test-all do? I can't find it anywhere.

https://github.com/http-interop/http-factory-discovery/blob/master/scripts/test-all

Tests need to be fixed.

Needs a rebase and test changes. Please use commit amending and force push so there is only one commit.

Haha! I've tried to do some rebasing and squashing, but that was not too successful, to say the least. Followed this guide: https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request Do you have any hints?

I gave it a go :) What do you think?

Gave it a go :) What do you think?

Thanks!

Released in version 1.4.0.


Added Setup Guide for Ubuntu

Added setup guide for Ubuntu
Added detailed instructions along with screenshots to make it easier to follow along
Added tutorials and resources to set up the pre-requisites for the installation
Added probable errors and their solutions

Coverage remained the same at 84.223% when pulling def32cba470b58356822f10924035a19af51aa0d on PragatiVerma18:feature/documentation into b14f86cbe15aa1b39d0fe2569eff463c8003d8b4 on CircuitVerse:master.

Good one, wat about moving docs to docs/ ?

Good one, wat about moving docs to docs/?

Okay, as you say. @tachyons Please let me know what would be best to do.

@PragatiVerma18 Thanks for this! We needed a detailed documentation

@PragatiVerma18 we actually have documentation scattered around. Could you help consolidate the same?
We have documentation at
https://github.com/CircuitVerse/CircuitVerse/blob/master/SETUP.md
https://github.com/CircuitVerse/CircuitVerse/wiki/Create-Apps
https://github.com/CircuitVerse/CircuitVerse/wiki/Development-on-Gitpod
https://github.com/CircuitVerse/CircuitVerse/wiki/Pull-Requests-using-Gitpod
https://github.com/CircuitVerse/CircuitVerse/wiki/Running-the-server
https://github.com/CircuitVerse/CircuitVerse/wiki/Preview-mail-in-development-environment-:-Mailcatcher

@PragatiVerma18 we actually have documentation scattered around. Could you help consolidate the same?
We have documentation at
https://github.com/CircuitVerse/CircuitVerse/blob/master/SETUP.md
https://github.com/CircuitVerse/CircuitVerse/wiki/Create-Apps
https://github.com/CircuitVerse/CircuitVerse/wiki/Development-on-Gitpod
https://github.com/CircuitVerse/CircuitVerse/wiki/Pull-Requests-using-Gitpod
https://github.com/CircuitVerse/CircuitVerse/wiki/Running-the-server
https://github.com/CircuitVerse/CircuitVerse/wiki/Preview-mail-in-development-environment-:-Mailcatcher
I recommend moving everything to /docs. Because the wiki can be edited by anyone and it doesn't allow us to do PR - review properly.
@Shivansh2407 any inputs on this?
@aayush-05, @abstrekt can you help with windows setup here.

surely.

@PragatiVerma18 we actually have documentation scattered around. Could you help consolidate the same?
We have documentation at
https://github.com/CircuitVerse/CircuitVerse/blob/master/SETUP.md
https://github.com/CircuitVerse/CircuitVerse/wiki/Create-Apps
https://github.com/CircuitVerse/CircuitVerse/wiki/Development-on-Gitpod
https://github.com/CircuitVerse/CircuitVerse/wiki/Pull-Requests-using-Gitpod
https://github.com/CircuitVerse/CircuitVerse/wiki/Running-the-server
https://github.com/CircuitVerse/CircuitVerse/wiki/Preview-mail-in-development-environment-:-Mailcatcher
I recommend moving everything to /docs. Because the wiki can be edited by anyone and it doesn't allow us to do PR - review properly.
@Shivansh2407 any inputs on this?
@aayush-05, @abstrekt can you help with windows setup here.

surely.

@satu0king thanks for the review, I will do it. Just allow me some time.

Closing due to inactivity, feel free to reopen if you wish to continue working on this.


As a Korifi API user I want to be able to apply admin service plan visibility

As a Korifi API user I want to be able to apply admin service plan visibility
GIVEN I have enabled the experimental managed services flag in the helm values
WHEN I have created service brokers
WHEN I POST /v3/service_plans/:guid/visibility with parameters type=admin
THEN I get a 200 OK response containing the updated service plan visibility with type set to admin
WHEN I get the updated service plan visibility
THEN I see the visibility has been updated to admin and organizations cleared
Dev notes:

Managed services proposal
Apply service plan visibility docs

It seems we have already implemented this with one of the previous visibility stories. Closing


Question: does it work with large 2D-heatmaps?

I wonder if plotly-resampler works primarily with timelines or can be applied to large two dimensional heatmaps or histograms.

Hey @sorenwacker,
At the moment, plotly-resampler works only for scatter / line plots (i.e., 1D resampling). However, I'm open to extending the code base to also support 2D resampling (but I myself won't find the time for this is the near future).
This is a duplicate of #59 (which we apparently left unanswered - sorry for that...).
I will close this duplicate and repeat this answer in issue #59!
Cheers,
Jeroen


getOfferToken is broken

Apparently steam broke https://steamcommunity.com/my/tradeoffers/privacy this url, so you should use full one now.
I've changed my local code to
SteamTradeOffers.prototype.getOfferToken = function(steamid, callback) {
  if(typeof steamid == 'function') {
    callback = steamid;
    steamid = null;
  }
  this._request.get({
    uri: communityURL + (steamid
        ? `/profiles/${steamid}/tradeoffers/privacy`
        : `/my/tradeoffers/privacy`)

Not sure if it's best way to handle this, but it works.

It also works with plain HTTP http://steamcommunity.com/my/tradeoffers/privacy which makes me think that it is a misconfiguration of their CDN. So I'd like to wait a bit before making any changes to the library.


[Question] Too many parts error Monitoring

Hello.
According to our last experience with the Too many parts errors we would like to start monitor this metric.
How I can do this ?
For example I think about such kind of query:
select count(*) from system.merges
or maybe
select count(*) from system.merges + select count(*) from system.replication_queue
?
Or maybe there is some already built-in metric ?

select value from system.asynchronous_metrics where metric = 'MaxPartCountForPartition'
select value from system.metrics where metric = 'ReadonlyReplica'

Great. Thanks.
We will try it.


Add pipeline too apply photometric errors to "truth" data.

We have proposed to start putting useful pipelines into the various rail XXX packages  in the rail.pipelines namespace.
Here we would like to add a pipeline to apply photometric errors to a 'truth' catalog, basically doing:
Reddening
ErrorModel
Dereddening

#48


how to install lib?

how to install lib?
it will be good if I can install it using pip like "pip install cudamat"
on win xp x32 I run make in folder and then run python test_cudamat.py
but it gives me error
Traceback (most recent call last):
File "test_cudamat.py", line 4, in
import cudamat as cm
File "C:\Documents and Settings\User\╨рсюўшщ ёЄюы\cudamat-master\cudamat-mas
ter\cudamat.py", line 8, in
cudamat = ct.cdll.LoadLibrary('libcudamat.dll')
File "C:\Python27\lib\ctypes_init.py", line 443, in LoadLibrary
return self.dlltype(name)
File "C:\Python27\lib\ctypes_init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126]
it seems that dll is missing?
I have only .so and .lib files.
if I rename .so to .dll in makefile I get error
Traceback (most recent call last):
File "test_cudamat.py", line 4, in
import cudamat as cm
File "C:\Documents and Settings\User\╨рсюўшщ ёЄюы\cudamat-master\cudamat-mas
ter\cudamat.py", line 12, in
cudamat.get_last_cuda_error.restype = ct.c_char_p
File "C:\Python27\lib\ctypes_init.py", line 378, in getattr
func = self.getitem(name)
File "C:\Python27\lib\ctypes_init_.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'get_last_cuda_error' not found

In the meantime, cudamat is installable via pip (from a local checkout, there's no PyPI release yet); see the installation instructions.
Could you please check what exactly you need to change to compile on Windows? Just replace all occurrences of the useless extern keyword with __declspec(dllexport) (except for the occurrence in extern "C")? If so, then I'll just add the necessary ifdef magic. Unfortunately, I don't have a Windows box to test this myself, so your help would be appreciated!

I think you can make it instalable from github like done here:
http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/
something like:
pip install -r https://raw.githubusercontent.com/dnouri/kfkd-tutorial/master/requirements.txt
pip install -r https://raw.githubusercontent.com/dnouri/kfkd-tutorial/master/requirements-2.txt
>Just replace all occurrences of the useless extern keyword with __declspec(dllexport) (except for the >occurrence in extern "C")
I think so,but it was long ago, for example in cudamat-win DLLEXPORT extern used.

I think you can make it instalable from github

It already is installable from github via pip, there's nothing to be done for that, you can just run pip install git+https://github.com/cudamat/cudamat.git. I find it easier to keep track of updates when I have a local clone, though (i.e., check if there are upstream changes, pull them in and install again; or install in develop mode right away and just recompile if needed).

I think so,but it was long ago

If you still have Windows available, I've created a PR with Windows support two weeks ago and am hoping for somebody to test it: #42
Would be nice if you could help out there!


Search ancestor and its references for default projects

On Top of #58486
When finding default project for open file, we search tsconfig .. Before this change, we would stop at first tsconfig/jsconfig encountered and check if any of references has the file. If none of this had file we would stop and put file in inferred projects.
This has issues when you arrange code such that your test files are next to source files and are not using project references or the default project is the project for building sources. So test files endup in inferred project and dont get their custom options.
With this change,

Continue search for the tsconfig further if we couldnt find default project as if we didnt find this tsconfig (so till projectRootPath) and try to find the default project.
Caches the config file name for ancestor lookups as well as we will be skipping to config if it doesn't contain project
Fixed config search of ancestor lookup to not skip jsconfig if tsconfig is present

Fixes #56959

@typescript-bot test this
@typescript-bot test top100
@typescript-bot test tsserver top100
@typescript-bot user test this
@typescript-bot user test tsserver
@typescript-bot run dt
@typescript-bot perf test this
@typescript-bot pack this

Ping @andrewbranch @jakebailey to review so we can get this in nightly and see how it goes

projRef


Unable to shutdown or reboot. (Help Wanted)

My computer sucks at black screen when reboot from start menu or using command shutdown -r -t 0. I will need to hold power button and do a force restart.
I'm using newest windows version x86 ent version and has already run the autoupdate from a fork #1160. The graphic card is 3090 with newest Game Ready Driver using HDMI output to a TV.
I have already searched around but didnt find anything helpful. Anyone had the same problem?

We kindly ask you to first try to remove RDP Wrapper and check without it, and write only after this check.
Let me remind you that RDP Wrapper is a wrapper over termsrv.dll, which simply launches it with other parameters.

Yes I have tried many times. If I remove the termsrv.dll and do the reboot, everything works fine.
I understand it sounds more like a BIOS problem or a driver issue or hardware probably, but I found this problem by updating Windows to an unsupported version to notice. Once I update using the autoupdate script, the problem went back.
It is also wired that the problem still exists even if I dont connect via rdp at all.
I'll get back to you if I found any solution. I'm currently trying serval scripts. Thanks for your time.

I am now 100% percent sure about this problem.
Following script at boot and shutdown effectively resolved my problem, unable to reboot, which was added using gpedit.msc.
@echo off

"%~dp0\RDPWInst.exe" -i
"%~dp0\autoupdate.bat"

echo.

@echo off
if not exist "%~dp0\RDPWInst.exe" goto :error

if not exist "%~dp0\shutdown.res" mkdir "%~dp0\shutdown.res"
copy /y "%~dp0\rdpwrap.ini" "%~dp0\shutdown.res\rdpwrap.ini"
copy /y "%~dp0\rdpwrap.dll" "%~dp0\shutdown.res\rdpwrap.dll"

"%~dp0\RDPWInst.exe" -u -k

copy /y "%~dp0\shutdown.res\rdpwrap.ini" "%~dp0\rdpwrap.ini"
copy /y "%~dp0\shutdown.res\rdpwrap.dll" "%~dp0\rdpwrap.dll"

echo.
goto :out

:error
echo [-] Installer executable not found.
echo Please extract all files from the downloaded package or check your anti-virus.

:out

User on Twitter is encountering similar problem: https://twitter.com/cryous/status/1776813534841856479

Please, ask this in official Telegram chat https://t.me/rdpwrap
Link also available in repository README.


Cannot open c# source file from build error message

Environment data
dotnet --info output: 2.1.4
VS Code version: 1.20.1
C# Extension version: 1.14.0
OS Environment: Windows 10
Steps to reproduce
dotnet new console MyApp
Open MyApp folder in vscode using .NET Core task
Add some syntax error in Program.cs
Run build task
Click build error message in PROBLEMS panel.
Expected  behavior
Jump to correct file and line number.
Actual behavior
It shows "Unable to open 'Program.cs': File not found (file:///Program.cs)."
Meanwhile click intellisense error message can jump to correct file and line number.

Comment
I tried to force .net tools to output English text, but in vain.

@akshita31 Can you take a look?

Thanks @horney0824 ! This is a duplicate of #1197.

@akshita31 do you have schedule on fix this issue?


S3 SSE by default

Description of changes

Implement S3 SSE by default. The implementation adds a new "pre-push cfn modifier" that can be extended to perform other cross-cutting transformation before push in the future. The modified templates are stored under <project-root>/amplify/backend/awscloudformation/build which is a gitignored folder. Also refactored some template reading logic from amplify-cli into amplify-cli-core to share it across packages
Issue #, if available

https://github.com/aws-amplify/amplify-cli/issues/5708
Description of how you validated changes
Manually tested, unit tested and added an E2E test
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7039 (0162b9d) into master (8775152) will decrease coverage by 5.21%.
The diff coverage is 26.26%.

@@            Coverage Diff             @@
##           master    #7039      +/-   ##
==========================================
- Coverage   56.43%   51.22%   -5.22%
==========================================
  Files         445      484      +39
  Lines       21859    25042    +3183
  Branches     4373     4913     +540
==========================================
+ Hits        12336    12827     +491
- Misses       8745    11263    +2518
- Partials      778      952     +174

Impacted Files
Coverage Δ

packages/amplify-cli-core/src/deploymentState.ts
100.00% <ø> (ø)

...amplify-cli-core/src/feature-flags/featureFlags.ts
83.10% <ø> (ø)

...-cli/src/extensions/amplify-helpers/git-manager.ts
85.18% <ø> (ø)

...provider-awscloudformation/src/aws-utils/aws-s3.ts
9.32% <0.00%> (-0.77%)
:arrow_down:

...ion/src/iterative-deployment/deployment-manager.ts
7.05% <0.00%> (ø)

...y-provider-awscloudformation/src/resourceParams.js
15.15% <ø> (ø)

...der-awscloudformation/src/configuration-manager.ts
5.55% <3.70%> (+0.18%)
:arrow_up:

...ql-transformer/amplify-graphql-resource-manager.ts
13.43% <5.55%> (ø)

...y-provider-awscloudformation/src/push-resources.ts
10.44% <7.40%> (ø)

...dformation/src/utils/consolidate-apigw-policies.ts
13.44% <13.44%> (ø)

... and 61 more

Continue to review full report at Codecov.

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


EchoServer executed failed without output.

I compiled the EchoServer.cpp with WITH_OPENSSL=1 flag successfully. But when i ran EchoServer, it failed directly without output. The progress did not wait at "app.run()", Thanks very much~
`[root@abc uWebSockets]# WITH_OPENSSL=1 make
make -C uSockets
make[1]: Entering directory '/home/abc/uWebSockets/uSockets'
rm -f .o
cc -DLIBUS_USE_OPENSSL -std=c11 -Isrc -flto -O3 -c src/.c src/eventing/.c src/crypto/.c
ar rvs uSockets.a .o
r - context.o
r - epoll_kqueue.o
r - gcd.o
r - libuv.o
r - loop.o
r - openssl.o
r - socket.o
r - wolfssl.o
ar: context.o: plugin needed to handle lto object
ar: epoll_kqueue.o: plugin needed to handle lto object
ar: gcd.o: plugin needed to handle lto object
ar: libuv.o: plugin needed to handle lto object
ar: loop.o: plugin needed to handle lto object
ar: openssl.o: plugin needed to handle lto object
ar: socket.o: plugin needed to handle lto object
ar: wolfssl.o: plugin needed to handle lto object
make[1]: Leaving directory '/home/abc/uWebSockets/uSockets'
g++ -flto -O3 -lpthread -Wconversion -std=c++17 -Isrc -IuSockets/src examples/HelloWorld.cpp -o HelloWorld uSockets/.o -lz -lssl -lcrypto; g++ -flto -O3 -lpthread -Wconversion -std=c++17 -Isrc -IuSockets/src examples/EchoServer.cpp -o EchoServer uSockets/.o -lz -lssl -lcrypto; g++ -flto -O3 -lpthread -Wconversion -std=c++17 -Isrc -IuSockets/src examples/BroadcastingEchoServer.cpp -o BroadcastingEchoServer uSockets/.o -lz -lssl -lcrypto;
g++ -pthread -flto -O3 -lpthread -Wconversion -std=c++17 -Isrc -IuSockets/src examples/HelloWorldThreaded.cpp -o HelloWorldThreaded uSockets/.o -lz -lssl -lcrypto; g++ -pthread -flto -O3 -lpthread -Wconversion -std=c++17 -Isrc -IuSockets/src examples/EchoServerThreaded.cpp -o EchoServerThreaded uSockets/.o -lz -lssl -lcrypto;
[root@abc uWebSockets]# ./EchoServer
[root@abc uWebSockets]#
`

It fails because it can't find your cert or key, it could be made to print such a message

You need to apply yourself and look in the example. You can see that a certain print is not happening, so the opposite is the case. You can figure this out with some very basic printf debugging in worst case. Listen fails, for some reason. Like was already written above.