Allow all filetypes to be uploaded

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/11189
Tests

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

Helpful for testing: https://file-examples.com/

Test uploading common image filetypes works as expected: jpeg/jpg, png, tiff.
Test that gifs do not lose animation when uploaded.
Test uploading of .webp images works as expected.
Test uploading HEIC/HEIF images display them as links, as we do not currently support converting them neither in App nor in the backend.
Test uploading PDFs display a thumbnail. Test uploading this PDF file which has a mimetype of application/octet-stream  works as expected and a thumbnail is displayed.
Test uploading various non image/PDF file works and a link is displayed for them.
Test downloading the uploaded files works as expected.

How HEIC images and links should be displayed:

When uploading images from iOS, including HEIC, they should all be displayed as images as iOS automatically converts them to JPEG.
Offline tests

Not applicable.
QA Steps

[ ] Verify that no errors appear in the JS console

Helpful for testing: https://file-examples.com/

Test uploading common image filetypes works as expected: jpeg/jpg, png, tiff.
Test that gifs do not lose animation when uploaded.
Test uploading of .webp images works as expected.
Test uploading HEIC/HEIF images display them as links, as we do not currently support converting them neither in App nor in Web-PDF. Ideally we should create a follow up issue to support this.
Test uploading PDFs display a thumbnail. Test uploading this PDF file which has a mimetype of application/octet-stream  works as expected and a thumbnail is displayed.
Test uploading various non image/PDF file works and a link is displayed for them.
Test downloading the uploaded files works as expected.

How HEIC images and links should be displayed:

When uploading images from iOS, including HEIC, they should all be displayed as images as iOS automatically converts them to JPEG.
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
[ ] I ran the tests on all platforms & verified they passed on:

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] 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 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] 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 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.
[ ] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Woops sorry guys this isn't ready yet.

Reviewer Checklist

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

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] 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)
[ ] 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)

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

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

[ ] 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
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] 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).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] 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.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] 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.
[ ] 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.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] 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)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] 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
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] 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)
[ ] 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)
[ ] All JSX used for rendering exists in the render method
[ ] 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

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

[ ] 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

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

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

[ ] 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.
[ ] 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)
[ ] 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.
[ ] 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.
[ ] 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.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Web & desktop screen recordings added. Working on mobile next.

@rushatgabhane can you please do that tests and complete the checklist? thanks!

🚀 Cherry-picked to staging by https://github.com/youssef-lr in version: 1.3.14-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.14-14 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Turn off or edit validation rules that mistakenly flag valid syntax

MD049 - emphasis style - We don't enforce this rule.

MD051 - link fragments should be valid - In this case, the deep link is valid. Let's just turn this off so that we don't have false positives.

AM019 - Malformed link - This one isn't being applied properly. In this case, there is a set of parentheses after a link, which should be OK, but it's flagged.

In this case, the image link is flagged as an error because there's hover text, which is supported.

In this case, two links in the same sentence trigger an unwanted error:

MD007 (George - not fixed) - List indentation - We're being too strict in enforcing 4 spaces for lists. Most writers indent 3 spaces for nested content in numbered lists and only 2 spaces for nested comments in bullet lists. The example below is the correct syntax for a nested bullet list, but it's being flagged.

MD030 (George - new, related to MD007)
We're mistakenly flagging this bullet list with only one space as an error. This bullet list would render fine. Don't enforce this rule.

AM014 - code block syntax - Flagged as error due to parameter French braces, which are supported.

AM004 - malformed table - In this example, the table format syntax is correct, but it's flagged as an error.

AM015 - HTML comment malformed - This comment is fine:

CC: @geverit4

I was able to address all of the AMXXX linter rules, but could not make code changes to the MDXXX rules.  I updated the configurations in the default config file shipped with the project where possible.
AM004 - malformed table
This was a conversion error to TypeScript.

AM014 - code block syntax
Since the only thing this rule does is check for the presence of braces, it is now disabled in the main config.

AM015 - HTML Comment malformed
This was a strange one.  An error was being added for no good reason.

AM019 - Malformed Link
Deep links are now handled properly, as well as several other edge cases.

@geverit4 - After testing, I found two things. MD007 still isn't working correctly, and MD030 is related. In both cases, we're flagging a single space after a bullet character as an error, but it's fine (and recommended). Everything else in this list looks great.

@geverit4 - Oops, one more. AM014 doesn't seem to be working properly in all cases. Example:

