zh: content/docs/concept/security/index.md

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fleeto
If they are not already assigned, you can assign the PR to them by writing /assign @fleeto in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @RyougiShiki95. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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.


remove old gradle versions

Motivation for this change
As noted in #58528, it would be nice to remove old gradle versions.
In #75546 the dependency for an old gradle version was removed in jd-gui, but this was done by downloading gradle via the gradle wrapper in a fixed-output derivation, which is not nice and can be avoided.
The last remaining culprit was mxisd, which seems to build fine with latest gradle too, and the NixOS test for it also ran fine, but the @mguenter should check again that it does not cause more subtle problems.
Things done

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

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

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

Notify maintainers
cc gradle @groodt @xeji
cc jd-gui @averelld
cc mxisd @mguentner

I missed that mxisd was already using gradle 4, so it would not have been necessary to bump that. If the maintainers agree I would still use gradle 5 for that since it seems to work fine.

Nice cleanup, :+1: from me. Although upstream jd-gui uses the wrapper, so we'll have to adjust manually occasionally I suppose, but can't be helped.

Nice cleanup,  from me. Although upstream jd-gui uses the wrapper, so we'll have to adjust manually occasionally I suppose, but can't be helped.

Actually that is also fixed in #77422, but that is a bigger story with some todos left

:fire:

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/january-2020-in-nixos/5771/1


CedricLouvrier.Pinga version 0.64.1

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest .\manifests\c\CedricLouvrier\Pinga\0.64.1\?
[x] Have you tested your manifest locally with winget install --manifest .\manifests\c\CedricLouvrier\Pinga\0.64.1\?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Same issue as #170538

Same issue as #170538

https://github.com/microsoft/winget-pkgs/pull/170538#issuecomment-2318443659
This would probably impact all packages from this developer, and possibly all packages on this host.

[Policy] Blocking-Issue
[Policy] Needs-Author-Feedback

This PR is using an older version of the schema. I'm going to go ahead and close this for now. Once the manifest has been updated, either create a new PR or re-open this one.


Show/Filter unread issues and sync with GITHUB

I'm the admin of a issue-tracker repo and I would like to see unread issues so I can dispatch or reply them.

Is this the same as #14?

Follow up #44


Add warning for dropping Ubuntu 16.04 (Xenial Xerus) and Debian 9 (Stretch) support

Change doc according to https://github.com/Azure/azure-cli/pull/22170

Docs Build status updates of commit 30b599c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/includes/cli-install-linux-apt.md
:white_check_mark:Succeeded
View

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


Implement Attachments for manufacturer parts

Implements #2314
Open questions:

Which kind of tests should be added for this?
Squash beforce merge?

@sur5r this looks great, happy with the implementation :)
I would suggest adding some simple tests to https://github.com/inventree/InvenTree/blob/master/InvenTree/company/test_api.py - validating that the API functionality works checks everything top to bottom

Retrieve a list of manfuacturer part attachments via the API
Filter this list by manufacturer-part-id
Update the attachment (comment field, etc)
Upload a new attachment via the API

Also please merge in latest master :)

@sur5r I'd like to get this merged in, is it ready to go? Please mark as "ready for review" and @ me

Also, I forgot to mention, as we have added new functionality to the API, please increment the API version in this file with a reference back to this PR and a brief description of what has changed (follow the convention in the file).

@sur5r any progress on this?

I haven't found time to implement the tests yet. Other than that, it seems to work fine so far. If you want to merge this now I can open a new PR for the tests.

@sur5r thanks, please make the api-bump fix and we can push the tests off to a new PR

@sur5r thanks :) please do look into unit tests as soon as you can


number of connections to eps

How many connections can eps handle? When I tried connecting with desktop it disconnected my smartphone.

Only one at a time, as it's a single threaded application.

Understood.

Thank you

Another concrete example is people setting up one server that multiple mutually-trusting people use; for example one family in a household (although then there can be no surprise birthday gifts, as all the spending will be visible to the server operator).

Would much appreciate this. Electrum is often used for multisig, read-only wallets etc. Having only one user be able to connect at a time limits the functionality of this.

+1 to this feature.
Another scenario would be to have a block explorer running (like btc-rpc-explorer which uses Electrum Server) and also wanting to connect a wallet.

You can try bwt, an alternative personal electrum server implementation written in Rust that supports multiple simultaneous clients.

I would rather keep using EPS, so I came from the future to further push this feature request, I realized the hard way that EPS only supports one client connection, and this is inconvenient when for example you are moving funds between two wallets you own.

I would rather keep using EPS, so I came from the future to further push this feature request, I realized the hard way that EPS only supports one client connection, and this is inconvenient when for example you are moving funds between two wallets you own.

I'm afraid this issue isn't a priority for me right now. I'm working a lot on coinswap these days. Also I personally only use Electrum/EPS with one connection at a time. If someone else codes this I can help with review.
Here are some of my thoughts for coding:

To help test it's possible to run multiple electrum instances with different data directories, which then create multiple connections to a server. $ electrum --dir /tmp/alice and $ electrum --dir /tmp/bob.
Spawning a new thread for each connection is a tempting way to do this, but you'd have to be really careful with concurrency issues. it might not be worth it.
Ideally I'd like to avoid requiring any new dependencies or the latest versions of python, because I hear about people running full nodes on old laptops they have lying around which cant always easily get the latest python (though maybe this isn't even worth aiming for, since those old laptops pretty soon wont be able to run Bitcoin Core either). If so then using asyncio maybe isnt worth it.
Having the server use a select loop is then probably the best way of doing this.
Right now in transactionmonitor.py the dict address_history has a field called subscribed which is a boolean. That wont work in the multi-client server because different clients can subscribe to different addresses, so that field should become a list I guess.


Created a Schema for the Goals model.

Created a new mongoose schema for the goals model. This closes issue #336.

Please move this PR to the staging branch

Please make the PR to the staging branch instead


[FR] Do not show (from schema) if example provided explicitly

Is your feature request related to a problem?
It's a minor thing, but if I provide an example key to the response schema, I see that it's used in the default Example (from schema) tab, which is awesome.  But it would be even more awesome of the "from schema" wasn't included, since it's not generated data but explicit values that I've filled out.
Describe the solution you'd like
Detect the presence of a responses.X.content.X.schema.example, and if found, just call the example Example instead of Example (from schema)
Additional context
Here's what I'm seeing currently:

Hi @IanVS, "from schema" is akin to saying the example if inferred from the schema properties, whether each property has an example or default defined or not.
That said, when I think of what an "explicit" example is, I think of  example or examples that can be statically defined, which I believe is different from the inferred "Example (from schema)".
Hope I explained that correctly 😅. I am open to dropping the "from schema" label but I'd also like to prevent possible tab label/value collisions.

Does it make a difference that I'm not setting examples on properties, but rather at the top of schema?
          schema:
            type: object
            required:
              - data
              - metadata
            properties:
              data:
                type: array
                items:
                  $ref: '../../schemas/AuditLog.yaml'
              metadata:
                $ref: '../../schemas/PaginationMetadata.yaml'
            example:
              data:
                id: log-F3TTIDMKZH5XFH37RTRLIP3TOA
                organizationID: org-F63A24JGCLJV3ZEUTLCBISGETA
                timestamp: 2023-02-15T13:59:09.828868Z
                actor:
                  id: dnkey-DXALSPQONG7H45QZAVTPRDMAPU
                  name: example api key
                  type: apiKey
                target:
                  id: role-LO4SPDSWTZNJC676WFCZKUB3ZQ

Does it make a difference that I'm not setting examples on properties, but rather at the top of schema?

I believe it does, because schema.example or schema.examples are static, i.e. not as strongly tied to the actual schema/properties.

Yeah I agree.  Since I'm using the schema.example and the example will be shown as-written, that's why I would expect that from schema is not included in the tab.

@IanVS, upon second inspection, I believe your example may be defined at the wrong indention level. I believe it should be at the same level as schema.

If I do that, then it is used as an extra example next to Example (from schema), which also isn't what I want.  I want it to be used instead of the auto-generated schema, and putting it there seems to accomplish that.  As for it being valid openAPI, it at least passes the redocly lint tool.  🤷

I think you may be asking if there's a way to suppress the "from schema" tab if example or examples is defined?

Yes, I think that would solve my needs as well.  :+1:

adding to roadmap with the goal of either: allowing users to suppress the generated/inferred schema or programmatically suppressing if example(s) exist.


Add PDF cookbook

Adds a cookbook on extracting structured output from PDFs.
I included some extra bells and whistles here by showing how to do JSON, regex, and choice, which should help provide inspiration to people working with PDFs.

LGTM!


Cleanup NetBeans license header for module j2ee.eclipselinkmodelgen

