[Discussion] Plugin Composition

Griddle version
1.x and/or 2.x
Expected Behavior
Plugins and components compose well.
Actual Behavior

Roles/relationships for ContainerEnhancer, Container and Enhancer are unclear
Plugins can only replace individual components, so multiple plugins don't compose well

"One of the big issues I'm facing right now is composing a grid with multiple plugins." https://github.com/GriddleGriddle/Griddle/pull/731#issuecomment-326442141

What else?

Thoughts on how this situation can be improved?

For starters, we could accept plugins as functions (reducers, basically). The result of the function, called with the initial/current config, would be treated the same as a static plugin.
This may be sufficient to allow enhancer/container components to be composed instead of replaced.

@sel129 ran into this in https://github.com/GriddleGriddle/Griddle/issues/741:

I have a situation where I have created 2 plugins. Both have a RowEnhancer. I expect that the RowEnhancer from both plugins will be applied to the Row Component.

It's reasonable to expect enhancers to build on each other, rather than be replaced, but changing that in 1.x would be a breaking change. Two ways occur to me to implement this without a breaking change:

Implement the plugin function idea above, which would allow a plugin to wrap the existing enhancer:
<Griddle
  plugins={[
    { components: { RowEnhancer: OC => props =>
a <OC {...props} />
 } },
    ctx => ({
      components: {
        RowEnhancer: OC => ctx.RowEnhancer(props =>
b <OC {...props} />
)
      },
    }),
  ]} />

Update the enhancer composition logic to accept enhancers as an array of components, which would be composed with each other instead of replaced.
<Griddle
  plugins={[
    { components: { RowEnhancer: [OC => props =>
a <OC {...props} />
] } },
    { components: { RowEnhancer: [OC => props =>
b <OC {...props} />
] } },
  ]} />

Both of these would render
a
b <Row {...props} />

.
Between the two, I think I prefer the former, as it seems more deterministic.

FYI, I am hacking around this weekend on implementing support for plugins as functions.

@dahlbyk I've been thinking about the idea of plugins as reducers and I'm starting to like it. My initial concern is that it allows plugins to do ... like anything at all since they are getting the full Griddle configuration up to that point when they are run, though I suppose it doesn't really matter since its up to devs to decide what is appropriate.
On a basic level, each plugin would pretty much just add itself to the overall state/config in the same way that the Griddle initialization loops do, but if you needed finer grained control you would have it if necessary.
I'm working on changes to the selectorsUtils that should make a 'by plugin' adding of selectors easier.

That's exactly the idea. And if a plugin is provided as a plain object, we will continue to merge it into the configuration using current semantics (components get replaced, reducers get combined, etc).
Does the composeSelectors logic actually need to change, other moving the step to flatten the core/plugin selectors up into the plugin reducer? Ultimately applying plugins results in a final named list of selectors, from which your dependency Map gets created.

Not explicitly, however I am adding some more features to the selectors and they way I'm doing it should make it very easy for reduceable plugins to add their own selectors onto the pile. It also may in the future enable fancier intermediate changes to the selectors by each plugin. I'll share it when its done.


Allow using workspace typescript.tsdk setting

Allows users to opt into using their workspace typescript.tsdk setting to specify the path to their typescript install.
Also, fixes a bug when the global tsdk setting points to the workspace version of typescript, our ts selector interface can get confused on which version is currently active. The fix adds a check using the local storage value to show the correct active version.

Will cherry-pick merge from #19602 instead


Preprocessing for MRI data

Hello, I attempted to implement your pre-trained model on the BraTS dataset (and thank you for your previous response). However, I'm facing challenges in replicating the results outlined in your paper. I'm curious if you have any plans to share the code or supplementary materials for working with the BraTS dataset?
Alternatively, could you offer some insights into your preprocessing steps for BraTS data using MONAI, particularly focusing on data transformation and augmentation techniques? Since MRI data differs from CT scans in various aspects, such as intensity, I assume that different transformations might be necessary for BraTS.
Any details you can provide would be greatly appreciated, as it would help me follow your work more effectively.

Hi, many thanks for your kind attention to our work!
Yes, you are right. We also find that the MONAI pre-processing is not very flexible for MRI data. Thus, in our experiments, we combine the MONAI and nnunet framework for all of the experiments of MRI. If you are familiar with the nnunet framework, I think it is easy to use a trainer.py file for training.
If you have difficulty with it, I will try my best to release the nnunet finetuning codes recently. However, since we conduct a few more MRI experiments in the extension, the codes may not be well-checked. Please stay tuned

Thank you very much for sharing this information. Utilizing the nnunet framework is a brilliant idea. Am I correct in understanding that you're employing nnunet for preprocessing (and possibly also post-processing) of MRI data, and adapting the U-Net backbone to transformers or other architeture?
Once again, I appreciate your efforts in sharing the code, and I'll continue to stay updated.

Thank you very much for sharing this information. Utilizing the nnunet framework is a brilliant idea. Am I correct in understanding that you're employing nnunet for preprocessing (and possibly also post-processing) of MRI data, and adapting the U-Net backbone to transformers or other architeture?
Once again, I appreciate your efforts in sharing the code, and I'll continue to stay updated.

Yes, you are right! We find that nnunet pre-processing is better for MRI. But for CT, I think the monai implementation is enough.
I suppose that I can update the codes this weekend.

Thanks a lot. I will close this issue accordingly.
Looking forward to seeing your code.

Dear researchers, our work is now available at Large-Scale-Medical, if you are still interested in this topic. Thank you very much for your attention to our work, it does encourage me a lot!


#1840 add "second" granularity for timestamp column

Description
Currently, granularity units for the timestamp column are configured to minutes. Given the nature of the real-time data source, it should be expressed in seconds.
Related Issue : #1840

How Has This Been Tested?

차트 생성 화면으로 이동합니다.
선반 설정에서 granularity 설정에서 초 단위가 선택이 되는지 확인합니다.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Additional Context

run build
deploy to 3


Allow user to abort mention-action

I've noticed that it's possible to search for items which also contain whitespaces (which is cool) but sometimes a user just want to insert a denotation character and not search for anything. For this case it should be able to abort the mention-action by hitting Esc.

This works for me? The only problem when i add an @ and abort that action and try to mention someone a few lines further that mention will be added at the place i aborted that action before.


Feature Request: github source spec without token

I'm testing updatecli, and I did not find a way to fetch a source version without a token. As we do not use github but gitea for our own repo, it seems a bit strange to have need a token to fetch eg the latest version of an open source package. The example below works fine with token, but it would be nicer if this would work without it.
sources:
  pgadminVersion:
    name: get latest version pgadmin
    kind: githubrelease
    spec:
      owner: pgadmin-org
        #      token: "xxxxx"
      repository: pgadmin4
    transformers:
    - trimprefix: "REL-"
    - replacer:
        from: "_"
        to: "."
conditions:
  pgadminimage:
    name: latest pgadmin published in 6 series
    kind: dockerimage
    spec:
      image: dpage/pgadmin4
targets:
  pgadmin:
    name: bump pgadmin version
    kind: yaml
    scmid: gitea
    spec:
...

Solution you'd like
No response
Alternatives you've considered
No response
Anything else?
No response

Hello @johanvdw , the githubrelease source uses the GitHub API (paginated, sorting, etc.).
This API requires an authentication (mainly because of Rate limit) so that is why authentication is required.
Be aware that, you can run curl request without authentication on some cases but too much requests will rate-limit (or block) your public egress IP on GitHub websites if they are too much.
Alowing unauthenticated requests on updatecli would mean dropping the whole implementation (which uses a github API golang native  client under the hood) and to re-implement all requests with REST instead of GraphQL: that would be quite a change with no real interest.
Does it clarify the reason for you? I'm asking because documentation could benefit from a note for this, what do you think?

This is clear for me - it may be worth mentioning it, this way people would also know that they need a classic personal access token and not a limited one.

Good point! May I ask you to propose a draft by editing the source file at https://github.com/updatecli/website/blob/master/content/en/docs/plugins/resource/github_release.adoc ?
I'm asking for help because as the adage says: "you know what you don't know", e.g. right now you are right now the best person to set this note in the place you would have expected to help you (as we, maintainers, have our biases that makes it hard for us to know the "correct" way to help users).

Hi @johanvdw
As @dduportal explained it very well, many GitHub api endpoints requires a token hence why we requires it.
That being said you could use the following workaround, which use the json resource instead of the githubrelease
sources:
  semverVersion:
    kind: json
    name: Get latest Updatecli version
    spec:
      file: https://api.github.com/repos/updatecli/updatecli/releases
      query: ".[*].tag_name"
      versionfilter:
        kind: semver
        pattern: "v0.35"

Also please note that https://github.com/pgadmin-org/pgadmin4 do not publish releases but Git Tag
So a manifest like the following one will be better. Even though I now realize that this repository is quite heavy...
scms:
  pgadmin4:
    kind: git
    spec:
      url: https://github.com/pgadmin-org/pgadmin4.git
      branch: master

sources:
  pgadmin4:
    kind: gittag
    scmid: pgadmin4
    transformers:
      - trimprefix: "REL-"
      - replacer:
          from: "_"
          to: "."


Corrected the scroll button functionality to properly scroll to top of the Landing Page

Fixes Issue
Closes #454
My PR closes #454
Changes proposed
What were you told to do ?
Corrected the scroll to top button functionality

What did you do ?

I added an onClick attrib on the button with class up-btn by implementing a callback that scroll to (0,0) (i.e. to the top of the page). Works correctly for both Desktop and Mobile

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.

Screenshots

@belphegor-s Please resolve the conflicts !


⚠ Bofrost.at has degraded performance

In 0573335, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1829 ms

Resolved: Bofrost.at performance has improved in 9783fdd after 1 hour, 1 minute.


Binary file 'Not found'

Output
Not Found%
Expected Result
#!/usr/bin/env php
/../

Command
Paste your phpbrew install command here (be sure to install with --debug flag, e.g. phpbrew --debug install)
    curl -L -O https://github.com/phpbrew/phpbrew/releases/latest/download/phpbrew.phar

Build Log
gist here

Platform
OS:
   DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

Running PHP:
Installing PHP:

Sorry. I release the wrong file name. Now it's fixed.


Module not found: Error: Can't resolve 'image-webpack-loader'

Please reopen with the template filled out and steps to reproduce in particular. We can't help you otherwise.


MAINT: clearer error in LinearOperator * spmatrix

Reference issue
Closes #11564.
What does this implement/fix?
If any exception is raised when multiplying a linear operator with a sparse matrix, this will recommend the user to wrap their matrix in aslinearoperator instead.
Additional information
Alternatively, we could expand the error message by adding a suggestion to implement a custom matmat, but I don't think this would benefit most users.

I believe this is good to go. As a side effect, some computable products of a linear operator times a sparse matrix will work now.

Another point: because matmul of MatrixLinearOperator resolves to .dot, multiplying MatrixLinearOperator with sparse matrices will now give sparse matrices. Should this be considered a part of the interface (and tested) / undefined behavior & ignored / undesirable and disabled (in which case rewriting the full issue would be the way to go).

@akhmerov, that's a tough question. My 2 cents here is that LinearOperator objects are most useful when you have a means to efficiently compute matrix-vector products, but the operator is not sparse. For example, the DFT matrix (aka "circulant") is a good candidate for a linear operator.
This view suggests it would be problematic for MatrixLinearOperator @ spmatrix to return spmatrix. The most natural outcome from a mathematical standpoint would be for MatrixLinearOperator @ spmatrix to be a MatrixLinearOperator. But since it seems that's off the table, I think raising an error might be the best way forward.

I don't think it is out of question to automatically wrap a sparse matrix into a linear operator before multiplying it, and it should be considered, as per #18357. However, I am leaning towards what is implemented based on the following considerations.
Firstly, restricting users from doing things that they can do by having a strict API is undesirable. It is meaningfully possible to implement LinearOperator(matmat=lambda x: x) @ sparse_matrix and to want to get a sparse matrix as a result.
On the other hand, combining linear operators is always possible to obtain a linear operator using aslinearoperator on the sparse matrix. The pattern of needing to wrap user matrices in aslinearoperator exists already, for example defining a projector on a low dimension subspace is aslinearoperator(vecs.T.conj()) @ aslinearoperator(vecs).
The downside of being lax in type checking is that the results may be unexpected and/or costly. However, because there was no code relying on automatically wrapping behavior (there was a cryptic error being raised), we aren't breaking anything. Furthermore, the API makes no promises of wrapping user inputs into linear operators rather than greedily multiplying explicit data.

In the current design the LineaOperator aren't "contagious": type(LinearOperator * other) ≈ type(other). This means that for forming more complex linear operators one does LinearOperator * aslinearoperator(other). An alternative implementation of type(LinearOperator * other) ≈ LinearOperator could work if one also implements something like LinearOperator.evaluate(), but it's an entirely different paradigm. Mixing the two approaches and making the behavior different with sparse matrices, I think, is the most complex to understand or explain, and should be avoided.

I agree with Anton’s reasoning. Thanks for taking care of this!
On Wed, May 3, 2023 at 12:36 AM Anton Akhmerov @.***>
wrote:

In the current design the LineaOperator aren't "contagious": type(LinearOperator

other) ≈ type(other). This means that for forming more complex linear
operators one does LinearOperator * aslinearoperator(other). An
alternative implementation of type(LinearOperator * other) ≈
LinearOperator could work if one also implements something like
LinearOperator.evaluate(), but it's an entirely different paradigm.
Mixing the two approaches and making the behavior different with sparse
matrices, I think, is the most complex to understand or explain, and should
be avoided.

—
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/18357#issuecomment-1532579022, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRLIFCPC3PAZKSUY34R5NTXEIDGVANCNFSM6AAAAAAXIYHEHY
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Riley


feature: Add Avalonia sample, improve README.md

What kind of change does this PR introduce?

Adds ReactiveUI routing + suspension example.
What is the current behavior?

There is no routing + suspension samples.
What is the new behavior?

There is a sample for routing and suspension which uses Avalonia GUI framework.

Finished with several README.md and repo structure adjustments.


Update alerts-in-progress-meeting-video.md

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


[docs] Update notes, Jan 25 - Feb 7

[ci skip]

This change is

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

docs/update-notes.md, line 7 at r1 (raw file):

from October, 18 2017.

* [Q4-18-02-07](update-notes/Q4-18-02-07.md)

Broken links and old labels.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

docs/update-notes.md, line 7 at r1 (raw file):
Previously, jellonek (Piotr Skamruk) wrote…
Broken links and old labels.

woops, I need another coffee)) Thanks Piotr!

Comments from Reviewable

Review status: 3 of 4 files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Tests are flaky on CI

Tests pass locally, but flaky on CI.
We need to understand why.

Also, we need to completely remove dependency of the real shnaton, and mock everything.

Partially solved at #133


Fix typo

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

@Azadehkhojandi - thanks for this catch!


Release v0.30.0 on July 27, 2022

Checklist

[x] Create the new release branch with minor version, i.e. release-0.21 for v0.21.0.

You can use the existing branch for patch releases.

[x] Tag release by running Tag action in Github UI against release branch, i.e. release-X branch.

Use v-prefixed version, like v0.21.0, for both description and tag.

[x] Run CI action against release branch.
[ ] Tag the next pre-release by running Tag action in Github UI against master branch, if it's not a patch release.

The tag should be v0.22.0-rc.0 if you're releasing v0.21.x.

[ ] Validate that you can install the published version, basic sanity check.
[ ] Run Promote action to promote it in alpha channel if it's pre-1.0.
[ ] Use Github UI to generate release notes.

Make sure to scan all PRs marked with breaking-change and add instructions for users to handle them.

[ ] Create the next release issue with a title that has its date, 4 weeks after the current release day.
[ ] Announce in Slack, Twitter etc.

tested new provider
provider-aws-55f4b7e3267e-989b9c7c7-bx2mx   1/1     Running   0          3m18s
kubectl get pkgrev
NAME                                                           HEALTHY   REVISION   IMAGE                             STATE      DEP-FOUND   DEP-INSTALLED   AGE
providerrevision.pkg.crossplane.io/provider-aws-55f4b7e3267e   True      3          crossplane/provider-aws:v0.30.0   Active                                 4m11s


retry_interval is not correct?

DTM in saga mode, request parameter retry_interval has no effect when dtmsvr/submi is created. And the retry time varies.
Request parameters：
<IP_ADDRESS>:36789/api/dtmsvr/submit

{
    "gid": "41",
    "trans_type": "saga",
    "steps": [
        {
            "action": "http://<IP_ADDRESS>:8081/api/TransOut",
            "compensate": "http://<IP_ADDRESS>:8081/api/TransOutRevert"
        },
        {
            "action": "http://<IP_ADDRESS>:8081/api/TransIn",
            "compensate": "http://<IP_ADDRESS>:8081/api/TransInRevert"
        }
    ],
    "payloads": [
        "{\"amount\":41,\"transInResult\":\"SUCCESS\",\"transOutResult\":\"SUCCESS1\"}",
        "{\"amount\":41,\"transInResult\":\"SUCCESS\",\"transOutResult\":\"SUCCESS222\"}"
    ],
    "wait_result": true,
    "retry_interval": 16,
    "timeout_to_fail": 1200
}

Block the TransOut api and observe the result

I cannot reproduce this, may be you should check the log of DTM to find out what is happening


Headless, Vive Trackers

Hi,
I'm not really expecting this to get merged in, especially cos it's really early, very rough, not stuck to your coding standards or naming conventions etc...  but I figured you might be interested?
I've been working on demonstrating running OpenXR in headless mode with XR_MND_headless, along with adding support for Vive Trackers. Basically I see this as the virtual production usecase - no vr rendering, just tracked inputs.
If there's any part of this you actually might consider adding, let me know what changes you'd like to see, if any, but honestly no hard feelings if you're doing your own thing, I can maintain my own Headless Fork :)
BTW I kinda struggled getting the XR_HTCX_vive_tracker_interaction extension to actually get enabled without adding my Ext class with the official extensions and modifying openxr provider itself.  Not sure why.
But yeah thanks for this :)

Hi - sorry didn’t notice this so haven’t had a chance to review. My GitHub notifs seems to be hit or miss.

oh no worries, it was only a draft, and I just closed it cos I think you're going in a different direction, plus the code is no-where near close to being ready for review, so I'm just focusing on my own headless fork right now. :D


Research solutions for broken links and resource integrity

developer.chrome.com and web.dev are both statically built. Building DCC alone generates 4300 HTML documents. While we have some tools in place to guarantee the generated pages are well-formed, like Markdown linting and the Chrome DevRel Review bot, it can still happen that changes to logic how the suite is built or served (a filter or one of the redirect handlers) causes links to break. Also external links to GitHub or other Google sites might change over time. To top it of our images are served by Imgix which occasionally fails to serve specific formats (https://github.com/GoogleChrome/developer.chrome.com/issues/4065).
To improve the situation we need a new workflow added to the existing Checks that verifies link and resource integrity in the build output.
After verification we also need to work existing reports on broken links and fix them one after another.

https://github.com/GoogleChrome/developer.chrome.com/issues/83
https://github.com/GoogleChrome/developer.chrome.com/issues/4870
https://github.com/GoogleChrome/developer.chrome.com/issues/2277
https://github.com/GoogleChrome/developer.chrome.com/issues/1856
https://github.com/GoogleChrome/developer.chrome.com/issues/1559

Estimate = N/A (linked to issue 46) (SPR-3)


Flash of unstyled content with recent v3.2.2 upgrade.

Do you want to request a feature or report a bug?
A bug 🐛 .
What is the current behavior?
After upgrading styled-jsx from 3.2.1 to 3.2.2 we noticed our entire web app flashes unstyled content in production (hosted with zeit). However, this is not reproducible within a development environment (now dev).
Environment (include versions)

OS: OSX 10.14.6
Browser: Firefox 68.0.2
styled-jsx (version): 3.2.2

Did this work in previous versions?
Yes

@maxchehab can you provide a test case? Maybe a minimal Next.js app that I can clone and try out

@giuseppeg Sorry for the lag.
We resolved this by removing styled-jsx as a dependency for our project.
It seems since we are using NextJS (which depends on styled-jsx), including styled-jsx was causing conflicts with our css (maybe with generated class names?).
Again, sorry for not responding quicker. Will close this issue :)