@bbringhu
AM0014:
The only thing that AM014 does is check for curly braces, so I disabled it in the package.json.  Oops - I actually didn't do that, just in my local settings.  That change will be in the next release.
##MD007 and MD030:
This is a similar configuration issue. I misunderstood the problem.  I've now updated the markdownlint.config setting in the package.json.
  "markdownlint.config": {
    "line-length": false,
    ...
     "MD007": {
      "ul-indent": 3
    },
    ...
    "MD030": {
      "ul_multi": 1,
      "ol_multi": 1
    },

Can you attach an example?

@geverit4 - MD007 still isn't quite right. Did you add your local changes to 2.0.4?

I would rather turn off the rule than tell writers they're doing something wrong when they're doing exactly what we've told them to do.
* Bullet with with one space
* Another one

  * Sub-bullet list with one space
  * Another one

If we can't modify the rule to get the above to work, let's disable it.

I set the indent property on the rule to 2 instead of 3, and this was the result:

Is that how it should work?  Here are the current settings for the extension:
"markdownlint.config": {
    "line-length": false,
    "AM001": false,
    "AM009": false,
    "AM011": false,
    "AM014": false,
    "AM015": false,
    "MD003": {
      "style": "atx"
    },
    "MD007": {
      "indent": 2
    },
    "MD009": false,
    "MD012": false,
    "MD014": false,
    "MD024": false,
    "MD025": {
      "front_matter_title": ""
    },
    "MD026": false,
    "MD027": false,
    "MD028": false,
    "MD030": {
      "ul_multi": 1,
      "ol_multi": 1
    },
    "MD033": {
      "allowed_elements": [
        "a",
        "b",
        "br",
        "caption",
        "code",
        "col",
        "colgroup",
        "div",
        "em",
        "I",
        "img",
        "li",
        "ol",
        "p",
        "pre",
        "s",
        "span",
        "strong",
        "sub",
        "sup",
        "table",
        "tbody",
        "td",
        "tfoot",
        "th",
        "thead",
        "tr",
        "u",
        "ul"
      ]
    },
    "MD036": false,
    "MD038": false,
    "MD039": false,
    "MD040": false,
    "MD045": false,
    "MD049": false,
    "MD051": false
  },

The problem is that we're being overly prescriptive. Writers can add 2 or 3 spaces, and both are fine. If we lock it in to 2 OR 3, we throw a false error for some people. What would be the drawback to turning off 007?

The only drawback is that 007 would never be invoked, and even egregious violations would not be flagged.

They could also click on the "Quick Fix" button to have VSCode set the indents to the indents setting throughout the document.

There's no way to allow either 2 or 3? We have to pick one?

If we have to choose, let's leave it as 3, since that's what it was before. I was really hoping that we could tell writers that if you see errors in VS Code, you must fix them to pass validation. Writers have no way to distinguish this error from a real error.

This looks great so far in testing. I'm going to keep this open for now in case I run into anything, but I'm pretty sure it's done. Fantastic!

I think MD007 is still enabled in 2.0.6. This rule is too fussy about spacing. We don't enforce MD007.

Fixed in 2.0.7


<IP_ADDRESS>

Minor bug fix: improved error message when attempting to parse a non-loop as a loop.

TravisCI not reporting, will try new PR.

TravisCI status still not updating for some reason.


Live suggestions for sample type input

Description
This changes the sample type input to be a live autocomplete similar to the location input. The data comes from newly added SampleType. Unlike location, all possible suggestions are returned from the server and the filtering is done in JS alone, because of the small number of possible suggestions.
Also, there are two categories of match: "suggested" and "all". Suggested depends on the host genome, whether it is a human or insect or neither. This follows the framework created by @katrinakalantar at https://docs.google.com/spreadsheets/d/1_hPkQe5LI0Zw_C0Ls4HVCEDsc_FNNVOaU_aAfoaiZRE/edit?ts=5e152439#gid=0 .
Plain text entries are still possible.
Notes

Although the suggested values come from a rails model, the selected values are stored as more generic Metadatum.
"OTHER" would be a more accurate description, but "ALL" is the word in the design at https://chanzuckerberg.invisionapp.com/share/A6V572ZSBU5#/screens/396544828 .
I came up with the string matching algorithm based on intuition
MetadataInput component is growing somewhat out of control because all metadata type specific props are being passed in: isHuman, sampleTypes, etc
I added to the host genome wiki: https://github.com/chanzuckerberg/idseq-web/wiki/[Dev]-How-to-update-host-genomes#web-app-update. "- (Uncommon) If your host is an insect, add it to the constant INSECT_GENOME_IDS so that only insect-appropriate sample types will be suggested for it."
Many of the official types are too large for the input box so they are clipped. The input is the same width as before so I left it.

Tests
Try "apply all"
Try saving and reloading
Try a variety of inputs. See expected results in suggested, all and plain text.
Check full word match, lowercase

Check insect body parts for insect host

Check "CSF" acronym match

Check second word in two words

Check prefix

<MetadataInput> is also used in the MetadataTab which is in the sample details sidebar. You should also verify that your new input works there as expected.

MetadataInput is also used in the MetadataTab which is in the sample details sidebar. You should also verify that your new input works there as expected.

Good point. I'll check that now.

If the user clicks out of the input without picking something, the text stays in the input but nothing is actually selected (which isn't indicated). Might want to select-on-blur like the location box.

Good catch! This was actually a subtle bug.

Let's say you have both insect and human samples in your upload. You pick a human-only sample type for a human sample and click "Apply to All". This would apply the human-only sample type to all the insect samples as well. Not sure if this is an issue.

This would not be much of an issue in our current design, because the pairing of host and sample types is a suggestion only.

@tfrcarvalho @MarkAZhang Updates:

I fixed the issues that @MarkAZhang raised
I tested the input on the single sample page

I went ahead and added a new column taxa_category to host_genomes as discussed, hooked up the UI, and I replaced pre-existing isHuman logic, so now we can support multiple "human" genomes if we want.


[minor] don't enable appcontainer loopback on Windows 11

I have been running into a prompt to enable loopback every time I start debugging on Windows 11. It seems like the appcontainer names for Edge changed, but there is also no need with Windows 11 to enable loopback, as it works when I continue.
This changes the debugging start command to skip enabling loopback when running on Windows 11. It also makes a change that it should enable loopback automatically instead of prompting.
I believe either of these should resolve the issue. I'm glad to discuss what change is actually desired.

Do these changes impact command syntax of any of the packages? (e.g., add/remove command, add/remove a command parameter, or update required parameters)
NO

Do these changes impact documentation? (e.g., a tutorial on https://learn.microsoft.com/office/dev/add-ins/overview/office-add-ins)
Is loopback documented? It might require a documentation update but not sure.

Validation/testing performed:
Describe manual testing done:
I validated the version check under the debugger and that it skipped the check.

There was a previous discussion about this: https://github.com/OfficeDev/Office-Addin-Scripts/issues/840.
While Win11 changed the name of the containers, I believe it also depends on which webview (IE, v1, or v2) is being used at the time of sideloading that makes is required.  On top of that, enabling loopback is an administrator operation (we call a shell command that requires admin privileges).  The existing pattern was to ask because it is an admin operation (and potential security risk) and once it was enabled, we didn't have to ask anymore.
By not asking, we are essentially making security decision without the user's consent.  On top of that, if they are not running as an administrator when we attempt to call the command, it will still fail.  If they then later on sideload using a webview that requires it in order to work (I don't recall which ones do, but I'm confident webview2 doesn't), then the add-in won't load and there will be no indication as to why.
Updating the container names checked and enabled would be another way to help the situation, but I think that might still be incomplete.  I think it would be nice to validate which webviews (and possibly OS combination) require the loopback enabling, adjust the check to look for that specifically, point out that it requires admin privileges, and verify the behavior with different versions of the host applications (including those that we support that still only use IE webview).  But so far no one has committed to take the time to do that.

@millerds You told me about a workaround for this which I performed and then it was no longer an issue. Was it to run as admin?
Wouldn't this change still help? Would anyone be using legacy Edge or Internet Explorer on Windows 11?  If it is just for a host such as Outlook, perhaps there is way we can skip this requirement for others hosts. Or perhaps we should have some way to mention the workaround which avoids the issue.


Upgrade Irisnet to v2.0.1

Perfect thanks @rodri-r !

Perfect thanks @rodri-r !

Glad to help thank you!


Support namespace via :

When we use django url namespace and use url split via : like a
SOCIAL_AUTH_LOGIN_ERROR_URL = 'social:error'
for example, next code is wrong  (may be and in other places)
https://github.com/omab/python-social-auth/blob/b07708efe7d19b75009771aa97ddf821e59ec08e/social/apps/django_app/middleware.py#L42
url += ('?' in url and '&' or '?') + \
                       'message={0}&backend={1}'.format(urlquote(message),
                                                        backend_name)

we must reverse before url contacting
url = reverse(self.get_redirect_uri(request, exception))
url += ('?' in url and '&' or '?') + \
                       'message={0}&backend={1}'.format(urlquote(message),
                                                        backend_name)

Might be a duplicate of my pull request and also be fixed by that: #905

@webjunkie Yeah, seems it is duplicate.


Erase Config Register Bits to Remove Chip Lock

Thank you for your extensive documentation! May I clarify if the Nuvoton8051_EraseCFG() function you included in Nuvoton8051.c would be able to clear a chip lock bit set in the config register? I'm looking to recycle a bunch of W79E2051 units with flash that is completely read/write protected by the config register.
I tried including the function in your AVR WriteFlash example program like so:
int main(void) {
	Nuvoton8051_Init();
	Nuvoton8051_EntryMode();

        Nuvoton8051_EraseCFG();
	Nuvoton8051_MassErase();

	Nuvoton8051_ExitMode();

	DDRB |= 1;
	PORTB &= ~(1);

	while (1) {
	}
}

but I'm still getting FF values for DeviceInfo and ReadFlash. Apologies if I'm using it incorrectly
I checked the N76E003 datasheet which details when the chip lock is enabled:

Whole Flash Memory is locked. Their contents read through a ICP programmer will be all blank (FFH). Programming to Flash Memory is invalid ... once the chip is locked, the CONFIG bytes cannot be erased or programmed individually. The only way to disable chip lock is execute “whole chip erase”.

The W79E2051 works the same way, but relies on just ICP programming without an In-Application Programmer.
I'd greatly appreciate any advice, thanks!

I checked documentation of W79E2051 and I am not sure if it has the same interface as N76E003. Nuvoton refers different programming tools used, nomenclature is different and registers like CONFIG bytes has totaly different layout.
But maybe even better, for W79E2051, Nuvoton provide package named Nuvoton_8051_ISP-ICP_Programmer_v7.15 (download from https://www.nuvoton.com/products/microcontrollers/8bit-8051-mcus/low-pin-count-8051-series/w79e2051/?group=Software&tab=2) which contains GUI for software which can control W79E2051 just using USB-to-UART which you most probably already have. N76E003 interface is more complicated and can't be interface using simple USB-to-UART converter, so for N76E003, project like this Nuvoton8051ProgrammingLib is needed.
I testest with N76E003, that Nuvoton8051_EraseCFG do not work when chip is locked, but Nuvoton8051_MassErase work and read-only commands like Nuvoton8051_ReadCFG, Nuvoton8051_ReadCID, Nuvoton8051_ReadDID and Nuvoton8051_ReadPID also work when MCU is locked.
Nuvoton8051_MassErase unlocks the MCU (but erases all it's memories as well). If read commands like Nuvoton8051_ReadCID and Nuvoton8051_ReadDID returns 0x00 or 0xFF, them most probably chip use different programming interface, or chip is unpowered, or connection is wrong, or chip is dead, or ....

@misaz Thanks for taking the time to explain, I wasn't sure if the hardware ID read commands are supposed to work while the MCU is locked.
Unfortunately it appears the W79E2051 doesn't have the ISP feature that allows for programming over UART, so I'm stuck with only ICP.
I think you're right about the programming interface being different, hopefully I can try porting your library to read the hardware IDs on the W79E2051.
Cheers!

I did not speak about ISP. I spoke only about ICP. ICP controller in W79E2051 is most probably different than ICP controller in N76E003. ICP and UART are usualy incompatible, but some vendors design their ICP controllers that packet format is compatible with UART packet format (ie. fixed start bit + fixed length data + fixed stop bit). In case of N76E003 ICP bus packet format is different and thus can't be interfaced over serial, but in case of W79E2051 it seems that ICP bus packet format is compatible.
This pattern is also visible in non-Nuvoton world. For example, newer AVR MCU has UPDI interface for programming MCUs and packet format of this protocol is compatible with UART (has fixed start bit + fixed length data + fixed stop bit), but for example, ARM SWD is not (start bit has inverse polarity, data are dynamic length and much longer than UART controller supports and have no stop bit). For this reason, AVR MCUs can be programmed over UART (see serialupdi project), but ARM MCUs can't and require more complex adapters.
I recommend downloading linked package Nuvoton_8051_ISP-ICP_Programmer_v7.15 and reading bundled documentation. It can save you lot of time.

@misaz Thank you for clarifying, I was not aware that the W79E2051 ICP packet format was compatible with UART.
I do often use the SerialUPDI tool, since it's convenient for use with my CH340 USB-Serial adapter that I have readily available.
But if I understand correctly, the Nuvoton_8051_ISP-ICP_Programmer_v7.15 tool requires their proprietary PL-2303 based device to use the ICP function, otherwise the GUI raises an error that the "Programmer is not found".
I combed through the MCU datasheet and all bundled documentation in the Nuvoton_8051_ISP-ICP_Programmer_v7.15 package but am struggling to find ICP-related details to find a solution to use with a generic USB-Serial adapter.
May I ask how you identified the UART compatibility of the ICP bus packet format?
I apologize if I'm overlooking anything in the MCU datasheet or package documentation.
Really appreciate your time!

Thank you for reply. I do not have CH340, so I can't test it, but with both PL-2303 and CP2102 it transmits byte on UART.
Details about development were discussed here: #1


DFC "On the Battlefield As" Pre-Requisites Cut Off

I've noticed a lot of pre-requisites detailing that a DFC is on its back face were cut off.

"Furnace Queen" should say: "Ayara on the battlefield as Ayara, Furnace Queen". I'm guessing the program took everything before Furnace and discarded it. I don't know if there is anything that can be done to fix this automatically. I'm guessing this is from when the spreadsheet was imported.

I think these has to be fixed manually unfortunately


Question..Help!

Hey!
So I followed all the steps in the notes etc..
I even ended up following #63
I have a windows plex machine running, with the LB running on it as well. I blocked all access to plex directly on that machine other than LocalHost.. I have the transcoder running on a ubuntu machine.
Looking like this:
`root@PLEXTRANS1:/home/banx/Downloads/UnicornTranscoder-master# DEBUG='UnicornTranscoder*' npm start

<EMAIL_ADDRESS>start /home/banx/Downloads/UnicornTranscoder-master
node ./bin/www

UnicornTranscoder Starting EAE +0ms
UnicornTranscoder2:server Listening on port 3000 +0ms
`
But even well trying to play a video, it just goes round and around and around for a while then plex says: Error code: s1001 (Network)
The Transcoder is there and registered to the LB, but I just can't seem to make it play a video.
Any help would be amazing. Thanks!

I can't see port 3000 listening? If it is meant to..

Can you provide logs, configuration and network browser tool when you try to stream a file ?

Which logs are you after?
`/**

Created by drouar_b on 27/04/2017.
*/

const env = require('getenv');
module.exports = {
port:                  env.int   ('SERVER_PORT',           3000),
host:                  env.string('SERVER_LISTEN',         '<IP_ADDRESS>'),
transcoder_decay_time: env.int   ('TRANSCODER_DECAY_TIME', 120),
loadbalancer_address:  env.string('LOADBALANCER_ADDRESS',  'http://<IP_ADDRESS>:3001'),
ping_frequency:        env.int   ('PING_FREQUENCY',        10),
instance_address:      env.string('INSTANCE_ADDRESS',      'http://<IP_ADDRESS>:3000'),
maxmind_key:           env.string('MAXMIND_KEY',           ''),

transcoder: {
    plex_arch:         env.string('PLEX_ARCH',             'amd64'), // Can be: amd64, arm64, armhf, i386
    plex_build:        env.string('PLEX_BUILD',            '<IP_ADDRESS>8-97add474d'),
    codecs_build:      env.string('CODECS_BUILD',          '8bf330d-2818'),
    eae_version:       env.string('EAE_VERSION',           'eae-69c1de6-42'), // 41 or 42?
    plex_resources:    env.string('PLEX_RESOURCES',        'plexmediaserver/'),
    temp_folder:       env.string('TEMP_FOLDER',           'cache/'),
    codecs_folder:     env.string('CODECS_FOLDER',         'codecs/'),
    plex_transcoder:   env.string('PLEX_TRANSCODER',       'Plex Transcoder'),
    debug:             env.boolish('TRANSCODER_DEBUG',     true),
},

performance: {
    maxSessions:        env.int('MAX_SESSIONS',           10),
    maxDownloads:       env.int('MAX_DOWNLOADS',          10),
    maxTranscodes:      env.int('MAX_TRANSCODE',          10),
},

//routing: {
//    'US': 'http://usgateway.myplex.com'
//},

}; `
I haven;t found a way to get the latest codec builds etc, only the latest plex build on windows. So if you know how to get that, do feel free to let me know

In your browser devtools screenshot we can't see any request to the transcoder. Once you start your stream your browser should call a start.mpd, this start.mpd should answer a HTTP 302 to a start.mpd on your transcoder domain, then the stream should start.
For the logs, if you don't get any using DEBUG='UnicornTranscoder*' npm start, it means that there is no request reching your transcoder. It probably means that you misconfigured something. Your UnicornTranscoder config looks fine, it is probably that your requests aren't going through UnicornLoadBalancer.
For the codec build it's a bit complicated to find since it's hardcoded in Plex Media Server binary. If you update the PLEX_BUILD without updating the CODECS_BUILD, it will probably not work. All the procedure to update CODECS_BUILD and PLEX_BUILD is explained in the README.
PS: The UnicornTranscoder haven't been tested on a windows PMS, it is possible that Plex is inconsistent between Windows and Linux

So I got all the right info now.
We switched to Linux for everything!
But when we try stream, the start.mpd gets a 500 error Internal Server Error.
Any suggestions on what might cause that?

We finally got it talking to each other and pushing logs out.
But we are now getting session wasn't launched in time? Request failed.
Here is what we see in chrome

So now you should look at transcoder logs

I would also investigate to see how Plex Transcoder on the PMS Master side is too - make sure requests are being sent to your redis server properly.


What is the best way to manually build worlds?

Hello, I want to make the engine load a pre-built world, however I can't find any datas about how on Google(All i found is Procedual World Generation). I know I can type in every block I want in JSON or something like that, but there gotta be a better way than that right?

Ok, I found a dumb way, but it worked.

Generate a Minecraft world, super flat with The void preset.
Build it
Export block data to JSON using mineways/jmc2obj
Iterate through the JSON file, and place blocks with the correct textures and properties

NOTE: you won't get the textures using this way, you'll need to texture it based on JSON properties yourself.
This is a way, but I would love to hear about how you do it!

Ok, I found a dumb way, but it worked.

Generate a Minecraft world, super flat with The void preset.
Build it
Export block data to JSON using mineways/jmc2obj
Iterate through the JSON file, and place blocks with the correct textures and properties

NOTE: you won't get the textures using this way, you'll need to texture it based on JSON properties yourself.
This is a way, but I would love to hear about how you do it! Of

Ok, I found a dumb way, but it worked.

Generate a Minecraft world, super flat with The void preset.
Build it
Export block data to JSON using mineways/jmc2obj
Iterate through the JSON file, and place blocks with the correct textures and properties

NOTE: you won't get the textures using this way, you'll need to texture it based on JSON properties yourself.
This is a way, but I would love to hear about how you do it!

Thanks! Im gonna try this.


Try Option doesn't work in Policy Administration

Describe the issue:

Try option doesn't work in the Policy Administration view in the Management Console. Without giving any response it redirects to the same page.
The flow works properly in IS 5.10.0.
How to reproduce:

Go to the management console.
Go to Main > Entitlement > PAP > Policy Administration.
Click the Try option in any available entitlement policy.
Add the relevant details and click Test Evaluate.
Check whether it gives any response.

Expected behavior:

Should  return a response (Permit/ Deny/ NotApplicable)
Environment information :

Product Version: IS 5.11.0 - BETA
OS: Linux
Database: H2
Userstore: LDAP

Suggested labels:

This issue happened due to the regression caused by this change [1]
After this commit it is changed to if(Encode.forJavaScript(request.getParameter("msgId")) == null). This Encode.forJavaScript() [2] is always return a string value of encoded input string.  So this if condition is always false when request.getParameter("msgId")=null.  Due to this goes to the else part [3] and creates a null cookie.  In the usual flow(before this commit [1]), we creates new cookies with MSG<timstamp>. So it always a unique cookie [4]. Since the null cookie already exists in the browser, it does not hit the if condition. So the dialog box is not getting displayed
[1]https://github.com/wso2/carbon-kernel/commit/2cd76adfe364dbcad208eb9707c1452f7bc092d9
[2]https://owasp.org/owasp-java-encoder/encoder/apidocs/org/owasp/encoder/Encode.html#forJavaScript-java.lang.String
[3]https://github.com/wso2/carbon-kernel/blob/v4.6.1-beta2/core/org.wso2.carbon.ui/src/main/resources/web/dialog/display_messages.jsp#L32
[4] https://github.com/wso2/carbon-kernel/blob/v4.6.1-beta2/core/org.wso2.carbon.ui/src/main/resources/web/dialog/display_messages.jsp#L57


Support MSSQL's prepared statements

As reported via support (private Intercom link):

As you can see the SQL reported by MSSQL is performed using prepared statements, with the sanitisation applied the actual query being performed is removed and replaced with a question mark.

ActiveRecord seems to wrap all queries in prepare statements, which the sql_lexer can't handle right now, resulting in queries like this:

Also, here's how to set up MSSQL on your fancy Apple-Books, kids. 👴🏻

https://app.intercom.io/a/apps/yzor8gyw/inbox/inbox/540654/conversations/16660986713

https://app.intercom.io/a/apps/yzor8gyw/inbox/inbox/unassigned/conversations/19423502644

https://app.intercom.io/a/apps/yzor8gyw/inbox/inbox/540654/conversations/25252473951

https://app.intercom.com/a/inbox/yzor8gyw/inbox/shared/unassigned/conversation/16410700312839?view=TableFullscreen


Made test-pr workflow jobs sequential

#992  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


fix memory leak for OptionalBinder with PreDestroy

If OptionalBinder is used with a type that has a PreDestroy
method, then PreDestroyMonitor will add a cleanup action each
time that type is injected. If this happens a lot, e.g. using
it with RequestScoped, then it can quickly fill up the heap
and cause OOM.
@tcellucci The optional* test cases reproduce the issue. Trying
your suggestion of just ignoring bindings with no scope seems to
have worked in that it passed the tests (I needed to add a scope to
one class for some Nullable tests). I don't know if it is the best way
to fix this issue, but it should avoid the memory leak.
/cc @vfilanovsky

To keep the context in one place, @twicksell has some concerns about ignoring the cleanup for the unscoped objects. The Governator maintainers are investigating an alternative fix.


Add sudo chown -R vscode:vscode ${ANDROID_HOME} to android-cli

This should, hopefully, fix #7.
I HAVE NOT (!) tested this specific change - I'm not sure how I could "locally" test a dev container feature?
I HAVE however tested manually running sudo chown -R vscode:vscode /opt/android/ in a Codespace AFTER install, and it helps.
I don't know how to avoid hard-coding the vscode:vscode UID/GID in the chown... the install.sh script (clearly) runs as root; I'm not sure if Dev Containers have some ENV var which specifies "the UID/GID under which the workspace will eventually run"?
@akhildevelops would you be willing to merge this as-is? I can test it after you've merged it; great if it works, if it does not, we can revert it.
@jingtang10 FYI, this MAY fix https://github.com/google/android-fhir/issues/2614.

I don't know how to avoid hard-coding the vscode:vscode UID/GID in the chown... the install.sh script (clearly) runs as root; I'm not sure if Dev Containers have some ENV var which specifies "the UID/GID under which the workspace will eventually run"?

I've briefly glanced over https://containers.dev/implementors/spec/, but cannot find anything. Let's just hard-code vscode:vscode then - no harm done.

@vorburger let me know if this pr need to be reverted after testing

@akhildevelops I've tested it, and it seem to work great! Thank You for merging this.

Actually I spoke too soon - while I still think (hope) this will work, I think it would still need a release; see #9.

@vorburger @akhildevelops
With this change, it no longer works in codespace.


Retry on team read and team parent_id read

Release 4.19.1
description
When changing a team name which has childs (and also changing the parent name accordingly in the childs) and applying it to all of it at the same time, then we 99% about team not found.
This is due to the fact that the parent name can be updated in the child teams first. Then they will try to validate the parent by url and name and this does not exist yet and will fail.
To mitigate this issue, I have implemented a loop with retries for that. During the retry time (meanwhile) the parent team will already have updated and the child team calls will succeed.
Note on tagging
I will tag it with 4.19.1 (it is then out-of-sync with upstream, but we already have ourselves the 4.19.0 version with assets attached)
Informed upstream
Informed the author in upstream with clears steps on how to reproduce: https://github.com/integrations/terraform-provider-github/pull/802#issuecomment-1007382275

Converting back to draft as I am getting errors on terraform destroy related to the changes:
╷
│ Error: Plugin did not respond
│
│   with module.team["dynamite"].github_team.team,
│   on modules/team/main.tf line 15, in resource "github_team" "team":
│   15: resource "github_team" "team" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
2022-01-07T14:49:36.307+0100 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2022-01-07T14:49:36.307+0100 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock

Stack trace from the terraform-provider-github_4.19.0_linux_amd64 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0xc310b9]

goroutine 32 [running]:
github.com/terraform-providers/terraform-provider-github/github.resourceGithubTeamRead(0xc0003a7730, {0xca22e0, 0xc0005d4800})
        /data/github/resource_github_team.go:205 +0x979
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000596100, 0xc000619cc0, {0xca22e0, 0xc0005d4800})
        /data/vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/resource.go:455 +0x1aa
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc00020a010, {0xc000619ae0, 0x4b5e46}, 0xc000619ae0)
        /data/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin/grpc_provider.go:525 +0x34b
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler({0xdfdc40, 0xc00020a010}, {0xfc8c50, 0xc000209f80}, 0xc00027d4a0, 0x0)
        /data/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5/tfplugin5.pb.go:3153 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000490160, {0xfd6448, 0xc000642000}, 0xc0006ea800, 0xc000208780, 0x15d8d70, 0x0)
        /data/vendor/google.golang.org/grpc/server.go:995 +0xe0d