Review and cleanup the license header in j2ee.eclipselinkmodelgen
Oracle donated NetBeans to the Apache Software Foundation.
Your task now is to replace the old license header that has Oracle (and/or Sun Microsystems
and/or NetBeans) in it with the standard Apache Software Foundation license header.
For an empty file that supports headers you must add the Apache license header.
Note that you have to use the proper license header for Java, .properties or HTML files.
Look at the nearby files for templates and copy-paste the license header.
When done commit the changes with a commit message that starts with first line
"[NETBEANS-54] Module Review " and a message body describing your review.
See a longer explanation about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review
Please announce in a comment when you have started work.
Files that need to be looked at in j2ee.eclipselinkmodelgen:
j2ee.eclipselinkmodelgen/external/eclipselink-2.5.2-licence.txt
j2ee.eclipselinkmodelgen/src/org/netbeans/modules/j2ee/eclipselinkmodelgen/layer.xml

"j2ee.eclipselinkmodelgen/external/eclipselink-2.5.2-licence.txt" It is eclipselink license file. I think no changes are required here, right?
"j2ee.eclipselinkmodelgen/src/org/netbeans/modules/j2ee/eclipselinkmodelgen/layer.xml" has already apache license.

Thanks!


Showcase Submission for 1-starfield

Thank you DeusDe for your contribution! A member of the Coding Train team will review it shortly.

Starfield
DeusDe

beautiful!!


negative z-index on splash-container

Fixes scroll-over effect issue on iPad

Please re-open if still an issue.


Update type hints in helpers.write_timdex_records_to_json

Helpful background context
While onboarding and reading through the codebase to understand how it works, I found myself tripping on a variable name and type in the helpers.write_timdex_records_to_json function that the CLI calls.
It looks as though sometime last year, the Transformer class had an interator pattern introduced that slightly changed downstream types.  Instead of passing an iterator of records, an actual Transformer instance is passed, where calling next(transformer_instance) will produce a transformed record.
How can a reviewer manually see the effects of these changes?
No changes to functionality of code, just type hints.
Can confirm that all testing and linting passes:
make test
make lint

And, can confirm via built-in type hinting from an IDE that the types are correct:

Developer

[X] All new ENV is documented in README
[X] Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

[ ] The commit message is clear and follows our guidelines
(not just this pull request message)
[ ] There are appropriate tests covering any new functionality
[ ] The documentation has been updated or is unnecessary
[ ] The changes have been verified
[ ] New dependencies are appropriate or there were no changes

Includes new or updated dependencies?
NO

The updated isort Makefile command should be
isort:
	pipenv run isort . --check --diff

Thanks for the review @ehanson8 - I'll close this PR, and have opened a new one with the convention following branch name and isort update: https://github.com/MITLibraries/transmogrifier/pull/96.


Pipenv fails to install package that is installable with pip

Issue description
Pipenv has different concept of latest package than pip
When trying to install Ursina game engine it does have unpinned dependency panda3d. When running pipenv install panda3d in
windows pipenv triest to use latest in pypi, version 1.10.6.post2. This package doesn't though have wheels for windows and installation fails.
Pip OTOH installs "latest installable" and picks 1.10.6 version which does have windows wheels available.
Expected result
Functionality would match pip functionality to be able to install packages same way as with pip.
Actual result
Installation fails due picking wrong package version.
Steps to replicate
Running the following command fails:
pipenv install panda3d

Pipenv lock file is designed to be cross-platform. So at the point of locking Pipenv doesn't know which platform it is going to be installed and has to pin the latest version available, since it doesn't support different version entries for the same package.
However, you can easily work around this by putting the following in your Pipfile:
pandas3d = {version="==1.10.6", sys_platform="=='win32'"}


Add travis badge to README

Generally we’ve tried to avoid these badges in our user-facing open source projects. This one’s fine ’cause we’re not stable enough. But I’d like to get to the point where we’re always green and we can remove this.


implement simple data binding

implement simple data binding:

load data from a chosen table

Released with version 0.94.02


[No QA] [TS migration] Migrate 'PusherUtils.js' lib to TypeScript

Details

Migrate 'PusherUtils.js' lib to TypeScript
Fixed Issues

$ https://github.com/Expensify/App/issues/24865
PROPOSAL: N/A
Tests

[x] Verify that no errors appear in the JS console

Send a message from user A to user B, make sure it was sent
Send a message from user B to user A, make sure it was received

Check that the functionality works as before.
Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

Send a message from user A to user B, make sure it was sent
Send a message from user B to user A, make sure it was received

Check that the functionality works as before.
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/23176449/162cf8cc-7ec2-43f0-b2a2-3b5c392cd75d

Mobile Web - Chrome

https://github.com/Expensify/App/assets/23176449/25b7a20b-ed68-4e66-a3c4-f4d108c62207

Mobile Web - Safari

https://github.com/Expensify/App/assets/23176449/d7d91ee1-863c-46a7-b11d-a436b54c876f

Desktop

https://github.com/Expensify/App/assets/23176449/e5b52697-3db7-4ff5-bcf9-67a5649b9b28

iOS

https://github.com/Expensify/App/assets/23176449/1e495ae7-4a26-4c7d-aead-45bcf29a0ab4

Android

https://github.com/Expensify/App/assets/23176449/8312a540-4c91-4536-9426-2ba76eb1057d

Reviewing...

LGTM!

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

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

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/41169160/74ae56f1-42d1-404d-9ea2-3eeba23715aa

Mobile Web - Chrome

https://github.com/Expensify/App/assets/41169160/593778b2-b3fc-420c-a673-aef773c09748

Mobile Web - Safari

https://github.com/Expensify/App/assets/41169160/c249a5b9-7e15-4714-895d-a7c77457d390

Desktop

https://github.com/Expensify/App/assets/41169160/385919e2-e820-4f9d-8d6a-69c4bcdd40c3

iOS

https://github.com/Expensify/App/assets/41169160/406c0a77-c509-4577-833c-e1d86b26b9cd

Android

https://github.com/Expensify/App/assets/41169160/ecbf92c3-58e6-4f2c-855a-02676bcf3bb2

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.79-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


ts_project_workers should expose a way to find the logs of the worker

Logging is not straightforward in worker mode since Bazel's protocol uses stdin/out for communication. However, we should expose a method to add logs to a file that we can inspect. Note that this is different from the compiler host's log which should be called using host.trace?

related to #189

fixed by #264


Transaction commit: do not ask for select-only sessions.

Currently we ask for transaction commit/rollback for all non-autocommit transactions. Even if only SELECT/SHOW queries were executed.
It is annoying.

verified

This still seems broken.
I have DBeaver version <IP_ADDRESS>106210824 and I still see the uncommitted transactions count increasing even when I only do a very basic SELECT statement (on a DB2 database).

same in   DBeaver	<IP_ADDRESS>309260508	org.jkiss.dbeaver.core.produc


token info (changes made on 0.8)

how do I get the token type? E.g. know type at a position (in e.g. a .css model), if it's a value/color etc.
before I used something like tokens = model.getLineTokens then tokenIndex = tokens.findTokenIndexAtOffset and then tokens.getTokenType(tokenIndex) - here was a list of the token types.. (not a sane type - but it worked)
but now the token is only color info - no type info.. I assume that this is all because of perf. but:
i get that i can call the new monaco.editor.tokenize that brings back some good token info - but that seems a overkill, because before i could use what was already parsed + on updates only iterate the range that was modified (including the state of the range that was modified)
thoughts?
and thanks a bunch - I know this is digging into internal code/using non-pub API

@AndersMad I was also doing some digging and then it turned out: https://github.com/Microsoft/monaco-editor/issues/332#issuecomment-274429960

@akosyakov did you end up tokenizing the entire document for each change then?

@AndersMad yes whenever content or language of a model is changed, so far there was not performance issues

The model no longer holds on to the tokens, it only holds the resolved token+theme information.

ok, so i think the idea here is to manually, on each update mark it dirty and update it (pref. in a worker process), by keeping the token[][] array (using monaco.editor.tokenize) with an iterator on top and let each service (lazy update if marked dirty) use that then.. because methods like getModeIdAtPosition is also gone (e.g. for lookup)..
@alexandrudima: however, I do find it a bit overhead to get the model text (joins all lines) and then having the monaco.editor.tokenize split the string by CrLf - instead for being able to run it directly on the model lines.. maybe a simple access to the tokenizer e.g. by public version of getSafeTokenizationSupport? then one can maintain the tokens data very fast for non-mixed language models too (by lines updates)..

You're perfectly correct, it is terribly inefficient.
To get the human readable (non themed) tokens (in an efficient way) you could access some privates on the model. I do not wish to expose this on the API at this time, as I would like to explore running tokenizers in web workers and that would break any exposed API.

var editor = monaco.editor.create(document.getElementById("container"), {
	value: "function hello() {\n\talert('Hello world!');\n}",
	language: "javascript"
});

function getTokensAtLine(model, lineNumber) {
    // Force line's state to be accurate
    model.getLineTokens(lineNumber, /*inaccurateTokensAcceptable*/false);
    // Get the tokenization state at the beginning of this line
    var freshState = model._lines[lineNumber - 1].getState().clone();
    // Get the human readable tokens on this line
    return model._tokenizationSupport.tokenize(model.getLineContent(lineNumber), freshState, 0).tokens;
}

