[Hold] Trying to pay an iou without a debit card and the ability to use the wallet does not open the add debit card sidebar as expected

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Create a new account
Start a new conversation
Receive a payment request
Click ‘Pay’
Select ‘Debit Card’

Expected Result:
the add card form appears on the right hand side
Actual Result:
the page refreshes, and the sidebar does not appear
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.32-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/c66fed29-5f09-4699-9d9f-f9e2d30ba2e8
https://github.com/Expensify/App/assets/43996225/544fdda0-ac4c-4cb8-9626-ca05a5f7d2dc
Expensify/Expensify Issue URL:
Issue reported by: @dgwight
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687300587512869
View all open jobs on GitHub

Proposal
The correct debit card route needs to be passed down to SettlementButton from ReportPreview.js. I believe ROUTES.IOU_SEND_ADD_DEBIT_CARD is the correct route because that is what is passed down to SettlementButton from MoneyRequestConfirmationList.js
Please re-state the problem that we are trying to solve in this issue.
A bug where the sidebar to add a new card does not open when the Pay button is clicked.
What is the root cause of that problem?
addDebitCardRoute is not passed down to SettlementButton from ReportPreview, so it cannot be passed to KYCWall. This makes so the app redirects to an empty url instead of the addDebitCardRoute.
What changes do you think we should make in order to solve the problem?
The solution would look like this:
<SettlementButton
   currency={props.iouReport.currency}
   policyID={props.iouReport.policyID}
   chatReportID={props.chatReportID}
   iouReport={props.iouReport}
   onPress={(paymentType) => IOU.payMoneyRequest(paymentType, props.chatReport, props.iouReport)}
   enablePaymentsRoute={ROUTES.BANK_ACCOUNT_NEW}
   addBankAccountRoute={bankAccountRoute}
   addDebitCardRoute={ROUTES.IOU_SEND_ADD_DEBIT_CARD}
   style={[styles.requestPreviewBox]}
/>

What alternative solutions did you explore? (Optional)
None

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~018571e164e984baba

I think the addDebitCardRoute should be passed into to the 2 SettlementButton components in MoneyRequestHeader.js also, to prevent a similar issue there

I'm only seeing the option for Pay Elsewhere, I think we might have put a pause on P2P bugs

@muttmuure it requires these beta permissions
Permissions.canUsePayWithExpensify(this.props.betas) && Permissions.canUseWallet(this.props.betas)
I was confused why it would only appear locally for me, even with the released version 1.3.32-5, but this is because all the beta permissions are automatically enabled locally.
I'm not sure how many users have these beta permissions in production yet, but it would be good to fix this before this feature is given to everyone

No update needed

We'll be picking the wallet back up soon

Will check this again next month

Not had time

Not had time

This flow has changed. If you don't have a debit card added to your wallet, the option defaults to Pay Elsewhere. Closing this in favor of newer reports about this functionality.


Destructive option on version increase rather than requiring migration

In Room on Android we have an option to fallbackToDestructiveMigration(), meaning we don't have to supply a migration on version update, the database is simply torn down and recreated with the new schema.
This is a nice feature when using the database for caching, we don't necessarily want or need the old data forms when we update the schema

Hi! We're certainly interested in such a feature and a draft of it is available at #473. I'll close this issue as a duplicate of #356.

Hi! We're certainly interested in such a feature and a draft of it is available at #473. I'll close this issue as a duplicate of #356.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
5e60b71c7f44c7f021ea4ab8560ca210272e78e1
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


feat: Create Mentorship Code of Conduct Page

Is your feature request related to a problem? Please describe.
Create the page for code of conduct for mentors and mentees (Mentorship >> Code of Conduct)
Please assign yourself to the task if working on it🙏
Describe the solution you'd like

Reference: This page but with the new community colour palette

Design: Similar to reference above but with the color palette from this: https://www.figma.com/file/ncdevYZK7NGuTK3hc6mP4e/Design-Kit-Draft-(WCC)?type=design&node-id=55033-25508&mode=design&viewport=2608%2C-276%2C0.19&t=0KxB8FJuumD2KskU-0

Content: To be updated but will be in this document: https://docs.google.com/document/d/1PJjyWfgi3r-awNzJyISR2tVgrLXpSgpoX809rkwx1Dg/edit#heading=h.78q4sam49eix

Describe alternatives you've considered
Additional context

Assign to @goelsonali


How can i customize the toolbar?

Hello!
Good job!
I just don't understand from the docs how can i customize the template.
For example i would like to remove:  Zoom in - Zoom out - Rotate
and modify Back and Next putting two icons instead of the text
How can i do that?
Thank you very much!

What I meant was that you do not have to use the default toolbar at all. In most cases you probably want to build something custom and probably use your own CSS.
You can do so by first disabling the default toolbar, like so:
<pdf-viewer
    delegate-handle="my-pdf-container"
    show-toolbar="false"></pdf-viewer>

Your own toolbar can then use the Delegate Service to control the PDF.
The actual toolbar is like 40 lines of code. You can use it for reference: https://github.com/winkerVSbecks/angular-pdf-viewer/blob/master/src/js/pdf-viewer-toolbar.js

Thank for reply.
I have tried but it doesn't work. I am doing something wrong.
I have add in my app.js these lines:
angular.module('pdf', [])
.service('pdfDelegate', delegateService([
'prev',
'next',
'getPageCount',
'getCurrentPage',
'goToPage',
'load'
]));
angular.module('pdf')
.directive('pdfViewerToolbar', [
'pdfDelegate',
function(pdfDelegate) {
return {
restrict: 'E',
template:
'' +
'' +
'Back' +
'' +
'Next' +
'' +
'Page ' +
'<input type="text" class="field-dark" ' +
'min=1 ng-model="currentPage" ng-change="goToPage()" ' +
'style="width: 10%"> ' +
' / {{pageCount}}' +
'' +
'',
scope: { pageCount: '=' },
link: function(scope, element, attrs) {
var id = attrs.delegateHandle;
scope.currentPage = 1;
    scope.prev = function() {
      pdfDelegate
        .$getByHandle(id)
        .prev();
      updateCurrentPage();
    };
    scope.next = function() {
      pdfDelegate
        .$getByHandle(id)
        .next();
      updateCurrentPage();
    };
    scope.goToPage = function() {
      pdfDelegate
        .$getByHandle(id)
        .goToPage(scope.currentPage);
    };

    var updateCurrentPage = function() {
      scope.currentPage = pdfDelegate
                            .$getByHandle(id)
                            .getCurrentPage();
    };
  }
};

}]);
But i have obtained something near to what i need by removing the link to Zoom in - Zoom out - Rotate from angular-pdf-viewer.min.js

Two things:

You don't need to replicate the delegate service.
Use your own module and inject the pdf module into it

angular.module('myApp', [ 'pdf' ])
  .directive('myPdfViewerToolbar', [
     'pdfDelegate',
  function(pdfDelegate) {
    return {
       restrict: 'E',
       template:
        '
' +
          '
' +
            'Back' +
             '' +
            'Next' +
            '' +
            'Page ' +
            '<input type="text" class="field-dark" ' +
              'min=1 ng-model="currentPage" ng-change="goToPage()" ' +
               'style="width: 10%"> ' +
            ' / {{pageCount}}' +
          '
' +
        '
',
       scope: { pageCount: '=' },
       link: function(scope, element, attrs) {
         var id = attrs.delegateHandle;
         scope.currentPage = 1;

        scope.prev = function() {
          pdfDelegate
            .$getByHandle(id)
            .prev();
          updateCurrentPage();
        };
        scope.next = function() {
          pdfDelegate
            .$getByHandle(id)
            .next();
          updateCurrentPage();
        };
        scope.goToPage = function() {
          pdfDelegate
             .$getByHandle(id)
             .goToPage(scope.currentPage);
         };

        var updateCurrentPage = function() {
          scope.currentPage = pdfDelegate
                                .$getByHandle(id)
                                 .getCurrentPage();
        };
      }
    };
}]);

and use it like so:
<my-pdf-viewer-toolbar
    delegate-handle="my-pdf-container"></my-pdf-viewer-toolbar>
<pdf-viewer
    delegate-handle="my-pdf-container"
    url="pdfUrl"
    scale="1"
    show-toolbar="false"></pdf-viewer>

Ok, thank you very much!
Now the toolbar is working perfectly!

Hi,
Thank you for making such an awesome tool and sorry for jumping into an already closed issue.
I am attempting to make my own toolbar following the instructions here. The only issue i am having, is that i cannot get the pageCount on the custom toolbar after i load a new pdf url.
I am new at AngularJS so please bear with me. But i had a few questions. Is it possible for maybe the load function to return a promise? At the moment i do not see any way of knowing when the pdf has finished loading so i can get the pageCount or maybe let the user know it is loading.
Thanks in advance.

You can get the page count like so:
pdfDelegate
  .$getByHandle(id)
  .getPageCount()

@winkerVSbecks thanks for the reply.
That is how i am currently retrieving it, but, how can i get the pageCount after reloading the pdfUrl? Currently i need to wrap it in a $timeout and guess the time it will take to load, then after that i can get the pageCount.

Yea that's a good point. There doesn't seem to be a clean way of getting the pageCount if you reload the pdfUrl.
Could you test something for me? In the directive controller: https://github.com/winkerVSbecks/angular-pdf-viewer/blob/master/src/js/pdf-ctrl.js… If you return the PDFJS promise in self.load you should be able to use it as following:
var myPdf  = pdfDelegate.$getByHandle('my-pdf-container');

myPdf
  .load('url-of-the-new-file.pdf')
  .then(function()) {
        myPdf. getPageCount()
   });

@winkerVSbecks easy fix. That works perfectly!

@newrdev awesome! You can submit a PR if you have time. Otherwise I'll update and release a new version tomorrow. Thanks

@winkerVSbecks PR submitted.

