Add helper functions in getMatchingCentralPaneRouteForState

Details

This PR fixes the issue that appears when we change the selected screen in the settings tab, switch to the chat tab and return to the settings. Then in this tab we should see the previously opened screen, but currently the Profile screen here is always displayed as the initial one.
Fixed Issues

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

Open the settings tab.
Select any screen other than Profile on this tab.
Open the chat tab.
Go back to the settings tab and verify that the screen selected earlier is currently displayed.

[ ] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Same as tests.
PR Author Checklist

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

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

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

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

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

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

Screenshots/Videos
This issue doesn't occur on the small screen size, so the videos are attached only for:

MacOS: Chrome / Safari
MacOS: Desktop

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/47774969/b9820bcc-330c-4752-bdc2-21c4011795ca

MacOS: Desktop

https://github.com/Expensify/App/assets/47774969/e3c1ef90-9369-4f87-ad72-cb4df59fd3fc

@cubuspl42 -> https://github.com/Expensify/App/issues/35613#issuecomment-1948600152
please review this PR when you have time 🙇

Reviewer Checklist

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

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

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

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

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

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

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

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/2590174/ebd307a1-8630-4589-88f8-1e743b7687be

MacOS: Desktop
https://github.com/Expensify/App/assets/2590174/0ad38d16-5929-4d9a-8450-3b9cfbf810d9

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

@cubuspl42 could you check if the regression situchan linked is reproducible and was caused by this PR?

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

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add nice repr s to the reference metadata objects

Please describe the use case that requires this feature.
The Reference metadata objects currently do not have reprs:
(Pdb) str(inputs[0]["reference_meta"].product)
'<ctapipe.io.metadata.Product object at 0x7f82685366d0>'

Describe the solution you'd like
Add reprs

Some have reprs, but it is not consistent.  Could just use the _to_dict() helper function in that directory as a general way.


Events in Shadow DOM Question

Recently, I came across the "Events in Shadow DOM" section in the following excellent article:
https://www.dannymoerkerke.com/blog/web-components-will-replace-your-frontend-framework
I'm just getting to know lit-element and I'm concerned that the Shadow DOM might obstruct what I've had in mind? Essentially, I just want to query for DOM nodes that have the same data-attr prefix and return these as an array. The array would then be processed with RxJS, which would then react to any streamed events coming from the nodes in a given query.
Hopefully this style of reactive event capture can work without to much fuss?

Is normal node query complicated by the Shadow DOM or not? If so what are the workarounds if any?

If I understand you correctly, you could just select from the shadowRoot instead of the document, so from a custom element you could just do this.shadowRoot.querySelectorAll(...) or from document level if you want to get a certain node inside of custom elements, you could do document.querySelectorAll('my-element')[*i*].shadowRoot.querySelectorAll(...).

Thanks for the clarification and confirmation.


Request: Make quickOpen dialog selected item background configurable

The selection background in dark theme is veryx low-contrast and in glare conditions it is downright impossible to make out which item (row) is currently selected.

All configurable: https://code.visualstudio.com/docs/getstarted/theme-color-reference

Oh, sorry then!
I didn't think of list.focusBackground: and list.focusForeground  before.


Support for selection of specific versions per user / sync

First: I love uv, thank you very much for working on such a nice piece of software!
I have a question / feature request which involves installing GDAL (and PyTorch).
Currently, I have project setup with rye to install the Python-bindings for GDAL.GDAL itself is a geo-software written in C++ which is not easy to install, especially having multiple versions of it installed at the same time is nearly impossible, without having conda. Therefore, everyone in our team uses a slightly different version of GDAL, some 3.8.4, some 3.6.4 and so on. All of these are compatible with our code, therefore having different versions installed is no problem. The big problem with the Python-bindings is, that they require the exact same version of python-binding package installed as the currently installed GDAL software. Therefore, I utilized python extras configured with Rye, so that each of us can define their GDAL version when installing the python environment with
rye sync --features gdal38

and I put this in my pyproject.toml:
[project.optional-dependencies]
gdal39 = ["gdal==3.9.2"]
gdal38 = ["gdal==3.8.5"]
gdal384 = ["gdal==3.8.4"]
gdal37 = ["gdal==3.7.3"]
gdal36 = ["gdal==3.6.4"]

A similar thing can be applied to CUDA versions:
[project.optional-dependencies]
cpu = ["torch==2.2.0+cpu", "torchvision==0.17.0+cpu"]
cuda11 = [
    "torch==2.2.0+cu118",
    "torchvision==0.17.0+cu118",
    "cupy-cuda11x>=13.3.0",
    "cucim-cu11>=24.8.0",
]
cuda12 = [
    "torch==2.2.0+cu121",
    "torchvision==0.17.0+cu121",
    "cupy-cuda12x>=13.3.0",
    "cucim-cu12==24.8.*",
]

[[tool.rye.sources]]
name = "nvidia"
url = "https://pypi.nvidia.com"