Specifically, we had<EMAIL_ADDRESS>in our package.json and<EMAIL_ADDRESS>Having both versions was causing unstyled content to flash.
(@maxchehab and I are on the same team)


Combining midi files

Per Testfile.py I've been able to convert a midi file into multiple numpy arrays of shape (64, 84, 1) which I can then run a trained model on. This will return a midi file (cycle, transfer) for each individual numpy array, which will of course only be a few seconds in length each. Is there code for combining midi files? I assume this must have been done for the examples given where full songs are converted.

Hey, it is easy. You can just concatenate the numpy arrays together and then call the function save_midis. Basically, the individual numpy array is a phrase which is composed of 4 bars. Take a look at save_midis in utils.py and functions in write_midi.py.

@aihobbyist can you please post how you converted the file?


pre render handlers

inject all handlers "pre rendered in groups", instead of iterating over them...
for inspiration see https://github.com/railslove/rack-tracker/pull/36/files#diff-c3374fa74e007e78af9ada9c624f54fdR58

hey @DonSchado I am closing this for now.
If this is still some feature we want to implement, please open this issue again - maybe with more details


Text(Form)Field must double-clicked for input in SelectionArea - Web App on IOS Device

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Place TextFormField in SelectionArea
build with --web-renderer canvaskit
Open with Browser on IOS Device

SelectionContainer.disabled around TextFormFiled does not help
Expected results
after clicking, text input possible
Actual results
I must perform a double click
Code sample
Code sample
           SelectionArea(
              child: Column(
                children: [
                  TextFormField(
                    decoration: InputDecoration(hintText: 'Test 123'),
                  ),
                  SelectionContainer.disabled(
                    child: TextFormField(
                      decoration: InputDecoration(hintText: 'Test 123'),
                    ),
                  ),
                ],
              ),
            ),

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output

[✓] Flutter (Channel stable, 3.10.2, on macOS 13.0 22A380 darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] Network resources

Hi @cksoft0807,
I see there's an open issue that is similar to the case you described https://github.com/flutter/flutter/issues/107327. I will close this issue in favor of that issue, so please follow up on it for further updates. Thank you!


Make Add Command activity diagram higher level

Closes #370, #371
For #371, I think the activity diagram in AddCommand and OweCommand is different.

In AddCommand, we want to describe how UGTeach handles the command
In OweCommand, we want to show how the user can track payment (i.e. this includes pay, owe and settle command)
-> Do I need to change the AddCommand activity diagram to the user perspective, (include their behaviour of retyping input, editing students if there are clashing schedule, etc.?

Before, the activity diagram of AddCommand was in low level and included unnecessary details.
Let's:

Simplify the diagram by removing user behaviour and code-wise words
Add in actor for each action
Standardize the style for activity diagram

This is the updated diagram

LGTM, but is the AddCommandActivityDiagram.puml used anywhere? Or it is not needed anymore?

Yup, i will delete it


"Checkbox button set" question type: implement bare bones

This question type creates a list of checkboxes. Applicants may pick one or more choices, depending on how the admin configured the question.

Make it possible for UAT admins to create, and for applicants to fill out, questions of this type. Answers should be saved to a database. Configuration options and validation criteria aren't necessary yet.
See details at https://github.com/seattle-uat/universal-application-tool/wiki/Question-type-requirements-notes

See this wiki page to learn how to add a new question type to the codebase!

(Milestone 4 review): This is in progress and will most likely be out for review 04/05 or early 04/06


Option to Disable Code Verification

Description
Added the Option to Disable Code Verification and Updated the README File Accordingly.
Fixed The Board in manualReset Example to leonardo as uno does not support AVR109
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change does not require documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] Changes have been manually tested (please provide information on test platform using the fields below)

Test / Development Platform Information

Windows 10 x64
Avrgirl Arduino 4.2.3
NodeJS v12.16.2
Arduino Leonardo Board

Coverage increased (+0.03%) to 47.475% when pulling 1431d647f9e57cff8713927103b520497f568604 on Lan-Hekary:master into 41a2f039766677a72b74ce498bd3b6b3289a0e9e on noopkat:master.

Hi @Lan-Hekary sorry for the slow turnaround to review this. Thanks for adding this new feature, it's definitely handy to have! 👍  Also this is a really great PR, that I appreciate because this is exemplary code / description / etiquette 💯


Refs #5691 -- Made cache keys independent of USE_L10N.

This mostly reverts af1893c4ff8fdbf227a43a559d90bb1c1238b01a.

I'm working on reducing usage of USE_L10N (we may eventually get rid of it).
@aaugustin, you committed af1893c, but I didn't find any rationale in the related ticket. I know it's a long time, but could you explain what use case you were targeting?
The alternative would be to always include the language in cache keys, is that something that makes sense?

My best guess is that it's a matter of consistency between the three USE_* settings (I18N, L10N, TZ). When any of them is set, the cache key should be conditional on the locale or timezone.
As you're saying in the commit message, this only has an effect when I18N is False and L10N is True. Indeed, that's the scenario I added a test for in the commit we're talking about.
Since the default project template enables USE_I18N, it should be unfrequent that someone would disable it and then enable USE_L10N. But it isn't completely implausible.
A use case would be someone with an app in English that they don't have the resources to translate to various other European languages, but they'd still want to use localization (e.g. display dates as mm/dd in the US and dd/mm in the EU). If they wanted to avoid a mix of translated (by Django) and untranslated text (model names) in the admin, they could turn I18N off while keeping L10N.
Always including the language in cache keys could multiply the size of the cache by a large factor — the number of locales used by various users of the website — for websites that don't have I18N enabled. I'd rather avoid that option.
If possible, I would be more comfortable with one of the following options:

going through a deprecation path (which will only be visible by the people who use caching, L10N but not I18N)
keeping this until you finally axe USE_L10N, likely by merging it into USE_I18N

Thanks a lot for that explanation.
However I have some doubts about the USE_I18N=False/USE_L10N=True case. In that scenario, the get_language() call will always return the same LANGUAGE_CODE. So I don't see how this would work in practice. I suspect that USE_L10N=True requires USE_I18N=True to function properly.

It is quite likely that I missed this constraint!

In that case, I removed the release note from the patch.

@felixxm, may I ask you to put this in your review list at some point? Or do you think it's worth a ticket?

@claudep Thanks :+1:


Rosalina +Swapdoodle/Download Play Sysnand access don't work

I'm on 11.5E Luma3DS 8.1 +boot.3dsx v 2.0 (for luma)
I don't want to use cia ,because i don't want homebrew apps as cia.

Enable ARM9 access patching in the Luma3DS settings.


What mouse pointer thing are you using in the gif?

Hi there!  I am excited to use screengif.   I'd like something like that for my screencasts.

I believe it was just QuickTime which can record a screencast. Good luck!
On Saturday, 3 October 2015, Priyanka Sharma<EMAIL_ADDRESS>wrote:

Hi there! I am excited to use screengif.  I'd
like something like that for my screencasts.
—
Reply to this email directly or view it on GitHub
https://github.com/dergachev/screengif/issues/18.

--
Alex Dergachev            Evolving Web
Lead developer            web design & development
<EMAIL_ADDRESS>http://evolvingweb.ca
phone<PHONE_NUMBER>        300 St Sacrement, #204
fax<PHONE_NUMBER>        Montreal, QC, H2Y 1X4

So QuickTime let's you create the circle around the mouse pointer to
highlight it?  Thanks for your response!
Priyanka Sharma
Co-founder, WakaTime http://www.wakatime.com/ - Quantify your coding
http://www.twitter.com/pritianka
www.twitter.com/pritianka
650-796-7125
On Fri, Oct 2, 2015 at 2:52 PM, Alex Dergachev<EMAIL_ADDRESS>wrote:

I believe it was just QuickTime which can record a screencast. Good luck!
On Saturday, 3 October 2015, Priyanka Sharma<EMAIL_ADDRESS>wrote:

Hi there! I am excited to use screengif.  I'd
like something like that for my screencasts.
—
Reply to this email directly or view it on GitHub
https://github.com/dergachev/screengif/issues/18.

--

Alex Dergachev Evolving Web
Lead developer web design & development
<EMAIL_ADDRESS>http://evolvingweb.ca
phone<PHONE_NUMBER> 300 St Sacrement, #204
fax<PHONE_NUMBER> Montreal, QC, H2Y 1X4

—
Reply to this email directly or view it on GitHub
https://github.com/dergachev/screengif/issues/18#issuecomment-145164517.

https://www.macstories.net/reviews/lions-quicktime-player-screen-recording-improvements-and-new-sharing-features/
On Saturday, 3 October 2015, Priyanka Sharma<EMAIL_ADDRESS>wrote:

So QuickTime let's you create the circle around the mouse pointer to
highlight it? Thanks for your response!
Priyanka Sharma
Co-founder, WakaTime http://www.wakatime.com/ - Quantify your coding
http://www.twitter.com/pritianka
www.twitter.com/pritianka
650-796-7125
On Fri, Oct 2, 2015 at 2:52 PM, Alex Dergachev<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

I believe it was just QuickTime which can record a screencast. Good luck!
On Saturday, 3 October 2015, Priyanka Sharma<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

Hi there! I am excited to use screengif.
I'd
like something like that for my screencasts.
—
Reply to this email directly or view it on GitHub
https://github.com/dergachev/screengif/issues/18.

--

Alex Dergachev Evolving Web
Lead developer web design & development
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','alex@evolvingweb.ca');>
http://evolvingweb.ca
phone<PHONE_NUMBER> 300 St Sacrement, #204
fax<PHONE_NUMBER> Montreal, QC, H2Y 1X4

—
Reply to this email directly or view it on GitHub
<https://github.com/dergachev/screengif/issues/18#issuecomment-145164517
.

—
Reply to this email directly or view it on GitHub
https://github.com/dergachev/screengif/issues/18#issuecomment-145165726.