google.golang.org/grpc.(*Server).handleStream(0xc000490160, {0xfd6448, 0xc000642000}, 0xc0006ea800, 0x0)
        /data/vendor/google.golang.org/grpc/server.go:1275 +0xa56
google.golang.org/grpc.(*Server).serveStreams.func1.1()
        /data/vendor/google.golang.org/grpc/server.go:710 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
        /data/vendor/google.golang.org/grpc/server.go:708 +0xef

Error: The terraform-provider-github_4.19.0_linux_amd64 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

2022-01-07T14:49:36.308+0100 [DEBUG] provider: plugin exited


AVD ShortPath for Public troubleshooting script does not give clear outputs

Hi Azure Team,
I'm struggling to get AVD ShortPath for public up and running through a third party NVA.
However, in one of my test cases, I had the following setup:

AVD Client
Routes everything (0/0) directly to Internet

I re-ran the troubleshooting script and recognized that the error output (red font) is the same as when I route the traffic through the NVA.
Error Message:
Failed to communicate [2a01:111:202f::155]:3478 with error: Unable to receive data, check if firewall allows access to [2a01:111:202f::155]:3478
Local NAT does not use port preservation, custom port range may not work with Shortpath

However, the curious thing in my opinion is, that AVD Shortpath for Public is working:

Can you explain what's the problem here with this troubleshooting script, since I route everything to next hop internet, but I get this error message and still be able to establish shortpath connection?
Thank you!
Best
Daniel

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

ID: 485a0823-340a-3eeb-1ab9-f4eb96a28005
Version Independent ID: 651d5e74-4308-3f2a-e541-d741750f1d29
Content: Azure Virtual Desktop RDP Shortpath for public networks (preview) - Azure
Content Source: articles/virtual-desktop/shortpath-public.md
Service: virtual-desktop
GitHub Login: @femila
Microsoft Alias: femila

@dani3lheidemann The error is referring to IPV6, so perhaps this is working for IPv4 but not IPv6.
I'd recommend posting your question in https://docs.microsoft.com/en-us/answers/products/azure?product=all since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread.
If you feel there are documentation changes that need to be made please open a new issue with those suggestions.


Bind config

Create a configuration file which must be root owned to configure what directories/paths to bind mount into the container.

As of [master 24df2e4] the basis for this RFE is working. Still needs more work.

Basic configuration file support is working, including mounts.


Negative example is confusing

The example of:
If they aren't defined by an ADMX. For example, Password policy - minimum password age.
is confusing, as depending on how you read it, it implies that Minimum Password Age can not be set via this option.
The example/reference should be reworded.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: becd9bd1-6396-3f4a-cc78-c9a06b781516
Version Independent ID: efeec2a0-08b0-d1fc-72c5-14c23fa11397
Content: Policy CSP - ControlPolicyConflict - Windows Client Management
Content Source: windows/client-management/mdm/policy-csp-controlpolicyconflict.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@D-Jeffrey I've updated the doc in question to hopefully make it clearer. The change should be live later today.

في الأربعاء، ٣٠ نوفمبر ٢٠٢٢, ١٢:٥٣ ص Jeff Borsecnik <
@.***> كتب:

Closed #10708
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/10708 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/10708#event-7917132983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3PX5VCGCB764YK5YGTTJC3WK2COVANCNFSM53PFRFSA
.
You are receiving this because you are subscribed to this thread.Message
ID: <MicrosoftDocs/windows-itpro-docs/issue/10708/issue_event/7917132983@
github.com>


fix: cryptic error message + feat: # indicates comment column

Types of changes

[ ] Hot fix (emergency fix and release)
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation (change which affects the documentation site)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Release (develop -> main)

Quality assurance (all should be covered).