// Could observe TokenizationRegistry.onDidChange instead of timeout
setTimeout(function() {
    var tokens = getTokensAtLine(editor.getModel(), 2);
    console.log(tokens);
}, 1000);

ah - it's right there on the model.. I was looking at inspectTokens.ts that is accessing a lot more internals to get the tokenizationSupport.. thanks! :)

.. and fyi it works super - I can now tokenize a (changes) range in a document adding e.g. color decorators to a css file and it is blazingly fast!! generated a 1mb huge .css file and edited it with no problems..


Journal Settings give error

http://ojs.io/manager/journal/settings/submission
I logged in as demo_journal_manager of "Science Material journal" and as I was setting the article submission settings etc., I got this error;
Error: Call to a member function hasRole() on a non-object

the problem is settings page role checking.

but it seems like ok ?
login with demo_journal_manager user
go to http://ojs.io/manager/journal/settings page
and everythink ok.

ok, i see now.


Examples are confusing

It would really help to see some examples of expected usage - not just how to define a schema, but how to consume a schema. All of the examples just show a call to #messages. Is that the intended API for determining if the input passed schema validation? If not, what is?
Also, it would be useful to include the expected output of the commands in the examples directory. The output from using those examples is very surprising to me, so I'm wondering if they are behaving as expected. For example, consider https://github.com/dryrb/dry-validation/blob/6447302f3b53766b29f29230831890a5cc3822e0/examples/form.rb
When I run that script I see:
>  errors = schema.call('email' => '', 'age' => '18').messages
# => {:age=>[["age must be greater than 18", "age must be an integer"], 18], :email=>[["email must be filled"], ""]}

So, I was curious what valid input would look like. Unfortunately, it looks very similar:
> errors = schema.call('email' =><EMAIL_ADDRESS>'age' => 18).messages
# => {:age=>[["age must be greater than 18", "age must be an integer"], 18]}

Is this expected behavior?

Thanks for the report. I'll be improving docs (see wiki for more info).

So, I was curious what valid input would look like. Unfortunately, it looks very similar:

...
Is this expected behavior?

For now, yes. dry-validation generates validation hints from rule definitions even when a predicate was not applied. I'll be working on optimizing that so that only relevant information will be returned. I can make a quick workaround for the specific case that you show and simply drop type-related messages by default when there are other messages from failed predicates but ultimately it needs a more sophisticated mechanism.
I'll be releasing 0.7.0 later this week with huge improvements in the DSL and improved error messages structure. I'll try to get rid of type-related hints too, but proper solution will be shipped with 0.8.0.


When to support elasticsearch 5/lucene 6?

I'd like to know what's the plan for new version integration?

hi @frompinge, we are currently working on the migration, but it will take some time. expect it somewhen early next year.
why do you need es5/lucene6?

hi @frompinge, there is a testing release out based on elasticsearch 5. the version is 1.2.0.
https://crate.io/docs/reference/en/1.2.0/release_notes/1.2.0.html


Half the slide not visible on Safari

On Safari (Mac) half the slides are not visible. I suspect this only occurs when an adblocker is enabled, but cannot be sure. The funniest thing is it happens sporadically. On the next refresh of the page everything works fine. I pinned it down to an inline style for img.sp-image, and specifically the margin-left property, which seems to be incorrectly set. It appears this is set through js with marginLeft, but my skills in js are extremely limited. I hope someone can help.
Thanks.

Hi,
Yes, it's mostly likely the ad block extension, which interferes with the JavaScript code. You can prevent this by setting the centerImage option to false.
Cheers!


How to translate to Chinese language?

We are maker teachers in China.We love your software,but we cannot find Chinese language for kids.Hope to get supported.or give us some information how to translate.Thanks

If you are talking about Minecraft Link mod interface, the translation files can be found in this directory: https://github.com/Pylo/MinecraftLink/tree/master/src/main/resources/assets/minecraft_link/lang If you make translation feel free to submit pull request so we add it to master repo.
If you are asking about the translation of MCreator, check this issue on our MCreator issue tracker: https://mcreator.net/tracker/issue/41284


Merge Mar 8 – Mar 9, 2022 from develop to main branch

Merge Mar 8 – Mar 9, 2022 from develop to main branch

Codecov Report

Merging #872 (2c6499f) into main (2ac0e05) will increase coverage by 0.10%.
The diff coverage is 71.92%.

@@            Coverage Diff             @@
##             main     #872      +/-   ##
==========================================
+ Coverage   62.30%   62.40%   +0.10%
==========================================
  Files         861      861
  Lines       22969    23003      +34
  Branches     2345     2342       -3
==========================================
+ Hits        14310    14356      +46
+ Misses       8269     8259      -10
+ Partials      390      388       -2

Impacted Files
Coverage Δ

backend/shared/shared/oidc/urls.py
77.77% <ø> (ø)

...applicant/src/components/errorPage/useErrorPage.ts
0.00% <0.00%> (ø)

...benefit/applicant/src/components/header/Header.tsx
0.00% <0.00%> (ø)

frontend/benefit/applicant/src/hooks/useLogout.ts
0.00% <0.00%> (ø)

...ontend/benefit/applicant/src/hooks/useUserQuery.ts
0.00% <0.00%> (ø)

...benefit/handler/src/hooks/useApplicationActions.ts
69.23% <ø> (ø)

...aseteli/employer/src/hooks/backend/useUserQuery.ts
100.00% <ø> (ø)

frontend/kesaseteli/employer/src/pages/500.tsx
0.00% <0.00%> (ø)

frontend/kesaseteli/employer/src/pages/login.tsx
0.00% <0.00%> (ø)

...end/tet/admin/src/backend-api/linked-events-api.ts
0.00% <ø> (ø)

... and 32 more

Continue to review full report at Codecov.

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


Is there a Node.js implementation?

Hey @foobar404, thanks for an amazing library!
I have it working perfectly on a frontend React app, but how can I run it on Node.js? is there any implementation with web-audio-api or other audio packages? Is there a way to run it on a Node.js server?
Thanks!

Not right now, I'm not sure how you would implement it into a node app because there isint anything to display the visuals on.

Gonna be using node-canvas for it.

So I took inspiration from this repo and used node-canvas to create png file of the wave.


[Popup] onCreate event does not fire with inline option

See: http://jsfiddle.net/efp8z6Ln/121/

This is expected, no popup is created since its already there.


make the server to run as osgi based

Done the basic integration hence resolving the issue. need to create new issues with new requirements


Crash on com.apple.NSURLConnectionLoader with AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES when running tests from CLI

Hi!
disclaimer: I don't think this is an AFNetworking bug, but I figured I would add an issue here since this can affect AFNetworking users, and maybe someone else has come across this before. I also created a [stack overflow question] (http://stackoverflow.com/questions/10808229/xcodebuild-crashes-when-running-tests-from-cli).
We have a class that uses AFHTTPClient and AFHTTPRequestOperation's internally. In development, we connect to a server with an invalid SSL Certificate, so we have this code in the method that returns the request operations:
if (self.allowInvalidSSLCertificates)
    {
        [operation setAuthenticationChallengeBlock:^(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge) {
            if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
                [challenge.sender useCredential:[NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust] forAuthenticationChallenge:challenge];
            }
        }];

        [operation setAuthenticationAgainstProtectionSpaceBlock:^BOOL(NSURLConnection *connection, NSURLProtectionSpace *protectionSpace) {
            return YES;
        }];
    }

which effectively is the same as defining _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_, but we needed to do this at run-time.
This works perfectly on Xcode, ignores the invalid certificate, and all our functional tests pass. The problem comes when we run them from the command line using xcodebuild.  As soon as it's going to run the first test, it crashes:
Run test case <testMethodName>
Test Case '-[<TestCaseClass> <testMethodName>]' started.
/Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include: line 415: 47744 Bus error: 10           "${THIN_TEST_RIG}" "${OTHER_TEST_FLAGS}" "${TEST_BUNDLE_PATH}"
/Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:451: error: Test rig '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Developer/usr/bin/otest' exited abnormally with code 138 (it may have crashed).

If we get rid of that code, and don't ignore the SSL certificate being invalid, tests don't pass, because the connection fails, but nothing crashes.
This is the crash log in Console:
Process:         otest [35957]
Path:            /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Developer/usr/bin/otest
Identifier:      otest
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [35952]

Date/Time:       2012-05-29 15:46:37.398 -0700
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Crashed Thread:  7  com.apple.NSURLConnectionLoader

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO<PHONE_NUMBER>000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Developer/usr/bin/otest
    __TEXT<PHONE_NUMBER>001000-0000000000003000 [    8K] r-x/rwx SM=COW  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Developer/usr/bin/otest