[[tool.rye.sources]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"

[[tool.rye.sources]]
name = "pytorch-cu11"
url = "https://download.pytorch.org/whl/cu118"

[[tool.rye.sources]]
name = "pytorch-cu12"
url = "https://download.pytorch.org/whl/cu121"

This is probably an antipattern, since it depends on disjoint extras, something @charliermarsh mentioned to be not supported by uv (https://github.com/astral-sh/uv/pull/7745#discussion_r1779668158)
Now to my question: Is there a better way of accomplishing this with uv (or in the future planned)?
If not, I'd like to open a feature request to supporting this use-case. One idea would be custom markers, which could be setted by the user when syncing.

We plan to support disjoint extras in the future, hopefully in the next few weeks or months.

Thank you for the quick reply! Therefore my configuration isn't an antipattern? Looking forward for the feature!


Add not equal comparators (!=)

The qb.Cmp lacks not equal methods related to the operator !=
even though the documentation
https://docs.scylladb.com/getting-started/dml/#select-statement mentions
it.
Closes: #114
Signed-off-by: Pierangelo Di Pilato<EMAIL_ADDRESS>

Call for review: @mmatczuk

Thx!


Unable to access any YouTube video

Checklist

[ Y] I'm reporting a broken site support
[Y ] I've verified that I'm running youtube-dl version 2021.12.17
[ Y] I've checked that all provided URLs are alive and playable in a browser
[ Y] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ Y] I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl --verbose  https://www.youtube.com/watch?v=mD4J5VUwiAs
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=mD4J5VUwiAs']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.3 (CPython) - Linux-5.2.21-rt15-MANJARO-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] mD4J5VUwiAs: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/me/.local/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/me/.local/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/home/me/.local/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/me/.local/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/me/.local/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

The terminal output itself says to report it here. Usually it just works.... Updated today via pip.

[x] I've searched the bugtracker for similar bug reports including closed ones

Learn how by reading #30839 (again?).

Issues like this pop up regularly. Yes, there is a fix in master, but you should also create a new release. Otherwise package managers like e.g. ports keep installing the old code.

#31585.


Update DomiNodes.toml for testnet-15

Previous merged PR:
https://github.com/anoma/namada-testnets/pull/1486
https://github.com/anoma/namada-testnets/pull/565
Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email, discord, elements telegram, and twitter fields are present and valid

Have you opened a new branch for me to merge?

Have you opened a new PR for me to merge?
hi, yes, I recreated the PR after the bug in worklow was fixed, here is the current one https://github.com/anoma/namada-testnets/pull/1976


Effect level support "Boundless Levels"

Pretty self explanatory.
Allow effect levels to work with Boundless Levels.

Ah, I forgot that vanilla has a hardcoded limit for showing the potion level.
Boundless Levels already patches in support for potion levels in the lang, but the limit in the renderer has to get lifted.

Ah, I forgot that vanilla has a hardcoded limit for showing the potion level.
Boundless Levels already patches in support for potion levels in the lang, but the limit in the renderer has to get lifted.

Released in v1.2.8-pre2.

Released in v1.2.8-pre2.


It is possible use the interactive mode just once

What did you do?

Create a project and generated the bundle

mkdir memcached-operator
cd memcached-operator
operator-sdk init --domain=example.com --repo=github.com/example-inc/memcached-operator
operator-sdk create api --group cache --version v1 --kind Memcached --resource=true --controller=true
make bundle

Run again the make bundle

What did you expect to see?
The interactive mode ask if I would like to keep the previous values informed or inform them again
What did you see instead? Under which circumstances?
The bundle is re-created with the same values informed before.
Environment

operator-sdk version: 4282ce9acdef6d7a1e9f90832db4dc5a212ae850

make bundle uses operator-sdk generate kustomize manifests -q. The default behaviour is to prompt when the CSV metadata does not exist, and not to prompt when it does (since it already exists). If we asked every time, that would make make bundle require interactive input every time, which is a bad UX.
The metadata should change rarely. When it needs to change, there are two options:

Run operator-sdk generate kustomize manifests --interactive to fully re-populate the UI metadata fields.
Manually edit config/manifests/bases/<projectName>.clusterserviceversion.yaml

HI @joelanford,

If we asked every time, that would make make bundle require interactive input every time, which is a bad UX.

IMO it should ask: would you like to change the values [y/n]?

In the bug triage meeting, we agreed in just add in the output the information that the interactive mode will not appear by default in the next times and how users can update and change these values (by the command and/or directly in the file)


🌱 Bump catalogd to v0.27.0

Description
Bump catalogd to v0.27.0 to include latest bug fixes & changes.
Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

We probably going to skip this version. We need another catalogd release and modify the deployment so that we can use insecure TLS.


readme: update information on why specs

Description
We need a clear explanation about why specs and how to think about them.
Opening this PR for feedback.

It looks like this tiny PR was held up by philosophical debates, but I think we'd be better off with imperfect specs guidance than none at all, and the right way to correct any imperfections would be through future PRs.
What I propose is:

The Goals of the specs repo README are to clarify

The structure of the specs repo
what makes a good Spec doc.
what makes a bad Spec doc
How the specs repo should evolve alongside the #Protocol

Non-goals for the specs repo README

not trying to figure out how design docs fit in

It looks to me like the "design docs" content was the main focus of debate here. If instead we just focus on what does/does not go into this repo without worrying about other processes, then I suspect other processes will be better able to shape themselves around it.


Make clip detect a warning message instead of error.

Bump webcomponents rev to 0.6.1 to stop bower from complaining.

I think we need install a specific version of vulcanize, try "sudo npm install -g<EMAIL_ADDRESS>locally and if it works then add it to https://github.com/webrtc/testrtc/blob/master/.travis.yml and see if travis can build successfully.

Yeah, I used @0.7.0 locally and it worked. I can update travis.yml. But first, tell me what's the point of vulcanize, except making the change/test cycle more complicated? It didn't look like the resulting file contained minimized js (or html/css), so IIUC it is mostly about making the load time slightly shorter by making only one request to load the whole app? Is this saving really worth the extra trouble?

I thought I answered this but we have seen significant improvement by using vulcanize on slower connections. I do agree however there is extra work involved using vulcanize.....
When there is some time I plan on making this process better with build scripts and auto deploy etc.

You do not have to worry now, I've submitted a pull request #87 for an issue where I also fix this. So you just need to rebase.

Think this is ready for merge now.

LGTM however there is a dependency issue in ToT right now which will cause polymer elements to fail rendering, see issue #89. I will try to fix it today. Will however merge this.

So what that means is that I won't be able to push the latest ToT to GAE until I've fixed #89.


Translate Strings to indonesia

Describe the feature request.
A clear and concise description of the feature or what problem is being solved
Additional context
If available add any other context or screenshots about the feature here.
Acceptance criteria
When the app language is changed to indonesia or bahasa, the app string texts should change to Bahasa/Indonesia
Implementation plan (For Engineers)
Create a folder called id  under res folder both in quest and engine.
Paste the translated strings there.

@dubdabasoduba As we reviewed earlier I think this is caused by the fact that we are overriding the ResourceBundle when processing the .properties. This means everything on the strings.xml resources is missing.

@dubdabasoduba after thorough investigation, I found out the local read when the language tag is id was in instead of id. So I renamed the folder names to strings_in and works both for property files and strings.xml.


Handler for UPDATE_PAGE_TITLE in ApplicationStore.

ApplicationStore.pageTitle should be updated when UPDATE_PAGE_TITLE
event is dispatched by loadPage action.
This fixes the same bug as #13, but with an alternative approach.

CLA is valid!

@marcenuc  #14 allows user to customize page title dynamically, whereas #13 allows for defining page title statically in the pages config.   What about a combination of #14 and #13, using what user defined in pages config as default?  If I can only choose one, I will choose #14, because it is more flexible.

@lingyan, #14 already uses the title defined in pages config as default (or an empty title if it is not defined). You can see it at line 5 of loadPage.js.
We can then close #13 and merge #14 without any loss in functionality.

You are right.  :+1: We can merge #14, and close #13.  Thanks!


Issue 2091 - D2 final cannot be applied to variable

https://issues.dlang.org/show_bug.cgi?id=2091
To lift the limitation, display the error only when final is directly applied on a variable.
Use same method to synchrionized, abstract, and override.

This seems reasonable to me. A change should be made to the "Attributes" page of the language specification if this pull request is merged to mention that final, synchronized, abstract and override do not apply to variable declarations.

Auto-merge toggled on

Thanks!


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


update otelcol deps to 0.67.0

These changes update the collector deps to 0.67.0 and migrate the obsoleted overwrite properties converter to our converters to prevent potential breaking changes (with added* integration test).

@rmfitzpatrick please rebase?


Reorg: fixing links

This is just to fix a few links that have been lost during the reorg :)

Okay, I think all links work now. (Though sure we are probably missing one xD)


Error: SVG element not found

Thank you very much for seeing this message！
Bug description
Firstly,I got the error:
ERROR | metagpt.utils.mmdc_playwright:mermaid_to_file:118 - Page.goto: net::ERR_FILE_NOT_FOUND at file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html #1547
I fond the index.html at MetaGPT/metagpt/utils/index.html,and then i copy the file towards the path /home/hanlin/anaconda3/envs/metagpt/lib/python3.9/site-packages/metagpt/utils/
the bug is solved.But then i got a new issue:
2024-11-11 16:50:54.862 | ERROR    | metagpt.utils.mmdc_playwright:mermaid_to_file:121 - Page.evaluate: Error: SVG element not found
at eval (eval at evaluate (:234:30), :4:35)
at UtilityScript.evaluate (:241:19)
at UtilityScript. (:1:44)
this error told me i miss the SVG,I saw what you mentioned before that bugfix: #1547 Make sure the SVG element exists before calling serializeToString #1564 .
but i really don't know how to fix it.Does this error influnce the result?
Environment information

System:linux
python:3.9
llm type:openai
model:gpt-3.5-turbo
metagpt version:0.8.1
In addition,this is my config2.yaml:
llm:
api_type: "openai"
model: "gpt-3.5-turbo"
base_url: "my_base_url"
api_key: "mykey"
mermaid:
engine: "playwright"
Screenshots or logs
2024-11-11 16:50:53.437 | INFO     | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.005 | Max budget: $3.000 | Current cost: $0.002, prompt_tokens: 1147, completion_tokens: 321
2024-11-11 16:50:53.442 | INFO     | metagpt.utils.file_repository:save:57 - save to: /home/hanlin/MetaGPT-main/workspace/game_2048/docs/system_design/20241111165046.json
2024-11-11 16:50:53.443 | INFO     | metagpt.utils.file_repository:save:62 - update dependency: /home/hanlin/MetaGPT-main/workspace/game_2048/docs/system_design/20241111165046.json:{'docs/prd/20241111165046.json'}
2024-11-11 16:50:54.862 | ERROR    | metagpt.utils.mmdc_playwright:mermaid_to_file:121 - Page.evaluate: Error: SVG element not found
at eval (eval at evaluate (:234:30), :4:35)
at UtilityScript.evaluate (:241:19)
at UtilityScript. (:1:44)
2024-11-11 16:50:54.921 | INFO     | metagpt.actions.design_api:_save_data_api_design:107 - Save class view to /home/hanlin/MetaGPT-main/workspace/game_2048/resources/data_api_design/20241111165046
2024-11-11 16:50:56.468 | ERROR    | metagpt.utils.mmdc_playwright:mermaid_to_file:121 - Page.evaluate: Error: SVG element not found
at eval (eval at evaluate (:234:30), :4:35)
at UtilityScript.evaluate (:241:19)
at UtilityScript. (:1:44)
2024-11-11 16:50:56.530 | INFO     | metagpt.actions.design_api:_save_seq_flow:116 - Saving sequence flow to /home/hanlin/MetaGPT-main/workspace/game_2048/resources/seq_flow/20241111165046
2024-11-11 16:50:56.532 | INFO     | metagpt.utils.file_repository:save:57 - save to: /home/hanlin/MetaGPT-main/workspace/game_2048/resources/system_design/20241111165046.md
2024-11-11 16:50:56.538 | INFO     | metagpt.roles.role:_act:391 - Eve(Project Manager): to do WriteTasks(WriteTasks)
Thanks for you answer!

Are you using the latest version of the main branch? @HanlinJo

Are you using the latest version of the main branch? @HanlinJo