--
Alex Dergachev            Evolving Web
Lead developer            web design & development
<EMAIL_ADDRESS>http://evolvingweb.ca
phone<PHONE_NUMBER>        300 St Sacrement, #204
fax<PHONE_NUMBER>        Montreal, QC, H2Y 1X4


tigerbeetle: 0.14.171 -> 0.14.174

Description of changes
The tigerbeetle folks stopped exposing the -Doptimize build flag in https://github.com/tigerbeetle/tigerbeetle/commit/94cacce42860599378901f941ab14ff2283249d7, which means the default Nixpkgs zig build hook makes the tigerbeetle build fail on version 0.14.174 (currently the latest).
This PR fixes the build by overriding the default zig build hook and omitting the -Doptimize flag if it exists.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/1016/93

one thing i didn't realize about this package is they have weekly releases which aren't stable.
https://github.com/tigerbeetle/tigerbeetle#tigerbeetle which seems to limit its utility.

aarch64-darwin is failing

@a-n-n-a-l-e-e thanks for the review! I don't have access to a mac system, which makes that build failure much harder to debug. Looking around at the zig source code for that error, I think I'm almost sure it's coming from https://github.com/ziglang/zig/blob/b80cad24840700ead20b59734916bf3d4d4ba87c/lib/std/zig/system/darwin.zig#L15-L19
which (if I understand correctly) will never succeed in Nix builds. Either we'll need more zig patches in nixpkgs, or zig has to fix that on their code.
For now, I removed the darwin support flag for this package, because it seems to be something I can't fix right now, and/or that would require me to go on a loop with ofborg until I find the magical words to get it to build (and I'm unwilling to go through this pain).
I'm apprehensive to open an issue with zig though, because I just don't have a mac system to provide any meaningful support in debugging and/or verifying any fix.
As for the weekly releases - they don't have any "stable" releases so far, but they're aiming to have their first stable release this year and are tracking the remaining work in https://github.com/tigerbeetle/tigerbeetle/issues/259. I'm building all the support in nixpkgs/nixos that I need for tigerbeetle already because I'm already using it in my own preproduction stack, and will continue to use it after it has its first stable release.


Make pythonz-bd optional

Move this dependency to extras_require, and show an error message to the user if he tries to install a new python version, but pythonz is not installed. This change would make the linux packages more user-friendly.
e.g. for the archlinux package, since the package is not in the official repositories, when you try to generate the package, you get an error because the package depends on pythonz-bd. So you need to install pythonz-bd before, but then you get a new error, because pythonz-db depends on resumable-urlretrieve. The main problem  with the linux packages, is that for every dependency you add on your python package, you need to generate a new linux package, so it would be easier for the packagers to keep the mandatory dependencies to the minimum.

Uhm, I understood this issue to mostly be:

it would be easier for the packagers to keep the mandatory dependencies to the minimum

(btw, thanks again for your work on keeping the arch package up to date!)
Rather than removing features, I'd like to help with the packaging effort, so I dusted off my Arch VM (gosh, I haven't used it since June 2011, and it was a pain to update :/ ) and I was ready to contribute a small PKGBUILD for resumable_urlretrieve
But then I realized that it has already been pushed to AUR... I then installed aura and used it to install python-pew
And everything works quite smoothly.
Also, while Arch is quite bleeding edge, and thus pythonz won't be used to install e.g. Python 3.5.1 ...apparently older versions aren't available in the main repositories (I'm sure they might be on AUR, though), and thus pythonz is still useful. (if pythonz had no use case on Arch, removing it might have been more acceptable)
So, I'm not quite sure about the problem you mentioned:

for the archlinux package, since the package is not in the official repositories, when you try to generate the package, you get an error because the package depends on pythonz-bd. So you need to install pythonz-bd before, but then you get a new error, because pythonz-db depends on resumable-urlretrieve.

I mean: python-pew is not in the official repositories either, and thus the same tool that installs pew should be able to fetch pythonz and resumable_urlretrieve (and that's the case in my experience)
If you plan for them to be moved as extra dependencies, and then specify them as extra dependencies for Arch, this wouldn't really be any easier for you, am I right? And since afaik (maybe it changed in the last version) pip doesn't prominently tell you about optional dependencies, and that the syntax for installing optional stuff is not well known (pip install package[option])... I feel like making this optional would simply make features disappear for the less savvy users (also, what happend when you pip install --upgrade the package? does it also upgrades the optional dependencies? if not this might lead to broken packages... I'd need to look into this)
Obviously I could try to educate users, and add an appropriate message (like "run pip install pythonz-bd, but only if you installed pew via pip") when the users invokes pew install
But if the issue is only the maintenance workload for the Arch (and potentially other distros) packager, I promise you that resumable_urlretrieve won't receive a lot of updates: it only needs to do 1 thing, and it's arguably better tested than pew. And for the couple of pythonz features used by pew, we don't need to really keep it up to date. Most updates are for the newer python versions, but pythonz is able to install them even without (it just won't list them as available and won't be able to check their sha256).
So, for me it'd be perfectly fine if the Arch pythonz-bd and resumable-urlretrieve packages will be lagging behind a bit

The main issue here is that I'm installing AUR packages manually, I didn't know about aura, but I don't want to use such tools because I want to control which packages from the AUR are installed on my system. The way the standard archlinux utilities work, I can create the python-pew package, but when I try to install it, I get an error about the dependency python-pythonz-db, so I need to generate and install that package, but I get again the same error about python-resumable-urlretrieve. That's because you cannot handle automatically dependencies from the AUR with the official Archlinux tools. Anyways, you are right about the problems the users will have if they handle pew directly with pip.
This issue is probably too arch specific, and it will be completely solve if some day pew is included in the official repositories . Thinking again about it, I regret to write this issue, you can close it. As far as you keep using pythonz inside pew, makes totally sense to have it on the dependencies. Sorry for the problems caused to you for updating your Arch VM. Also, maintaining the Arch packages is a relatively easy task, specially with the help from Arthru
Thanks for your reply (and for pew :-) ), I'm closing this issue.


Add PCAP logger

Summary
Implement a pcap logger that can be enabled in debug mode to generate a packet dump of a PeerConnection.
Motivation
It's difficult to debug issues in the DTLS or RTP stacks because an external packet logger like tcpdump does not have access to the DTLS encryption keys.
To make it easier to track down issues, it should be possible to save a packet dump for analysis.
Design
To aid debugging, the pcap should include all the types of packets Pion sends and receives over its ICE connections:

STUN requests
DTLS handshakes
Decrypted DTLS packets
RTP packets
RTCP packets

These should be mapped to IP addresses and port numbers where possible so that issues with STUN and firewall hole punching can be diagnosed.
It should be possible to:

Enable or disable the writer on a per-PeerConnection level
Attach a pcap writer before or after a PeerConnection has been created
Write packets from multiple PeerConnections to a single pcap

Here's a sketch of a design:
// Logger can be attached via SettingEngine
f, _ := os.Open("out.pcap")
s := &SettingEngine{
  PacketLogger: NewPCAPLogger(f),
}
api := NewAPI(WithSettingEngine(s))
pc, _ := api.NewPeerConnection(Configuration{})

(...)

// Later, the logger can be changed or removed
s.PacketLogger = NewPacketLogger(otherfile)
s.PacketLogger = nil

type PacketLogger interface {
  WriteUDP(b []byte, dst, src *net.UDPAddr)
  WriteTCP(b []byte, dst, src *net.TCPAddr)
}

Notes
Related to pion/website#29
Partially implemented PCAP format: #521

@maxhawkins This is an interesting one! Going back through old tickets and I want to build this! This would be amazing for people to learn and debug.
I don't think we should add toggles to enable/disable it during logging. If users want that they can implement that behavior on their own. I also don't think we can support adding them during runtime. The complexity of plumbing that in I think could be costly/error prone.
What do you think of making it configurable? Via the SettingEngine you can do the following

STUN Traffic
DTLS handshakes
DTLS Packets (Encrypted or Decrypted might be nice?)
RT(C)P Packets (Encrypted or Decrypted might be nice?)

This could then be broken up into smaller tasks pretty easily.

[ ] Add a PacketInterceptor field that is a PacketConn to ice.AgentConfig. If set it would wrap interfaces and write.
[ ] Add a mux before the DTLS connection to get DTLS Handshakes.
[ ] Add a mux after the DTLS connection to get SCTP Traffic
[ ] Add a mux before SRTP to get Encrypted RTP
[ ] Add a PacketInterceptor ContextOption that is a io.Writer to srtp. Any packets that are encrypted/decrypted go through that first.

One users told me that the best way for them to learn was via a PCAP. This could be such a huge tool, then we could write a blog post and use screenshots to learn.


Improve/Simplify Orchestration DSL

The orchestration DSL currently requires users to write the initial expectOnce block, which is boilerplate. We should be able to use a typed actor for the same purpose and eliminate this boilerplate, thus passing the received initial message and the original requester to the orchestrate function directly.

Is the orchestration DSL still needed now that akka-streams is prevalent?


Automated cherry pick of #5061: Use OpenFlow group for Network Policy logging

Cherry pick of #5061 on release-1.12.
#5061: Use OpenFlow group for Network Policy logging
For details on the cherry pick process, see the cherry pick requests page.

/test-all

/test-windows-all

LGTM, did the patch apply cleanly?

There were many conflicts when backing port to 1.12, I manually resolves the conflicts. A minor change is the groupIDAllocator. In release 1.12, there were two separate groupIDAllocators for IPv4 and IPv6, the difference is the groupID scope is different. But in release 1.13, there is a single groupIDAllocator. This patch is to follow 1.13 mode, using a single groupIDAllocator. No other dependent changes were introduced.

@antoninbas @tnqn any other concern about this cherry-pick, or can we move it forward ?


Unhandled Promise Rejection error in Node-RED 1.0.0

#120  Problem Bug Report
node-red-contrib-modbus does not work properly on Node-RED version 1.0.0
Tested on three different machines, some clean node-red installs one a version upgrade.
Current behavior
node-red-contrib-modbus does not read or write data in Node-RED version 1.0.0. The modbus server does seem to work.
Minimal reproduction of the problem with instructions
To recreate the issue, simply drop a Modbus Server and a Modbus Read on a screen, configure the Modbus read to read a value from the server. This works fine on Node-RED 19.x. On Node-RED 1.0.0 and it starts barfing these errors:
(node:4352) UnhandledPromiseRejectionWarning: TypeError: a is not a function
    at cberr (C:\Users\FILEA\.node-red\node_modules\node-red-contrib-modbus\modbus\maps\modbus-client.js:565:19)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:4352) 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: 26)