Thread 0:
0   libsystem_kernel.dylib        	0x98908c22 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x989081f6 mach_msg + 70
2   CoreFoundation                	0x0045e10a __CFRunLoopServiceMachPort + 186
3   CoreFoundation                	0x003c1550 __CFRunLoopRun + 1312
4   CoreFoundation                	0x003c0d84 CFRunLoopRunSpecific + 212
5   CoreFoundation                	0x003c0c9b CFRunLoopRunInMode + 123
6   Foundation                    	0x0004e40f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
7   Foundation                    	0x000899e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 73
8   Functional Tests              	0x052f37d5 -[<TestCaseClass> <TestMethodName>] + 1253 (<TestCaseClass>.m:564)
9   CoreFoundation                	0x003f04ed __invoking___ + 29
10  CoreFoundation                	0x003f0407 -[NSInvocation invoke] + 167
11  SenTestingKit                 	0x201039c4 -[SenTestCase invokeTest] + 184
12  SenTestingKit                 	0x20103868 -[SenTestCase performTest:] + 183
13  SenTestingKit                 	0x201034a9 -[SenTest run] + 82
14  SenTestingKit                 	0x20106db2 -[SenTestSuite performTest:] + 106
15  SenTestingKit                 	0x201034a9 -[SenTest run] + 82
16  SenTestingKit                 	0x20106db2 -[SenTestSuite performTest:] + 106
17  SenTestingKit                 	0x201034a9 -[SenTest run] + 82
18  SenTestingKit                 	0x20105e97 +[SenTestProbe runTests:] + 174
19  CoreFoundation                	0x0048bd51 +[NSObject performSelector:withObject:] + 65
20  otest                         	0x0000231c 0x1000 + 4892
21  otest                         	0x000025be 0x1000 + 5566
22  otest                         	0x00002203 0x1000 + 4611
23  otest                         	0x00001f8d 0x1000 + 3981
24  otest                         	0x00001f31 0x1000 + 3889

Thread 1:
0   libsystem_kernel.dylib        	0x9890b90a kevent + 10
1   libdispatch.dylib             	0x01029372 _dispatch_mgr_invoke + 918
2   libdispatch.dylib             	0x01027be1 _dispatch_mgr_thread + 53

Thread 2:
0   libsystem_kernel.dylib        	0x9890b02e __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9aabcccf _pthread_wqthread + 773
2   libsystem_c.dylib             	0x9aabe6fe start_wqthread + 30

Thread 3:
0   libsystem_kernel.dylib        	0x9890b02e __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9aabcccf _pthread_wqthread + 773
2   libsystem_c.dylib             	0x9aabe6fe start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib        	0x9890b02e __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9aabcccf _pthread_wqthread + 773
2   libsystem_c.dylib             	0x9aabe6fe start_wqthread + 30

Thread 5:
0   libsystem_kernel.dylib        	0x9890b02e __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9aabcccf _pthread_wqthread + 773
2   libsystem_c.dylib             	0x9aabe6fe start_wqthread + 30

Thread 6:
0   libsystem_kernel.dylib        	0x98908c22 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x989081f6 mach_msg + 70
2   CoreFoundation                	0x0045e10a __CFRunLoopServiceMachPort + 186
3   CoreFoundation                	0x003c15d5 __CFRunLoopRun + 1445
4   CoreFoundation                	0x003c0d84 CFRunLoopRunSpecific + 212
5   CoreFoundation                	0x003c0c9b CFRunLoopRunInMode + 123
6   Foundation                    	0x0004e40f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
7   Foundation                    	0x0004e2d3 -[NSRunLoop(NSRunLoop) run] + 76
8   Functional Tests              	0x054fb7f5 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] + 133 (AFURLConnectionOperation.m:146)
9   Foundation                    	0x0001a4d6 -[NSThread main] + 76
10  Foundation                    	0x0001a447 __NSThread__main__ + 1258
11  libsystem_c.dylib             	0x9aabaed9 _pthread_start + 335
12  libsystem_c.dylib             	0x9aabe6de thread_start + 34

Thread 7 Crashed:: com.apple.NSURLConnectionLoader
0   CoreFoundation                	0x0039a811 CFArrayGetCount + 17
1   Security                      	0x00dae356 SecTrustCopyExceptions + 35
2   CFNetwork                     	0x00b31764 SocketStream::securityAcceptPeerTrust_NoLock(unsigned char) + 150
3   CFNetwork                     	0x00b39fd4 SocketStream::setProperty(void const*, __CFString const*, void const*) + 2754
4   CFNetwork                     	0x00b39508 virtual thunk to SocketStream::setProperty(void const*, __CFString const*, void const*) + 43
5   CFNetwork                     	0x00b3abad ReadStreamCallbacks::_setProperty(__CFReadStream*, __CFString const*, void const*, void*) + 53
6   CoreFoundation                	0x00429b10 CFReadStreamSetProperty + 160
7   CFNetwork                     	0x00b3ab60 HTTPReadFilter::streamSetProperty(__CFReadStream*, __CFString const*, void const*) + 266
8   CFNetwork                     	0x00bd4345 non-virtual thunk to HTTPReadFilter::streamSetProperty(__CFReadStream*, __CFString const*, void const*) + 41
9   CFNetwork                     	0x00b37308 CFNetworkReadStream::httpStreamSetProperty(__CFReadStream*, __CFString const*, void const*, void*) + 38
10  CoreFoundation                	0x00429b10 CFReadStreamSetProperty + 160
11  CFNetwork                     	0x00b419f4 HTTPNetStreamInfo::streamSetProperty(__CFReadStream*, __CFString const*, void const*) + 404
12  CFNetwork                     	0x00b41858 non-virtual thunk to HTTPNetStreamInfo::streamSetProperty(__CFReadStream*, __CFString const*, void const*) + 41
13  CFNetwork                     	0x00b37308 CFNetworkReadStream::httpStreamSetProperty(__CFReadStream*, __CFString const*, void const*, void*) + 38
14  CoreFoundation                	0x00429b10 CFReadStreamSetProperty + 160
15  CFNetwork                     	0x00be3e29 HTTPProtocol::useCredential(_CFURLCredential const*, _CFURLAuthChallenge*) + 125
16  CFNetwork                     	0x00bfa98f URLConnectionLoader::loaderUseCredential(_CFURLCredential const*) + 117
17  CFNetwork                     	0x00bfa47a URLConnectionLoader::LoaderConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XLoaderEvent, XLoaderEventParams>*, long) + 140
18  CFNetwork                     	0x00b2273b URLConnectionLoader::processEvents() + 107
19  CFNetwork                     	0x00bf7117 non-virtual thunk to URLConnectionInstanceData::multiplexerClientPerform() + 21
20  CFNetwork                     	0x00b20fbf MultiplexerSource::perform() + 259
21  CoreFoundation                	0x0045e94f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
22  CoreFoundation                	0x003c1b43 __CFRunLoopDoSources0 + 243
23  CoreFoundation                	0x003c1424 __CFRunLoopRun + 1012
24  CoreFoundation                	0x003c0d84 CFRunLoopRunSpecific + 212
25  CoreFoundation                	0x003c0c9b CFRunLoopRunInMode + 123
26  Foundation                    	0x00108e30 +[NSURLConnection(Loader) _resourceLoadLoop:] + 398
27  Foundation                    	0x0001a4d6 -[NSThread main] + 76
28  Foundation                    	0x0001a447 __NSThread__main__ + 1258
29  libsystem_c.dylib             	0x9aabaed9 _pthread_start + 335
30  libsystem_c.dylib             	0x9aabe6de thread_start + 34

Thread 8:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x9890ab42 __select + 10
1   CoreFoundation                	0x003f27cb __CFSocketManager + 939
2   libsystem_c.dylib             	0x9aabaed9 _pthread_start + 335
3   libsystem_c.dylib             	0x9aabe6de thread_start + 34

Thread 7 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000002  ecx: 0x0d651da4  edx: 0x05012980
  edi: 0x0039a80d  esi: 0x00000000  ebp: 0xb038bbb8  esp: 0xb038bba0
   ss: 0x00000023  efl: 0x00010286  eip: 0x0039a811   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000023   gs: 0x0000000f
  cr2: 0x00000000
Logical CPU: 4

Binary Images:
.....

Googling for that crash doesn't show anything similar. It crashes inside CFNetwork with an EXC_BAD_ACCESS, and I can't see any memory management issue in AFNetworking or in my code that could be causing this. Also this doesn't happen the 100% of the times (I'd say around the 80%), so I can't help to think there's some kind of race condition. Perhaps we're doing something with a non thread-safe object in the wrong thread? Again, haven't seen anything in particular in this regard.
We're using Xcode 4.3.2 on Mac OSX 10.7.4
Thanks everyone in advance.

Helpful tip: You shouldn't be allowing invalid HTTPS certs even in test builds.  It is far too easy to accidentally ship a debug build or lose the #if in a merge conflict or have somebody come along years later, not understand why it is there and remove it.  Better to check for a specific invalid cert by its private key, and allow that.  That way, if it accidentally ships, it isn't a huge security hole.  More details here:
https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/NetworkingTopics/Articles/OverridingSSLChainValidationCorrectly.html