@newrdev thanks. I made a new release. You can run bower update to get the latest version.

@winkerVSbecks thanks you!
I don't know if I'm overstepping here, but this fix could also be a solution for #13 .
Just a thought. Thanks once again!

That's a good point. Thanks!


link lineage os 20 camera to camera

:✓:Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
Icons linked

Camera (linked org.lineageos.selfie to @drawable/camera)

Thanks!


Feature 157 developer admin ui are you sure

Added extra confirmation dialogs to all update, create and delete actions in the developer UI, which did not previously had it.

closes #157


Ensure clientsets are configured just once for acceptance tests

The end to end tests are currently failing in the CI before the before block of the tests attempts to recreate the clients required by the tests. Use a sync.Once to ensure the before block does not fail. Also updated testify while we were at it.

Might make sense to move these to execute before invoking spec.

Might make sense to move these to execute before invoking spec.

I like this idea


Unit Converter

Related Issue
Closes #338

Description

Hello Sir/'Ma'am ,👋
I am Arpan Chowdhury, a aspiring Web developer.🤖 I want to add my Unit Converter project under GSSoC'23.😁We all use this most used mobile application. I have made it with the use of HTML,CSS & JS.
Expected behavior

Description
I have made a very basic Unit Converter where it just changes kilometer to meter to centimeter & Vice-versa. Anyone can input integer or decimal.
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@Shreyaar12 @cleveranu @Dharmesh177 @artimanputra please take a review of my PR & please merge it under GSSOC'23.

Please resolve merge conflicts

@Shreyaar12 @cleveranu I have resolved the conflicts. Please take a look & please merge the PR under SSOC

You can add more functionality and even more units for conversion.Try implementing !

@Shreyaar12 @cleveranu I have added a new unit converter project with more functionalities

Please take a look & after reviewing , Please merge it under GSSOC


[Update] dbeta threshold

Development
Description
add dbeta threshold and get distribution
Implementation

set dbeta threshold
get dbeta distribution
get normal and tumor distribution after pca

Required Hidden Data
NaN
Checklist

[x] Detail implementation description at the top of notebook
[x] Data input and output paths are correct
[x] Free of spurious comments
[x] Free of unnecessary notebook updates (e.g. cell executions count)

這邊 threshold 是push 之後本來就會留空嗎?還是給個預設?


Add some redirect rules from the old site to the new one

E.g., /appeals should redirect to /ma/appeals

I did not address this in #100 because I wanted to think through it a bit more. If the plan (see #79) is to have /il/[topic] and /ak/[topic], I'm not sure it makes sense to redirect /[topic] to /ma/[topic]. Some options:

/[topic] could show forms from all jurisdictions
/[topic] could show a jurisdiction selector similar to visiting /
Both of the above (which would probably be better for SEO)


Add READMEs for the credential helpers.

This adds some READMEs for these crates. These are pretty bare bones for now, but I suspect they may get extended in the future based on how we decide to deploy them.

@bors r+

:pushpin: Commit afbca6baf8d7645822bc74b81bb6b22337cf8066 has been approved by epage
It is now in the queue for this repository.

@bors retry

in the queue but not running? 🤔
@bors r=epage

:bulb: This pull request was already approved, no need to approve it again.

:pushpin: Commit afbca6baf8d7645822bc74b81bb6b22337cf8066 has been approved by epage
It is now in the queue for this repository.

@bors r-

@bors r=epage

:pushpin: Commit afbca6baf8d7645822bc74b81bb6b22337cf8066 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit afbca6baf8d7645822bc74b81bb6b22337cf8066 with merge 5b377cece0e0dd0af686cf53ce4637d5d85c2a10...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 5b377cece0e0dd0af686cf53ce4637d5d85c2a10 to master...


Better handle duplicate descriptions

Repro
describe('thing', function() {
    it('should do stuff', function() {
        expect(1+1).toEqual(2);
    });
    it('should do stuff', function() {
        expect(2+1).toEqual(3);
    });
});

Produces
thing
  √ should do stuff

SUMMARY:
  √ 2 tests completed

Expected
thing
  √ should do stuff
  √ should do stuff

SUMMARY:
  √ 2 tests completed

Released as v1.1.4


chore(master): release 0.9.0

:robot: I have created a release beep boop
0.9.0 (2024-03-01)
Features

updating from newer svd2rust (#70) (95c546f)
updating from newer svd2rust (#72) (f76f59c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/xmc-rs/xmc4300/releases/tag/v0.9.0 :sunflower:


Overlapping highlights not handled correctly

From<EMAIL_ADDRESS>on May 31, 2013 11:50:28
What steps will reproduce the problem? 1. Go to the highlighter demo
2. Highlight a selection
3. Highlight a selection that overlaps the one you highlighted before
4. Remove one of the two highlights What is the expected output? What do you see instead? The remaining highlight should be visible, it is deleted instead. Also the highlighter.highlights datastructure is now inconsistent.
Original issue: http://code.google.com/p/rangy/issues/detail?id=168

The merging of overlapping highlights is by design. I don't think there is now a problem with the state of  highlighter.highlights.

I am adding additional information to the class attrbute and when the highlights are overlapped i get two sets of data.
IS there a way for you to retain both the spans when the highlights are overlapped


[ENH] Add new "Getting started" docs

Closes #184
Close #187
Closes #142
Closes #181

Changes proposed in this pull request:

added a "getting started" section

this is purposefully very lightweight and inteded to get someone going quickly
new content that explains how to use the new deployment recipe. Also big warning to not install graphDB

refactored the former local-node and federation setup guides into two new sections:

configuration: background section with details on the different configuration options you need to know about.

Also contains the info on "how to do it by hand if you have to"

maintenance: contains the sections on how to handle data updates. Added:

how to upgrade the services
how to stop and relaunch the services after a config change

nav-section to hold the tool-specific guides. This is mainly so the left hand nav section is a bit easier to process visually.
enabled mkdocs material feature to add "go to next/previous section" links in the footer.

Probably best to review this in the staging deploy because the diff is pretty sizable but text mainly has just moved around.

Checklist
Please leave checkboxes empty for PR reviewers

[x] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF]) see our Contributing Guidelines for more info)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Checks pass

Alright folks, thanks a lot for the in depth review here - I appreciate the effort. I went through the comments / suggestions and addressed most of them. The purpose of this PR (and the new docs section) to me is really to get a sysadmin from first contact to running stack in as few steps as possible - and to provide additional detail after that to go in depth. As long as we check this box, I think this PR has served its purpose. Some of this will have to go in later issues / PRs.
There were also a couple of change requests that are in scope of the PR, but that I disagree with in the interest of keeping the "getting started" section very action oriented and simple. I added my thoughts inline, but for me it all comes down to making the first contact with a new deploying user as easy, clear, and successful as possible so we can then tell them the details when they are excited. That said, we will continue refining the style with user feedback and make sure we get it right.
Please both take another look at and let me know if there are any final changes needed. Let's wrap this up and spread the good word!


Bolt command run --env-var changes invoked shell

Describe the Bug
When performing 'bolt command run' the command is run using the default shell for the user specified in the targets.  If I add
a --env-var argument, the command no longer runs in the users default shell. It runs in /bin/sh.
Expected Behavior
bolt command run 'nonsense' --targets<EMAIL_ADDRESS>--env-var ANY=thing should produce the same behavior as bolt command run 'nonsense' --targets<EMAIL_ADDRESS>Steps to Reproduce
bolt command run 'nonsense' --targets<EMAIL_ADDRESS>Started on<EMAIL_ADDRESS>Failed on<EMAIL_ADDRESS>  The command failed with exit code 127
  bash: line 1: nonsense: command not found
Failed on 1 target<EMAIL_ADDRESS>
Notice error at line 1 is reported by bash
bolt command run 'nonsense' --targets<EMAIL_ADDRESS>--env-var ANY=thing
Started on<EMAIL_ADDRESS>Failed on<EMAIL_ADDRESS>  The command failed with exit code 127
  sh: 1: nonsense: not found
Failed on 1 target<EMAIL_ADDRESS>Ran on 1 target in 0.34 sec

Notice error is reported by sh
Environment
Bolt version: 3.26.2
Server OS: Centos 7
Target OS: Linux Raspberry Pi September 22nd 2022 Kernel 5.15

Interesting. It looks like the Bolt::Shell::Bash#execute method is generalized to handle multiple commands (stitching them together with sh -c) , in the case of run_command (not considering run-as) we would know there is only one. Maybe we can look in to special casing that https://github.com/puppetlabs/bolt/blob/88d8c31428c61c3a35179ad69a2b2fbfebc7d3f5/lib/bolt/shell/bash.rb#L377-L381
I think @nicklewis implemented that feature originally, maybe he has an idea for this.

I should add, my real application uses 'bolt command run @' to run a full script of commands. I use the '--env-var' to parameterize the script to deliver several different results. I used the simple case of a single command to illustrate the bug.


Reproduce the thread locking in swift

Reproduce tests from here: https://github.com/xmtp/xmtp-react-native/pull/470/files

I actually think this doesn't reproduce. Likely a RN threading issue again.

Okay able to reproduce the issue but only with the members list.


move cross validation from HybridModel to ROMs

Pull Request Description
This PR will allow ROMs to perform cross validation by themselves.
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
See #1006
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test linux on 703112f : invalidated by @wangcj05
CondaMultiError: [Errno 2] No such file or directory: '/home/moosetest/.conda/pkgs/glib-2.53.6-h5d9569c_2/share/gtk-doc/html/gio/left.png'

Job Test qsubs on ebd234c : invalidated by @wangcj05

@alfoa Can you take a look at this PR?

Job Test Ubuntu 18 PIP on ebd234c : invalidated by @wangcj05

@alfoa Could you take a look at this PR? tests are all green.

I hope Paul can take care of this review.
Thanks
@PaulTalbot-INL