Your Environment
Please tell us about your environment:
Node-Red 1.0.0

Device :

(x) Linux: Ubuntu 18.4
(x) Windows: 10 Home 10.0.18362

Description of the connecting Modbus system:
None, connecting to its own server.

node-red-contrib-modbus version: ``
node-red-contrib-modbus 4.1.1
also tried
node-red-contrib-modbus 4.1.3
Installed from the Node-Red  palette manager.v

Node: (min. 6.x)
node --version = 8.12.0 and also tried on node 10.16.3

Thanks!

Indeed rolling Node-RED back to 0.20.8 it works again. After reading some on the release of v1.0 I guess there are quite a few breaking changes, so this may not be completely unexpected.

#144


Publish detekt-compiler-plugin-all to Maven and GH Releases

Fixes https://github.com/detekt/detekt/issues/7176
I've used .\gradlew publishToMavenLocal to check publishing results.
Now, detekt-compiler-plugin-1.23.6-all.jar is published along all other previously published files in the detekt-compiler-plugin artifact.

and I would love to see a "trivial" the answer to Running detekt-compiler-plugin directly via kotlinc CLI compiler #7168 (@rhazarian when you figure it out, please PR to docs (unless someone already knows)!)

It seems that the answer is to use this shadowed uber-jar. I didn't manage to figure out how to run the compiler plugin using the regular detekt-compiler-plugin.jar, no matter which additional plugins I add, however with detekt-compiler-plugin-all.jar it just works.
So, when this jar starts being added to the releases I think it would be suitable to mention it in the docs.
I'm up to make an additional PR to the docs after we deal with this one.

LGTM 👍 I can backport this to 1.x
Hi!
Is there any info on when will it be ported for 1.x versions? Will it come with 2.0 release or separately? And if it's possible, could you answer, how soon there will be release?

Is there any info on when will it be ported for 1.x versions? Will it come with 2.0 release or separately? And if it's possible, could you answer, how soon there will be release?

I'll try to make a new point release in the upcoming days/weeks 👍


Add how to show all workspaces in Waybar

no, god, this is awful.

How?

wait for https://github.com/Alexays/Waybar/issues/1629 or even better - make a pr to waybar.


SIGSEGV on "Assemble"

Binary Ninja Version: 1.1.1094-dev, b8f790be
Platform: Arch Linux
Reproductions steps:

Start binary ninja
Press Ctrl+N
Change from "Hex Editor" to "Linear dissassembly"
Press Ctrl+Alt+A ("View" -> "Assemble")

Thread 1 "binaryninja" received signal SIGSEGV, Segmentation fault.
0x0000000000547ca7 in BinaryNinja::BasicBlock::GetArchitecture() const ()
(gdb) bt
#0  0x0000000000547ca7 in BinaryNinja::BasicBlock::GetArchitecture() const ()
#1  0x00000000004eaea0 in LinearView::getCurrentArchitecture() ()
#2  0x0000000000459eb4 in ViewFrame::assemble() ()
#3  0x0000000000528545 in MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#4  0x00007ffff44bbbc9 in QMetaObject::activate(QObject*, int, int, void**) () from binaryninja/libQt5Core.so.5
#5  0x00007ffff562f492 in QAction::triggered(bool) () from binaryninja/libQt5Widgets.so.5
#6  0x00007ffff5631990 in QAction::activate(QAction::ActionEvent) () from binaryninja/libQt5Widgets.so.5
#7  0x00007ffff56322ff in QAction::event(QEvent*) () from binaryninja/libQt5Widgets.so.5
#8  0x00007ffff563554c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from binaryninja/libQt5Widgets.so.5
#9  0x00007ffff563c897 in QApplication::notify(QObject*, QEvent*) () from binaryninja/libQt5Widgets.so.5
#10 0x00007ffff44909f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from binaryninja/libQt5Core.so.5
#11 0x00007ffff4e53ae8 in QShortcutMap::dispatchEvent(QKeyEvent*) () from binaryninja/libQt5Gui.so.5
#12 0x00007ffff4e53ba9 in QShortcutMap::tryShortcut(QKeyEvent*) () from binaryninja/libQt5Gui.so.5
#13 0x00007ffff4e090e2 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from binaryninja/libQt5Gui.so.5
#14 0x00007ffff4e2426c in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from binaryninja/libQt5Gui.so.5
#15 0x00007ffff4e292f5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from binaryninja/libQt5Gui.so.5
#16 0x00007ffff4e0515b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from binaryninja/libQt5Gui.so.5
#17 0x00007fffee4779ab in ?? () from binaryninja/qt/platforms/../../libQt5XcbQpa.so.5
#18 0x00007ffff448f26a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from binaryninja/libQt5Core.so.5
#19 0x00007ffff4497da4 in QCoreApplication::exec() () from binaryninja/libQt5Core.so.5
#20 0x000000000043c404 in main ()

Repros on other platforms too, thanks for filing.
Likely due to some recent UI changes to make a few dialogs no longer be modal.

Thanks for reporting. Fixed in build 1.1.1095-dev.


Cannot setup from azure

{
"error": {
"code": "MissingRegistrationForType",
"message": "The subscription is not registered for the resource type 'servers/jobAgents'. Please check that the resource type exists and re-register for this provider in order to have access to this resource type."
}
}
I cannot find this ressource type - please advise

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

ID: af7d5bb1-1cb9-b796-2abc-e0250ddbd82b
Version Independent ID: a6281493-bf6b-0449-23a1-77019959fee4
Content: Job automation - Azure SQL Database
Content Source: articles/sql-database/sql-database-job-automation-overview.md
Service: sql-database
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

@PHaastrup We are checking this and will get back to you.

@PHaastrup After seeing the past issues from users regarding this, here is one possible solution:

Re-register the Microsoft.Sql resource provider under Subscriptions > (Subscription Name) > Resource providers > Microsoft.Sql
Create new Elastic Job agent and agree the Preview terms.

Also please do check the document https://docs.microsoft.com/en-us/azure/sql-database/elastic-jobs-powershell for more insight into creation of Elastic Jobs.

@PHaastrup Please let us know if you need further help with this.