Non-empty string assertion

I see this pattern very, very often in our code base and would love to have a short assertion for this:
if ( !is_string( $var ) || $var === '' ) {
    throw new InvalidArgumentException( '$var must be a non-empty string' );
}

This could be either Assert::nonEmptyString( $value, $name ) or a new "magic" type like Assert::parameterType( 'nonEmtpyString', $value, $name ). Out of these options, I clearly prefer the first one.

Resubmitted as https://gerrit.wikimedia.org/r/316324.


Add an async call in the component initialization path

We may need an async step in the component initialization path that will be called after initialize, i.e. after componentInitializingFirstTime/componentInitializingFromExisting and componentHasInitialized are done.
The above methods are called synchronously and there is no way for components to do additional setup work after the component has finished initializing. I mean they can probably schedule async tasks from componentHasInitialized but it might be worth to explicitly provide a way to do that.
Some context as to why I am suggesting this
I ran into this circular dependency problem when using root component in Vltava to integrate LastEditedTracker. Basically, the problem is that any component that need access to functionality provided by the root component have to do so after the root component has completed initializing (so that they can request it).
This means they cannot do that in the componentHasInitialized method unless they fire off an async task or do it in response to some other event (like in #1784, I do it in response to a user action).
I believe it might be worth to provide a function "post" initialization so they can do things like
requesting IComponent* from the root component.
I feel this may make the root component model a bit simpler to use.
Please let me know your thoughts @anthony-murphy @skylerjokiel @vladsud @curtisman

All methods are async:
protected async initializingFirstTime(props?: S): Promise { }
protected async initializingFromExisting(): Promise { }
protected async hasInitialized(): Promise { }
I believe adding more more method that is async but factory does not wait for would be very confusing, as (on initial look) it would not be clear how it differs from hasInitialized.
Given that what you ask can be accomplished today (by simply launching async task from hasInitialized), I do not see a need to add it to framework - this (if needed), can be done as in derived class.
That, and the fact that there was no movement, means punt.
Please reactivate if disagree.


Failed to Render and update auto layout status for MYViewController

I am getting "Failed to Render and update auto layout status for MYViewController : Library not loaded @rpath/TLYShyNavBar.framework/TLYShyNavBar".
please help me.

Please help me out, i am waiting.


[SPARK-31662][SQL] Fix loading of dates before 1582-10-15 from dictionary encoded Parquet columns

What changes were proposed in this pull request?
Modified the decodeDictionaryIds() method VectorizedColumnReader to handle especially the DateType when passed parameter rebaseDateTime is true. In that case, decoded days are rebased from the hybrid calendar to Proleptic Gregorian calendar using RebaseDateTime.rebaseJulianToGregorianDays().
Why are the changes needed?
This fixes the bug of loading dates before the cutover day from dictionary encoded column in parquet files. The code below forces dictionary encoding:
spark.conf.set("spark.sql.legacy.parquet.rebaseDateTimeInWrite.enabled", true)
Seq.tabulate(8)(_ => "1001-01-01").toDF("dateS")
  .select($"dateS".cast("date").as("date")).repartition(1)
  .write
  .option("parquet.enable.dictionary", true)
  .parquet(path)

Load the dates back:
spark.read.parquet(path).show(false)
+----------+
|date      |
+----------+
|1001-01-07|
...
|1001-01-07|
+----------+

Expected values must be 1000-01-01 but not 1001-01-07.
Does this PR introduce any user-facing change?
Yes. After the changes:
spark.read.parquet(path).show(false)
+----------+
|date      |
+----------+
|1001-01-01|
...
|1001-01-01|
+----------+

How was this patch tested?
Modified the test SPARK-31159: rebasing dates in write in ParquetIOSuite to checked reading dictionary encoded dates.

@cloud-fan @HyukjinKwon Please, review this PR.

Test build #122440 has started for PR 28479 at commit 0a560b9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27102/
Test PASSed.

Test build #122440 has finished for PR 28479 at commit 0a560b9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122440/
Test PASSed.

Merged to master and branch-3.0.


[HOPS-1372] HopsFS-Cloud. Support for S3 Storage

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[x] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/projects/HOPS/issues/HOPS-1372

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Can one of the admins verify this patch?


Change If-None-Match header to If-Match

Optimistic concurrency uses If-Match header.

Hi @Huachao, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@dragon119 & @bennage - Can you review this update and let me know whether to merge? Thanks

Can you assign it to me? It helps me keep track of what I'm doing.

@bennage / @dragon119 - Could you guys update the thread on this public repo PR?

Thanks for bumping this. I'm embarrassed that we overlooked it.

@bennage - Could you have the team handle this, or let me know to close the proposed change?

I'll take care of this.

@Huachao, this scenario is slightly different from optimistic concurrency. If-None-Match is used for conditional requests in which it retrieves new entity if it's updated from specified version.  This book explains it very well.

@dragon119, in the file I change, the url request method is PUT, so not retrieving new entity.

@Huachao, Oops that's right. I was checking a different section. Thank you for reporting this.
@tysonn, please merge this PR.


Small bug in Advanced data options search box

Zewditu has details. I believe the search box doesn't work if you enter only one character.

@beccamc  thanks  for filing the issue, the bug is if we start to search using a string starting from the first  character the search does not filter anything .

LGTM


phf_macros does not compile with beta2

I got the following error
src/lib.rs:34:1: 34:52 error: unstable feature
src/lib.rs:34 #![feature(plugin_registrar, quote, rustc_private)]
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: this feature may not be used in the beta release channel
error: aborting due to previous error
Could not compile `phf_macros`.

I guess it's because it uses heavily macros and compiler plugins wich are not in the "stable"  part of rust for 1.0.0

Yes, phf_macros is a compiler plugin, which is not a stable part of Rust.

ok, make sense.


Stop word list for biomedical literatures

A stop word is from PubMed: https://www.ncbi.nlm.nih.gov/books/NBK3827/table/pubmedhelp.T.stopwords/

However, I don't think that list is specific for biomedical articles.


Add ability to specify reserved paths and reply 404 to /favicon.ico

Fixes #437
Fixes #563
See commits

It's a bit confusing that the error message for using one of these paths appears below the form (below the submit button even), and only after submitting, while other path segment violations are indicated below that field and immediately.

That's true, it's not perfect UX. I considered transmitting all reserved paths to the frontend and checking it there. But I decided against it as people are very unlikely to even run into this issue. And if they do, they still understand the current error message. So ye, I don't think it's important. If you disagree I can still add another frontend check. (related note: is it a security problem transmitting the reserved paths to the frontend?)

I'm fine with leaving it for now, but maybe we should think about this more generally: There might always be some checks that are better done by the backend. And even the checks we already have are duplicated between frontend and backend, which is not ideal IMO. Maybe we should have a validation API or sth? :shrug: But ye, doesn't have to happen in this PR obviously.


Add missing mainnet proxies

Problem
Missing mainnet proxies for accounts 32, 33 and 34.
Solution
Add missing mainnet proxies for accounts 32, 33 and 34.
Alternatives
No response

This should be discussed with devops colleagues first, the should confirm and then we should add the missing mainnet proxies


Support partial results

Closes #116

Thanks a lot for your patch! Me and @olegrok left two little comments.
Please, also update CHANGELOG and describe new option in README and then we can merge this PR!


Release Google.Cloud.Billing.V1 version 2.3.0

Changes in this release:

Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs

Created release for Google.Cloud.Billing.V1-2.3.0

Hmm... it looks like the build was never started. Will do so now.

My mistake - it completed fine. Will just relabel.

(There was an error in the PR status reporting script, that's all.)


create candy.cpp

Try to add just the code to the Program and later if you have any side Note/Info just comment the code within the Program


Android param patch incorrectly references R.strings

We had someone log a bug with CodePush that seems to be due to the fact that RNPM refers to "R.strings" instead of "R.string" when generating the code for a configured param that is referenced in a plugin's packageInstance setting.
I haven't had a chance to look into it yet, but it seems like R.string is in fact the correct member name.

True, mind sending a pull request? cc: @Kureev

Oops. I'm wondering why nobody reported this before 😮

Yep I can send a PR later this evening when I get home. Thanks guys!

I've made a PR to fix this issue. Please, take a look


Change terminology

@tyiu for Damus suggested a while back that the following terminology is used:

note - a noun
post - a verb

"No posts yet" -> "No notes yet"
"Your post has been published" -> "Your _note_has been published"
currently displayed as

I have thought about these and was deciding between these 2 words. And ended with "post" because i checked linkedin, meta's thread and twitter uses "post", and thinking "post" is something normies can understand.


Add workflow for building and uploading PDF.

This will automatically build and deploy the PDF every time it is updated:

When a commit is pushed to master, the PDF will be deployed to GitHub Pages, allowing to view it online at https://coq-community.org/hydra-battles/hydras.pdf (preview at https://Zimmi48.github.io/hydra-battles/hydras.pdf).

When a commit is pushed to another branch or a pull request, the PDF will be deployed as an artifact which can be downloaded and unzipped for reviewing (preview at https://github.com/Zimmi48/hydra-battles/actions/runs/318159714).

One issue to keep in mind is that each PDF is around 1MB. Git does have delta-compression, but with hundreds of commits, repo size could become a factor.

@palmskog Does this workflow actually commit build artifacts? I would expect it to upload them to an external storage.

Does this workflow actually commit build artifacts? I would expect it to upload them to an external storage.

I based my comment on the following:

the PDF will be deployed to GitHub Pages

I see, thanks. I'm wondering if we could just link latest artifact from Github Pages.

One issue to keep in mind is that each PDF is around 1MB. Git does have delta-compression, but with hundreds of commits, repo size could become a factor.

This is avoided by the fact that the gh-pages branch is erased / force-pushed at every deploy. It never contains more than one commit.
For the record, my initial plan was indeed to push an artifact and not a GitHub Pages branch, but GitHub Actions won't allow viewing the PDF in the browser in that case (it encapsulates it in a zip archive). GitLab CI is superior here, but using it would introduce additional complexity (not worth it IMHO).


Workflow not working: ERROR: Bootstrap Docs[Script Filter] Code 127: /bin/bash: php: command not found

Hi,
Unfortunately, the workflow does not work.

Thank you and greetings
Tristan

Hi @tgermer , thank you for reporting it. Fixed in new version, please download new version

Thank you, but it is still not working for me.
Version 0.1.1


feat(graph): Added sequence reconstruction DFS solution.

Coverage remained the same at 100.0% when pulling 4d6b653f77249c3e5aee9d1bcacda74ee9979370 on sequence-reconstruction into f61716452097da6212459d247a42f9a26bbfaf31 on master.


WAV.cpp: Searching for the fmt chunk skips over too much data

The problem is essentially here
lime::fseek (file, wave_format.subChunkSize, SEEK_CUR);

and the correct version should be something like
lime::fseek(file, currentHead + 8 + wave_format.subChunkSize, SEEK_SET);

While searching for the fmt chunk you first read in the entire chunk (24 bytes) and then you seek to a position wave_format.subChunkSize relative to the end of the chunk.
The impact of this is that files that contain chunks before the fmt chunk can't be read by lime.

Please give this fix a try. I don't have the same files as you, but I believe this should resolve the issue :smile:


View About the Courses page

Acceptance Criteria:
I can:
-Navigate to this page according to the site map url
-See that the page looks like the mockup
-View the page at different resolutions and the content is laid out logically

Video demo http://www.screencast.com/t/3dUP5xyN


Examples from readme

Hello everyone,
sorry, but am I just blind/an idiot/dumb or aren't the examples found in the readme working?
I installed stampit via bower via "bower install stampit" an have the following code:
<script src="bower_components\stampit\stampit.js"></script>
<script>
// Some privileged methods with some private data.
const Availability = stampit().init(function() {
  var isOpen = false; // private
  ....

When executing this in Chrome, it says:
Uncaught TypeError: stampit is not a function at stampit.html:5
But when typing "stampit" into Chrome Dev Tools console, it shows me that stampit is available with all it's methods (compose, composers, conf ...).

Thx in advance!
Regards,
Michael

Thank you for reporting.
It requires some investigation. Are you in the position to help?
On Fri, 28 Apr 2017, 23:35 Michael H<EMAIL_ADDRESS>wrote:

Hello everyone,
sorry, but am I just blind/an idiot/dumb or aren't the examples found in
the readme working?
I installed stampit via bower via "bower install stampit" an have the
following code:

@Mika83AC  Where do you have these script tags? Both in head? In case you include both at the same spot, chances are that your "app code" is executed before stampit script is loaded and parsed. You can investigate that in Network tab of developer tools.
The safest path is load external scripts in head tag and your logic at the end of body.

@koresar  Hm... I think I'm not in a position to help as I'm a JS and StampIt newbie ... :( Really have no idea what might be wrong.
@FredyC Even this is not working for me. Here is my example done as I understood your advice:
<!doctype html>
	<head>
		<meta charset="utf-8">

		<script src="bower_components\stampit\stampit.js"></script>
	</head>
	<body>
		Test
	</body>
	<script>
	// Some privileged methods with some private data.
	const Availability = stampit().init(function() {
	  var isOpen = false; // private

	  this.open = function open() {
		isOpen = true;
		return this;
	  };
	  this.close = function close() {
		isOpen = false;
		return this;
	  };
	  this.isOpen = function isOpenMethod() {
		return isOpen;
	  }
	});

	// Here's a stamp with public methods, and some state:
	const Membership = stampit({
	  methods: {
		add(member) {
		  this.members[member.name] = member;
		  return this;
		},
		getMember(name) {
		  return this.members[name];
		}
	  },
	  properties: {
		members: {}
	  }
	});

	// Let's set some defaults:
	const Defaults = stampit({
	  init({name, specials}) {
		this.name = name || this.name;
		this.specials = specials || this.specials;
	  },
	  properties: {
		name: 'The Saloon',
		specials: 'Whisky, Gin, Tequila'
	  }
	});

	// Classical inheritance has nothing on this.
	// No parent/child coupling. No deep inheritance hierarchies.
	// Just good, clean code reusability.
	const Bar = stampit(Defaults, Availability, Membership);

	// Create an object instance
	const myBar = Bar({name: 'Moe\'s'});

	// Silly, but proves that everything is as it should be.
	myBar.add({name: 'Homer'}).open().getMember('Homer');
	</script>

</html>

Still the error "Uncaught TypeError: stampit is not a function at index.html:12".

@Mika83AC Where did you actually get that stampit script? Is it freshly installed from bower or did made a copy from somewhere? Can you please try this live URL instead<EMAIL_ADDRESS>

@FredyC I freshly installed it via bower as described in the readme: "bower install stampit".  This morning (before posting here) I performed a "bower update" to be sure to be on the latest version.
Using the CDN link you posted results in the same error. I've put my "example" on my server so you can have a direct look at it: http://divelop.de/stampit/
As I'm using the latest Chrome, I don't think it can/will be a browser compatibility issue.

I see, there seems to be some issue unrelated to your code indeed. Quick workaround is simply to call stampit.init instead of stampit().init
@koresar Once again there is exported object with default instead of a function being exported. I though we solved this before, not sure if you were doing some changes there.

Fixed with stampit v4.


For those who are so irresponsible that never fix one issue for a year

https://github.com/googleads/googleads-mobile-flutter/issues/269
So we all get to know that your team never intend to fix this issue.  So you have any excuse for that? Your so called 'Engineering team' has been working on that for ONE YEAR huh? And too busy to respond. What a team! Did you really read that at least one of the all threads in that link??? What do you think about it?? Do you have even a thought?

So you guys wanna keep deleting and closing this new issue. Well im gonna keep uploading new issues so that new users get to know how much your team is irresponsible.

I agree with you @ rocketman7, I can't understand how the "Engineering team" haven't pronounce yet about that. I loved Flutter but this package is making me regret about decided to use it to develop my app.

Hi @rocketman7, Please don't file duplicate issues, Filing duplicate issues wouldn't make any difference. Please kindly follow up on the original issue.
Closing as this is neither a bug nor a feature request related to ads plugin.

@maheshmnj
Oh, you're so fast for this kind of issue but not for a year-long issue, huh? Why don't you more care about the original issue, #269 ? Are you too busy to answer the real question but so tiny one?


Use Custom JDK for tomcat launch, instead of project default?

I would like to launch Tomcat using different JDK from the default project configuration but there doesn't seem to be a way to do that.
In my case I'm trying to run TC9 using  JDK 1.8 when my project SDK is JDK21.
(assuming the project is set to compile for JDK8 compatibility)
The plug-in doesn't seem to apply setenv.bat to force the JAVA_HOME,
nor does it work to try to override that with ENV in the plugin config
I'm guessing it would need to be patch created  here:
https://github.com/zengkid/SmartTomcat/blob/cb4ea9e5b1aa21c177b1fea71962e8dc55d0531d/src/main/java/com/poratu/idea/plugins/tomcat/conf/TomcatCommandLineState.java#L145

@ccorneli
Try this https://plugins.jetbrains.com/plugin/24555-smart-tomcat-pro


[tests/Ninja/Loader] Make shell-quote test more robust

The correct check for the "depfile" line should only contain single quotes
around the variable portion. I.e., 'target12 foo'.d not 'target12 foo.d'. To
avoid future fragility, change the CHECK-NOT to an explicit CHECK.
Sorry for the noise!

@swift-ci please smoke test


ImportError: /usr/local/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: Undefined symbol "OPENSSL_no_config"

Hi,
Trying to run the aioquic H3 server on freeBSD 11.3 I get the error in the title of this issue. Seems like in openssl 1.1+ OPENSSL_no_config was replaced by OPENSSL_init.
Related libraries:
cffi==1.14.0
cryptography==2.9
six==1.14.0
wsproto==0.15.0
OS version:
FreeBSD 11.3-RELEASE
Openssl version:
OpenSSL 1.0.2s-freebsd  28 May 2019
Any ideas/help would be appreciated

The error you point to originates in the cryptography module, I suggest you take it up there as there isn't anything I can do about it.

Correct, I've taken it theretoo  as soon as I posted this issue. Was a long shot, but I had hoped that you've seen this before and know a workaround. Anyway, will report back if there's any progress from the cryptography team in case someone else on freeBSD gets that in the future.


Support for non-sqlite dbs

I'm very interested in using this but my app is multi-threaded so can't really use sqlite. I am going to add support for Postgres for my own purposes but if you would be interested in merging generic DB support then I can try and make it work for other flavours too. If you are interested I'll submit a PR.

That does sound interesting; it would be one of the first major contributions to the project.

I was having the same problem a few minutes ago. Since I am only using transcribe, I could solve it by creating a new connection within the fetch_words function and making it use that cursor. Works as a quick fix.

Ok, that will teach me for opening my mouth... :-).
Actually it may be a little more complicated than just implementing other DB support. At least in that my own usage patterns won't really fit. After thinking about it, I only need fully stress-marked IPA, which I will then load into a cache. Actually reprocessing for each time it gets called is simply a useless CO2 generator. So something that exports to very generic SQL would be a better fit in theory (I actually want it as K/V with V in JSON). Implementing proper, generic SQL support that made sense would be quite a lot of work... Seeing as my use case really doesn't need full support, and just ripping off your code works, others may be in the same situation and it may not be worth the extra hassle. What do you think?
I did have another question - it looks like there are some values that don't correspond to https://en.wikipedia.org/wiki/ARPABET - is there a reason for that? From looking quickly it seems there is a 1:1 correspondance so I can just change to the official ARPABET form but I'm interested to know whether that is intentional or not. So far I found only EY -> e vs. EY -> eɪ.

@AntonOfTheWoods Don't worry about it, I thought that adding support for some sort of interaction with the CMU data besides SQL was a great idea, especially in light of the issue with your multi-threaded app.
I've added the ability to use JSON to interact with the data instead of SQL. I wouldn't mind if you tried it It's not Postgres, but maybe we could add that at some point.
My eventual plan to support multiple database types would be to overhaul the program to be object-oriented, writing a Transcriber class, where the database type can be easily specified and changed:
transcribe = Transcriber(db_type="Postgres")
transcribe.convert("some text")
# switch database type
transcribe.db_type = "sqlite3"
transcribe.convert("some more text")

I'm not sure how to address your additional ARPABET issue. Maybe open a new issue for that and I will give it more attention if needed.

Thanks @mphilli , I will have a need for a tool like this for the next few years but I don't know all the use-cases yet, so don't know all the features I'll need to implement. I'll be back though!
I opened https://github.com/mphilli/English-to-IPA/issues/12 for the ARBABET issue.


Update Lissi Entries

Hi,  I'm a developer at Lissi.
We added some more complete information for the Lissi entries (wallet and eudi wallet connector.
Wasn't quite sure how logo works. If its a file or URL. Let me know if this isn't correct.

Hi,  I'm a developer at Lissi.
We added some more complete information for the Lissi entries (wallet and eudi wallet connector.
Wasn't quite sure how logo works. If its a file or URL. Let me know if this isn't correct.

The preferred way is to store it as a file in case the logo is not available via the link anymore. Logos are stored in https://github.com/openwallet-foundation/digital-wallet-and-agent-overviews-sig/tree/main/viewer%2Fsrc%2Fassets%2Flogos
Let me know if you want to update it or if it's fine to be pushed

@cre8 I updated the logo file. When i run npm start i get an error
Application bundle generation failed. [2.033 seconds]

✘ [ERROR] TS2353: Object literal may only specify known properties, and '"lockfileVersion"' does not exist in type 'Wallet'. [plugin angular-compiler]

    src/app/wallets/wallets-data.ts:1361:4:
      1361 │     "lockfileVersion": 3,
           ╵     ~~~~~~~~~~~~~~~~~

not sure if i'm meant to push the changes to wallets-data.ts

@cre8 I updated the logo file. When i run npm start i get an error
Application bundle generation failed. [2.033 seconds]

✘ [ERROR] TS2353: Object literal may only specify known properties, and '"lockfileVersion"' does not exist in type 'Wallet'. [plugin angular-compiler]

    src/app/wallets/wallets-data.ts:1361:4:
      1361 │     "lockfileVersion": 3,
           ╵     ~~~~~~~~~~~~~~~~~

not sure if i'm meant to push the changes to wallets-data.ts

Wallet data is auto generated before the app starts. So you only need to update the Json files

should be fine for it to be pushed then


Can not installed

npm ERR! code ENOLOCAL
npm ERR! Could not install from "Kumer\AppData\Roaming\npm-cache_npx\11812" as it does not contain a package.json file.
npm ERR!      C:\Users\Palash Kumer\AppData\Roaming\npm-cache_logs\2023-05-25T08_31_45_252Z-debug.log
Install for [ 'create-react-app@latest' ] failed with code 1

Clear the npm cache by command
npm cache clean --force
and try installing the react with npx command
npx create-react-app@latest 'your-app-name'
replace your-app-name with your project name
ensure you are using this command in right drictory


ci: test actuated arm64 runners

Hi @mtardy could you retrigger the build please? BTF has been deployed into the Kernel


Move parts of reusable code into shared ChatWithTranscriptModel

Place parts of reusable code into shared ChatWithTranscriptModel as static methods with more parameters. Note that while we reuse code more, we also may be in situation where it would make harder to understand these shared parts code and unintentionally break it.
MOB-1892

!merge


wafv2_logging_enabled

Context
Added check for wafv2_logging_enabled.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @devopspacellp,
Can you check the changes of the PR? It seems that some files are being replaced and an existing check is being deleted.
If you need help to open the PR, please let us know


Parquet Modular Encryption support

Which part is this question about
Documentation
Describe your question
Is Parquet Modular Encryption supported by this library?
Additional context
I have found some mentions to AES and encryption here and there on the documentations and code base, however there is no example of it. I am strugling to make it work, so I'm starting to think this is not fully supported yet.

We do not currently support this, but would welcome contributions to add support for it.

@tustvold I'm interested in doing implementation work for this. I'd love to have a dedicated chat about it with a maintainer or community member who has context for this issue and could get me involved with contributor discussion spaces!

I'm afraid I don't really have any context on this, it isn't a part of the standard I am familiar with. Implementing this will likely involve interpreting the spec at https://github.com/apache/parquet-format and applying it to the Rust reader. If this is anything like other aspects of parquet, this will also involve a fair amount of spelunking in existing implementations to clarify ambiguity.
The actual encryption part can probably use something like https://docs.rs/ring/latest/ring/ as an optional dependency.
I'm sorry I can't be of more help, but I don't have the bandwidth at the moment for a helping out with this more directly.

Thanks for the quick response! Parquet encryption uses two extremely standard primitives (which ring has perfectly fine implementations of). In principle, the encryption step is a very simple post-processing step, but I definitely anticipate the existing implementations having some weird quirks.
Given your resources, I'll just try to roll an implementation and submit it for review.

Thank you, I'm happy to review code, especially if it is well tested

Hi @bhoberman , I've started looking into building a Rust implementation of PME, but fortunately have found this thread quickly.
How this work is going?
I'd be glad to provide any help (review, advice on PME design, code contributions, etc) as needed, feel free to ping me on<EMAIL_ADDRESS>

Hey @ggershinsky thanks for reaching out! I'll contact you privately with more details.
TL;DR for those using this thread as a status indicator: this was going to be a work project for me, and we decided after the research phase that it made the most sense to bind to Arrow C++ for our use-case and staffing. That said, I'd love to contribute some personal time to this project should @ggershinsky or someone else be willing to drive it.

Hey @tustvold, @ggershinsky and I have met and are starting on an implementation of this together. Would it be possible for us to get invites to the Apache slack (as mentioned in the README) for easier coordination than email/GitHub?

Sure, if you join the discord you can then DM me your email addresses

hey @tustvold and @bhoberman did you end up connecting or make any progress on the rust implementation? I checked the discord but didn't see any messages around encryption there.

We (@G-Research) would also like to see Parquet encryption support added and can contribute to this effort too, maybe we can work together on this @matthewgapp?

Hi @matthewgapp @adamreeve . Ben (@bhoberman) and I have worked on this for a while, but had to switch to other projects. Feel free to use the early draft (branch and an internal patch) any way you like.
As always, I'll be glad to help with PME design questions, etc, you can reach me on asf slack and on github.

@matthewgapp, are you on the Arrow Rust discord? I'm adamrnz there if you want to discuss this further. It looks like I could also invite you to the ASF Slack workspace if that's easier

hey @adamreeve and @ggershinsky apologies for the delayed response here. Adam, I'll message you on discord. Happy to do slack if that's better

thanks @ggershinsky for the draft and patch! will let you know if questions

Hi all. I'm @adamreeve's colleague and I happen to have time available to do some work on this. Could I help with any potential open tasks @matthewgapp or is it better I pick up the @ggershinsky's draft branch?

Hi all. I'm @adamreeve's colleague and I happen to have time available to do some work on this. Could I help with any potential open tasks @matthewgapp or is it better I pick up the @ggershinsky's draft branch?

❤
I believe the Apache DataFusion Comet project may be interested in this feature too -- I believe its lack is one reason the project has its own parquet decoder
https://github.com/apache/datafusion-comet/tree/3413397ce0de890b7d71b25b5a6790cc38cff21f/native/core/src/parquet
Perhaps @andygrove or @viirya @sunchao or @kazuyukitanimura have more details they can share
cc @etseidl who may also be interested

Related issue in Comet: https://github.com/apache/datafusion-comet/issues/1040


The difference between tensorflow and pytorch version

In the tensorflow version: decoder using qtvec as inputs.
But in the pytorch version, using encoded as inputs instead of qtvec.
May you provide some explanation about this difference?

hmm... Do you mean that in the PyTorch version, the outputs of encoders are directly passed to the decoders whereas in the tensor flow version, the outputs of VectorQuantization layers are passed to the decoders?
Yeah, indeed a good point. It might be a mistake. It should be the quantized tensors that are passed to the decoders.

I have fixed the issue in #20. lmk if that has addressed your question.


ERROR ReferenceError: WifiWizard2 is not defined

Prerequisites
Check all boxes if you have done the following:

[x] Checked that your issue isn't already filed: https://github.com/tripflex/wifiwizard2/issues
[x] Make sure you fill out the Issue Type below

Issue type
Select all that apply

[ ] Bug
[ ] Enhancement
[ ] Task
[x] Question
[ ] Other

Description
I am trying to get the SSID with WifiWizard2 on Ionic v4.
I always get ERROR ReferenceError: WifiWizard2 is not defined
I run it on an ANDROID 9 device, no error during compiling with cordova
Steps to Reproduce

I create a page conn-monitor.ts

import { Component, OnInit } from '@angular/core';
import { Subscription } from 'rxjs';
import { Platform } from '@ionic/angular';
import { AndroidPermissions } from '@ionic-native/android-permissions/ngx';

declare var WifiWizard2: any;

@Component({
  selector: 'app-conn-monitor',
  templateUrl: './conn-monitor.page.html',
  styleUrls: ['./conn-monitor.page.scss'],
})
export class ConnMonitorPage implements OnInit {

  disconnectSubscription: Subscription;
  connectSubscription: Subscription;
  connectionType: any;
  msgs: any;
  constructor(
    public plt: Platform,
    private androidPermissions: AndroidPermissions
    ) { }

  ngOnInit() {
  }

  checkConnectionSSID() {
    const platforms = this.plt.platforms();
    this.msgs = ['PLATFORMS = ' + platforms.join(', ')];
    if (this.plt.is('ios') && ! this.plt.is('mobileweb')) {
      console.log('I am an iOS device!');
      this.msgs.push('iOS detected');
    }
    if (this.plt.is('android') && ! this.plt.is('mobileweb')) {
      console.log('I am an Android device!');
      this.msgs.push('Android detected');
      this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(
        result => this.msgs.push('Has AFL permission?' + result.hasPermissionto.String()),
        err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)
      );
      this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.INTERNET).then(
        result => this.msgs.push('Has AFL permission?' + result.hasPermissionto.String()),
        err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.INTERNET)
      );
      this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_NETWORK_STATE).then(
        result => this.msgs.push('Has AFL permission?' + result.hasPermissionto.String()),
        err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_NETWORK_STATE)
      );
      this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_WIFI_STATE).then(
          result => this.msgs.push('Has permission?' + result.hasPermissionto.String()),
          err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_WIFI_STATE)
        );
      this.androidPermissions.requestPermissions(
        [this.androidPermissions.PERMISSION.ACCESS_WIFI_STATE, this.androidPermissions.PERMISSION.GET_ACCOUNTS]
        );

    }

      console.log('WifiWizard2 loaded');
      console.log(WifiWizard2);
      this.msgs.push('WifiWizard2 loaded');
      this.msgs.push('wifi detected');
      WifiWizard2.requestPermission();
      WifiWizard2.getConnectedSSID()
      .then(( e ) => {
        if (! e.includes('unknown')) {
          this.msgs.push('e:' + e + ':');
          this.connectionType = e;
        } else {
        console.log('then ' + e);
        this.msgs.push('SSID OK : ' + e);
        this.connectionType = e;
      }
      })
      .catch((e) => {
        console.log('Catch e: ' + e);
        this.msgs.push('Catch e: ' + e);
        this.connectionType = e;
      });
  }
}