Job Test CentOS 7 on f66661c : invalidated by @wangcj05
varma timeout

Tests are green now. @PaulTalbot-INL @alfoa

@PaulTalbot-INL Could you take a look at this PR? Andrea has already reviewed it, and I have addressed his comments.

Checklists have passed and tests are green. All of @alfoa comments have been addressed, and my second review did not raise new concerns.
Merging.


Use random pool to generate opentracing IDs

This PR changes the way of generating random opentracing IDs to use a random pool, which improves the spread when random are obtained across multiple goroutines.

I don't think this implementation could help improve the collision problem, It seems to help with concurrency and performance of the concurrency due the pool + mutex of different rands. But nothing about collision.
Maybe we can do a collision tests with this implementation vs normal math/rand and vs crypto/rand. I think the crypto/rand implementation would have fewer collisions.
Beside using a better random generator, the problem will not be solved using this number of bits in the Id, In the backend the tests executions and span count keep growing, so the probability of a collision keeps increasing... I don't know if the backend could have a composed primary key, like traceId + parentSpanId + spanId. This could reduce the probability of a collision drastically.
What do you think @fermayo

Apart from what we can do in the backend, we are having an abnormally high collision rate of span IDs in the case of the Go agent.

Apart from what we can do in the backend, we are having an abnormally high collision rate of span IDs in the case of the Go agent.

Across the same traceId? Because this also will not help in differents packages/modules
In the same process I guess I prefer the crypto implementation, less code changes... https://golang.org/pkg/crypto/rand/

The better is to create a test comparing all the random generators and select the one with fewer collisions.... I guess

@tonyredondo you're right, this PR seems does not improve the collision rate, it's just for performance. My bad.
Regarding using crypto/rand, I have my doubts because of the additional overhead that could suppose that to the agent.
Let's check it in that test you mentioned

Closed due to #223


Update README.md

Add result image links in examples of Local Development / Testing

Thank you for taking the time to contribute! This is sincerely appreciated. 😇


Add brotli compression as the main static file precompression algorithm

This PR adds brotli precompression to static asset file serving whilst leaving in gzip precompression as a fallback.
Brotli is widely supported in major browsers and provides much better compression.
If the requester does not accept brotli compression, gzip will be served as a fallback.
Also, apologies, my editor removed trailing white spaces from the .md file. Happy to add them back if you want a cleaner PR.

Nowdays i see most services default to zstd instead. Brotli is amazing but its also a lot more resource heavy.
Maybe zstd would be a better default

Nowdays i see most services default to zstd instead. Brotli is amazing but its also a lot more resource heavy. Maybe zstd would be a better default

I'm happy to add zstd as well as the first option. I guess it's up to the maintainers and general consensus on what people would prefer. Can update when there's more input.

Making it configurable in future might be the best outcome.

hi, we're going to stay with gzip as it's the most universal
but we'll be happy to accept a PR that makes this more configurable or composable.
closing this for now

This doesn't stop anyone from just using gzip, but if the header accepts brotli as an encoding and you have a brotli version of the file it would serve that instead.
Understandable though if you don't want these methods clogging up the file and prefer it to just be configurable in future, I can understand that. Thanks.


(Console): Assessment Results generation

Is your feature request related to a problem? Please describe.
Provide the functionality to update the assessment results view+data with the generated information obtained from lula validate
Describe the solution you'd like

Given component definition exists
When user executes some keystokes (e.g., v for validate)
Then lula validate methods execute, add data to the existing model, update the assessment results view