Well…  now I have an agent and a GUI for monitoring jobs, but no GUI for creating jobs!
From: NavtejSaini-MSFT<EMAIL_ADDRESS>Sent: Tuesday, February 25, 2020 2:24 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: PHaastrup<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Cannot setup from azure (#48540)
@PHaastrup https://github.com/PHaastrup  Please let us know if you need further help with this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/issues/48540?email_source=notifications&email_token=AKZQDTDAJCXLGAZKSF2O6YDREULV7A5CNFSM4KYKCBFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3564A#issuecomment-590864240 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZQDTFBCQXJV6RZEVJLKDDREULV7ANCNFSM4KYKCBFA .  https://github.com/notifications/beacon/AKZQDTDLX7BAKX3KJW4BCM3REULV7A5CNFSM4KYKCBFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM3564A.gif

@PHaastrup That is valid feedback. The product team already aware of this.
The service is in preview now and will get more orchestration capabilities in later versions.
We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


using fisher add vs fisher install

❯ fisher install acomagu/fish-async-prompt
fisher: unknown flag or command "install"

@miki725 Fisher 4.x has new command usage. fisher add can't be used anymore.
https://github.com/jorgebucaran/fisher/issues/593

ah good to know. will update mine. thanks


jetstream pubsub now supports token based auth

Description
Added token based authentication for jetstream pubsub component.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #2294
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#2960

Danke 😄 🎩


Microsoft.CodeAnalysis 1.3.1 & 1.3.2

I was testing this code on an ASPNET CORE 1.0.1 project and it worked great.  However, I noticed that when I upgraded from 1.2.0 to 1.3.1 or 1.3.2 it stopped working with an error int he ASPNET CORE project saying it could find Microsoft.CodeAnalysis assemblies (v1.3.1).
I've also tried with 2.0.0-beta3 and same behavior, gives an error saying it can't find Microsoft.CodeAnalysis (2.0.0).
Has anyone else noticed this behavior?  The highest version that works for me is 1.3.0 when doing analysis on an ASPNET CORE 1.0.1 project.

I maintain a small documentation generation project documentation.analysers. I tried to upgrade all the nuget packages recently in an attempt to get my analysers working on .net core cli. I have had the exact same problem, I have gone back to using 1.0.0.
I briefly managed to get the analysers working in a debug session by manually copying the libraries into the working directory, alas the immutable collections classes could not be loaded, manually copying those resulted in an instantiation error. get_SupportedDiagnostics has no implementation. I have spent many hours trying to resolve it. Any suggestions would be most welcome. How the libraries could be so broken as to load the analysers and then complain at runtime about unimplemented properties when the code compiles is alarming.
Its very disappointing that the tooling and support on .net core is so lacking. It's my understanding that none of the quick fixes work on .net core. I am thinking about building the stylecop.analyser vsix and installing it that way.
At least that way I suspect I will get the quick fixes.

I was able to successfully do code generation on my CORE 1.0.1 project, but there were several things that I had to keep in mind to get everything wired up:

Analysis version has to be 1.3.0 or earlier
Analysis project has to be portable

Beyond that, since .NET Standard 1.x (portable) doesn't support File I/O and other critical API's, I had to do some gymnastics to get around those restrictions.  But, in the end, it works and I have all my previous code generators which were written in CompileModules working now rewritten as Analyzers.
My question still remains, though - can't use the latest analysis packages or they fail to load the assemblies.

This sounds like a failure to update assembly binding redirects, but I don't know enough about the details to say more than this guess.


Refactor element gradient kernels and sparse matrix assembly

This PR is aimed at simplifying the element gradient kernels, and extending the sparse matrix assembly routines to include lookup tables for the boundary element contributions as well.

Codecov Report

Merging #559 (7fdb13b) into develop (1307aee) will decrease coverage by 0.62%.
The diff coverage is 80.46%.

@@             Coverage Diff             @@
##           develop     #559      +/-   ##
===========================================
- Coverage    95.62%   94.99%   -0.63%
===========================================
  Files          106      108       +2
  Lines         6513     6553      +40
===========================================
- Hits          6228     6225       -3
- Misses         285      328      +43

Impacted Files
Coverage Δ

src/serac/infrastructure/accelerator.hpp
100.00% <ø> (ø)

.../serac/physics/utilities/functional/quadrature.hpp
100.00% <ø> (ø)

...unctional/tests/functional_material_state_test.cpp
64.28% <0.00%> (-35.72%)
:arrow_down:

...physics/utilities/functional/boundary_integral.hpp
48.75% <19.35%> (-19.00%)
:arrow_down:

...ties/functional/tests/functional_boundary_test.cpp
87.38% <33.33%> (-12.62%)
:arrow_down:

...c/physics/utilities/functional/domain_integral.hpp
100.00% <100.00%> (ø)

...s/utilities/functional/domain_integral_kernels.hpp
100.00% <100.00%> (ø)

src/serac/physics/utilities/functional/dual.hpp
100.00% <100.00%> (ø)

.../serac/physics/utilities/functional/functional.hpp
97.24% <100.00%> (+0.13%)
:arrow_up:

...hysics/utilities/functional/integral_utilities.hpp
100.00% <100.00%> (ø)

... and 16 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 1307aee...7fdb13b. Read the comment docs.


conform to AuhtzModule new protocol

AGIOS-419
linked to https://github.com/aerogear/aerogear-ios-http/pull/40
change implementation of OAuth2Module to fit AuthzModule protocol

closing this one as discussed here: http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-iOS-Social-library-td11276.html


Integrate LogRocket and Google Analytics to the site

🗄 Docs report
Description
 A clear and concise description of the problem...
🔬 Minimal Reproduction
What's the affected URL?**

Reproduction Steps**

Expected vs Actual Behavior**

📷Screenshot

🔥 Exception or Error

🌍 Your Environment
Browser info

Anything else relevant?

Make sure this doesn't fire on localhost. Only fires in production.

Work with Amy to get LogRocket account and Google Analytics setup.


contracts: improve events for the client

Description
First PR of several that will improve various events for simplicity on the client side.
Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

I couldn't resist doing a little cleanup while I was at it. Sorry!

CI is failing, this is something weird:
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER>0 does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER> does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER>0 does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER>0 does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.
batch_submitter_1    | (node:1) TimeoutOverflowWarning:<PHONE_NUMBER>0 does not fit into a 32-bit signed integer.
batch_submitter_1    | Timeout duration was set to 1.

Integration tests fail because the event changes :-(


kubeadm: can not find the default-http-backend

[root@localhost kbdemo]# kubectl logs  -n kube-system nginx-ingress-controller-832530425-jl27p
[dumb-init] Unable to detach from controlling tty (errno=25 Inappropriate ioctl for device).
[dumb-init] Child spawned with PID 7.
[dumb-init] Unable to attach to controlling tty (errno=25 Inappropriate ioctl for device).
[dumb-init] setsid complete.
I0810 00:28:00.965086       7 launch.go:105] &{NGINX 0.9.0-beta.11 git-a3131c5 https://github.com/kubernetes/ingress}
I0810 00:28:00.965174       7 launch.go:108] Watching for ingress class: nginx
I0810 00:28:00.965584       7 launch.go:262] Creating API server client for https://<IP_ADDRESS>:443
F0810 00:28:01.008078       7 launch.go:122] no service with name kube-system/default-http-backend found: User "system:serviceaccount:kube-system:default" cannot get services in the namespace "kube-system". (get services default-http-backend)
[dumb-init] Received signal 17.
[dumb-init] A child with PID 7 exited with exit status 255.
[dumb-init] Forwarded signal 15 to children.
[dumb-init] Child exited with status 255. Goodbye.

I tried to install ingress rc by document
Controller

The Nginx Ingress Controller uses nginx (surprisingly!) to loadbalance requests that are coming to ports 80 and 443 to Services in the cluster.

$ kubectl apply -f https://rawgit.com/kubernetes/ingress/master/examples/deployment/nginx/kubeadm/nginx-ingress-controller.yaml
deployment "default-http-backend" created
service "default-http-backend" created
deployment "nginx-ingress-controller" created
Note the default settings of this controller:

serves a /healthz url on port 10254, as both a liveness and readiness probe
automatically deploys the gcr.io/google_containers/defaultbackend:1.0 image for serving 404 requests.
At its current state, it only supports running on amd64 nodes.

@netroby from the logs you have RBAC enabled in your cluster
F0810 00:28:01.008078       7 launch.go:122] no service with name kube-system/default-http-backend found: User "system:serviceaccount:kube-system:default" cannot get services in the namespace "kube-system". (get services default-http-backend)

Please use the RBAC example https://github.com/kubernetes/ingress/tree/master/examples/rbac/nginx

Thanks, i see. but i want expose 80 port (on host 80 port) via ingress.
The example using NodePort, which only expose 30080 port.
I don't know how to expose 80 port via ingress controller. any suggestion ?

@netroby hoy can use hostPort: 80 or hostnetwork: true


ClusterRepo generation mismatch error when refreshing a chart repository

When you refresh a chart repository from the Apps Marketplace

the UI shows an error like ClusterRepo generation is 5, but latest observed generation is 4 for a short time:

@jordojordo This might be a tricky one - but first step is to verify and see if you can understand what is hapenning.

This isn't red and isn't an error?  The way you trigger an update is by incrementing the generation field, and the status is just saying that the controller saw that and is updating.

The phrasing of the status message  implies something is not correct. Agreed its not presented as an error. May be hard to fix as I assume this is a status message coming from the backend. If this is expected, not sure why we're showing a message at all.

Verified on v2.7-head Commit ID: c35f112
Refreshing a repo via the three dots > Refresh and by selecting a repo (checkbox) and clicking the Refresh button no longer displays a message while the repo is being refreshed.


Manually define a rule to classify FR-I/FR-II galaxies

Here are the metrics for this dangerously simple rule. It's better than random, so that's something. See the latest commit for code and explanations.
Balanced Accuracy: 0.5329390418367703
Recall: 0.35772357723577236
Accuracy: 0.5870786516853933
F1 Score: 0.37446808510638296
Confusion Matrix
[[  44.   68.]
[ 165.   79.]]
Precision: 0.39285714285714285

Interesting that the accuracy is lower than my extremely great classifier, but the balanced accuracy is (of course) higher. Could you add some description of how the rule works into your notebook? You can add text cells in Jupyter notebooks — just a paragraph or so on what you're doing can really help readability. Then we can close this.

Great, we can close this issue now.
For the record the balanced accuracy of my classifier is exactly 50%.


Timeout pruning via sftp