and it's html page

<ion-button expand="full" fill="outline" (click)="checkConnectionSSID()"> REGISTRA INGRESSO </ion-button>
          <ion-button expand="full" fill="outline"> REGISTRA USCITA </ion-button>
          <ion-input readonly [(ngModel)]="connectionType" placeholder="Connection SSID"></ion-input>
          <ion-list>
            <ion-item *ngFor="let msg of msgs">{{msg}}</ion-item>
          </ion-list>

Expected behavior: I expected to load the WifiWizard2 Object and have it to try to discern the SSID
Actual behavior: I get at run time: ERROR ReferenceError: WifiWizard2 is not defined
Reproduces how often: 100%
Versions
Using<EMAIL_ADDRESS>Ionic 4
Android 9
XiaoMi Mi A2 Lite
Connected to a wifi

Actually I solved it thanks to the Demo made by this guy @blondie63
Comparing the Demo code to mine, I found out that the problem was the WifiWizard plugin, which did not get itself installed properly.
A line, referencing it, was missing from the manifest. I blame NPM.
I completed the manifest and everything worked smootly, with no issues whatsoever.
It turns out that no permissions prompt will ever be fired, if there is not at least one function that requires it, and that one function was missing, because the plugin was badly installed.
So it wasn't the plugin down because of the missing permissions, but were the permission down because of the plugin.
Issue solved