[x] My code follows the code style of this project.
[ ] Documentation for my change is up to date?
[x] My PR meets testing requirements.
[x] All new and existing tests passed.
[x] All commits are signed-off.

Summary
fix - improved error message when csv cell contains bad data
feat - ignore column when heading starts with #
Key links:

Sonar coverage

Before you merge

Ensure it is a 'squash commit' if not a release.
Ensure CI is currently passing
Check sonar. If you are working for a fork a maintainer will reach out, if required.

Help information for csv-to-oscal-cd task.

Purpose: From csv produce OSCAL component_definition file.

Configuration flags sit under [task.csv-to-oscal-cd]:
  title                = (required) the component definition title.
  version              = (required) the component definition version.
  csv-file             = (required) the path of the csv file. [1st row are column headings; 2nd row are column descriptions; 3rd row and beyond is data]
  required columns:      $$Component_Title
                         $$Component_Description
                         $$Component_Type
                         $$Rule_Id
                         $$Rule_Description (see note 1)
                         $$Profile_Source (see note 1)
                         $$Profile_Description (see note 1)
                         $$Control_Id_List (see note 1)
                         $$Namespace
  optional columns:      $Parameter_Id (see note 1)
                         $Parameter_Description (see note 1)
                         $Parameter_Value_Alternatives (see note 1)
                         $Parameter_Value_Default (see note 1)
                         $Check_Id (see note 2)
                         $Check_Description (see note 2)
  comment columns:       #Informational (see note 3)
  output-dir           = (required) the path of the output directory for synthesized OSCAL .json files.
  component-definition = (optional) the path of the existing component-definition OSCAL .json file.
  class.column-name    = (optional) the class to associate with the specified column name, e.g. class.Rule_Id = scc_class
  output-overwrite     = (optional) true [default] or false; replace existing output when true.
  validate-controls    = (optional) on, warn, or off [default]; validate controls exist in resolved profile.

Notes: [1] column is ignored for validation component type
       [2] column is required for validation component type
       [3] column name starting with # causes column to be ignored


Error:[WebHDFS] when submit a job

Last week the cluster was replaced with a new master node and redeployed to the same version v0.14.0 as before.  The worker node was not changed
But now submitting the task will pop up a window with a long paragraph about the WebHDFS Container permission rejection, causing the task to fail to be submitted.
Some keywords:    Error:[WebHDFS] 403;   org.apache.hadoop.security.AccessControlException; Permission denied: user=admin, access=WRITE;    container supergroup:drwxr-xr-x.
What's the problem? How to solve it?

since the master contains critical Hadoop component (like HDFS name node), removing master node without backing up data will result in loss of HDFS metadata. Hadoop community should have enough discussion for the details.

@fanyangCS Thank you very much. Very useful. So one possible solution is to reset all compute nodes?

If you don't mind losing all the data, resetting should work.


Extra padding on android and ios ,

Environment
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 57.86 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 15.2.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 28, 30
Build Tools: 28.0.3, 30.0.3
System Images: android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>53283
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.9.0 => 16.9.0
react-native: ^0.63.2 => 0.63.4
react-native-macos: N

Reproducible Demo

@HITESH122 Could you provide more context?

@HITESH122 Could you provide more context?

My app is also like this. Although I have not tested on IOS.

@HITESH122 Could you provide more context?

@wojteg1337 I need to plot markers according to percentage but slider thumb is not starting from extreme left for ios its taking the slight padding

Same thing is happening on Android emulator (and I suppose the same on physical device). Can't get it to be the exact full width of the container, has some padding I suppose.

Same thing is happening on Android emulator (and I suppose the same on physical device). Can't get it to be the exact full width of the container, has some padding, though I looked in the src/js/Slider.js and couldn't find anything that would cause it to have paddings?

Hello @pstevovski  use this pr for android fix
https://github.com/callstack/react-native-slider/pull/170
For ios We need to get some solution

Same thing is happening on Android emulator (and I suppose the same on physical device). Can't get it to be the exact full width of the container, has some padding, though I looked in the src/js/Slider.js and couldn't find anything that would cause it to have paddings?

Hello @pstevovski use this pr for android fix
#170
For ios We need to get some solution

Still not working on android

Same issue for me on android

Facing same issue on android. And giving padding in styles isn't helping

16 months later...

@BartoszKlonowski It would be nice if we could fix the padding issue

This issue is a duplicate of #98. Please track the progress in original issue.


Failed to upload reports when trying to upload to Beacons

Description
I thought I had enabled automatic upload, but turns out I hadn't and now I have about ~20000 non-uploaded reports in the app. Clicking "Send reports" results in the "Failed to upload reports" dialog, clicking it a second tim after this crashes the app.
App variant
fdroid
Version
1.3.1
Device
Samsung A12
Android version
Android 13
Logs
No response
New bug

[X] I have checked that this bug has not been reported before

BeaconDB is currently experiencing an outage, I'm posting updates in the Matrix room and will comment here once things are back online :)

Back now.
But yeah, failing to upload to the server shouldn't crash the app.

The crash should be fixed in master branch. I'll do some testing and close the issue if I can't reproduce this

Closing this issue because the crash has been fixed


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.10.70 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cannot upgrade Microsoft.VC++2015-2019Redist-x64

Create issues related to the winget.exe client here

Brief description of your issue

Cannot upgrade Microsoft.VC++2015-2019Redist-x64
Steps to reproduce
winget upgrade Microsoft.VC++2015-2019Redist-x64

Expected behavior
Microsoft.VC++2015-2019Redist-x64 upgrades.

Actual behavior

Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2019 Redistributable (x64)               Microsoft.VC++2015-2019Redist-x64
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29913 {03d1453c-7d5c-479c-afea-8482f406e036}

Environment
Windows Package Manager v1.0.11692

Windows: Windows.Desktop v10.0.19043.1237
Package: Microsoft.DesktopAppInstaller v1.12.11692.0

I think if you use the --exact flag, it would resolve the issue.

Unfortunately it does not:
PS> winget upgrade Microsoft.VC++2015-2019Redist-x64 --exact
Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2019 Redistributable (x64)               Microsoft.VC++2015-2019Redist-x64
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29913 {03d1453c-7d5c-479c-afea-8482f406e036}

Try now, the issue is probably caused by winget-cli stripping away x64/x86 and version from the PackageName.

Not sure why winget source refresh didn't throw a error, but try winget source update
Technically {03d1453c-7d5c-479c-afea-8482f406e036} is linked to Microsoft Visual C++ 2015-2019 Redistributable (x86) so it should look at it as a different package..

Sorry, the command should be update. I typed here differently than I typed in the terminal. That's the full thing:
PS C:\Users\liuha> winget source update
Updating all sources...
Updating source: winget...
Done
PS C:\Users\liuha> winget upgrade Microsoft.VC++2015-2019Redist-x64 --exact
Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2019 Redistributable (x64)               Microsoft.VC++2015-2019Redist-x64
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29913 {03d1453c-7d5c-479c-afea-8482f406e036}

@andyliuhaowen depending if you want to do this, you can try winget upgrade --all which should bypass this issue
@denelon any clue why --exact is not working/being ignored? We have had this issue for quite some time but i think these issues have been redirected from winget-cli to winget-pkgs
Issue 2; why is Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29913 not assigned ID Microsoft Visual C++ 2015-2019 Redistributable?
Issue 3: IIRC there are multiple issues with winget upgrade <ID> <sub commands>, IIRC example winget upgrade <ID> --silent

I'm waiting on the ability to pin a package to do upgrade --all. Following that features with all eagerness :)

@andyliuhaowen depending if you want to do this, you can try winget upgrade --all which should bypass this issue
@denelon any clue why --exact is not working/being ignored? We have had this issue for quite some time but i think these issues have been redirected from winget-cli to winget-pkgs
Issue 2; why is Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29913 not assigned ID Microsoft Visual C++ 2015-2019 Redistributable?
Issue 3: IIRC there are multiple issues with winget upgrade <ID> <sub commands>, IIRC example winget upgrade <ID> --silent

I can answer question two, as I used to directly update current manifest but not create a new one. This is my fault.

Any update on this?

@denelon can we get a roadmap for winget-pkgs?
winget-cli release seems to be 1.1.12653 while the pre-release is 1.1.12701, however my client seems to be 1.2.3131-preview?
According to this logic manifest schema 1.1.0 should be usable, and manifest schema 1.2.0 for whatever magic client i got?..

Actually, i'm dumb, this is a winget-cli thing, its on the winget 1.3.0 milestone https://github.com/microsoft/winget-cli/milestone/37 which is ETA next year

I'm probably going to have to move some of the 1.2 milestone work into 1.3. We have far less resources due to all the remaining PTO to get all the scope we were aiming for. I'm playing catch up right now to adjust estimates. We also have some internal engineering work related to changes with some of our dependent services that was unanticipated.