Describe alternatives you've considered
n/a
Additional context
Where should the key-command live (on the component defn view or assessment results view?). This will require some updates to some of the oscal functions that can write assessment results to the current file.
(If we put the calling function on the assessment-results page it might make more sense to cage as generate since it's in the context of the assessment results? Which might be confusing from a CLI perspective, but might be more consistent if we have that nomenclature on every model)
Expected Deliverable
Determination on user interface/experience
Implementation + Tests
Documentation + gifs

Bumping to high priority to work before soss fusion demo


[tool_crash] ShaderCompilerException

Command
flutter run

Steps to Reproduce

...
...
...

Logs
ShaderCompilerException
#0      ShaderCompiler.compileShader (package:flutter_tools/src/build_system/tools/shader_compiler.dart:190:9)
<asynchronous suspension>
#1      writeBundle.<anonymous closure> (package:flutter_tools/src/bundle_builder.dart:221:25)
<asynchronous suspension>
#2      Future.wait.<anonymous closure> (dart:async/future.dart:534:21)
<asynchronous suspension>
#3      writeBundle (package:flutter_tools/src/bundle_builder.dart:187:3)
<asynchronous suspension>
#4      WebDevFS.update (package:flutter_tools/src/isolated/devfs_web.dart:1005:9)
<asynchronous suspension>
#5      ResidentWebRunner._updateDevFS (package:flutter_tools/src/isolated/resident_web_runner.dart:583:35)
<asynchronous suspension>
#6      ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:334:41)
<asynchronous suspension>
#7      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.24.5, on macOS 14.6.1 23G93 darwin-x64, locale
    en-NG)
    • Flutter version 3.24.5 on channel stable at
      /usr/local/Caskroom/flutter/3.24.5/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (5 days ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[!] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      and macOS development.
      Download at: https://developer.apple.com/xcode/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.6.1 23G93 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 130.0.6723.119

[!] Network resources
    ✗ A cryptographic error occurred while checking "https://pub.dev/":
      Connection terminated during handshake
      You may be experiencing a man-in-the-middle attack, your network may be
      compromised, or you may have malware installed on your computer.
    ✗ A network error occurred while checking "https://storage.googleapis.com/":
      Connection failed
    ✗ A network error occurred while checking "https://maven.google.com/":
      Failed host lookup: 'maven.google.com'
    ✗ A network error occurred while checking "https://cocoapods.org/": Failed
      host lookup: 'cocoapods.org'
    ✗ A network error occurred while checking "https://github.com/": Failed host
      lookup: 'github.com'

! Doctor found issues in 3 categories.

Flutter Application Metadata
Type: app
Version: 0.0.1+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: f72efea43c3013323d1b95cff571f3c1caa37583
Plugins
connectivity_plus-5.0.2
desktop_drop-0.4.4
device_info_plus-9.1.2
irondash_engine_context-0.4.1
path_provider-2.1.5
path_provider_android-2.2.12
path_provider_foundation-2.4.0
path_provider_linux-2.2.1
path_provider_windows-2.3.0
screen_retriever-0.1.9
super_native_extensions-0.7.3
url_launcher-6.3.1
url_launcher_android-6.3.14
url_launcher_ios-6.3.1
url_launcher_linux-3.2.1
url_launcher_macos-3.2.1
url_launcher_web-2.3.3
url_launcher_windows-3.1.3
window_manager-0.3.9

Hi @hyplegfabricvot, can we get the full output of flutter run -v when this crash occurs?
Is this a frequent occurrence for you?

It's my first time trying to run it
below is the output of flutter run -v
[  +32 ms] executing: sw_vers -productName
[  +41 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +28 ms] Exit code 0 from: sw_vers -productVersion
[        ] 14.6.1
[        ] executing: sw_vers -buildVersion
[  +25 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 23G93
[        ] executing: uname -m
[   +8 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +16 ms] executing: sysctl hw.optional.arm64
[  +12 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +45 ms] Unable to locate an Android SDK.
[ +306 ms] executing: sysctl hw.optional.arm64
[  +12 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[  +31 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer
tool or in PATH
[   +9 ms] Xcode not found. Run 'flutter doctor' for more information.
[  +56 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required,
skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[ +220 ms] executing: xcrun xcodebuild -version
[  +15 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer
tool or in PATH
[   +5 ms] executing: xcrun simctl list devices booted
[  +40 ms] Exit code 72 from: xcrun simctl list devices booted
[        ] xcrun: error: unable to find utility "simctl", not a developer tool
or in PATH
[  +17 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[  +10 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +3 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +42 ms] executing: xcrun xcodebuild -version
[  +16 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer
tool or in PATH
[ +115 ms] Connected devices:
[+18106 ms] macOS (desktop) • macos  • darwin-x64     • macOS 14.6.1 23G93
darwin-x64
[  +11 ms] Chrome (web)    • chrome • web-javascript • Google Chrome
130.0.6723.119
[   +1 ms] Checking for wireless devices...
[   +1 ms] [1]: macOS (macos)
[        ] [2]: Chrome (chrome)
[   +3 ms] Please choose one (or "q" to quit)
[        ] :
[   +9 ms] No wireless devices were found.
[        ] Connected devices:
[   +3 ms] macOS (desktop) • macos  • darwin-x64     • macOS 14.6.1 23G93
darwin-x64
[        ] Chrome (web)    • chrome • web-javascript • Google Chrome
130.0.6723.119
[        ] [1]: macOS (macos)
[        ] [2]: Chrome (chrome)
[        ] Please choose one (or "q" to quit):

Hi @hyplegfabricvot, please run flutter run until the application starts or you hit the error and share the logs. The logs you shared above stop at your selection of the platform/ target device


Post-command for gap over the distribution

First setup done, can be tested with test.do. General question:
I think it would be best to have a standard plot in a basic style and an exported dataset which can then be used to plot in whichever style they like. Otherwise it will become very flimsy and error prone to pass on all the options to the single plots. On the other hand, I am not so sure how easy the data export would be for the da/db contribution plots (in essence, the plotting in exactly the style of WOX would necessitate additional instructions then). What do you think?

Ready for testing as `nopo gapoverdist'

Regarding the plotoptions, I suggest that we just return the default contents so that users can post the full set with their adjustments (similar to the kmatch_cmdline).

Add sensible description of component sum checks:

[ ] Display component, no. of quantiles, mean across quantiles, mean no. of obs per quantile
[ ] Note that explains that mean across quantiles should be equal to compenents, except if some quantiles have sparse number of obs. and outliers affecting these. If so, use option nquantiles() to reduce the number of quantiles

I have implemented only xsize and ysize as direct options for the plot. These should allow to resolve most scaling issues. Everything else is determined by defaults and returned in r(). Users can then either:

adjust these returns and feed them back to the plot command via, e.g. twopts
build their own plot from saved data and these returns

We could allow for many more direct options, but I think that in the end, you'll always need more than we offer, and in this case the two options allow for maximum flexibility (to be sure, the second option involves some coding and is not just copy paste).
Closing.


Document and optionally simplify cert-manager image building

Currently we build cert-manager server images using Bazel, see the rules for example here.
Arguably it can be hard to follow this flow, which could turn problematic if it was needed to debug an issue with an image etc.
It also seems to contain bits of Bazel code that aren't used.
It would be great if we could:

document the flow
remove unused bits of Bazel code
allow for parameterization of the image builds

/kind cleanup

/assign


Responsible disclosure policy

Hello 👋
I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@chuayupeng) has found a potential issue, which I would be eager to share with you.
Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.
Looking forward to hearing from you 👍
(cc @huntr-helper)

@m-Ryan Hi! I am the researcher in question, was just wondering why the issue was closed as completed but the SECURITY.md file was not set up yet?

@psmoros it seems like the maintainer closed this issue without ever doing up the security.md file, and has not replied my repeated attempts on trying to responsibly disclose this issue.


Upgrade metal_irconverter headers and bindings to 2.0.4

Depends on #17
This contains all the new bindings added to the public API in the 2.0 release.  Fortunately, as we can now see in the diff thanks to #17, there's no binary diff in the repr(C) structures nor used constants.

I've pushed the update to beta 4 to this branch, I think we should go ahead and merge it for now so we can signal that this is how it's going to be.
We'll need to see what to do about the HACK commit, I think it's fine to check this in as a .patch file instead and apply it before generating bindings.

We'll need to see what to do about the HACK commit, I think it's fine to check this in as a .patch file instead and apply it before generating bindings.

We already merged this "hack commit" before as part of https://github.com/Traverse-Research/saxaboom/pull/17. It was just easier to cleanly copy the headers into the repository (undoing the change) and then cherry-picking it again (in a separate commit) and fix the conflict. Especially when then going from beta 1 to 2, 3, and 4 etc.

Happy to merge this when CI is green. Just need to test if Windows still segfaults on Beta 4 because it started doing that on Beta 3 :(


Change Keycode to use integer instead of mapping to a virual key

It is related to commit https://github.com/edwin0cheng/unrust/commit/726e14f3080c61427652aeea87c61bf0604fef62
It seem like the keyboard not only keyboard layout dependents, and it is OS depenents:
https://www.berrange.com/posts/2010/07/04/a-summary-of-scan-code-key-codes-sets-used-in-the-pc-virtualization-stack/
Maybe we should use integer from upstream library instead of remapping it ?
@jice-nospam

https://i.stack.imgur.com/LD8pT.png

I'm working on a fix using this macos table

Um....Seem like i misunderstanding something. Would you mind to explain this code to me ?
Where do you find this mapping ?
Im using this : http://keycode.info/ to test my keycode , for example , my a key map to 65, w hich map to 0x41.

So that would you mind test it in your non qwerty keyboard ?

http://keycode.info/  displays the virtual key codes. I also get 65 for A because they're the same everywhere.
What we need is scancodes. I used this table to write the Windows code. On windows A is scancode 30 (0x1E) on a qwerty keyboard. And I get the same scancode when I press Q on my azerty keyboard. This is what you need for WSAD key control.
According to this diagram, A scancode for mac is 0x00.
Let me try and write a macos mapping table, we'll see if it works for you

Okay i understand now so i misunderstand Keycode and Scancode. Lets wait for you pull request and let me test it 👍

Fixed by https://github.com/edwin0cheng/unrust/pull/33


Fix query for getting task from database.

Fix bug from https://github.com/thewhitetulip/Tasks/issues/37 .

Thank you


人生に　周りの人の影響?

Hallo,
人生に　周りの人の影響?
INFLUENCE of SURROUNDING PEOPLE to HUMAN LIFE?
Thank you.
Health,
SYSON, MICHAEL B. (Representative)

observed: SURROUNDING PEOPLE's NEED of QUICK MONEY causes speed-up DEATH
--> (1) school -> (2) workplace -> (3) family unit
Example of SURROUNDING PEOPLE:

@SCHOOL, classmates who aim for HIGH GRADE with less SCHOOL WORK via among others:

information on teacher's use of recycled exams, without notifying classmates who are NOT part of their GROUP;
Reminder: GRADE : MONEY
students with LATIN HONORS receive additional INCOME @WORKPLACE
Example LATIN HONORS:
Summa Cum Laude, Magna Cum Laude

@WORKPLACE, such classmates shall also execute ACTIONS to receive QUICK MONEY again with less WORK via among others:

smuggling, tax evasion;

@FAMILY Unit, such classmates shall also execute such ACTION via among others:

CHEATING is OK, DEATH of LOLO/LOLA OK to QUICKLY get MONEY/MANA (INHERITANCE)


Build fails for .NET MAUI class library with .NET MAUI Essentials targeting the Windows platform

Build fails for .NET MAUI class library with .NET MAUI Essentials targeting the Windows platform.
Template Package Version:
3.1.0-preview.2
Error message:
D:\NuGet\packages\Microsoft.WindowsAppSDK\1.2.230118.102\buildTransitive\MrtCore.PriGen.targets(380,5): error MSB4062: The "Microsoft.Build.AppxPackage.GetSdkFileFullPath" task could not be loaded from the assembly C:\Program Files\dotnet\sdk\8.0.100-preview.1.23115.2\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.AppxPackage.dll. Could not load file or assembly 'C:\Program Files\dotnet\sdk\8.0.100-preview.1.23115.2\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.AppxPackage.dll'. The system cannot find the path specified. Confirm that the  declaration is correct, that the assembly and all its dependencies are available,and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [E:\SampleLib\SampleLib.csproj::TargetFramework=net8.0-windows10.0.19041.0]

When making use of .NET MAUI Essentials and targeting the Windows platform, it is necessary to define the EnableMsixTooling project option to resolve the build issue.
Will get fixed in the upcoming preview (3.1.0-preview.3).
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <UseMauiEssentials>true</UseMauiEssentials>
    <EnableMsixTooling>true</EnableMsixTooling>
  </PropertyGroup>
</Project>

Fix released via v3.1.0-preview.3.


Launch on startup doesn't function

Launch on startup doesn't work, have to start the program manually even after restarting with the option selected

Could you send logs of when you save and exit the config window after enabling launch on startup? I'll see what I can do.
The logs may also contain your PC username so you can check the file and censor it first if you want to. I can also try to add a precaution against this.

Fri_Apr__5_13-22-59_2024-dbg.txt

That did it, thanks again

I'm still having this issue. Another issue is that when startup is toggled, I am unable to save and close the config window. I can save and close with timer mode toggled but it still doesn't startup.


HXL/HDX to datapackage conversion

I have started looking at how to convert HXL to a datapackage and made a very simple first example here: https://github.com/mcarans/hxl-frictionless/blob/master/run.py
I would like to extend datapackage to support and specifically identify HXL resources.  Is there any issue with adding new attributes "is_hxl" and "hxl_tag" under the resource?  eg.:
    "resources": [
        {
            "url": "xxx",
            "is_hxl": true,
            "schema": {
                "fields": [
                    {
                        "name": "year",
                        "type": "date",
                        "hxl_tag": "#date+year"
                    },
                    {
                        "name": "revisedRequirements",
                        "type": "number",
                        "hxl_tag": "#value+funding+required+usd"
                    },

With those attributes then I would consider how to extend datapackage-py to support HXL.

@mcarans
Hi. It's pretty OK with the specs to extend any of descriptor. For example similar solutions for SPSS (some format) - https://github.com/frictionlessdata/tableschema-spss-py#creating-sav-files
Also we have a Storage architecture for tableschema - https://github.com/frictionlessdata/tableschema-py#storage. It allows to export/import data resources and packages to different backends like SQL or Pandas. Not sure if it's applicable for something in HXL eco-system but you could take a look.

I have updated the code to use datapackage-py. It reads an HDX dataset and produces a datapackage using HXL type information if available (falling back on datapackage-py's inference)

One thing I just realised is I need to be able to tell infer to ignore the HXL tags (on the row after the headers) although it seemed to do a reasonable job in any case

Wow. That's great

Thanks. I am trying to think how we could make Frictionless tools HXL aware. What I mean is simply in handling the second header row containing the HXL tags - not treating the tags as data eg. when validating a column, inferring column type etc. This will enable us to use the Frictionless tools on datasets converted to datapackages broadly as I have done above. What do you think?

@mcarans
On table level we support skip_rows argument. So we could use it like this to skip second rows of a data source:
table = Table(data, schema=schmea, skip_rows=[2])

It's not a part of the Data Package standard for now but as a concrete implementation datapackage-py still could add support for it:
package = Package({'resources': [{'name': 'name', 'path': 'path', skipRows: [2]]})

I suppose it will solve HXL tags issue?

@roll That would be a good place to start.
Looking further ahead, I am pondering whether it's possible or worthwhile to make a tighter integration between Package (and Resource in particular) and HXL at least in the concrete implementation, but not sure how easy to plug into existing architecture eg. 'hxlTags': [2] instead of skipRows. But let's just go with what you had in mind for now.


Nginx wss ws Ratchet problem.

Hello i hope you'll understand me because my english i snot perfect :)
I'm trying to install Ratchet on a webserver with nginx and CloudPanel
I'd read a lot of different conf but nothing work for me :( :(
For information i have the same on a webserver where i'm not doing the conf file.... and it work on it's other server.
This my conf file :
`upstream websocket{
server <IP_ADDRESS>:10002;
}
map $http_upgrade $connection_upgrade {
default Upgrade;
'' close;
}
server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name sousdomaine.xxxxxxxx.com;
{{root}}
{{nginx_access_log}}
{{nginx_error_log}}
if ($bad_bot = 1) {
return 403;
}
if ($scheme != "https") {
rewrite ^ https://$host$uri permanent;
}
location ~ /.well-known {
auth_basic off;
allow all;
}
{{basic_auth}}
try_files $uri $uri/ /index.php?$args;
index index.php index.html;
location /ws/ {
proxy_pass http://websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_redirect off;
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
keepalive_timeout 86400s;
# prevents 502 bad gateway error
proxy_buffers 8 32k;
proxy_buffer_size 64k;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
reset_timedout_connection on;
}
location ~ .php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
try_files $uri =404;
fastcgi_read_timeout 3600;
fastcgi_send_timeout 3600;
fastcgi_param HTTPS $fastcgi_https;
{{php_fpm_listener}}
{{php_settings}}
}
location ~* ^.+.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ {
add_header Access-Control-Allow-Origin "*";
expires max;
access_log off;
}
include /home/cloudpanel/htdocs/sousdomaine.xxxxxx.com/rewrite-nginx.conf;
if (-f $request_filename) {
break;
}
}`
as you can see it's a template.
All {{ var }} are correct.
my js part is :
var conn = new WebSocket('wss://sousdomaine.xxxxxxxx.com:10002/ws/');
and the error is :
websocket connection to 'wss://sousdomaine.xxxxxxxxx.com:10002/ws/' failed.
Of course i'm starting ratchet server ;) and it's OK it running.
Please help

I've found :)
first the order off first lines
in this sens !!
map $http_upgrade $connection_upgrade { default Upgrade; '' close; } upstream websocket{ server <IP_ADDRESS>:10002; }
After call the Ws without port...
not do wss://xxxxxxxxx.com:10002/ws/
do wss://xxxxxxxxx.com/ws/
IT WORK !! :D


fix: correct AbstractCommand for context menus

Description
Context menu commands do not work.
Motivation and Context
fixes #227 that has been bizarrely closed in favour of a workaround.
Testing
https://github.com/tonyhallett/ask-toolkit-for-vscode/blob/fix-closed-issue-227/test/askContainer/commands/deviceRegistry.test.ts
Types of changes

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

Checklist

[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have read the README document
[x] I have added tests to cover my changes
[x] All new and existing tests passed
[x] My commit message follows Conventional Commit Guideline

License

[x] By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for much for the fix @tonyhallett ! Sorry for the confusion, we had closed the other issue in favor to indicate the the presence of the workaround to resolve the immediate issue and were tracking the underlying issue elsewhere, which wasn't readily apparent here. I just pulled down your change and verified it, looks great!


CID 1367531:  Uninitialized members  (UNINIT_CTOR): proxy/main.cc

*** CID 1367531:  Uninitialized members  (UNINIT_CTOR)
/proxy/Main.cc: 352 in MemoryLimit::MemoryLimit()()
346       }
347     };
348
349     class MemoryLimit : public Continuation
350     {
351     public:
   CID 1367531:  Uninitialized members  (UNINIT_CTOR)
   Non-static class member field "_usage.ru_stime" is not initialized in this constructor nor in any functions that it calls.
352       MemoryLimit() : Continuation(new_ProxyMutex()), _memory_limit(0) { SET_HANDLER(&MemoryLimit::periodic); }
353       ~MemoryLimit() { mutex = NULL; }
354       int
355       periodic(int event, Event *e)
356       {
357         if (event == EVENT_IMMEDIATE) {

This was closed in PR #1279


Fix {i,o}stream support for pcg128_t

We defined operator{<<,>>} for pcg128_t in pcg_extras, assuming Koenig
lookup would find these as needed.  This isn't actually true, because
pcg128_t is a typedef, and Koenig lookup doesn't apply to the
namespaces of typedefs.  We would need to define those operators in
the global namespace; that's a bad idea.
Instead, work around it.  Define explicit Input and Output functions
in the namespace, which in turn default to operator<< and operator>>
if they need to, and explicitly use them in engine printing/parsing
functions.

Note that I do not intend for this to merged as-is; it's incomplete (I need to do the same thing for uint8 handling and for extended-generator printing.  Figured I'd demonstrate what the approach looks like and see if we can come to a consensus before I wrote out all the details.
Thoughts?

I would love for this to be merged (I would like checkpointing with pcg64). @imneme would you be happy to merge this code, if @ahh completes it?
It is of course unfortunate not to be able to use operator<< and operator>> but since this only affects a small amount of code, the proposed solution is perfectly adequate in my opinion.


Android Java: 8.0 Notifications

What would I include?

What is a notification and its types.
How to create notifications with working code.

@VikasPandey121  can I work on this issue?

Can I work on this issue?

@saloni33 yes you can work on this.

Okay sir, I will do it.
On Thu, Sep 16, 2021 at 9:34 AM Rohit Sharma @.***>
wrote:

@saloni33 https://github.com/saloni33 yes you can work on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/issues/122#issuecomment-920558110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASIKBV2JWSJK7YE2LZPPEULUCFUE3ANCNFSM5ECMPN6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@VikasPandey121 can I work on this issue?

Yes sure, I am assigning this issue to you @saloni33
Please keep these steps in mind while creating a pull request:

use git fetch and git pull commands before pushing commit it to the remote repository.
Your Contributing file should be in this directory Android_Development/Java/ with the file name starting from 8.0 for instance 8.0 Notifications
Note:- If you have multiple files to commit then add a tag at the beginning of your file name like 8.0.1, 8.0.2 etc
Create a new branch and push your PR on Android_Development_With_Java branch.
Pull request should contain only one commit
Note: If you have multiple commits then squash your commit.

Thank you sir, I will keep these things in my mind.

@saloni33  can you please give a progress update about the issue and if you are facing any problem feel free to ask.

@Rohit-2602 sir my main topic is notifications in android and I have completed the following subtopics in it-

Appearances on a device
Create a Notification
Using Notification Channels
How to Create a Notification
and only a few things are left in it.


tax management

Q
A

Bug report?
[ ]

Feature request?
[ ]

Support request?
[X ]

Hello
I just started using the platform and I am trying to configure the taxes to support the Canadian market.
I mean there are different taxes - GST PST HST - and I did see only one level of configuration.
I am wondering if I missed anything to set them up.
could you please help me to understand if it can be set up by configuration or if this needs to be developed?
thank you
Y.

Hi @aenyg,
Cocorico managed only one taxe rate for now you can configure  here src/Cocorico/CoreBundle/Resources/config/parameters.yml:54.
This feature related to multiple tax rates need to be implemented.

We close it as it seems there is no more activity on it. Feel free to reopen it if needed.


Integrating YouTube videos into a Django app

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

`This closes #3233

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

plagiarism check done ✅

Hi @Sajeyks , Kindly, add more content to the article.
Try to explain your statements.
The total number of words is below the minimum. Make sure you pull the changes I made first.
Thank you.

Hello, @M0nicah I pushed the requested changes. Take a look

Hello @M0nicah .Any updates?

Hey @M0nicah. I made the changes.

Hey @M0nicah  ... It's been 11 days and we are still in the preliminary review stage. Is everything okay?

Any update on this article? @M0nicah


feat: support old message delivered events

after v3 upgrade pre-nitro message don’t work anymore, so e.g. tx 0xc80e0c4844bb502ed7d7e2db6f9e6b2d52e3d25688de216394f0227fc5dc814e will fail if you try to call getL1ToL2Messages  on its receipt. Couple of points to mention:

the code for calculating different values for v1 receipts was taken from sdk v1
before the flow jumps to v1 calculation it checks for whether the current block is pre-nitro (is classic)
currently working on improving types for the method returning v3 and classic messages

If you're interested in testing these changes locally.
Prior to all steps below you'll have to set up the nitro node. Follow Run integration tests in https://github.com/OffchainLabs/arbitrum-sdk to set it up.
How to reproduce the issue on the main branch:

create a new file somewhere, e.g. test.ts

instead of hard-coding the entire txn like in the test, use the following code:
const provider = new JsonRpcProvider(YOUR_INFURA_KEY)
const arbProvider = new JsonRpcProvider('https://arb1.arbitrum.io/rpc')
const txRec = await provider.getTransactionReceipt('0xc80e0c4844bb502ed7d7e2db6f9e6b2d52e3d25688de216394f0227fc5dc814e')
const l1rec = new L1TransactionReceipt(txRec)
const msg = await l1rec.getL1ToL2Messages(arbProvider)

run the file: ts-node ./test.ts  - you might need to adjust the path to wherever you've put the file
You should see an error saying that messages count doesn't match (or something along these lines)

Creating a draft PR, the solution already works. However still looking into L2toL1Message if things need to be changed there as well

@spsjvc @yahgwai thinking of some additional improvements but whatever I've got so far can be reviewed

@yahgwai Could you please give it another review? Audit fails here so we need to merge this PR first

@yahgwai Could you please give it another review? Audit fails here so we need to merge this PR first

Fixed the audit error. Can review this one


No such file .papyri/papyri.toml

I experienced this on the latest release as well as on master:
  File "/home/ryan/Repositories/idom-team/idom/venv/lib/python3.9/site-packages/papyri/__init__.py", line 288, in gen
    gen_main(names, infer=infer, exec_=exec)
  File "/home/ryan/Repositories/idom-team/idom/venv/lib/python3.9/site-packages/papyri/gen.py", line 418, in gen_main
    conf = toml.loads(conffile.read_text())
  File "/home/ryan/.pyenv/versions/3.9.0/lib/python3.9/pathlib.py", line 1255, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/home/ryan/.pyenv/versions/3.9.0/lib/python3.9/pathlib.py", line 1241, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/home/ryan/.pyenv/versions/3.9.0/lib/python3.9/pathlib.py", line 1109, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/ryan/.papyri/papyri.toml'

I tried touching this file, got another error about missing .papyri/config.toml, but finally got this traceback and gave up:
  File "/home/ryan/Repositories/idom-team/idom/venv/lib/python3.9/site-packages/papyri/__init__.py", line 288, in gen
    gen_main(names, infer=infer, exec_=exec)
  File "/home/ryan/Repositories/idom-team/idom/venv/lib/python3.9/site-packages/papyri/gen.py", line 432, in gen_main
    g.do_one_mod(names, infer, exec_, conf)
  File "/home/ryan/Repositories/idom-team/idom/venv/lib/python3.9/site-packages/papyri/gen.py", line 1015, in do_one_mod
    raise ValueError(f"from {qa}") from e
ValueError: from idom

Here is mine if that helps for now:
[numpy]
infer = false
execute_exclude_patterns = ['numpy._', 'numpy.testing._priv', 'numpy.errstate', 'numpy.seterr', 'numpy.bincount',
'numpy.core._multiarray_umath.bincount', 'numpy.core._multiarray_umath.datetime_as_string',
'numpy.core._multiarray_umath.normalize_axis_index', 'numpy.core._multiarray_umath.shares_memory',
'numpy.datetime_as_string', 'numpy.shares_memory', 'numpy.squeeze',
'numpy.average',
'numpy.ctypeslib', 'numpy.append', 'numpy.ma.core']
exclude = ['numpy.testing._private.nosetester.NoseTester', 'numpy._pytesttester', 'numpy.all']
exec_failure = 'fallback'
source = 'https://github.com/numpy/numpy'
homepage = 'https://numpy.org'
docs = 'https://numpy.org/doc/stable/'
logo = 'numpy_logo.png'
[scipy]
logo = 'scipy_logo.png'
submodules = [
 "signal",
]

exclude = ["scipy.signal.spectral._spectral_helper"]
exclude_jedi = ['scipy.linalg._sketches.clarkson_woodruff_transform','scipy.optimize._lsq.least_squares.least_squares']

execute_exclude_patterns = []
exec_failure = 'fallback'

[matplotlib]
logo = 'matplotlib_logo.png'
wait_for_plt_show = false
exec_failure = "fallback"
submodules = [
 "image",
 "pyplot",
 "axes",
 "axes._base",
 "dviread",
 "image"
]

[papyri]
logo = 'papyri-logo.png'
examples_folder = '~/dev/papyri/examples/'

[IPython]
logo = 'ipython-logo.png'
exec_failure = 'fallback'

[dask]
logo = 'dask-logo.png'
exclude = ['dask.utils.Dispatch']

[skimage]
logo = 'skimage-logo.png'
exec_failure = "fallback"
submodules = [
 "morphology",
 "color",
 "data",
 "draw",
 "exposure",
 "io",
 "graph",
 "segmentation",
 "transform",
 "util",
 "viewer"
]
[astropy]
submodules = [
 "io",
 "io.fits"
]

Ah, so it's expected that these files are required? If so, that wasn't particularly clear from the README.

It should work without. In the end you should have per-library configuration, but I haven't done it yet, so it uses this global conf file.

(missing dependency on flask_cors  for idom ?)

I pushed a workaround on master; no perfect but should help for now.
$ cat ~/.papyri/config.toml
[global]
target_path="~/dev/papyri-gen/data"

That's where it will store the data if you want, otherwise now if missing it should use CWD.

Scratch that; the configuration is not passed arround so it will store things in ~/.papyri/data, but now it shoudl work when the conf file is not present.

I was able to get it to work.

Will give it a go when I find time.

Closing as this should work


Speed up reads from encrypted partitions (IDFGH-7350)

Mapping and unmapping is expensive so we map the entire partition and keep it mapped
anticipating that it will be reused. We only keep one partition mapped so alternating
reads between encrypted partitions will incur a penalty but hopefully that is uncommon.

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

Thanks for your contribution.


flatsurf 3.15.0

Merge only after success.
This pull request was auto-generated by rever

@conda-forge-admin, please rerender.


Fix download shared photos

Fix download shared photos: https://github.com/mib1185/py-synologydsm-api/issues/262
Shared photos need to be downloaded with FotoTeams api instead of Foto api

I also added a test


Allow for easier authentication

Instead of having to specify the username each time, allow the username to be written into a file and defaulted. Whenever running the myCloud CLI, prompt the user to enter his/her password without displaying it.

Implemented in #21


[Bug]: Qbit_manage deleting Recycle bin root directory

Describe the Bug
Qbit_manage has recently started deleting the root directory for the recycle bin. This seems to only occur if the files it is cleaning up are the last remaining in the directory.
I am not sure when this change in behavior started, but it was within the last month or so.
Config
# This is an example configuration file that documents all the options.
# It will need to be modified for your specific use case.
# Please refer to the link below for more details on how to set up the configuration file
# https://github.com/StuffAnThings/qbit_manage/wiki/Config-Setup

commands:
  # The commands defined below will IGNORE any commands used in command line and docker env variables.
  dry_run: false
  cross_seed: false
  recheck: false
  cat_update: false
  tag_update: true
  rem_unregistered: true
  tag_tracker_error: true
  rem_orphaned: true
  tag_nohardlinks: true
  skip_cleanup: false
  share_limits: true
  skip_qb_version_check: false
  startup_delay: 30

qbt:
  # qBittorrent parameters
  host: $host
  user: $user
  pass: $password

settings:
  force_auto_tmm: false  # Will force qBittorrent to enable Automatic Torrent Management for each torrent.
  tracker_error_tag: issue  # Will set the tag of any torrents that do not have a working tracker.
  ignoreTags_OnUpdate: # When running tag-update function, it will update torrent tags for a given torrent even if the torrent has one or more of the tags defined here.
  - noHL
  - issue
  - cross-seed
  nohardlinks_tag: noHL
  share_limits_tag: ~share_limit
directory:
  # Do not remove these
  # Cross-seed var: </your/path/here/>  # Output directory of cross-seed
  # root_dir var: </your/path/here/>  # Root downloads directory used to check for orphaned files, noHL, and RecycleBin.
  # <OPTIONAL> remote_dir var: </your/path/here/>  # Path of docker host mapping of root_dir.
  # Must be set if you're running qbit_manage locally and qBittorrent/cross_seed is in a docker
  # <OPTIONAL> recycle_bin var: </your/path/here/>   # Path of the RecycleBin folder. Default location is set to remote_dir/.RecycleBin
  # <OPTIONAL> torrents_dir var: </your/path/here/>  # Path of the your qbittorrent torrents directory. Required for `save_torrents` attribute in recyclebin

  #cross_seed: "/your/path/here/"
  root_dir: /Downloads
  recycle_bin: /Downloads/Recycle
  torrents_dir: /torrents
  orphaned_dir: /Downloads/Orphaned
  remote_dir: /Downloads/
  cross_seed:
cat:
  # Category & Path Parameters
  # <Category Name> : <save_path>  # Path of your save directory.
  #XSeedRadarr: /Downloads/radarr
  #XSeedSonarr: /Downloads/tv-sonarr
  radar.cross-seed: /Downloads/radarr
  tv-sonarr.cross-seed: /Downloads/tv-sonarr
  radarr: /Downloads/radarr
  tv-sonarr: /Downloads/tv-sonarr

  Downloads: /Downloads/
cat_change:
  # This moves all the torrents from one category to another category. This executes on --cat-update
  # WARNING: if the paths are different and Default Torrent Management Mode is set to automatic the files could be moved !!!
  # <Old Category Name> : <New Category>
  radarr.cross-seed: XSeedRadarr
  tv-sonarr.cross-seed: XSeedSonarr

tracker:
  # Tag Parameters
  # <Tracker URL Keyword>:    # <MANDATORY> This is the keyword in the tracker url
  # <MANDATORY> Set tag name. Can be a list of tags or a single tag
  #   tag: <Tag Name>
  aither.cc:
    tag: aither
  ssl.empirehost.me:
    tag: ipt
  privatehd:
    tag: privatehd
  torrentleech|tleechreload:
    tag: tleech

  localhost.stackoverflow.tech:
    tag: localhost.stackoverflow.tech
  routing.bgp.technology:
    tag: routing.bgp.technology
nohardlinks:
  # Tag Movies/Series that are not hard linked
  # Mandatory to fill out directory parameter above to use this function (root_dir/remote_dir)
  # This variable should be set to your category name of your completed movies/completed series in qbit. Acceptable variable can be any category you would like to tag if there are no hardlinks found
- tv-sonarr
- radarr
- tv-sonarr.cross-seed
- radarr.cross-seed

share_limits:
  noHL:
    priority: 1
    include_all_tags:
    - noHL
    categories:
    - tv-sonarr
    - radarr
    - tv-sonarr.cross-seed
    - radarr.cross-seed
    min_seeding_time: 30240
    max_seeding_time: 43200
    cleanup: true

recyclebin:
  # Recycle Bin method of deletion will move files into the recycle bin (Located in /root_dir/.RecycleBin) instead of directly deleting them in qbit
  # By default the Recycle Bin will be emptied on every run of the qbit_manage script if empty_after_x_days is defined.
  enabled: true
  # <OPTIONAL> empty_after_x_days var:
  # Will automatically remove all files and folders in recycle bin after x days. (Checks every script run)
  # If this variable is not defined it, the RecycleBin will never be emptied.
  # WARNING: Setting this variable to 0 will delete all files immediately upon script run!
  empty_after_x_days: 3
  # <OPTIONAL> save_torrents var:
  # If this option is set to true you MUST fill out the torrents_dir in the directory attribute.
  # This will save a copy of your .torrent and .fastresume file in the recycle bin before deleting it from qbittorrent
  save_torrents: true
  # <OPTIONAL> split_by_category var:
  # This will split the recycle bin folder by the save path defined in the `cat` attribute
  # and add the base folder name of the recycle bin that was defined in the `recycle_bin` sub-attribute under directory.
  split_by_category: false
orphaned:
  # Orphaned files are those in the root_dir download directory that are not referenced by any active torrents.
  # Will automatically remove all files and folders in orphaned data after x days. (Checks every script run)
  # If this variable is not defined it, the orphaned data will never be emptied.
  # WARNING: Setting this variable to 0 will delete all files immediately upon script run!
  empty_after_x_days: 7
  # File patterns that will not be considered orphaned files. Handy for generated files that aren't part of the torrent but belong with the torrent's files
  exclude_patterns:
  - '**/.DS_Store'
  - '**/Thumbs.db'
  - '**/@eaDir'
  - '**/*.!qB'
  - /Downloads/#recycle
  - /Downloads/#snapshot
  - /Downloads/cross-seed
  - /Downloads/torrent-blackhole
  - /Downloads/@eaDir
  #Tried adding Recycle to see if it prevents the recycle bin from being deleted, while allowing it to work properly. Recycle bin is still deleted with the last files in the directory.
  - /Downloads/Recycle

# apprise:
#   # Apprise integration with webhooks
#   # Leave Empty/Blank to disable
#   # Mandatory to fill out the url of your apprise API endpoint
#   api_url:
#   # Mandatory to fill out the notification url/urls based on the notification services provided by apprise. https://github.com/caronc/apprise/wiki
#   notify_url:

# notifiarr:
#   # Notifiarr integration with webhooks
#   # Leave Empty/Blank to disable
#   # Mandatory to fill out API Key
#   apikey: apikey
#   # <OPTIONAL> Set to a unique value (could be your username on notifiarr for example)
#   instance:

# webhooks:
#   # Webhook notifications:
#   # Possible values:
#   # Set value to notifiarr if using notifiarr integration
#   # Set value to apprise if using apprise integration
#   # Set value to a valid webhook URL
#   # Leave Empty/Blank to disable
#   error: notifiarr
#   run_start: notifiarr
#   run_end: notifiarr
#   function:
#     cross_seed:
#     recheck: notifiarr
#     cat_update: notifiarr
#     tag_update: notifiarr
#     rem_unregistered: notifiarr
#     tag_tracker_error: notifiarr
#     rem_orphaned: notifiarr
#     tag_nohardlinks: notifiarr
#     cleanup_dirs: notifiarr

webhooks:
  error:
  run_start:
  run_end:
  function:
    cross_seed:
    recheck:
    cat_update:
    tag_update:
    rem_unregistered:
    tag_tracker_error:
    rem_orphaned:
    tag_nohardlinks:
    share_limits:
    cleanup_dirs:

Logs
https://gist.github.com/someguy3013/b9c77ede205be8cfc347f55ef55ad08a
Screenshots
No response
Installation
Docker
Version Number
4.0.8
What branch are you on?
master

One note. My configuration has shared a recycle bin with Sonarr/Radarr and has for the ~last year since I configured qbit_manage. This has never been an issue up to this point, but seeing how qbit_manage manages the recycle bin, perhaps it is best to separate them?
Is the behavior where qbit_manage deletes the root Recycle bin when empty expected/intended?

Thanks for reporting. This is a bug and it's been fixed in the latest develop version


Installation and upgrade story

I propose the steps
- Upon startup, check if the workspace contains `flix.jar`.
  - If YES, run it.
  - If NO, check if there is an internal `flix.jar`.
    - if YES, run it.
   - if NO, request the user to download Flix for the first time. "This plugin requires the Flix compiler. Do you want to download it now?"
     - Store the compiler version internally in VSCode.
     - If the user declines (or the download fails) fall back to some "inactive mode".
- Next, after the above, fetch the latest version using the GitHub API.
  - If GitHub fails to respond, do nothing.
  - If the internal version is current (or newer- but how?), do nothing.
  - If the internal version is older than the GitHub version, promp the user: "A new version of the Flix compiler (vXYZ) is available. Download?)


Add more details on polyfill false in the docs

Mention polyfill false needs to be set, to use this plugin in the browsers that support range element. This information is somewhere inside as a comment, and using it in modern browsers results in the native range element which is confusing.

I wasted like 3 hours trying to figure out why it wasn't working, then I realized I have to set polyfill to false 🤦🏻♂ this should def be clearer

Me too. Facepalm.


NixOS Syncthing "merge-syncthing-config" fails configuration updater preventing Syncthing service from running

Describe the bug
In unstable channel, NixOS Syncthing merge-syncthing-config fails to run the configuration updater preventing Syncthing service from running. The error seems to have to do with additional unnecessary quotes being injected into the Syncthing config such as the characters ''. (See below).
Steps To Reproduce
Steps to reproduce the behavior:

Switch from nix pkgs stable to unstable using a syncthing config containing a settings section (switches from version 1.23.4 to 1.23.6.
Note that the schema changes in 1.23.6 to add services.syncthing.settings instead of services.syncthing (used when defining folders and devices)
2a. See 1.23.4: https://search.nixos.org/options?channel=23.05&show=services.syncthing.devices&from=0&size=50&sort=relevance&type=packages&query=syncthing
2b. See 1.23.6: https://search.nixos.org/options?channel=unstable&show=services.syncthing.settings.devices&from=0&size=50&sort=relevance&type=packages&query=syncthing
Run nixos-rebuild switch --upgrade. The build will pass compilation check but fail in the syncthing config update phase, preventing the service from running

Expected behavior
merge-syncthing-config should not throw jq: error: syntax error, unexpected INVALID_CHARACTER error and should successfully populate the Syncthing config as it did in the previous version
Screenshots
[myuser@mycomputer:~]$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
building the system configuration...
activating the configuration...
setting up /etc...
reloading user units for myuser...
setting up tmpfiles
warning: the following units failed: syncthing-init.service

× syncthing-init.service - Syncthing configuration updater
     Loaded: loaded (/etc/systemd/system/syncthing-init.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-07-23 20:15:30 EDT; 38ms ago
    Process: 44451 ExecStart=/nix/store/jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config (code=exited, status=3)
   Main PID: 44451 (code=exited, status=3)
         IP: 26.9K in, 1.7K out
        CPU: 8ms

Jul 23 20:15:30 mycomputer systemd[1]: Starting Syncthing configuration updater...
Jul 23 20:15:30 mycomputer jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config[44459]: jq: error: syntax error, unexpected INVALID_CHARACTER (Unix shell quoting issues?) at <top-level>, line 2:
Jul 23 20:15:30 mycomputer jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config[44459]:         "devices": (''[]'' + .devices),
Jul 23 20:15:30 mycomputer jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config[44459]: jq: error: syntax error, unexpected INVALID_CHARACTER (Unix shell quoting issues?) at <top-level>, line 3:
Jul 23 20:15:30 mycomputer jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config[44459]:         "folders": (''[]'' + .folders)
Jul 23 20:15:30 mycomputer jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config[44459]: jq: 2 compile errors
Jul 23 20:15:30 mycomputer systemd[1]: syncthing-init.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Jul 23 20:15:30 mycomputer systemd[1]: syncthing-init.service: Failed with result 'exit-code'.
Jul 23 20:15:30 mycomputer systemd[1]: Failed to start Syncthing configuration updater.
Jul 23 20:15:30 mycomputer systemd[1]: syncthing-init.service: Consumed 8ms CPU time, received 26.9K IP traffic, sent 1.7K IP traffic.
warning: error(s) occurred while switching to the new configuration

× syncthing-init.service - Syncthing configuration updater
     Loaded: loaded (/etc/systemd/system/syncthing-init.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-07-23 20:15:30 EDT; 38ms ago
    Process: 44451 ExecStart=/nix/store/jgvf4vcqfnk9xdfk44ck0jx7awiqcwgz-merge-syncthing-config (code=exited, status=3)
   Main PID: 44451 (code=exited, status=3)
         IP: 26.9K in, 1.7K out
        CPU: 8ms

Additional context
Note that this merge function will fail even with a blank settings defined like so, proving that there are no issues in my user specific config:
{ config, lib, pkgs, ... }:

{
  services.syncthing = {
    enable = true;
    dataDir = "/home/myuser";
    user = "myuser";
    openDefaultPorts = true;
    overrideDevices = true;
    overrideFolders = true;
    settings = {

    };
  };
}

Notify maintainers
For situational awareness, adding maintainer of pkgs/applications/networking/syncthing/default.nix
@r-ryantm
Developers who last modified nixos/modules/services/networking/syncthing.nix
@Lassulus and @doronbehar
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
 - host os: `Linux 6.4.4, NixOS, 23.11 (Tapir), 23.11pre506474.12303c652b8`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.1`
 - channels(root): `"nixos, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

also experiencing this

Aish... Indeed nixosTest.syncthing-init fails as well. I'm so sorry we didn't catch that in https://github.com/NixOS/nixpkgs/pull/233386 ... For sure https://github.com/NixOS/nixpkgs/pull/230196 should fix that. That mixed jq and Nix code is pretty hard to debug, so perhaps you'd be willing to test #230196 ? And with your approval it will get in faster? What do you think @Lassulus ?

#230196 just got merged, so this should be fixed. I will keep this open in the meantime until #230196 gets into the channels so people will find this issue.

#230196 just got merged, so this should be fixed. I will keep this open in the meantime until #230196 gets into the channels so people will find this issue.

Thank you for the fix, how long does it usually take for it to get into channels? Thank you

usually 1-2 days, it seems there is a build problem on unstable right now: https://status.nixos.org/ so maybe a bit longer until that has been fixed, progress can be tracked via https://nixpk.gs/pr-tracker.html?pr=230196

Cool, I'll re-test when I see it get into the channels. What would I want to follow to know when a merged commit gets built into unstable repo?

seems to be fixed for me

#230196 has landed in nixos-unstable. Closing.


active-directory-saas-procoresso-tutorial.md classic azure portal that no longer available

I guess note should be modified, because classic portal no longer available
">[!Note]:

This embedded guide is brand new in the new Azure portal, and we’d love to hear your thoughts. Use the Feedback ? button at the top of the portal to provide feedback. The older guide for using the Azure classic portal to configure this application can be found here.-->"

https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/active-directory/active-directory-saas-procoresso-tutorial.md

Hey @SychevIgor - Thanks for your feedback! Could you provide this feedback by revisiting the original document page (on http://docs.microsoft.com) and using the "Give documentation feedback" feature in bottom of the page? That way, your valuable feedback is funneled through our appropriate internal processes where the content authors and subject matter experts will get notified, and issues will get resolved in timely manner.

@SychevIgor Please note as stated by Mike, please create GIT Hub Feedback on this document - Tutorial: Azure Active Directory integration with Procore SSO so that we can work with you to understand which section is outdated and probably update document if required.
I will move ahead and close this issue and once you create the issue on above document, I will gladly work with you on it.

@MohitGargMSFT could you open the source codes in a raw version and press ctrl+f ?
In this case you will find the following text
">[!Note]:
This embedded guide is brand new in the new Azure portal, and we’d love to hear your thoughts. Use the Feedback ? button at the top of the portal to provide feedback. The older guide for using the Azure classic portal to configure this application can be found here.-->"

@SychevIgor Thanks for reporting! The note section you pointed out is already commented in repo and hence, not visible in actual live document.
The PR to remove the comment from document is created and it will be merged soon. Thanks again for pointing this out, please open a new issue to let us know if there is something else that we can help you with.


static_graph context manager

Context managers may provide a more intuitive interface to the cache sub-graph operation than decorators. This feature would be simpler and easier to integrate into existing code than the current static sub-graph interface.  I guess that the focus on decorators is because sub-graph is applied to the __call__() function; but updating code to support static-subgraphs this way is very restrictive.
For example, it would be easier, clearer and offer more flexibility to cache a resnet sub-graph as shown below:
with static_graph:
       for i in range(8):
            h = self.blocks[i](h, ys[i], **kwargs)

Do you have an idea to distinguish input/output/other variables?  Unless the interface requires users to do so, Chainer has to guess.

I have been giving this quite some thought and as mentioned in #6403, the eventual goal is to allow more flexibility with the use of static sub-graph operations. For the purposes of performance, it should be okay to require that the user provide the relevant information to the interface. Guessing what should be done is non-trivial in some cases and may lead to sub-optimal performance.


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit ff7d8b3:
:clock10: Pending: waiting for processors (30 builds ahead of you)
:warning: Docs Build is busy, currently there are 30 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit ff7d8b3:
:clock10: Full build: the average full build time is 5 min(s) 8 sec(s), this is based on the last 30 build(s) for this repository.

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

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Dashed Polyline is not working on Android

Is this a bug report?
Yes. It only happens on Android. iOS works fine.
Android (broken ⚠ )

iOS (✅ )

Have you read the Installation Instructions?
Yes
Environment
React Native Environment Info:
    System:
      OS: macOS 10.14.4
      CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
      Memory: 36.21 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 8.12.0 - ~/.nvm/versions/node/v8.12.0/bin/node
      Yarn: 1.6.0 - /usr/local/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v8.12.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        Build Tools: 26.0.3, 27.0.3, 28.0.2, 28.0.3
        API Levels: 21, 22, 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 10.2/10E125 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.57.8 => 0.57.8
    npmGlobalPackages:
      react-native-log-ios: 1.0.1

Steps to Reproduce
Create a simple polyline with lineDashPattern=[15,15] on Android.
See this snack: https://snack.expo.io/@mido/react-native-maps-android-dash-line-broken
Expected Behavior
Dashed polyline renders correctly on Android.
Actual Behavior
Dashed polyline renders as a straight line, not dashed.
Reproducible Demo
https://snack.expo.io/@mido/react-native-maps-android-dash-line-broken

The current version doesn't support Dashed Polyline for Android.
It is included in upcoming release 6c225af
Also please check #2805


Frame rates drop to 20 or lower when start recording

Hi, thanks for this great project. But i realised one issue with the recording. During preview of video, the frame rate shown is 30fps, but when i start recording (regardless of the resolution chosen) the frame rate drops to 20fps or below. The video recorded is laggy/not smooth. How can i prevent that?

You can use MediaCodec H264 to do it.
I think is is faster.
Good lucky


Libtuv merge 56

Littuv commits merged until #56

Travis had some trouble with this PR so it was dropped and resubmitted.


Lab4 numeronym

Fixes #67
Changes proposed in this PR:

Implemented numeronyms function for its input strings
Add unit test for numeronyms function

Codecov Report

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

@@          Coverage Diff          @@
##           master    #76   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     11    +1
  Lines         159    171   +12
=====================================
+ Hits          159    171   +12

Impacted Files
Coverage Δ

04_numeronym/vinilapeddireddy/main.go
100% <100%> (ø)

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 1262ce0...b4a36e6. Read the comment docs.

Hi,
There has been  no activity in the last 20 days so I will close this PR.
Feel free to open it again if you have something to add.
Thanks!
Julia


Trees destroy village buildings

Title.
If a village is created in the biome generated by this mod, some of the houses will be destroyed.
Some of the walls have been replaced by leaves, and there are trees growing inside the buildings.
Used Mods:
bettervillage-forge-1.20.1-3.2.0
FarmersDelight-1.20.1-1.2.5
Oh-The-Trees-Youll-Grow-forge-1.20.1-1.3.1
tectonic-forge-1.20.1-2.4.1
TofuCraftReload-1.20.1-<IP_ADDRESS>
Woodlands_Extra-Universal-1.20.1-v1.3.1
Woodlands_Vanilla-Universal-1.20.1-v1.2.1
screenshot:

Yes, it's a known issue. This happenes because trees, generated by Oh The Trees You'll Grow mod do not consider any other structures in the world, including other trees and landscape objects. They do not check for them. Unfortunately, both Woodlands:Extra and The Core are simply datapack-based mods, that fully rely on this library mod in order to spawn custom trees, so I personally cannot fix this until CorgiTaco does it in their mod.

P.S. I'm not sure if I get it right from your modlist, but do not use both Woodlands mods at once, all the content from "The Core" is in the "Extra" mod.


chore: friendlier output if notebook check fails

Show the actual diff in CI if scripts/check-and-format-notebooks.py fails.

Merging since CI passed and identical to the verified https://github.com/Unstructured-IO/pipeline-paddleocr/pull/5 .


Item despawns after cancelling pickup event

I am currently running

SpongeVanilla version:  1.12.2-7.1.0-BETA-26
Java version:  8
Operating System: win7

After cancelling the pickup event the item is not picked up as intended, but also despawns from the ground
Code:
@Listener
public void onItemPickup(ChangeInventoryEvent.Pickup event, @First(typeFilter = {Player.class}) Player player) {
		event.setCancelled(true);
		return;

this is intentional see https://github.com/SpongePowered/SpongeCommon/issues/1693#issuecomment-356179190


[BSO] Offhand Mace Boost Doesn't Work at KK

Offhand mace boost isnt working at KK. Not sure if its actually not working or if the boost message is just missing.
sheli~: 8% boost for full Torva, 14% boost for Drygore mace, 4% boost for KC, 13% for sheli~ over 300 kc. Dy lol: 8% boost for full Torva, -5% penalty for KC. Larry: 8% boost for full Torva, 14% boost for Drygore mace, 4% boost for KC, 13% for Larry over 300 kc.
I should have an extra 5% over the rest of my team for the offhand.

Should be fixed now.


Catch both errors in a single clause

The answer is yes. :)

Changes Unknown when pulling 6dcdc1cd80b8293659a295769dc22267e0aca59d on josevalim:patch-1 into ** on GT8Online:master**.

Thank you, @josevalim 😀


physical isolation between region

This is the followup design of #82.
Rendered version

@BornChanger it's covered in Replication section https://github.com/tikv/rfcs/pull/93/files#diff-2670386206ff4ffd050af2d90ec0894dd2607063644edb2133167eca100c420fR79.

@BornChanger it's covered in Replication section https://github.com/tikv/rfcs/pull/93/files#diff-2670386206ff4ffd050af2d90ec0894dd2607063644edb2133167eca100c420fR79.

Got it ~~


Release for python 3 compatibility ?

Hi !
I see that the code is ready for python 3, when do you plan to release it ?
thanks !

Hello, the current version 0.10 is compatible with python 3.3 and 3.4.

Great ! Thanks !
I see no trace of the 0.10 release on Pypi (I just see the 0.11 on pypi, and in my pypi mirror it jumps from 0.9.4 to 0.11). Was it ever released ?


Added a new mixer for differential rover.

Please use PX4 Discuss or Slack to align on pull requests if necessary. You can then open draft pull requests to get early feedback.
Describe problem solved by the proposed pull request
A mixer for differential throttle rover.
Test data / coverage
Tested and employed on my own model car.
Additional context
Allow in situ steering when throttle is 0. Reversing currently not supported. Maybe a limitation of high-level control system?

Did you see the existing differential mixer?
https://github.com/PX4/Firmware/blob/ed8c6019d564c1c8c93cf47a5bfb7a73772fd89f/ROMFS/px4fmu_common/mixers/generic_differential_rover.main.mix#L1-L25

Did you see the existing differential mixer?
https://github.com/PX4/Firmware/blob/ed8c6019d564c1c8c93cf47a5bfb7a73772fd89f/ROMFS/px4fmu_common/mixers/generic_differential_rover.main.mix#L1-L25

Oh my fault. Sry.