Fixes #4682 - Removed read_phone_state_permission

Description (required)
Fixes #4682
What changes did you make and why?
Followed this -https://github.com/mapbox/mapbox-navigation-android/issues/3577 to include relevant dependency which fixes the phone state permission
Tests performed (required)
Tested betaDebug on API 30

Codecov path is failing because it treats modifications to existing lines as new lines.

I have tested this on both emulator and physical device and it works, thanks @ashishkumar468 :)


New variation for Nim

I would make a PR since it's a super simple addition but I wanted to see if it would be worthwhile first. Nim supports disabling runtime checks by using -d:danger. This increases its performance substantially. There are already several Nim versions in the "tuned" category so adding another one may not be desirable, but it should place Nim even closer to the most optimized C++ version.
From the looks of the implementation, it should be as simple as just tacking on "-d:danger" to the "fast" implementation of Nim.

@OpenSourceAnarchist I don't have bandwidth these days, so I cannot promise when I will be able to get back to it, but I will, eventually... If that is fine with you, I will be glad to have a PR.

Closing due to inactivity and since Nim has changed a lot in these last few months, especially with their new GC (Arc). I don't believe users should disable runtime safety checks, but if you ever want to update this project, I think investigating -d:danger is still useful in the tuned section.


New package: EwaldSummation v0.1.0