To update:
PS > winget upgrade
Name                                             Id                                Version        Available      Source
-----------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2013 Redistributable (x64)  Microsoft.VC++2013Redist-x64      12.0.30501.0   12.0.40664.0   winget
Microsoft Visual C++ 2008 Redistributable - x64  Microsoft.VC++2008Redist-x64      9.0.30729.4148 9.0.30729.6161 winget
Microsoft Visual C++ 2015-2022 Redistributable … Microsoft.VC++2015-2022Redist-x64 14.30.30704.0  14.31.30818.0  winget
...
7 upgrades available.

However:
PS > winget upgrade Microsoft.VC++2008Redist-x64
No installed package found matching input criteria.
PS > winget upgrade Microsoft.VC++2008Redist-x64 --exact
No installed package found matching input criteria.

PS > winget upgrade Microsoft.VC++2013Redist-x64
No installed package found matching input criteria.
PS > winget upgrade Microsoft.VC++2013Redist-x64 --exact
No installed package found matching input criteria.

PS > winget upgrade Microsoft.VC++2015-2022Redist-x64 --exact
No applicable update found.
PS > winget upgrade Microsoft.VC++2015-2022Redist-x64
No applicable update found.

Workaround uninstall until it's no longer listed via winget uninstall --id Microsoft.VC++2015-2022Redist-x64 and then reinstall via winget install --id Microsoft.VC++2015-2022Redist-x64
But attention, the uninstall may reboot the computer without warning...

That helped. But this is what I found:
winget output:
PS > winget upgrade
Name                                                 Id                                Version       Available      Source
--------------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86) Microsoft.VC++2015-2022Redist-x86 14.30.30704.0 14.31.30919.0  winget
2 upgrades available.

But:

It seems that winget incorrectly retrieved the 64-bit version number.

The irony that it's a Microsoft package is not lost on us. We've been working through the matching logic both in terms of the new schema entries for Apps & Features as well as some additional logic for better matching when strings reported in Apps & Features depend on architecture.

I am having the same issue,
When I run the following command winget upgrade I see the following
Name                                            Id                           Version          Available        Source
---------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2008 Redistributable - x64 Microsoft.VC++2008Redist-x64 9.0.30729.4148   9.0.30729.6161   winget