Sure,I have use the lastest version of the main branch.I have seen the error about ERROR | metagpt.utils.mmdc_playwright:mermaid_to_file:118 - Page.goto: net::ERR_FILE_NOT_FOUND at file:///root/anaconda3/envs/metagpt/lib/python3.11/site-packages/metagpt/utils/index.html https://github.com/geekan/MetaGPT/issues/1547
And i modify the file from
const svg = document.querySelector('svg');
const xmlSerializer = new XMLSerializer();
return xmlSerializer.serializeToString(svg);
}"""
to
const svg = document.querySelector('svg');
if (!svg) {
throw new Error('SVG element not found');
}
const xmlSerializer = new XMLSerializer();
return xmlSerializer.serializeToString(svg);
and then i got a new error:SVG element not found
But i don't konw how to fix the bug,exactly, I don't know how to add SVG elements to my project.
Thanks for your reply.

The latest version has fixed this issue and does not require manual code changes.
How did you install your metagpt? pip install metagpt or git clone xxx ?

The latest version has fixed this issue and does not require manual code changes. How did you install your metagpt? pip install metagpt or git clone xxx ?

thanks for your reply.
I use the first "pip install metagpt"

The latest version has fixed this issue and does not require manual code changes. How did you install your metagpt? pip install metagpt or git clone xxx ?

Actually,i use pip install --upgrade metagpt. Should I need to re-download?

The latest pypi package of metagpt has not been released yet.
We recommend using the latest version from github.
Please refer to: https://docs.deepwisdom.ai/main/en/guide/get_started/installation.html#install-in-development-mode

The latest pypi package of metagpt has not been released yet. We recommend using the latest version from github. Please refer to: https://docs.deepwisdom.ai/main/en/guide/get_started/installation.html#install-in-development-mode

Ok,I will try again later,thanks for your reply! Have a good day.


SIC - (Something that Is Cool)

Description
Many teenagers often use this abbreviation on social media these days.

Are you still interested in working on this? Assigning you to it.

yes please.


implement egui-editor toolbar

[x] apple
[ ] android
[x] egui

@smailbarkouch doesn't android already have a toolbar?

closed due to change in strategy (#2280)


Add source filter to !events

Lgtm. We may want to make the default only UQCS events since that's what 95% of the people use it for, and the seminars crowd it up quite a bit, but I'll do that myself at a later date (along with some other minor changes).


Add sotonveirfy container

Blocked by https://github.com/ecss-soton/verify/issues/4
Configure DNS records of sotonverify.link domain (potential issues with isolutions)

Resolved by https://github.com/ecss-soton/infrastructure/commit/1ffe23ea3be0c8bda823e02fa729c190bc53047a


CC185416: Fixing Typo

Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: "IOT" should be "IoT"
Affected Line: 34

@V-vafune : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @wesmc7777 ! Could you help us to merge this PR?
Thanks in advance!

Thanks  @ktoliver


#8202 plot_bloch_vector optional parameter & minor issue

Summary
Closes #8202
Closes #8194
adding optional argument allowed for matplotlib.patches.FancyArrowPatch
Details and comments
not sure if doing everything correct

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 11 (90.91%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0005%) to 84.278%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/visualization/bloch.py
7
8
87.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0005%

Covered Lines:
54895

Relevant Lines:
65136

💛  - Coveralls

Hi @poig thanks for your contribution and sorry for the slow review on this PR, I think because it is attempting to address a few different issues it fell through the cracks and it probably would have been better to split this into 2 PRs (one for the documentation fix and another for the visualisation feature).
Generally this is looking good, but to move forward I think the visualize_transition piece should be removed from this PR, as the visualise_transition() function is likely to be removed at some point (see https://github.com/Qiskit/qiskit-terra/issues/9355)


Fix asset loader (and restore py36 compatibility)

make asset loader py36 compatible:

The asset loader method was too complicated. Using private fields was not a good idea and should not be done.
The proposed solution is less flexible but easier to read, understand and to maintain.
Applying a set of fixed rules to rename the assets fields should not be issue. We expect the number of rules to decrease over time (and not the opposite!).

asset: remove openerHash to key mapper
asset: remove hash to key mapper

Close #78

Thanks for the review @maeldebon @AurelienGasser


getTypeClass not working on Collection

Notice: Undefined property: Doctrine\ODM\MongoDB\PersistentCollection::$typeClass

@wodka how did you manage to get such an error?

For SonataAdmin Bundle there is a Pull Request that contained a reference to Doctrine 2.4 code:
https://github.com/sonata-project/SonataAdminBundle/pull/2985/files#diff-5ce9b658fbcaa128b4326ce1cc07bd14R123
While I was trying to fix that to work with odm I realised the same funktion exists there:
Doctrine\ODM\MongoDB\PersistentCollection: typeClass is never set
    public function getTypeClass()
    {
        return $this->typeClass;
    }

Doctrine\ORM\PersistentCollection: works

    /**
     * Creates a new persistent collection.
     *
     * @param EntityManagerInterface $em         The EntityManager the collection will be associated with.
     * @param ClassMetadata          $class      The class descriptor of the entity type of this collection.
     * @param Collection             $collection The collection elements.
     */
    public function __construct(EntityManagerInterface $em, $class, Collection $collection)
    {
        $this->collection  = $collection;
        $this->em          = $em;
        $this->typeClass   = $class;
        $this->initialized = true;
    }

    /**
     * @return Mapping\ClassMetadata
     */
    public function getTypeClass()
    {
        return $this->typeClass;
    }

For the quickest solution: is it possible to add check for ODM's PersistentCollection in Sonata and use getMapping() method instead? Or it would be cool if you'd be able to send PR here fixing the issue :)

Hi,
I'll try to fix it - I already have a solution based on the SonataAdmin Configuration (working)
can you point me in a direction where the persistent collection is usually created?
thx :)

@wodka I'd check UnitOfWork and HydratorFactory for sure :)

PR: #1109

#1109 is merged manually in https://github.com/doctrine/mongodb-odm/commit/5b30e0f7a677c8a7494d82176bb8a747f4e82fb9


932150: Too many FPs at PL1

The following entry of the 932150 regex, produce too many false positive at PL1
https://github.com/coreruleset/coreruleset/blob/f38fd143a20322de06e9ac086bce15e0bf3ff8c2/regex-assembly/932150.ra#LL122C8-L122C8
for example, it matches head of
$ curl 'https://sandbox.coreruleset.org/' \
    -H 'x-format-output: txt-matched-rules'  \
    -H 'x-crs-paranoia-level: 1' \
    -d 'job_title=head of'

932150 PL1 Remote Command Execution: Direct Unix Command Execution
949110 PL1 Inbound Anomaly Score Exceeded (Total Score: 5)
980170 PL1 Anomaly Scores: (Inbound Scores: blocking=5, detection=5, per_pl=5-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=0, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=5)

I think we should remove head from regex and create a more stricter regex for all unix command that are also English words.

@theMiddleBlue is currently working on an overhaul of 932150, which will also lead to a new rule ID. I suggest we postpone this issue until the PR is on the table or even merged.


[createCampaign API] has incorrect inclusion of "budget" in the required fields

If you need help troubleshooting a problem with the Amazon Ads API, visit the Amazon Ads API service desk. Issues are for reporting documentation bugs and requesting enhancements only.
Describe the bug
https://advertising.amazon.com/API/docs/en-us/sponsored-display/3-0/openapi#/Campaigns/createCampaigns
The createCampaign API  endpoint (/sd/Campaigns) currently says
Required fields are name, tactic, state, budget, and startDate.

But, as an API user I can create a campaign without budget. (refer to the screenshot below, where I could create a campaign without specifying budget)

Reason: If the budget parameter is not specified in the request body, then a default budget automatically gets assigned to it during campaign creation.
Expected:
The documentation should be updated to say
Required fields are name, tactic, state, and startDate. (because budget is really not a required json field)

HI @harinsp, thanks for pointing this out. As you noted, budget should not be marked as required. For USD, the default budget is $100. We'll be updating the contract and publishing a table of default budget by region shortly. I'll comment here once it's live.

Hi @elizafarley  - awesome. Thank you for updating it.

This should be fixed in the documentation now! I've updated the contract and added this table with the default budgets based on region.


[C++] Build failure with GCC 7.5.0

Describe the bug, including details regarding any error messages, version, and platform.
test-r-rstudio-r-base-4.1-opensuse153
https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=62799&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=3367cfe7-6aa5-5a88-c888-e6814d74f6eb&l=1098
/arrow/cpp/src/arrow/io/compressed.cc: In member function ‘arrow::Result<std::shared_ptr<arrow::Buffer> > arrow::io::CompressedInputStream::Impl::Read(int64_t)’:
/arrow/cpp/src/arrow/io/compressed.cc:408:12: error: could not convert ‘buf’ from ‘std::unique_ptr<arrow::ResizableBuffer>’ to ‘arrow::Result<std::shared_ptr<arrow::Buffer> >’
     return buf;
            ^~~

#39807 may be related.
Component(s)
C++

I'll fix this

Issue resolved by pull request 41025
https://github.com/apache/arrow/pull/41025


Support nested paths

Marathon-lb currently uses the path_beg syntax for evaluating paths; can we change to or enable an option for path_reg syntax to allow nested paths?

I created a PR to fix this. I should be able to provide a custom HAPROXY_0_HTTP_FRONTEND_ACL_WITH_PATH template via labels, but the code was simply not reading it from my config.

This has been resolved by #133

As per https://github.com/mesosphere/marathon-lb/issues/131#issuecomment-204579533, you can customize the behaviour with templates if needed.


adding support for finding aerender.exe in adobe after effects 2023

Hi, we're using nexrender with a fresh new installation of AE and the executable was not found, as the new installation path C:\\Program Files\\Adobe\\Adobe After Effects 2023\\Support Files is not managed by the autofind helper.
The PR extends defaults paths to handle new "2023" paths.

Hey @bianchimro
The update looks great! Could I ask to add one minor thing, however?
Since it is a cross-platform tool, adding a similar line for macOS would be very beneficial:
https://github.com/inlife/nexrender/blob/cded4b3e42f0cf1c39ccc6fb59751bda44c415ab/packages/nexrender-core/src/helpers/autofind.js#L17
(it follows the same principle as all the entries above it)

Hi @inlife, I updated the darwin platform as well.


UI fails when nested objects without list: true

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
Collection config
{
  label: "Page Content",
  name: "page",
  path: "content/page",
  format: "mdx",
  fields: [
    {
      name: "level1",
      label: "Level 1",
      type: "object",
      fields: [
        {
          name: "level1_1",
          label: "Level 1.1",
          type: "object",
          // list: true,
          fields: [
            {
              name: "level1_1_1",
              label: "Level 1.1.1",
              type: "string"
            }
          ]
        }
      ]
    }
  ]
}

Fails on creation (empty file) with the stack trace below
Uncaught TypeError: Cannot read properties of undefined (reading 'level1_1')
    at Form.getFieldGroup (index.mjs:2022:19)
    at Form.getFieldGroup (index.mjs:2112:27)
    at Form.getActiveField (index.mjs:2006:25)
    at FormBuilder (index.mjs:10857:31)
    at renderWithHooks (react-dom.development.js:14985:18)
    at updateFunctionComponent (react-dom.development.js:17356:20)
    at beginWork (react-dom.development.js:19063:16)
    at HTMLUnknownElement.callCallback2 (react-dom.development.js:3945:14)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:16)
    at invokeGuardedCallback (react-dom.development.js:4056:31)

Adding list: true for level1_1 fixes the issues, you can interact with the UI and create
---
level1:
  level1_1:
    level1_1_1: Works2
---

Removing list: true will work now that there are values for the UI to render the inputs.
List with a hard limit of 1 could be a valid workaround, but I couldn't find any way to set one.
Reproduction
https://github.com/oxentree/tinacms-trial
Steps to reproduce
No response
System Info
 System:
    OS: Windows 10 10.0.22621
    CPU: (6) x64 Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
    Memory: 1.39 GB / 15.96 GB
  Binaries:
    Node: 20.5.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - X:\OXENTREE-PROJECTS\tinacms-trial\node_modules\.bin\yarn.CMD
    npm: 9.8.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.2134.0), Chromium (116.0.1938.54)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @tinacms/cli: 1.5.29 => 1.5.29
    tinacms: 1.5.20 => 1.5.20

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

May be related to https://github.com/tinacms/tinacms/issues/3976
Definitely related to https://github.com/tinacms/tinacms/discussions/4030

Just pulled your repo, this doc seems to be working fine for me. Are you seeing an error here?

(If so, makes me wonder if this could be a Windows vs Mac issue)

Does the other one work? The one in your screenshot is supposed to work; on update, both work, on blank page, it will fail unless you add list: true
It’d be weird for this UI issue to be OS-specific, that’s why I haven’t tried other platforms, but I’ll try that too.

Sorry the name of the document should have tipped me off :D. I can reproduce your issue on the other document.
We'll do some investigation and report back!

Just opened a PR with the fix here: https://github.com/tinacms/tinacms/pull/4169 (Thanks for creating that reproduction, maybe it much easier to debug!)
In the meantime, you may be able to get around this by using defaultItem to fill in the group value when creating a new doc:
https://tina.io/docs/reference/collections/#defaultitem


A keypad page to insert hidden symbols

Some symbols untypable by default like Greek letters and ± are highly valuable for use as variables. Others like overline $\overline{x}$ and vector notations $\vec{v}$ and $\overrightarrow{AB}$ have their use in labels. It would be great if there is a keyboard to input them without copy-and-pasting from an external $\LaTeX$ editor. (It seems that first of all the keypad has to be enabled at the label text input field.)

(I know text-mode do help, but it‘s hard to find out all the available symbols with text-mode and I don‘t want to type in text)

Good idea! MathQuill does support \vec and \overline as an easy input (e.g. try writing "\vec" then a space in http://mathquill.com), so it would be possible to trigger this situation from keypad.
For the Greek letters specifically: The "Custom MathQuill Config" plugin supports "More Greek Letters" if you enable it. gamma, chi, etc.
Text Mode wouldn't really help here because it doesn't support any of these symbols (which are LaTeX hacks).


focusableInTouchMode causes view click issues

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of Material Dialogs.
[x] I have given my issue a non-generic title.
[x] I have read over the documentation (before asking questions on how to do something).

Include the following:

Material Dialogs version: <IP_ADDRESS>
Device OS version: 7.1.1
Device Manufacturer: Google
Device Name: Nexus 5X

Reproduction Steps

Create and show a new FolderChooserDialog.

new FolderChooserDialog.Builder(context)
        .initialPath(appPreferences.getCustomPath())
        .chooseButton(android.R.string.ok)
        .cancelButton(android.R.string.cancel)
        .allowNewFolder(true, R.string.button_create_folder)
        .show();

Expected Result

The dialog buttons should work as expected.

Actual Result

The dialog buttons must be pressed two times in order to work.

Notes
This bug has been introduced in the latest v<IP_ADDRESS>.

@afollestad, this issue is affecting all list dialogs.

https://github.com/afollestad/material-dialogs/releases/tag/<IP_ADDRESS>


validation: add check for namespace path

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

ping @mrunalp , @liangchenye

LGTM

c8b8c73f looks good to me.


Merge regex matching and other rule simplifications

This pull request implements a number of changes which enable regular expression matching and simplify what's going on under the hood with the TargetMatcher and ConTextComponent components:

Implement RegexMatcher which behaves like spaCy's Matcher classes using regular expressions on the underlying doc and resolving any cases where a match doesn't align with token boundaries
Implement MedspacyMatcher which combines Matcher, PhraseMatcher, and RegexMatcher
Modify TargetRule and ConTextItem to both inherit from a BaseRule class which can used by MedspacyMatcher
Handle matching in both TargetMatcher and ConTextComponent using MedspacyMatcher (could eventually do this with Sectionizer as well
Add some tests and documentation

I think this looks pretty good and we talked about what exactly was being implemented, and i can get started on converting the sectionizer to this new format soon as well!


new-sshsession errors out

I have a server which connects using passcode: password+rsatoken as the password.. i dont know if it is called 2 factor. but I have to type it only one not seperately.
However, even when I pass the password explicitly, i get this error . check attachment. The same works very well when I use putty, winscp, filezilla to connect.

What kind of server is it? Also what version of Posh-ssh are you using?

On Dec 13, 2018, at 9:12 PM, pkarunkar<EMAIL_ADDRESS>wrote:
I have a server which connects using passcode: password+rsatoken as the password.. i dont know if it is called 2 factor. but I have to type it only one not seperately.
However, even when I pass the password explicitly, i get this error . check attachment.
https://user-images.githubusercontent.com/44933985/49977207-680dda80-ff13-11e8-9829-88f9333bfc90.jpeg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/243, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf0HkCJsLsMRHe5_t5YUOWfp-eN0hjVks5u4vsDgaJpZM4ZSti2.

Did a fresh install of CentOS 7 and have not been able to replicate the error. When you connect with other SSH clients is there a second prompt or something else?

No it does not.. But now I noticed my account is locked since I tried
multiple times..... Both unix account plus rsa.
Let's say for example my ID is abcd1224
Password is xxxx1111
RSA token yyyy2222
When I login, I provide the ID and password as xxxx1111yyyy2222
I assume this is still considered a MFA..  I unlocked the accounts and
tried again. Getting same error.
On Fri, Dec 14, 2018, 08:13 Carlos Perez<EMAIL_ADDRESS>wrote:

Did a fresh install of CentOS 7 and have not been able to replicate the
error. When you connect with other SSH clients is there a second prompt or
something else?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447321449,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq2jYStj3O5C93KVVvWO0EkM1g8KHsxcks5u46PjgaJpZM4ZSti2
.

When I connect using putty, ssh-tectia, winscp, Filezilla it all works
fine.. However the challenge with winscp and Filezilla is it tries to
reconnect session when you are idle for a while and it breaks my
authentication since my rsa token is now changed..
Anyways, let's not dig deep into sftp challenges.
On Fri, Dec 14, 2018, 08:13 Carlos Perez<EMAIL_ADDRESS>wrote:

Did a fresh install of CentOS 7 and have not been able to replicate the
error. When you connect with other SSH clients is there a second prompt or
something else?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447321449,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq2jYStj3O5C93KVVvWO0EkM1g8KHsxcks5u46PjgaJpZM4ZSti2
.

Any special banner on the server when you connect? Can you do $error[0] | Export-Clixml -Depth 10 -Path .\errro.xml and pass the xml so I can see all details of the error.

It sure does have banners and it's a organization network and have policies
to block access.
I am not the administrator and so can't change anything on the server.
Also I generated the error xml. Sadly, it is 300mb file and I cannot send
outbound emails, or post in public forum.
If you are looking for a specific info, I can search and let you know. Else
I m thinking to skip using it.
Since it is very secured environment and they don't even allow ssh from one
server to another without entering the pass+token. So I can't even run
multi server scripts even with bash scripts..
May be there is a security group which allows that and its beyond my scope
of job.
Unless, you want to debug further, we will close this ticket. I m sorry
about that.
On Fri, Dec 14, 2018, 08:46 Carlos Perez<EMAIL_ADDRESS>wrote:

Any special banner on the server when you connect? Can you do $error[0] |
Export-Clixml -Depth 10 -Path .\errro.xml and pass the xml so I can see all
details of the error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447329871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq2jYepQ-VCNJbMQm7jPe_IBtNXlXl43ks5u46udgaJpZM4ZSti2
.

It should zip quite small, if it is a couple of megs can you send it to<EMAIL_ADDRESS>if not no problem. Surprised the first element of the array is so big. $Error[0] that should be the las error seen.

On Dec 14, 2018, at 11:47 AM, pkarunkar<EMAIL_ADDRESS>wrote:
It sure does have banners and it's a organization network and have policies
to block access.
I am not the administrator and so can't change anything on the server.
Also I generated the error xml. Sadly, it is 300mb file and I cannot send
outbound emails, or post in public forum.
If you are looking for a specific info, I can search and let you know. Else
I m thinking to skip using it.
Since it is very secured environment and they don't even allow ssh from one
server to another without entering the pass+token. So I can't even run
multi server scripts even with bash scripts..
May be there is a security group which allows that and its beyond my scope
of job.
Unless, you want to debug further, we will close this ticket. I m sorry
about that.
On Fri, Dec 14, 2018, 08:46 Carlos Perez<EMAIL_ADDRESS>wrote:

Any special banner on the server when you connect? Can you do $error[0] |
Export-Clixml -Depth 10 -Path .\errro.xml and pass the xml so I can see all
details of the error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447329871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq2jYepQ-VCNJbMQm7jPe_IBtNXlXl43ks5u46udgaJpZM4ZSti2
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447364477, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf0Hv7_8HTA-nDQMehWg-5ukWDy817Vks5u48gmgaJpZM4ZSti2.

Yes, I did that after opening a new session. I see the entire file is
containing error related to renci ssh...
I can't  send any outbound emails.. I mean I don't ve access to send :)
Opening the file crashes the memory. Lol.
I will skip it... Thanks for trying to help.
On Dec 14, 2018 11:00, "Carlos Perez"<EMAIL_ADDRESS>wrote:
It should zip quite small, if it is a couple of megs can you send it to
<EMAIL_ADDRESS>if not no problem. Surprised the first
element of the array is so big. $Error[0] that should be the las error
seen.

On Dec 14, 2018, at 11:47 AM, pkarunkar<EMAIL_ADDRESS>wrote:
It sure does have banners and it's a organization network and have
policies
to block access.
I am not the administrator and so can't change anything on the server.
Also I generated the error xml. Sadly, it is 300mb file and I cannot send
outbound emails, or post in public forum.
If you are looking for a specific info, I can search and let you know.
Else
I m thinking to skip using it.
Since it is very secured environment and they don't even allow ssh from
one
server to another without entering the pass+token. So I can't even run
multi server scripts even with bash scripts..
May be there is a security group which allows that and its beyond my scope
of job.
Unless, you want to debug further, we will close this ticket. I m sorry
about that.
On Fri, Dec 14, 2018, 08:46 Carlos Perez<EMAIL_ADDRESS>wrote:

Any special banner on the server when you connect? Can you do $error[0]
|
Export-Clixml -Depth 10 -Path .\errro.xml and pass the xml so I can see
all
details of the error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447329871>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Aq2jYepQ-VCNJbMQm7jPe_IBtNXlXl43ks5u46udgaJpZM4ZSti2

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447364477>,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/AAf0Hv7_8HTA-nDQMehWg-5ukWDy817Vks5u48gmgaJpZM4ZSti2
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/243#issuecomment-447368557,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq2jYZglPevUfl2TxUHCgdlIT9ZaKq0Qks5u48s6gaJpZM4ZSti2
.

Closing it due to limitation in providing details.


download input file if missing

Closes #3

I added a smaaaall change to let the compiler infer the error type to make it less verbose :sweat_smile: Let me know if you don't like it and if I should remove it


503 NR Error When Updating Mapping

Describe the bug
I receive a 503 NR error when I update a mapping.
ACCESS [2019-11-21T20:49:25.866Z] "GET /nginx/ HTTP/1.1" 503 NR 0 0 0 - "<IP_ADDRESS>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36" "977eb548-d706-4320
│ 81b9-af0e777cdcdc" "<IP_ADDRESS>:31471" ""
To Reproduce
Install minikube

sysctl -a | grep -E --color 'machdep.cpu.features|VMX'

brew install minikube

minikube start --kubernetes-version v1.14.0

kubectl cluster-info dump --namespace kube-system | grep authorization-mode

kubectl apply -f https://getambassador.io/yaml/ambassador/ambassador-rbac.yaml

Create ambassador-service.yaml file:
---
apiVersion: v1
kind: Service
metadata:
  name: ambassador
spec:
  type: NodePort
  externalTrafficPolicy: Local
  ports:
    - port: 80
      targetPort: 8080
  selector:
    service: ambassador

Run:

kubectl apply -f ambassador-service.yaml

Create Deployment 1:
Create file deployment1.yaml with the below content
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx1
  labels:
    deployment: nginx1
spec:
  replicas: 2
  selector:
    matchLabels:
      deployment: nginx1
  template:
    metadata:
      labels:
        deployment: nginx1
    spec:
      containers:
        - name: app
          image: nginxdemos/hello
          ports:
            - containerPort: 80
          readinessProbe:
            httpGet: # make an HTTP request
              port: 80 # port to use
              path: / # endpoint to hit
              scheme: HTTP # or HTTPS
            periodSeconds: 5 # how long to wait between checks
            successThreshold: 1 # how many successes to hit before accepting
            failureThreshold: 2 # how many failures to accept before failing
            timeoutSeconds: 10 # how long to wait for a response
          livenessProbe:
            httpGet: # make an HTTP request
              port: 80 # port to use
              path: / # endpoint to hit
              scheme: HTTP # or HTTPS
            initialDelaySeconds: 300 # how long to wait before checking
            periodSeconds: 30 # how long to wait between checks
            successThreshold: 1 # how many successes to hit before accepting
            failureThreshold: 2 # how many failures to accept before failing
            timeoutSeconds: 15 # how long to wait for a response

Run:

kubectl apply -f deployment1.yaml

Create Deployment 2:
Create file deployment2.yaml with the below content
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx2
  labels:
    deployment: nginx2
spec:
  replicas: 2
  selector:
    matchLabels:
      deployment: nginx2
  template:
    metadata:
      labels:
        deployment: nginx2
    spec:
      containers:
        - name: app
          image: nginxdemos/hello
          ports:
            - containerPort: 80
          readinessProbe:
            httpGet: # make an HTTP request
              port: 80 # port to use
              path: / # endpoint to hit
              scheme: HTTP # or HTTPS
            periodSeconds: 5 # how long to wait between checks
            successThreshold: 1 # how many successes to hit before accepting
            failureThreshold: 2 # how many failures to accept before failing
            timeoutSeconds: 10 # how long to wait for a response
          livenessProbe:
            httpGet: # make an HTTP request
              port: 80 # port to use
              path: / # endpoint to hit
              scheme: HTTP # or HTTPS
            initialDelaySeconds: 300 # how long to wait before checking
            periodSeconds: 30 # how long to wait between checks
            successThreshold: 1 # how many successes to hit before accepting
            failureThreshold: 2 # how many failures to accept before failing
            timeoutSeconds: 15 # how long to wait for a response

Run:

kubectl apply -f deployment2.yaml

Create Service 1:
Create file service1.yaml with the below content
---
apiVersion: v1
kind: Service
metadata:
  name: nginx1
  labels:
    deployment: nginx1
spec:
  selector:
    deployment: nginx1
  ports:
    - name: http
      port: 80
      targetPort: 80

Run:

kubectl apply -f service1.yaml

Create Service 2:
Create file service2.yaml with the below content
---
apiVersion: v1
kind: Service
metadata:
  name: nginx2
  labels:
    deployment: nginx2
spec:
  selector:
    deployment: nginx2
  ports:
    - name: http
      port: 80
      targetPort: 80

Run:

kubectl apply -f service2.yaml

Create Mapping 1:
Create file mapping1.yaml with the below content
---
apiVersion: getambassador.io/v1
kind: Mapping
metadata:
  name: nginx-ingress
  labels:
    deployment: nginx
spec:
  prefix: "/nginx/"
  rewrite: "/"
  service: nginx1
  retry_policy:
    retry_on: gateway-error

Run:

kubectl apply -f mapping1.yaml

Access endpoint:
Find ambassador endpoint

minikube service list

Hit the endpoint at http://IP:PORT/nginx/
Update the mapping
Create file mapping2.yaml with the below content
---
apiVersion: getambassador.io/v1
kind: Mapping
metadata:
  name: nginx-ingress
  labels:
    deployment: nginx
spec:
  prefix: "/nginx/"
  rewrite: "/"
  service: nginx2
  retry_policy:
    retry_on: gateway-error

Run:

kubectl apply -f mapping2.yaml

Immediately after the update refresh the page and observe the 503s for a few seconds or up to a minute+.
Expected behavior
I expect the traffic to be changed immediately with no downtime.  I see a different behavior when I use the weight rules to migrate traffic using a second mapping but I am still at the mercy of some keep alive that the backend presents.  I really expect that once I update the definition to 100% of traffic to a new service it truly is 100% and does not leave some connections open or allow traffic to the old service.
Versions (please complete the following information):

Ambassador: 0.78.0, 0.84.1, 0.85.0
Kubernetes environment: Minikube, EKS
Version 1.14

Additional context
I spoke with Noah Krause on slack about this.  I am seeing this in Tomcat and Nginx backends.
https://datawire-oss.slack.com/archives/CAULN7S76/p1573760024187400

@nbkrause I think I had a few colleagues speak with you about this ticket at kubecon.  I put it in here but wanted to ask is there a better location for it?

I faced same issue recently. I think  problem is ip gets updates in envoy.json but the pods are still not healthy.
Changing resolver from KubernetesEndpointResolver to service.
This helped.

not stale


Export-DbaAudit

Does this need to be named DbaSqlAudit? Because it only exports the audits at the server level. What about the audits at the database level?
As stated in the docs for audits
SQL Server audit lets you create server audits, which can contain server audit specifications for server level events, and database audit specifications for database level events.

Yep! We had this convo for Garry's command and I forgot. Will change thank you!

@PowerDBAKlaas made a good point, I'm just gonna create a universally pipable object.


404 GitHub gist in Doc 'Trace-based metrics'

When I tried to run a metric using Perfetto, I have followed steps in Doc, but the metric didn't work with an 'Error when computing metrics: Unknown metric xxx'.
I noticed that there's note saying If something doesn't work as intended, check that the workspace looks the same as the comtents of this GitHub gist, but the link is just a 404 page.
What should the workspace look like to make the metric work?

I think the link should be: https://gist.github.com/LalitMaganti/c221cf0cae17e298dfa82b118edf9080 I'll send a change to update the docs.

This should now be fixed by the above :)


Variable returned from function is not visiable to debuger

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?
Delve Debugger
Version: 0.12.1
Build: d89d115ef9efb3acdb3a1052ac058b79f36a4940

What version of Go are you using? (go version)?
go version go1.7.3 darwin/amd64

What operating system and processor architecture are you using?
Darwin C02PWBQBG8WP-lm 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

What did you do?
main.go
package main

import (
"fmt"
)
func main() {
x := foo()
fmt.Printf("foo() returns: %s\n", x)
}
func foo() (value string) {
return "some value"
}
========================================
Debug session
https://git.corp.yahoo.com/gist/kpatton/705c7872ca9b4540259b528b130e6248

What did you expect to see?
Expected "some value"

What did you see instead?
Command failed: could not find symbol value for x
(no locals)

The link doesn't load, can you host it somewhere else? Can you reproduce this with 1.8?

https://gist.github.com/kirk-patton/0c2bc0d902f3083c397601d98a3da6c6
I will try 1.8 and see if I run into the same issue

Just tried go1.8 on linux amd64. Same issue
(dlv) p v
Command failed: could not find symbol value for v

did you disable compiler optimizations when you compiled foo?

Just now tried with '-gcflags "-N -l"'.  Now it works as expected. :-D
Thanks!
Kirk


default constructed cursor_type of range_sequence is nullptr for boost::container::stable_vector<T>

flux::distance(seq, from, to) requires two cursors. I was adapting flux in a function that returns the index of a element and I lazily wrote flux::distance(seq, {}, cursor) in the hope that the sequence access function would treat the default constructed cursor as pointing to the first element of the sequence:
const auto seq = flux::from_range(m_parentItem->m_childItems);
const auto cursor = decay_copy(seq)...; // some codes that finds a certain element

if (!f::is_last(seq, cursor)) {
    return boost::numeric_cast<int>(flux::distance(seq, {}, cursor));
}

Turns out this immediately triggers ASan: AddressSanitizer: access-violation on unknown address 0x000000000000. I had to write this instead:
flux::distance(seq, decay_copy(seq).first(), cursor)

decay_copy because auto{X} still isn't supported by MSVC as of today which is 11/2024

The behavior is inconsistent with contiguous sequence:
auto v = std::vector{1, 2, 3};
auto cursor = flux::ref(v).find(2);
auto d = flux::distance(v, {}, cursor); // d == 1

The cursor type of contiguous sequences is index_t (it was set to std::ptrdiff_t in my case), and default constructed index_t is 0, which means pointing to the first element.

I guess the problem is that a nullptr iterator has no information about which range it belongs to. So either the cursor needs to become an optional type (default constructed cursor consistently means "nothing"), or there needs to be a special path (if the cursor type is an iterator wrapper) to seek to the first position when the iterator is nullptr (default constructed cursor consistently means the first element).
Or the two could be combined: a default constructed cursor is nullopt, and sequence access functions would fallback to the first element if it's nullopt (default constructed cursor consistently means "nothing", the "from" cursor becomes an optional parameter).
Introducing an optional type could have performance impact. So that's also a thing to consider.

Note that the null pointer dereference here is not an issue of flux, but instead that the iterators of the container type I use being unsafe. It would have been trivial to add null check for the iterator type and have minimal performance impact. But still, this is an issue that the user could encounter when using flux::from_range with other containers.

Flux requires that cursors of multipass sequences are default constructible in order to support "delayed initialisation" -- i.e. default constructing a cursor and only later setting it to a valid value. However, it is not required that a default constructed cursor represents a valid position for any particular sequence.
For things like std::vector, it just so happens that a default-constructed cursor has the same value as a cursor initialised by a call to first(). But this is just a special case; in general, we cannot assume that a default-constructed cursor has any particular value.
For example, Flux provides the slice(seq, from, to) operation which returns a flux::subsequence<Seq>. A subsequence uses the same cursor type as its parent Seq. However, calling first() on a subsequence returns the saved from cursor, which is very likely to be different from the zero value you'd get from default constructing its cursor type -- and in fact a default constructed cursor is unlikely to be a valid position for a subsequence.
Originally I did consider whether it would be better to not require default constructibility for multipass cursors, and instead use optional<Cursor> for delayed initialisation. It turns out that this just makes things more awkward for people who want delayed initialisation, and potentially adds a little overhead, but doesn't really make things safer in any meaningful way -- invalid cursor positions can still occur in other ways, and sequences still have to deal with them. In particular, examples like flux::distance(seq, {}, cursor) could still occur even if we dropped the default_constructible requirement.


Change prefix

LLVM only allows branches with the user/ prefix.

Stack from ghstack (oldest at bottom):

(to be filled)


Max Message Size = 16mb

Hi,
I have a very simple question, any clarification would be much appreciated...
The max message size is set here: FrameDescriptor.java
Is the reason for setting such a restrictive max message size because you want to prevent the large message from evicting other items from the cache?
Thank you!

As it says in the Javadoc, it is a pragmatic length to encourage better design.
Large messages are a design smell. It is better to break them into chunks for transmission.

Hi @JPWatson, thanks for getting back to me.
I do understand that smaller messages are more 'pragmatic', but I was hoping for more clarification on exactly why on a hardware/OS level that using large messages is not pragmatic.
For example, our L3 cache size is 64mb - does that mean we can safely increase the max message size to 32mb instead of 16mb (the current limit)?
Thanks again for your time!

Larger messages are more likely to increase the number of cache misses. You'll also have the cost of doing fragment assembly on the receiver size which involves additional copies. There is a bigger picture to consider. For instance, what are you optimising for? how would you build up the 32MB message to send in the first place?

Yes, I understand the cost of assembly.
The reason we have to consider large messages is because our source of data (from a websocket API) contains huge messages as large 60mb. The data would end up being built up in our application memory. This isn't something we can avoid, which is why we have to consider increasing the max message length of Aeron.
Yes, we can manually divide the messages into sub-messages in order to bypass Aeron's max message length when we receive the websocket message, but downstream we still have to manually join the sub-messages up. Our logic now has to consider both joining out sub-messages up as well as Aeron's own fragment assembler.
Hence my question as to whether it is safe to increase Aeron's max message length, and what the potential implications are.
Thanks again for your time.

If single messages get larger than what can practically fit in CPU cache along with other relevant data and code then performance can significantly degrade therefore we actively discourage designs that use large messages.

@mjpt777 do you mean the last level cache or per core one?


Fix UNSAFE_componentWillMount error

[x] Make this error stop showing up:

This error is caused by the react-helmet library, which hasn't been updated since 2020 and seems to no longer be maintained. Fixed by replacing with react-helmet-async


Virtual methods not invoked on generic superclass of Node

Godot version
4.0
System information
Windows 10
Issue description
When class A derives from a generic superclass, B the virtual methods such as _Ready that were overriden on B are not being invoked.
I noticed this when writing said superclass on a library project, and trying to use it on my godot project.
Steps to reproduce
First, define the superclass like so in an external project (outside res):
namespace MyLibrary
{
	public partial class Cursor2D : Node2D
	{
		public override void _Ready()
		{
		    <Some log message here>
		}
	}

Second, define the subclass like so:
	public partial class MyCursor2D : MyLibrary.Cursor2D
	{
	}

Now if you were to run the project, you would not see the log message printed.
Minimal reproduction project
N/A

Missing an MRP, but the library project is likely not setup correctly for this to work.


The indicator line of the motionControllers does not coincide with the starting point of the ray

Overview
The indicator line of the motionControllers does not coincide with the starting point of the ray,
Cause small objects in the vicinity to not trigger.
Expected Behavior
The starting point of the two lines should coincide
Actual Behavior
The indicator line of the motionControllers does not coincide with the starting point of the ray
Steps to reproduce
1.Open HoloToolkit-Examples/UX/Scenes/InteractableObjectExample.unity
2.Check the DebugDrawPointingRays property of the FocusManager.
Unity Editor Version
Mixed Reality Toolkit Release Version

Fixed in the 2017.4.2 release.


Body font

It may be desirable to adjust its weight or spacing.

Adjusting to
letter-spacing: -0.2px seems desirable and also matches Shiny site.


Resetting the DMA IP and drivers

We often get into a situation in which the DMA errors out. Specifically, the TX does not complete (it is run using oneway transfers with no wait). The receive side then times out because no data arrives. When we shut down the receive and try to restart the DMA operations neither side works unless we unload and reload the dma drivers.
There has to be a better way to reset the drivers and the DMA IP but I am not sure I know what it is. If you have any ideas or guidance that would be great.

I received the following perhaps relevant response on the Xilinx message boards https://forums.xilinx.com/t5/Serial-Transceivers/XAPP-1198-targetting-UltraScale-XCVU095-FFVB2104E/m-p/1008258#M5068 broadly stating that AXI doesn't tolerate incomplete transactions and that in order to reset a situation born of an incomplete transaction additional IP needs to be employed

Same with you


Upgrade to node-fetch 3.0 final

Describe the problem
we're on a beta version
Describe the proposed solution
I tried briefly in https://github.com/sveltejs/kit/pull/2422, but ran into some issue. I'd love if someone were able to take a closer look and figure out what's going on
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

I tried to look into this today:
node-fetch updated to pure esm with 3.0.0. But their package.json  looks a bit strange.
It only has a "main" field pointing at src/index.js   no "exports", no "module".
According to node docs, main is for require, so cjs.
I'm not entirely sure if/how that trips up kits build, but its very odd.

tried it with a local node-fetch where i added "module" and "exports", no luck. There is a strange import to "streams/web" in kit/dist/chunks/index5.js which is experimental and only available in node16. And what can i say, when i use the edited node-fetch and node16, i can build the hn example ...
If someone has an idea whats causing that import, i'd be glad to hear it.

It looks like they tried to pollyfill it:
https://github.com/sveltejs/kit/pull/2422/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR4090
I'm not sure why that isn't working

the code that tries it is in fetch-blob , streams.cjs
if (!globalThis.ReadableStream) {
  try {
    Object.assign(globalThis, require('stream/web'))
  } catch (error) {
		// TODO: Remove when only supporting node >= 16.5.0
    Object.assign(globalThis, require('web-streams-polyfill/dist/ponyfill.es2018.js'))
  }
}

aaaand there is a bug report on fetch-blob already https://github.com/node-fetch/fetch-blob/issues/117

tried it with a local node-fetch where i added "module" and "exports", no luck. There is a strange import to "streams/web" in kit/dist/chunks/index5.js which is experimental and only available in node16. And what can i say, when i use the edited node-fetch and node16, i can build the hn example ...
If someone has an idea whats causing that import, i'd be glad to hear it.

I tried building in node16 in local and node14.x in vercel, still the same error for not finding stream.


pcr when cells per batch is less than 50

Some of my samples (batch) have less than 50 cells (doing an analysis of cell compartments of a sample so I'm looking at much less of the total cell number for the original sample), thus I get this error:
in pc_regression
pca = sc.tl.pca(matrix, n_comps=n_comps, use_highly_variable=False,
File "/home/jaaayy/miniconda3/envs/scib/lib/python3.10/site-packages/scanpy/preprocessing/_pca.py", line 195, in pca
raise ValueError(
ValueError: svd_solver: {svd_solver} can not be used with sparse input.
Use "arpack" (the default) or "lobpcg" instead.
Anyway to add option for this case so I can use the convenience functions without having to run the internal code myself piece by piece? For some reason this only happens with scib.metrics.cell_cycle and not scib.metrics.pcr thought... not sure why..
Would be greatly appreciated!!

Nevermind, i fixed with:
import scipy.sparse
temp=object.copy()
temp.X = temp.X.todense()


Allow usage in node app without babel

Observation
The sources are transpiled with a tsc module target of es2015.
Problem
This makes them unusable in a node app with only a typescript setup (no webpack or babel):
./node_modules/vuex-class-modules/lib/index.js:1
export { Action } from "./actions";
^^^^^^

SyntaxError: Unexpected token 'export'

Proposed solution
#46 Transpile to commonjs modules in addition to es2015.

Now that the PR is merged, are this complete, @ftes ?

Yes, thanks! Using it in our project already :).
On Wed, Feb 24, 2021, 10:07 Bodo Graumann<EMAIL_ADDRESS>wrote:

Now that the PR is merged, are this complete, @ftes
https://github.com/ftes ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gertqin/vuex-class-modules/issues/47#issuecomment-784924466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAT6LTGS5NAW4256LIN7WFTTAS6V5ANCNFSM4UDONEAQ
.


display license.ident in the admin-ui

Codecov Report

Merging #422 into master will decrease coverage by 0.03%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##           master     #422      +/-   ##
==========================================
- Coverage   38.41%   38.38%   -0.04%
==========================================
  Files          20       20
  Lines        1658     1662       +4
==========================================
+ Hits          637      638       +1
- Misses       1021     1024       +3

Impacted Files
Coverage Δ

app/scripts/app.js
8.18% <0%> (-0.08%)
:arrow_down:

app/scripts/controllers/common.js
17.3% <33.33%> (+0.31%)
:arrow_up:

Continue to review full report at Codecov.

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


dynamic custom tag names

I would like to determine which custom tags get called via my renderer.js
So in the renderer, something like this:
data.details=['d1','d2','d3']
And then in template.marko (which doesn't work):
<for each="detail in data.details">
        <${detail} />
</for>
One solution would be to explicitly call out tags conditionally:
<for each="detail in data.details">
        <if test="detail==='d1'">
                <d1 />
        </if>
</for>
But is there any other way to accomplish this?

Hi @yomed, instead of a custom tag (which is associated with a renderer function) you can invoke a renderer(input, out) function directly:
data.renderers=[
    require('../foo'),
    require('../bar'),
    require('../baz')
]

<for each="renderer in data.renderers">
    <invoke function="renderer(myInputObject, out)"/>
</for>

I don't know exactly how that fits into your app, but hopefully you get the idea. FYI, a custom tag is resolved to a renderer at compile-time.
Please let me know if that doesn't solve your problem.

Thanks Patrick, that seems to work well. Do you know how I might include w-id in this case?
So that
<detail w-id="detail[]" />

would become something like this...
<invoke function="renderer(data, out)" w-id="detail[]" />

Assigning a w-id attribute to an <invoke> tag currently doesn't work because of how the compile-time transform is implemented for marko-widgets. I'll look into seeing if it can be supported with a small code change. Can you please open a Github issue against the marko-widgets project?

Ok thanks. That would be great if this could be supported.

marko-widgets was updated to support the w-id attribute with the <invoke> tag: https://github.com/raptorjs/marko-widgets/issues/46
Closing this issue.


Require auto merge enabled is not working as documented

I'm getting the following error: Invalid action input 'require_auto_merge_enabled'
I can see from the PR enabling require_auto_merge_enable that it's not including the right input for auto merge enable.
require_auto_merge_anable should be defined as an input in this file:

If allowed, I could contribute to fix the issue.

@mariushusevaag Sorry, just saw this. Sure contribution is very welcome

Hi @mariushusevaag I have fixed the issue and released a new version v0.7.1. Let me know if the issue is still there. Thank you again for the report


Manage multiple veLORDS positions from one wallet

Describe the feature you'd like to request
The ability to manage multiple veLORDS positions in one wallet from the Lords account page
Describe the solution you'd like to see
The ability to manage multiple veLORDS positions in one wallet from the Lords account page
Additional information
No response

I don't believe this is possible with the implementation of the contract (each address can only have one lock - similar to Yearn veYFI) - and would likely take substantial refactoring to support


lumen8 use paginate error,

model::search($name)->simplePaginate($pageSize, '', $page);
report:
vendor/tamayo/laravel-scout-elastic/src/Engines/ElasticsearchEngine.php 114 "Unsupported operand types"

I have same issue in laravel 8.

The problem is in this file: src / Engines / ElasticsearchEngine.php
Wherever there is ['hits'] ['total'] (3 places in the file) should be replaced with ['hits'] ['total'] ['value']


Router: Implement routing into Kubernetes

There are several approaches for routing to services inside of Kubernetes. It is likely that at least one will be merged into k8s 1.1. We should investigate whether we will use that (probably haproxy based), use another, or write our own.
At one point, @aledbf did one that had some huge advantages. We should revisit whether we can run that one without requiring us to patch Kubernetes.

@technosophos  this is what I am using in production https://github.com/aledbf/kube-haproxy-router
It doesn't support SSL (but is easy to add)
The downside of that change is that all the customization that is possible to achieve now with nginx it will be removed or not compatible with deis 1.X
There is an alternative to such radical change if this is merged https://github.com/openresty/lua-upstream-nginx-module/pull/13 maybe in a month. It will be possible to not restart/reload nginx for operations related with upstreams: add_server(), add_peer(), remove_server(), remove_peer()
So with that PR + something similar to this https://github.com/kelseyhightower/motorboat is posible to provide a transparent upgrade path. At the same time is possible to remove the direct access to etcd and the need for deis-publisher to publish applications in the cluster.

done, https://github.com/deis/router is now a thing


Enabled loading of additional context sources

This sounds like something I would be very interested in. I am not sure how it would fit in oterm but unless you are decided you don't want to discuss it, I would be happy to.

This sounds like something I would be very interested in. I am not sure how it would fit in oterm but unless you are decided you don't want to discuss it, I would be happy to.

So, to preface, I made an accidental pull request and wanted to remove it so maintainers don't get spammed. Instead of a pull request, I attempted to merge that branch with the main of the fork I was working on, but I'm terrible with the Github UI.
With that said, adding context may not be something that oterm should handle, but whatever server oterm interfaces with. An idea I had was to intercept requests to Ollama and enrich them with context before passing them through. I still think this is the way to go in terms of maintainability and avoiding mixing ML processing directly with oterm - data processing doesn't get mixed with data presentation. I believe LangChain has some tools to help with that, but I'm not terribly familiar with their framework so I stuck with the libraries I'm comfortable with.
I opted for an alternate approach, shoe-horning everything into oterm, because I had already built a rudimentary prototype of the functionality, but with a terrible UI. So when I saw how superior oterm UI was to my "handrolled" one, I resolved to just integrate some parts of the previous project, and use it like that, for reasons I tried to state in the updated README.md of the fork.
TL;DR: some sort of middleman between oterm and ollama could be better for adding context to requests instead of putting that functionality into one project or the other.

I absolutely agree with what you state here. oterm is the wrong product for this. The reason I am interested in exploring further is that I was also thinking of doing a separate project, borrowing perhaps parts of oterm and focusing on the RAG parts. I haven't yet anything and my time is very limited, but if you want to start something along these lines please get into contact.


PR for WMS 11388

WMS 11388

This is a OCW23 HOL (Python and Spatial) work in progress.
Per David Start, need to pull this as private (hidden) to initiate Green Button

@dlapp - Along with placeholder there are a few files updated in a different folder. Could you share the WMS ID for that workshop?

@anooshapilli Sorry about that! The other WMS ID is 11131.  It's the other OCW23 Spatial HOL which is repeat from OCW22.

@dlapp - Thanks for sharing the ID of the workshop. I see that workshop is in QUarterly QA status. Could you perform the Quarterly QA of the workshop using the steps in the guide - LINK Thanks!


feat(protocol): Batch Reader

Description
Re-introduces the BatchReader into op-alloy-protocol.
Batch compression already introduces the brotli and miniz-oxzide deps.
The compression and decompression abstractions used here should be improved for both directions: compression + decompression.

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#265 👈
main

This comment was automatically generated by st.


exponentialBackoff() behavior question

In BatchOperation, the current implementation of exponentialBackoff()'s combined use of Math.floor and Math.random means that you can get delays as low as 0 milliseconds even with a large attempt number. For instance, running the following generally shows a large number of 0 results:
for (let i = 0; i < 1000000; i++) {
   if (exponentialBackoff(15) === 0) {
      console.log('0 backoff')
   }
}

Two questions related to this:

Math.random() here effectively allows jittering down to very small delays even after many attempts (since very small random fractions will take even a large power of 2 down to a small number of milliseconds). Is this an intentional part of the backoff + jitter strategy or is it actually a bug where the delay should be more straightforwardly exponential and the random jitter a much smaller component?
If (1) is intended, then is the use of floor() intentional to allow 0 or would ceil() be a slightly better fit to at least ensure some delay (1 ms + timer and event loop latency rather than just event loop latency)? This is probably irrelevant since I doubt there's much difference between requesting a 0 vs a 1 ms delay when it comes to the JS event loop, but I was curious about the intent.

The intent with the exponentialBackoff function was to implement the strategy referred to as "full jitter" in Marc Booker's blog post, Exponential Backoff and Jitter. It is expected that some backoffs will be 0ms in length.

Thanks @jeskew -- I appreciate the very interesting and insightful reference. This makes sense now, obviously not an issue and something to apply to my own projects in the future :)
I'll go ahead and close this issue.


move exclamation.zip location

Motivation
Current location of test python function zip package is inappropriate.
Also removed requirements.txt file from exclamation.zip

run integration tests

@jerrypeng We should also remove the zip file from sources before 2.3 release. The zip should be constructed at build time

Also, please make sure the zip doesn't include the requirements.txt per my other comment: https://github.com/apache/pulsar/pull/2965#issuecomment-437273936

@merlimat as I mentioned under the "Motivation" section for this PR, I already removed the requirements.txt from the zip file

@merlimat as I mentioned under the "Motivation" section for this PR, I already removed the requirements.txt from the zip file

OK :) missed that

@merlimat I will submit another PR to construct the zip programmatically


Improve initial isVisible prop check

Short circuiting the isVisible prop will always lead to the fallback value (true) as false will always be skipped and therefore won't work as expected

Nice @webbri
Thanks!


Move zachjs sv2v from conda-misc

Zachjs-sv2v passed and it's not a dependency for anything. Merging.


Convert to manual impl should add generic parameters

Code & tests in question:  https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs

Can i work on this issue?

Sure!

Ok thanks!

@rishit-khandelwal Are you still working on this? If not, I would like to take it up.

@TheDoctor314 ah no I'm not working on it.


fix for #1469, minimal testing for profiling

@TParcollet regarding #1469 -> I commented out all assertions that are out of my control for testing the profiling wrapper. There are too many changes on how many nested functions are called for changes of package installation, libraries, OS, ... - this way testing is more slim but shouldn't raise issues in the future. let's see

lgtm


Adding Multiple Files through GUI

Hi,
With the desktop app, there's an option to drag and drop multiples files and have MKVToolNix create a tab for each file. Do you know if this is possible through the Docker App?

I didn't find a way to achieve this...

While there is no drag-and-drop functionality, you can open multiple files and MKVToolNix will ask you if you want to create a tab for each file.

Closing this issue, please re-open if needed.


Put Umple releases in the Maven Central Repository

Work has been started in this. So far:
Account created with issue for Umple on sonatype using Tim Lethbridge's google account
Requirements
http://central.sonatype.org/pages/requirements.html
https://search.maven.org'
http://central.sonatype.org
https://issues.sonatype.org/browse/OSSRH-27330

This is needed for also putting Umple properly in homebrew #756
Boosted priority since we need this to increase umple priority

Note that versions of Umple are now being published in an ivy-compatible directory. See #653
The repo is at
http://cruise.eecs.uottawa.ca/dist/org.umple/umple/jars/
Other URLS that an help with this issue.
Uploading to the Central Repository
https://maven.apache.org/guides/mini/guide-central-repository-upload.html
OSSRH guide
http://central.sonatype.org/pages/ossrh-guide.html
We will need to generate a POM for every version (see the requirements URL in the first comment)
POM reference is here https://maven.apache.org/pom.html
Gradle for generating POM is here https://docs.gradle.org/current/userguide/maven_plugin.html

In addition to the above, see the Github packages page
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry


Fix compilation with Cabal 3.12

It appears that a change in Cabal 3.12 has caused the dummy Lexer.hs file to no longer be shadowed by the one produced from Lexer.x which causes compilation to fail with cabal-3.12 install fast-tags
Moreover, it no longer seems necessary, since cabal repl successfully loads the project even when Lexer.hs does not exist in the source (only Lexer.x does)
The simple solution seems to simply delete this hacky Lexer.hs file from the source.

It looks like cabal repl is fine without Lexer.hs even in cabal 3.10.  Thanks for the fix!


curl xmllint command does not write a file anymore

Merged in 81504fe (it was better to use stdin anyway).