Registering package: EwaldSummation
Repository: https://github.com/ArrogantGao/EwaldSummation.jl
Created by: @ArrogantGao
Version: v0.1.0
Commit: 723877db57e172149b652805c810b392ba2be5a1
Reviewed by: @ArrogantGao
Reference: https://github.com/ArrogantGao/EwaldSummation.jl/commit/723877db57e172149b652805c810b392ba2be5a1#commitcomment-135102103

block


Fix batt curr

This is a very simple fix of a constant in the electro-hydraulic PTO that had been set wrong.   I re-established the experiment_comparison tests and they're passing.
Unfort, sc_commands_ros_feedback test if failing, I'm hoping @andermi can take a look and see why that is.  It broke it before too, so if there's something obvious causing problems please let me know.

Unfort, sc_commands_ros_feedback test if failing, I'm hoping @andermi can take a look and see why that is

Appears to be passing in CI?


Update vision examples

closes #47
solves https://github.com/wpilibsuite/EclipsePlugins/issues/75#issuecomment-269705991
Opened PR https://github.com/wpilibsuite/nivision/pull/6

Totally forgot about the xml file. Will update.

This should check the return value from GrabFrame() to see if an error occurred (return value of zero) and if so, report GetError() somewhere useful.

This should check the return value from GrabFrame() to see if an error occurred (return value of zero) and if so, report GetError() somewhere useful.