After that when I try to run winget upgrade --id Microsoft.VC++2008Redist-x64 I can see the following
Multiple installed packages found matching input criteria. Please refine the input.
Name                                                           Id
-----------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2008 Redistributable - x64                Microsoft.VC++2008Redist-x64
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161 {5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161 {9BE518E6-ECC6-35A9-88E4-87755C07200F}

This doesn't make any sense right? It (winget) should have chosen the first one, isn't it? Since the Id is different for all the packages! Moreover the string-based alphanumeric Id (Microsoft.VC++2008Redist-x64) is what gave the issue in the first place how come it is still the part of the output? The other two Id which are GUIDs may make sense as the output! Which brings me to my next question can't we pass GUID as input to winget upgrade --id ? Something like winget upgrade --id 5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4. Didn't work for me I got No installed package found matching input criteria.. Isn't me specifing a GUID "refine the  input"?
Anyone any insights?

The issue comes from winget-cli stripping away x64/x86 and the version number so it only sees Microsoft Visual C++ 2008 Redistributable = 2 matches.
However its a bit weird because winget upgrade and winget list can spot the update (possibly because of the ID), but when you do winget upgrade Microsoft.VC++2008Redist-x64 it updates Microsoft Visual C++ 2008 Redistributable (x64) to 9.0.30729.6161, but when when you try to update Microsoft.VC++2008Redist-x86 to 9.0.30729.6161 it sees that Microsoft Visual C++ 2008 Redistributable (x64) is already up to date...
The second issue here is that it installed 9.0.30729.6161 and left 9.0.30729.4148 installed so you currently have 2 Microsoft Visual C++ 2008 Redistributable - x64 installed.
I was actually looking at this package yesterday and saw no critical reason to update other than the UpgradeBehaviour which coincidentally affected you 🤔

Several other issues are tracking issues related to VC Runtimes and side-by-side. I'm closing this issue in favor of the work over at the CLI.


Explain partition key for rate limiting

Description
I'm using the partitioned rate limiter, which involves a "partition key" concept. Unfortunately, that's not explained anywhere.
After trial-and-error I realised:

for incoming requests: it allows for policies-per-users, e.g. partitioned by username, IP address, access token
for outgoing requests to external APIs: one would probably use a constant partition key, e.g. "aws-sns-service", "azure-auth-service"

It would be helpful to add a small explanation about this concept and how to use it.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/performance/rate-limit?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/performance/rate-limit.md
Document ID
bb96b20f-0991-d6de-4d98-192cd469460f
Article author
@tdykstra

After trial-and-error I realized: for incoming requests: it allows for policies-per-users, e.g. partitioned by username, IP address, access token

That's shown in a couple places.
ASP.NET Core rate limiting middleware goes into even more detail.
@Kahbazi @maartenba can be called in more info needed and backup @wtgodbe

I suspect the reason it was closed was the thought that the means for answering the question had been provided -- either by checking the referenced blog post or by asking one of the individuals tagged as resources if more information was needed.


Mark as webpack 4 compatible

The webpack version in pdfjs-dist is currently  "^2.0.0 || ^3.0.0" though it works well with "^4.0.0" as well.
Can you please mark this as 4.x compatible ?
Webpack 4 has been out for a while and my applications currently using webpack 4.x are using pdfjs-dist without any problems but when I run npm install I get a spurious peer dependency version mismatch warning which I'd like to get rid of.

I tried upgrading to Webpack 4 before and even though it worked locally, the testing infrastructure choked on it for reasons still unknown to me. Perhaps we should try again.

Hi Tim, thanks for looking into this.
If you could point me to the build errors (with webpack 4) I might be able to help with the investigation.

There were no build errors locally, but the test bots timed out after not being able to start the tests after 120 seconds, both on Windows and Linux. I do not recall having seen any errors in those logs.

@timvandermeij is there anything we can do to help? I am also running into this problem - and since I'm at a very large company we need to use a shrinkwrap file, and can't shrinkwrap with errors or warnings :(

Currently debugging a case where webpack 4 production output of pdfjs-dist worker appears to render a mangled font in one particular case.  Using a debug build of the worker works fine.  Have not yet verified webpack 3 behavior because downgrading my config is proving troublesome.

@jasco Any news on this issue ? Did you find hints on what causes the mangled fonts ?

@codii yes, actually I did resolve the issue. It was tied to using webpack production optimizations on the PDF worker script. I ended up using the pdfjs-dist distribution's minified worker script as-is without running it through webpack.

Fixed by the pull request above.

Hi, when I switched to webpack 4 and changed the way to set up worker from import pdfjsLib from "pdfjs-dist/webpack"; to pdfjsLib.GlobalWorkerOptions.workerSrc = "/resources/pdf.worker.js"; I faced a problem that worker doesn't work. Despite the fact that the file pdf.worker.js exists in the bundle and is accessible I see the warning in the console Warning: Setting up fake worker.. Did I missed something? Does anyone have any ideas? 🤔

@DenisKrasnov I'm facing similar issue. How did you resolve this?

Looks like it resolved in this solution
try this:
import { PDFJS } from 'pdfjs-dist/build/pdf.combined';
import 'pdfjs-dist/web/compatibility';

maybe you need to use lower version "pdfjs-dist": "1.8.357"

@Kailaash-Balachandran I have just downgraded the webpack to the version 3 but it was 12 months ago and didn't work with it anymore.


[Suggestion] Rename this repo to something indicative of catppuccin

Hi,
So I know this goes against the way all the other Catppuccin ports are named, but I think there's a justification here.
This is how my plugin manager (Lazy) showed an update from Catppuccin:

This is also how it's shown in the plugins list.
I was genuinely confused as to what plugin that was, and had to go inside the plugin folder (which was of course also named nvim) to find out.
Renaming the repo to catppuccin.nvim or nvim-catppuccin will be much clearer and match the naming convention of other Neovim plugins.

  { 'catppuccin/nvim', name = 'catppuccin' },

  { 'catppuccin/nvim', name = 'catppuccin' },

It's nice that there's a way to workaround it. But it's not really a solution.
If you're aware enough of the issue to add a workaround in your own config you probably don't really need it.

It's written in the README for this reason. We use a naming scheme for all of our ports, and breaking it for one when there is already a solution doesnt seem beneficial. We could perhaps make it clearer in the README, and add a line for lazy, though.

It's written in the README for this reason. We use a naming scheme for all of our ports, and breaking it for one when there is already a solution doesnt seem beneficial. We could perhaps make it clearer in the README, and add a line for lazy, though.

That's fair, didn't notice it was in the README.
Though I'm likely not the only one to have missed it.


docs: Add sanjay-saxena.github.io to the showcase

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sanjay Saxena seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @sanjay-saxena,
thank you for adding your page to the showcase. In order to merge your pull request please make sure to sign the contributor license agreement that is linked in the comment above. You only have to do it once and it just takes a few clicks.
Cheers,
Digitalcraftsman

Hi @digitalcraftsman,
I already did that at the time of submitting the pull-request. Note the following:
You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!

Ok I see the issue. GitHub / the CLA assistant identity users based on their email address. You seem to have created a commit that isn't associated with you GitHub account. Hence the assistant is unable to identify you.
The easiest way to fix this is to add the email address you used in the commit for this PR to the settings.

Hi @digitalcraftsman,
My github account sanjay-saxena has email set. Also, whenever this PR is being updated,  I am receiving emails in the same account. Can you please let me know how to fix this issue?
Thanks!

I will re-issue a new PR with user.email property set to the same value as to what's specified in my Github account sanjay-saxena.


AEM 6.1 SP2 with gradle

Hi, Currently we are using AEM 6.1 SP2. based on the gradle plugin documents . it support above 6.2 version only.
may i know the impact if we start using for AEM6.1 ?
Really appreciate your help.

you will need to use e.g  https://github.com/janvolck/gradle-scr-plugin or just write XML descriptors manually instead of generating them by this plugin; the root cause is http://blogs.adobe.com/experiencedelivers/experience-management/osgi/using-osgi-annotations-aem6-2/
the SCR support is not included in GAP as of it is deprecated and quality of SCR generator is not good anough / it has classloading issues causing a problems when integrating into Gradle.


Rust-Dev causes more assembly movements

So, after I had to do some little magic to keep oxide up with garry's cleanup to keep my server running I thought I'd share the diff for next weeks update in advance to make it go smoothly (without the need to search for the right assemblies to add):
 .../Dependencies/Assembly-CSharp-firstpass.dll     | Bin 669184 -> 639488 bytes
 .../Dependencies/Assembly-CSharp.dll               | Bin 1340928 -> 1073664 bytes
 .../Dependencies/Facepunch.Network.dll             | Bin 0 -> 20480 bytes
 .../Dependencies/Facepunch.System.dll              | Bin 0 -> 11264 bytes
 .../Dependencies/Facepunch.UnityEngine.dll         | Bin 0 -> 4608 bytes
 .../Oxide.Game.Rust/Dependencies/Rust.Data.dll     | Bin 0 -> 166400 bytes
 .../Dependencies/UnityEngine.UI.dll                | Bin 213504 -> 213504 bytes
 .../Oxide.Game.Rust/Dependencies/UnityEngine.dll   | Bin 847360 -> 847872 bytes
 Games/Unity/Oxide.Game.Rust/Libraries/Rust.cs      |   1 +
 Games/Unity/Oxide.Game.Rust/Rust.csproj            |  12 ++++++++++++
 Games/Unity/Oxide.Game.Rust/RustExtension.cs       |   2 +-
 11 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp-firstpass.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp-firstpass.dll
index d63a2a7..06ccfa7 100644
Binary files a/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp-firstpass.dll and b/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp-firstpass.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp.dll
index b3ab6d7..39e6c78 100644
Binary files a/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp.dll and b/Games/Unity/Oxide.Game.Rust/Dependencies/Assembly-CSharp.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.Network.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.Network.dll
new file mode 100644
index 0000000..5bc0789
Binary files /dev/null and b/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.Network.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.System.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.System.dll
new file mode 100644
index 0000000..a895cc6
Binary files /dev/null and b/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.System.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.UnityEngine.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.UnityEngine.dll
new file mode 100644
index 0000000..44f0447
Binary files /dev/null and b/Games/Unity/Oxide.Game.Rust/Dependencies/Facepunch.UnityEngine.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/Rust.Data.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/Rust.Data.dll
new file mode 100644
index 0000000..3f7a234
Binary files /dev/null and b/Games/Unity/Oxide.Game.Rust/Dependencies/Rust.Data.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.UI.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.UI.dll
index d01316e..fc9642d 100644
Binary files a/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.UI.dll and b/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.UI.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.dll b/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.dll
index ea55163..3d41614 100644
Binary files a/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.dll and b/Games/Unity/Oxide.Game.Rust/Dependencies/UnityEngine.dll differ
diff --git a/Games/Unity/Oxide.Game.Rust/Libraries/Rust.cs b/Games/Unity/Oxide.Game.Rust/Libraries/Rust.cs
index d0ffe04..f78dc03 100644
--- a/Games/Unity/Oxide.Game.Rust/Libraries/Rust.cs
+++ b/Games/Unity/Oxide.Game.Rust/Libraries/Rust.cs
@@ -2,6 +2,7 @@
 using System.Linq;
 using System.Reflection;

+using Facepunch;
 using Network;
 using UnityEngine;

diff --git a/Games/Unity/Oxide.Game.Rust/Rust.csproj b/Games/Unity/Oxide.Game.Rust/Rust.csproj
index c9a4d28..86099d3 100644
--- a/Games/Unity/Oxide.Game.Rust/Rust.csproj
+++ b/Games/Unity/Oxide.Game.Rust/Rust.csproj
@@ -56,6 +56,15 @@
     <Reference Include="Assembly-CSharp-firstpass">
       <HintPath>Dependencies\Assembly-CSharp-firstpass.dll</HintPath>
     </Reference>
+    <Reference Include="Facepunch.Network">
+      <HintPath>Dependencies\Facepunch.Network.dll</HintPath>
+    </Reference>
+    <Reference Include="Facepunch.System">
+      <HintPath>Dependencies\Facepunch.System.dll</HintPath>
+    </Reference>
+    <Reference Include="Facepunch.UnityEngine">
+      <HintPath>Dependencies\Facepunch.UnityEngine.dll</HintPath>
+    </Reference>
     <Reference Include="Newtonsoft.Json">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\..\..\Oxide.Core\Dependencies\Newtonsoft.Json.dll</HintPath>
@@ -64,6 +73,9 @@
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\..\..\Oxide.Core\Dependencies\protobuf-net.dll</HintPath>
     </Reference>
+    <Reference Include="Rust.Data">
+      <HintPath>Dependencies\Rust.Data.dll</HintPath>
+    </Reference>
     <Reference Include="System" />
     <Reference Include="System.Core" />
     <Reference Include="UnityEngine">
diff --git a/Games/Unity/Oxide.Game.Rust/RustExtension.cs b/Games/Unity/Oxide.Game.Rust/RustExtension.cs
index 1edd3f2..84096e4 100644
--- a/Games/Unity/Oxide.Game.Rust/RustExtension.cs
+++ b/Games/Unity/Oxide.Game.Rust/RustExtension.cs
@@ -37,7 +37,7 @@ public class RustExtension : Extension
         /// </summary>
         public override string Author => "Oxide Team";

-        public override string[] WhitelistAssemblies => new[] { "Assembly-CSharp", "Assembly-CSharp-firstpass", "DestMath", "mscorlib", "Oxide.Core", "Oxide.Game.Rust", "protobuf-net", "RustBuild", "System", "System.Core", "UnityEngine" };
+        public override string[] WhitelistAssemblies => new[] { "Assembly-CSharp", "Assembly-CSharp-firstpass", "Facepunch.Network", "Facepunch.System", "Facepunch.UnityEngine", "DestMath", "mscorlib", "Oxide.Core", "Oxide.Game.Rust", "protobuf-net", "RustBuild", "Rust.Data", "System", "System.Core", "UnityEngine" };
         public override string[] WhitelistNamespaces => new[] { "ConVar", "Dest", "Facepunch", "Network", "Oxide.Game.Rust.Cui", "ProtoBuf", "PVT", "Rust", "Steamworks", "System.Collections", "System.Security.Cryptography", "System.Text", "UnityEngine" };

         public static string[] Filter =

"Facepunch.UnityEngine" currently is more or less empty, but I guess that will change during next week...
I omited the hook updates as they are easy enough to do, they're mostly hash updates with some index changes
PS: I still find it hard to get the right place for such things, I mean Oxide could use some branches people could push to where upcoming updates are prepared so they can go into master the second it turns stable, or something like that.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28662094-rust-dev-causes-more-assembly-movements?utm_campaign=plugin&utm_content=tracker%2F6855523&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6855523&utm_medium=issues&utm_source=github).

Thanks for the head start! There were a couple other changes too, but it's prepped for the update so far. As for the branches, that may be something we can do in the future.


chore(main): release 2.0.0

:robot: I have created a release beep boop
2.0.0 (2023-05-15)
⚠ BREAKING CHANGES

Rename Object Store and related APIs to KV Store (#476)

Features

Rename Object Store and related APIs to KV Store (#476) (01a4729)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fastly/js-compute-runtime/releases/tag/v2.0.0 :sunflower:


Plotter

Hi guys,
Could you quickly take a look at my plot_mesh() method? This is intended to simply render the 2D mesh neatly using Pyvista, for both triangles and quadrangles element type. However, I suspect that the outputted mesh is wrong, as it seems to be quite ordered... do you guys have any idea why this might be occurring? Any tips would be much appreciated!
Thanks

Hi Sacha, I accidentally deleted it. Normally, it wouldn't have been deleted, but I think you accidentally pushed plotter files to the mesher branch, so it's already merged to the main with #13. We can create a new branch for further updates for plotter.


Devel merge

Create Contributing.md
Added new guidelines
Added maintainers

After merging this create a PR that will merge devel and master


Capture delete key

After working on a doc for a while, I hit Delete on Chrome on OS X and the browser went back to the previous page losing all of my data. Though connecting to Google Drive is probably a way to protect against this scenario, Google drive permissions are not clear so that's a peripheral issue. I think it'd be good to capture the delete key press or anything that might cause a page reload and put up a confirm box like so many sites these days do.

Yup just lost about 5 minutes of work twice via this exact same issue.
Please consider adding a confirmation box!  :'(

Yep, good idea.

Any progress?

This shouldn't be happening any more - or if it does, all drawing state is stored in local storage so you shouldn't lose any progress.
If you manage to create a situation where you are accidentally invoking browser actions pressing del/backspace etc let me know as I can't reproduce on the new version.


Add uncertainties to ITR tool

There are two ways we may find uncertainties in data: (1) it is reported to us when an explicit uncertainty, or (2) it is estimated in a way that introduces uncertainties.
In the first instance, a 2021 BCG report tells that only 9% of reporting companies can estimate their emissions comprehensively, and of those, it was estimated that there may be 40% uncertainty with respect to those numbers.
In the second instance, we may be giving an aggregate number (such as Scope 3 emissions) that we cannot properly deal with as such.  But we can use sectoral averages to break it into constituent elements that then have validity with respect to various benchmarks.  We can use an uncertainty to reflect that our allocation into components has uncertainties.  (But those uncertainties are far more manageable than a whole-cloth number where more than half should be discarded lest it lead to certainly wrong double-counting.)
Presently we use float inputs to Pint to create unit-aware data.  This issue will be addressed by feeding float inputs to Python uncertainties which we should then be able to wrap with units.
Presently we store unitized data in Trino by dequantifying the data into a magnitude and a unit.  For example  to store GHG Scope 1 emissions in a table, the value ghg_s1 becomes two columns: ghg_s1 (a floating point value) and ghg_s1_unit(a string that can be parsed by the Pint registry).  We will want to enhance this to create three columns: a magnitude (ghg_s1), a unit (ghg_s1_unit), and an uncertainty (ghg_s1_unc).
Unit tests for uncertainties should also be created, covering at least:

[ ] umean (calculate mean of numbers with uncertainties--should push upstream to uncertainties)
[ ] umedian (calculate the median of numbers with uncertainties--should push upstream to uncertainties)
[ ] pd.Series functions with UFloats only, interoperating with UFloat-only series
[ ] pd.DataFrame functions with UFloats only, interoperating with UFloat-only series
[ ] Demonstrate round-trips to Trino database
[ ] Demonstrate usage of uncertainty data using Trino as a source
[ ] Test NaN and pd.NA handling (currently we only handle NaN and don't try to use pd.NA for missing data)

The pint people are not yet convinced the following are generally possible, but it looks to me like they are, based on how well duck-arrays work today.  We should create test cases to prove the case

[ ] pd.Series functions with UFloats only, interoperating with mixed UFloat and float64 series
[ ] pd.Series functions with mixed UFloats and float64, interoperating with mixed UFloat and float64 series
[ ] pd.DataFrame functions with UFloats only, interoperating with mixed UFloat and float64 series
[ ] pd.DataFrame functions with mixed UFloats and float64, interoperating with mixed UFloat and float64 series

I have run the Pandas (200K unit tests), Pint, and Pint-Pandas test suites, and submitted some test cases to Pint and Pint-Pandas.  But we should have our own unit-tests that test the sanity of what we are doing in our own realm, that would not make for good unit test cases in other realms.  The Pandas people rejected a testcase I submitted to them because they don't have uncertainties in their CI/CD system (and are not yet ready to add it).
@LeylaJavadova @ImkeHorten

@MichaelTiemannOSC since we currently only work with ghg_s1s2, it will make sense for me, to start with ghg_s1s2_unc, right?
In our existing default sample xls, which uncertainty would you suggest me to give to existing records? Since we didn't track it before, and it's uncertainty is most probably not zero, what will be our starting value?

Yes.  ghg_s1 was just an example identifier name.  I could have used foo, foo_unit, and foo_unc.
What I'd like to do is to start by only applying uncertainties we believe we are introducing, based on a particular inference/imputation.  Later we may find that it's acceptable to report with an uncertainty value of X or to report that one is assuring to a level of Y, but that's a bit of a ways out.  The first thing is to see what happens to our math when we change from unitized quantities to unitized uncertainties.

@FannySternfeld The pint people not only accepted my uncertainties changes, but they made me a collaborator in the project.  So that's good news.  I got the impression from some of your colleagues that being able to graph uncertainties (especially for Scope 3) is a very nice feature of the tool.  To make it more official, the tool needs some unit tests (as described above).
If this is something you definitely don't want to do, I'll unassign it to you.  If it is something you are OK adding to the queue, it's probably something that can wait until the end of the year.


_fit() method throws ShapeError

Describe the bug
The quick start code throws an exception when run on my panel data frame, specifically in the _fit() method.
The data frame schema is :
OrderedDict([('restaurant_id', UInt64),              ('insertdate', Datetime(time_unit='ns', time_zone=None)),              ('prep_time', Int64)])
The data frame shape is:
(735_109,3)
The data frame time column is not regularly sampled therefore we ran the resampling method:
trans = resample(freq='1m', agg_method='mean', impute_method='ffill')
y= final_df.pipe(trans).collect()

We tried the forward fill. backward fill, and zeros as an impute method.
Screenshots

Desktop:

Functime Version [0.9.3]
Polars Version [0.19.19]

Potentially related to https://github.com/functime-org/functime/issues/17
Need to create a MRE and double check whether forecast unit tests are still passing.

Ciao @Alla-Z, hope you are doing alright. Do you think you can manage to create a minimal reproducible example (MRE) to see whether the issue is still present in the latest versions of functime?


Minor bug fixes to profile matrix editor

Show input capacity in front end as a disabled box (show the output of the calculation)
Spotted a minor bug with the position relative to buffer radio boxes
Cleaning up attributes of InstalledTechnology class.

A couple of technologies (power-to-gas, neighbourhood battery) give this when I add them to an (existing) LES:

I think it would be nice to put the input and output capacity fields next to each other; either on the same line, or one on top of the other. At the moment they don't appear to be related, and you have to scan diagonally across the page if you want to compare the two:

Perhaps we could move "output capacity" to be where "demand" is currently located, move "input capacity" to where "output capacity" is, and move "demand" to the second line?

... or:

The field name "Input capacity (electricity) [kW]" is not always true: the gas component of the hybrid heat-pump takes gas as the input. If the technology editor has no way of knowing the input carrier, I suggest we just remove "(electricity)" from the title.

... or:

I like the second one better though :+1: It's easier to see for the eye.

the gas component of the hybrid heat-pump takes gas as the input.

We're adding the hybrid heat pump as two separate technologies now, so we do know the carrier if I'm not misaken?

We're adding the hybrid heat pump as two separate technologies now, so we do know the carrier if I'm not misaken?

We do know, and the database/Ruby knows, but I'm not sure if the technology editor has this information? If so, great: we can swap out "electricity" for "gas". If it doesn't, it's not a disaster if we have to remove the carrier name.


SqlQuery missing from EF7... please add

Hi... in EF6 we could query non entity projections with raw SQL using Database.SqlQuery... that was REALLY cool... but I am trying to migrate to EF7 and don't see this method... I looked around and it appears people are saying to use FromSql instead but that's an extension method off of a DbSet... in my case I don't have a DbSet for the type in question because it's not an entity... it's just a plain old projection... pretty please consider bringing SqlQuery to EF7... thank you

Duplicate of https://github.com/aspnet/EntityFramework/issues/1862

In Entity Framework Core, we are not able to return some complex type(columns from different entities) from Stored Procedure using RAW SQL. It alway returns Entity in DbSet. When we are expecting to add support for this functionality in EF Core. What are the alternatives?

@badyalsk The alternative should be Query Types in EF Core 2.1.


Missing menu bar for Linux release

version: 0.7.0
Menu bar has been missing for several version by the way.

@Sluimers Coming back in next release.


The prefix select's element ID was removed, so a DOM-walking we will go.

I'd say just take this out of the yaml, since it's not required? And a good example of why we generally don't put in any non-required elements, so as not to cause errors that really should just be skipped.

I agree. Name prefix nixed.