Output of restic version
restic 0.9.5 compiled with go1.12.4 on linux/arm
How did you run restic exactly?
RESTIC_PASSWORD=foo
RESTIC_REPOSITORY=sftp:rsync.net:restic-repo
command line invocation was: restic --cache-dir /srv/store1/restic/cache/ prune
(to keep caching on my SATA disc, vs the host's SD card where the os is loaded)
/root/.ssh/config contains:
Host rsync.net
HostName usw-s001.rsync.net
User flooble
IdentityFile /srv/store1/restic/conf/.ssh/rsync
ServerAliveInterval 60
ServerAliveCountMax 20000000
What backend/server/service did you use to store the repository?
rsync.net, see ssh config above
Expected behavior
Restic should prune the repository.
Actual behavior
I've tried this several times, each time increasing the ServerAliveCountMax. Each time it fails, my repo grows by about 5GB of duplicated data.
root@sync1:~# restic --cache-dir /srv/store1/restic/cache/ prune
repository 6ab47cc5 opened successfully, password is correct
counting files in repo
building new index for repo
[1:01:10] 100.00%  45080 / 45080 packs
incomplete pack file (will be removed): 65106f1569f0c833a58d10cc32007493fde27e81ec7102c6d8e37396539643f7
repository contains 45079 packs (322136 blobs) with 214.532 GiB
processed 322136 blobs: 81573 duplicate blobs, 21.871 GiB duplicate
load all snapshots
find data that is still in use for 19 snapshots
[0:50] 100.00%  19 / 19 snapshots
found 197000 of 322136 data blobs still in use, removing 125136 blobs
will remove 1 invalid files
will delete 4343 packs and rewrite 7369 packs, this frees 45.300 GiB
subprocess ssh: packet_write_wait: Connection to <IP_ADDRESS> port 22: Broken pipe
Save(<lock/2d1b52a6c9>) returned error, retrying after 552.330144ms: OpenFile: EOF
Save(<lock/2d1b52a6c9>) returned error, retrying after 1.080381816s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 1.31013006s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 1.582392691s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 2.340488664s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 4.506218855s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 3.221479586s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 5.608623477s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 7.649837917s: ssh command exited: exit status 255
Save(<lock/2d1b52a6c9>) returned error, retrying after 15.394871241s: ssh command exited: exit status 255
unable to refresh lock: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 507.606314ms: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 985.229971ms: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 803.546856ms: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 1.486109007s: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 2.070709754s: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 3.67875363s: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 4.459624189s: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 6.775444383s: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 15.10932531s: ssh command exited: exit status 255
Save(<lock/2a35da8f7e>) returned error, retrying after 13.811796615s: ssh command exited: exit status 255
unable to refresh lock: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 351.593438ms: failed to send packet: write |1: file already closed
Remove(<lock/d4377d3272>) returned error, retrying after 645.653563ms: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 1.204507436s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 2.299204301s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 2.007570431s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 3.026422858s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 7.133794867s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 6.0363136s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 17.496021524s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 23.002952479s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 511.910153ms: ssh command exited: exit status 255
failed to send packet: write |1: file already closed
github.com/pkg/sftp.sendPacket
/restic/vendor/github.com/pkg/sftp/packet.go:135
github.com/pkg/sftp.(*conn).sendPacket
/restic/vendor/github.com/pkg/sftp/conn.go:31
github.com/pkg/sftp.(*clientConn).dispatchRequest
/restic/vendor/github.com/pkg/sftp/conn.go:117
github.com/pkg/sftp.(*clientConn).sendPacket
/restic/vendor/github.com/pkg/sftp/conn.go:108
github.com/pkg/sftp.(*Client).close
/restic/vendor/github.com/pkg/sftp/client.go:477
github.com/pkg/sftp.(*File).Close
/restic/vendor/github.com/pkg/sftp/client.go:770
github.com/restic/restic/internal/backend.DefaultLoad
/restic/internal/backend/utils.go:63
github.com/restic/restic/internal/backend/sftp.(*SFTP).Load
/restic/internal/backend/sftp/sftp.go:340
github.com/restic/restic/internal/limiter.rateLimitedBackend.Load
/restic/internal/limiter/limiter_backend.go:44
github.com/restic/restic/internal/backend.(*RetryBackend).Load.func1
/restic/internal/backend/backend_retry.go:79
github.com/cenkalti/backoff.RetryNotify
/restic/vendor/github.com/cenkalti/backoff/retry.go:37
github.com/restic/restic/internal/backend.(*RetryBackend).retry
/restic/internal/backend/backend_retry.go:36
github.com/restic/restic/internal/backend.(*RetryBackend).Load
/restic/internal/backend/backend_retry.go:77
github.com/restic/restic/internal/cache.(*Backend).Load
/restic/internal/cache/backend.go:197
github.com/restic/restic/internal/repository.DownloadAndHash
/restic/internal/repository/repository.go:766
github.com/restic/restic/internal/repository.Repack
/restic/internal/repository/repack.go:26
main.pruneRepository
/restic/cmd/restic/cmd_prune.go:278
main.runPrune
/restic/cmd/restic/cmd_prune.go:85
main.glob..func18
/restic/cmd/restic/cmd_prune.go:25
github.com/spf13/cobra.(*Command).execute
/restic/vendor/github.com/spf13/cobra/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
/restic/vendor/github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
/restic/vendor/github.com/spf13/cobra/command.go:800
main.main
/restic/cmd/restic/main.go:86
runtime.main
/usr/local/go/src/runtime/proc.go:200
runtime.goexit
/usr/local/go/src/runtime/asm_arm.s:868
Load
github.com/restic/restic/internal/repository.DownloadAndHash
/restic/internal/repository/repository.go:782
github.com/restic/restic/internal/repository.Repack
/restic/internal/repository/repack.go:26
main.pruneRepository
/restic/cmd/restic/cmd_prune.go:278
main.runPrune
/restic/cmd/restic/cmd_prune.go:85
main.glob..func18
/restic/cmd/restic/cmd_prune.go:25
github.com/spf13/cobra.(*Command).execute
/restic/vendor/github.com/spf13/cobra/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
/restic/vendor/github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
/restic/vendor/github.com/spf13/cobra/command.go:800
main.main
/restic/cmd/restic/main.go:86
runtime.main
/usr/local/go/src/runtime/proc.go:200
runtime.goexit
/usr/local/go/src/runtime/asm_arm.s:868
Repack
github.com/restic/restic/internal/repository.Repack
/restic/internal/repository/repack.go:28
main.pruneRepository
/restic/cmd/restic/cmd_prune.go:278
main.runPrune
/restic/cmd/restic/cmd_prune.go:85
main.glob..func18
/restic/cmd/restic/cmd_prune.go:25
github.com/spf13/cobra.(*Command).execute
/restic/vendor/github.com/spf13/cobra/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
/restic/vendor/github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
/restic/vendor/github.com/spf13/cobra/command.go:800
main.main
/restic/cmd/restic/main.go:86
runtime.main
/usr/local/go/src/runtime/proc.go:200
runtime.goexit
/usr/local/go/src/runtime/asm_arm.s:868
Save(<lock/a709c28014>) returned error, retrying after 396.227312ms: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 740.619312ms: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 1.868490179s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 3.734205348s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 2.200112976s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 6.235277092s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 4.776550251s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 15.275143199s: ssh command exited: exit status 255
Save(<lock/a709c28014>) returned error, retrying after 15.406612236s: ssh command exited: exit status 255
unable to refresh lock: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 336.633119ms: failed to send packet: write |1: file already closed
Remove(<lock/d4377d3272>) returned error, retrying after 780.824891ms: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 1.17467502s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 1.313731612s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 2.33672901s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 3.913005138s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 4.291648632s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 6.6812935s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 16.51276728s: ssh command exited: exit status 255
Remove(<lock/d4377d3272>) returned error, retrying after 16.565348898s: ssh command exited: exit status 255
error in cleanup handler: ssh command exited: exit status 255
Steps to reproduce the behavior
Attempt to prune a repository ~190GB on rsync.net
Do you have any idea what may have caused this?
SSH timeout, possibly at the server end? Possibly contributing is that my machine running the prune operation is an Odroid HC-1, which has a Samsung Exynos5422 Cortex-A15 2Ghz and Cortex-A7 Octa core CPUs and 2GB RAM; the prune operation if successful would take approximately 2 days based on the progress meter before the crash. So there's definitely some periods when we're not actively transferring files over ssh as the little mobile cpu crunches data.
Do you have an idea how to solve the issue?
Send more keepalives? Maybe other tunings needed for my ssh client? Let Restic close the SSH tunnel when it's not actively needed, and re-open it when it is?
Did restic help you or made you happy in any way?
I also back up to Backblaze B2, and previously used S3 and Google object storage. Those backups and restores have been reliable and, aside from this issue, which is definitely frustrating, Restic has been super, super awesome.

I'm currently trying to backup ~2TB of data to rsync.net and seeing a similar issue, e.g. it ends with
Remove(<lock/a463fe1407>) returned error, retrying after 27.337308488s: ssh command exited: exit status 255
error in cleanup handler: ssh command exited: exit status 255

It appears to keep going when re-running the command, though it has to pour over all the data it's already uploaded before it can continue, making for slow progress. It also appears to cause a small increase in disk usage on the remote end, but I can't confirm that it's not just normal metadata growth.

The SD card running my OS was dying:
[2748819.177296] Buffer I/O error on dev sdb2, logical block 0, lost sync page write
[2748819.177311] EXT4-fs: 165 callbacks suppressed
[2748819.177312] EXT4-fs (sdb2): I/O error while writing superblock

Replacing that, and setting TMPDIR to use my SATA drive to avoid further wear on my new SD card, seems to have resolved my issues. I also ran a build with https://github.com/restic/restic/pull/2340 which may have helped as well by cutting my prune time down by ~80%

@stenwt, did you actually solve this problem? Or why did you close it?
I seem to be running into pretty much exactly the same problem now, where the remote end closes the SSH connection while restic is busy with "building new index for repo". Maybe modifying the ssh command with some keepalive options could help?

I solved the issue; it was not restic's fault (at least in my case), but was due to a failing SD card which held the OS and filesystem where I was running restic.


"LSP Snippets" option for completion API

This adds an "LSP Snippets" option to the completion API, documented in SBCompletionOptions.i.
Basically, these allow us to insert placeholders for arguments when the user selects a function from the autocomplete menu. Monaco-based editors automatically highlight the placeholders and let the user tab between them, so that it's easy for them to fill in all the arguments. It looks like this:

fyi, I'm probably not going to get around to fully releasing this for the next few weeks, so I will just leave this PR open here until I have time.


Add an elvis:rock_this/1 function to rock specific modules

This would look for the source files of the modules provided, use the default configuration and apply the rules of the configuration group where the file matches the filter.

The work on this issue will be done on #170.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.0 to before v5.14.14",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ab5b0107ccf3821a6837b0f2819270d6fa0b278f",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=46c8ddede0273d1d132beefa9de8b820326982be"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "ab5b0107ccf3821a6837b0f2819270d6fa0b278f",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "46c8ddede0273d1d132beefa9de8b820326982be",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "drm/msm: Fix null pointer dereference on pointer edp\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.14.14 by commit 46c8ddede0273d1d132beefa9de8b820326982be, it was introduced in version v4.0 by commit ab5b0107ccf3821a6837b0f2819270d6fa0b278f. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002090


Update benchmark to better reflect routing performance

can you please update the results in the readme?

thanks!


feat: add imToken  to available wallet

[x] add imToken wallet connection
[x] add imToken option to site
[x] add imToken option to README

@izayl would you mind if I added some icons that will fit better w/ our styling to this PR? Our icons should have more squared corners, and I've got some ready that I can add to this PR if that's alright with you.

@izayl would you mind if I added some icons that will fit better w/ our styling to this PR? Our icons should have more squared corners, and I've got some ready that I can add to this PR if that's alright with you.

@nickbytes ok, but pls follow this brand guide: https://token.im/brand?locale=en-us

This is ready for review.


DeepReadonly type fails to compile on typescript 3.1.1+

TypeScript Version:  3.1.1+

Search Terms: DeepReadonly
Code
export type Primitive = string | number | boolean | undefined | null | Function | symbol;
export type DeepReadonly<T> =
  T extends [infer A]                                                       ? DeepReadonlyObject<[A]> :
  T extends [infer A, infer B]                                              ? DeepReadonlyObject<[A, B]> :
  T extends [infer A, infer B, infer C]                                     ? DeepReadonlyObject<[A, B, C]> :
  T extends [infer A, infer B, infer C, infer D]                            ? DeepReadonlyObject<[A, B, C, D]> :
  T extends [infer A, infer B, infer C, infer D, infer E]                   ? DeepReadonlyObject<[A, B, C, D, E]> :
  T extends [infer A, infer B, infer C, infer D, infer E, infer F]          ? DeepReadonlyObject<[A, B, C, D, E, F]> :
  T extends [infer A, infer B, infer C, infer D, infer E, infer F, infer G] ? DeepReadonlyObject<[A, B, C, D, E, F, G]> :
  T extends Map<infer U, infer V> ? ReadonlyMap<DeepReadonlyObject<U>, DeepReadonlyObject<V>> :
  T extends Set<infer U> ? ReadonlySet<DeepReadonlyObject<U>> :
  T extends Promise<infer U> ? Promise<DeepReadonlyObject<U>> :
  T extends Primitive ? T :
  T extends (infer A)[]           ? DeepReadonlyArray<A> :
  DeepReadonlyObject<T>;

interface DeepReadonlyArray<T> extends ReadonlyArray<DeepReadonly<T>> {}
type DeepReadonlyObject<T> = { readonly [P in keyof T]: DeepReadonly<T[P]> }

Expected behavior:
This used to work as of typescript 3.0.1
Actual behavior:
In typescript 3.1.1 a new error is thrown saying that the type is cyclical
In typescript 3.2+ the above error, instead ends up casting the type as any
Playground Link:
Here's a gist with tests for the type
https://gist.github.com/masterkidan/7322752f569b1bba53e0426266768623
Playground link
Related Issues:
https://github.com/Microsoft/TypeScript/issues/27421
https://github.com/Microsoft/TypeScript/issues/13923
https://github.com/Microsoft/TypeScript/issues/26236

@masterkidan looks like this is due to the tuple types, without those your code works as expected
[Playground link](https://www.typescriptlang.org/play/index.html#src=export type Primitive %3D string | number | boolean | undefined | null | Function | symbol%3B
export type DeepReadonly<T> %3D
  %2F%2F T extends [infer A]                                                       %3F DeepReadonlyObject<[A]> %3A
  %2F%2F T extends [infer A%2C infer B]                                              %3F DeepReadonlyObject<[A%2C B]> %3A
  %2F%2F T extends [infer A%2C infer B%2C infer C]                                     %3F DeepReadonlyObject<[A%2C B%2C C]> %3A
  %2F%2F T extends [infer A%2C infer B%2C infer C%2C infer D]                            %3F DeepReadonlyObject<[A%2C B%2C C%2C D]> %3A
  %2F%2F T extends [infer A%2C infer B%2C infer C%2C infer D%2C infer E]                   %3F DeepReadonlyObject<[A%2C B%2C C%2C D%2C E]> %3A
  %2F%2F T extends [infer A%2C infer B%2C infer C%2C infer D%2C infer E%2C infer F]          %3F DeepReadonlyObject<[A%2C B%2C C%2C D%2C E%2C F]> %3A
  %2F%2F T extends [infer A%2C infer B%2C infer C%2C infer D%2C infer E%2C infer F%2C infer G] %3F DeepReadonlyObject<[A%2C B%2C C%2C D%2C E%2C F%2C G]> %3A
  T extends Map<infer U%2C infer V> %3F ReadonlyMap<DeepReadonlyObject<U>%2C DeepReadonlyObject<V>> %3A
  T extends Set<infer U> %3F ReadonlySet<DeepReadonlyObject<U>> %3A
  T extends Promise<infer U> %3F Promise<DeepReadonlyObject<U>> %3A
  T extends Primitive %3F T %3A
  T extends (infer A)[]           %3F DeepReadonlyArray<A> %3A
  DeepReadonlyObject<T>%3B

interface DeepReadonlyArray<T> extends ReadonlyArray<DeepReadonly<T>> {}
type DeepReadonlyObject<T> %3D { readonly [P in keyof T]%3A DeepReadonly<T[P]> }

type DeepTestType %3D DeepReadonly<{
  a%3A string
  b%3A number[]
  c%3A { d%3A string%2C e%3A number[]%2C f%3A [number%2C { g%3A string%2C h%3A number }] }
  i%3A [number%2C string%2C boolean]
  j%3A { id%3A number%2C name%3A string }[]
  k%3A Set<number>
  l%3A Map<{ id%3A number%2C name%3A string }%2C { age%3A number }>
  m()%3A void
  n%3A Symbol
  o%3A Promise<void>
  p%3A Promise<{ q%3A { r%3A number }}>
}>

const record %3D { id%3A 123%2C name%3A 'zxc' }

const deepTest%3A DeepTestType %3D {
  a%3A 'asdf'%2C
  b%3A [123%2C 234]%2C
  c%3A { d%3A 'zxc'%2C e%3A [1%2C 2%2C 3]%2C f%3A [1%2C { g%3A 'iop'%2C h%3A 789 }] }%2C
  i%3A [1%2C 'a'%2C true]%2C
  j%3A [{ id%3A 1%2C name%3A 'c' }]%2C
  k%3A new Set([1%2C 2%2C 3])%2C
  l%3A new Map([
    [record%2C { age%3A 789 }]
  ])%2C
  m() { console.log('m )

@Dean177 : Thanks!, is there a way to make this work without removing support for Tuples?

Actually I think you are better off wating for 3.4  and Improved support for read-only arrays and tuples (#29435). With this new feature mapped types will apply the readonly modifier to tuples and arrays and you will not need any special handling for them. This will work as expected (as far as I can tell) in 3.4 (you can try it out with npm install typescript@next:
type DeepTestType = DeepReadonly<{
  a: string
  b: number[]
  c: { d: string, e: number[], f: [number, { g: string, h: number }] }
  i: [number, string, boolean]
  j: { id: number, name: string }[]
  k: Set<number>
  l: Map<{ id: number, name: string }, { age: number }>
  m(): void
  n: Symbol
  o: Promise<void>
  p: Promise<{ q: { r: number }}>
}>

Immer has a "deep readonly" type called Immutable (see here) that works fine in 3.1+


make all functional jit script

Update functional to be jit script, as discussed here.

I would suggest to test those functions under the jit mode in case that some ops are not supported by the jit team.

The current convention is to compile with jit by default by adding the @torch.jit.script decorator, and so this PR is extending this convention to functions that were not covered in their respective PRs. It may be a good idea to not compile them by default, and let the user it themselves. This is what is discussed in #314. Thoughts?
All the functions in this PR are being run in jit mode with @torch.jit.script and so are compiled successfully during import.

I would suggest to test those functions under the jit mode in case that some ops are not supported by the jit team.

The current convention is to compile with jit by default by adding the @torch.jit.script decorator, and so this PR is extending this convention to functions that were not covered in their respective PRs. It may be a good idea to not compile them by default, and let the user it themselves. This is what is discussed in #314. Thoughts?
All the functions in this PR are being run in jit mode with @torch.jit.script and so are compiled successfully during import.

I'm not suggested to compile them by default. Instead, it would be great if we could test the func under the JIT mode. Based on my experience, some of the ops (hasattr, for loop with index, etc) are not supported by JIT).

We do have JIT tests https://github.com/pytorch/audio/blob/master/test/test_jit.py - @vincentqb we should evaluate whether these are still necessary.

We do have JIT tests https://github.com/pytorch/audio/blob/master/test/test_jit.py - @vincentqb we should evaluate whether these are still necessary.

Something like this will be needed for #314. Since there is no harm in keeping in in this PR, I will leave them here for now.


Feature request: insert and scale image/figure using % of edit container

I scale the editor area using @media depending on device width. I want images to keep size relative to editor area size independent of device. This works fine if I, after adding an image, resize it using the image modal (e.g. 75%, 50% etc.).
It would be nice if image/figure width/height always can be set to % instead of px - perhaps controlled by an option?

Hi, @MRB60
I'll add an option to always set it to "%".
Before that, you can use the following method:
suneditor.create('id', {
    imageWidth: 'auto',
    imageResizing: false,
    ...
});

Thank you.

Great.
Be aware, for me, it scales propely when the  element with the class se-component se-image-container is scaled (width as %), so not sure which element (this ,  or ) actually should be the target here.

Hi @MRB60
Updated in v2.22.0.
Thank you.

Did a quick test. I can set new % size in modal and it seem to do the job.
However, I cannot resize it with the mouse anymore, only through settings modal. I have configured as follows:
imageSizeUnit: "%",
imageResizing: true,`
Initial load of image (upload to server variant) still does not scale %-wise with edit area. I still need to resize it (or set % in modal) once to get image scaled properly.

Hi,
"%" size is can not be resized with the mouse.
Um.. Currently there are many restrictions on entering image size.
It may be better to enter a unit such as "px" or "%" directly like Tiny editor.

I am not too familiar with TinyMCE since I decided not to use it - but perhaps better.
Using % in width (height) style for the html (div) element having the se-image-container class seem to do it for me - thus using % (of parent, which is editor area) as style in the html contents itself. See my earlier comment.

If it is still a percentage size, the se-image-container contains the style.
I'll modify the size input method so that you can enter up to the size unit.

Hi,
Updated in v2.23.0
Thank you.

Thanks for your effort - did a quick try and it works fine for me.
Initial loading image of seem to ignore left/right selection but will not create an issue for that.


feat: balance responisble graph field additions

Codecov Report

Merging #2082 (9133a6e) into main (1f68021) will increase coverage by 12.27%.
Report is 4 commits behind head on main.
The diff coverage is 11.66%.

@@             Coverage Diff             @@
##             main    #2082       +/-   ##
===========================================
+ Coverage   22.70%   34.97%   +12.27%
===========================================
  Files          73       91       +18
  Lines        1656     2090      +434
  Branches      219        0      -219
===========================================
+ Hits          376      731      +355
- Misses       1270     1343       +73
- Partials       10       16        +6

Files Changed
Coverage Δ

...pi/Clients/ESettExchange/V1/ESettExchangeClient.cs
0.00% <0.00%> (ø)

...s/dh/api-dh/source/DataHub.WebApi/GraphQL/Query.cs
0.97% <0.00%> (-0.07%)
:arrow_down:

...rs.TypeModuleGenerator/HotChocolateTypeModule.g.cs
100.00% <100.00%> (ø)

...Hub.WebApi/GraphQL/Types/BalanceResponsibleType.cs
100.00% <100.00%> (ø)

... and 24 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix(treeBase): Change calculation of number of levels in tree

Change the treeBase.numberLevels variable to consider a single level as 1 instead of 0
Previously there was no way to use this variable to differentiate between a single tree level
and no grouping at all. This does not impact row.treeLevel, which is still zero-based.
Reset treeBase.numberLevels each time the tree is created.
Remove unneeded dependency for groupingService in treeBase.uiGridViewport directive
Add treeRowHeaderAlwaysVisible=false option to complex grouping tutorial (320).
Fixes: #3572

Looks very tidy too.  Thanks @AgDude