Pipenv environments not activated via pipenv

Environment data

VS Code version: 1.54.3
Extension version (available under the Extensions sidebar): v2021.3.658691958
OS and version: Windows 10 + [WSL1] Ubuntu 20.04
Python version (& distribution if applicable, e.g. Anaconda): 3.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
Relevant/affected Python packages and their versions: none
Relevant/affected Python-related VS Code extensions and their versions: none
Value of the python.languageServer setting: Jedi

Expected behaviour
Virtual environments created with pipenv should be activated via pipenv shell (pipenv initializes the environment in slightly more steps, most important of which for me personally is loading an .env file).
Actual behaviour
Virtual environments created with pipenv are activated via source /home/user/.local/share/virtualenvs/project-hash/bin/activate.
Steps to reproduce:

Create a folder.
Run pipenv shell in that folder.
Open that folder in VS Code.
Select Python interpreter for the virtual environment created with pipenv.
Open new terminal in VS Code.

Logs

Output for Python in the Output panel

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonFindInterpreter'
User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'DeprecatePythonPath - experiment'
> conda --version
> python3.7 ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.3.658691958/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2021-03-17 16:41:27: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://wsl+ubuntu-20.04/home/feakuru/.config/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://wsl+ubuntu-20.04/home/feakuru/.config/Code/User/settings.json')
	at _handleError (/home/feakuru/.vscode-server/bin/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/out/vs/server/remoteExtensionHostProcess.js:87:151863)
	at async y.readText (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:9:328725)
	at async p.doesFileNeedToBeFixed (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:578194)
	at async /home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:577321
	at async Promise.all (index 0)
	at async p.getFilesToBeFixed (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:577267)
	at async p.updateTestSettings (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:576894)] {
  code: 'FileNotFound'
}
Error 2021-03-17 16:41:27: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://wsl+ubuntu-20.04/home/feakuru/projects/project/.vscode/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://wsl+ubuntu-20.04/home/feakuru/projects/project/.vscode/settings.json')
	at _handleError (/home/feakuru/.vscode-server/bin/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/out/vs/server/remoteExtensionHostProcess.js:87:151863)
	at async y.readText (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:9:328725)
	at async p.doesFileNeedToBeFixed (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:578194)
	at async /home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:577321
	at async Promise.all (index 1)
	at async p.getFilesToBeFixed (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:577267)
	at async p.updateTestSettings (/home/feakuru/.vscode-server/extensions/ms-python.python-2021.3.658691958/out/client/extension.js:61:576894)] {
  code: 'FileNotFound'
}
Starting Jedi Python language engine.
Python interpreter path: ~/.local/share/virtualenvs/project-hash/bin/python
> conda --version

@feakuru Can you add this to user settings and see if it helps? You will have to reload VS Code after adding it.
    "python.experiments.optInto": [
        "pythonDiscoveryModule"
    ],

I think we may not be detecting pipenv environment correctly here. The pythonDiscoveryModule is experimental and should do better with detecting environment types.

This is currently intentional, dup of https://github.com/microsoft/vscode-python/issues/12011#issuecomment-772910685. pipenv shell has its issues https://github.com/microsoft/vscode-python/issues/4404.
This feature request might interest you https://github.com/microsoft/vscode-python/issues/12011#issuecomment-636294562.

Duplicate of #12011

@karrtikr thanks for the response. Maybe I am missing something, but I did not find out a description of the issues that you say pipenv has in any of the issues you linked. Do you mean the fact that it has to issue two terminal commands to activate the env - one (pipenv shell) to spawn a new shell and one (source activate) to actually activate the venv?

@karthiknadig I get a This setting cannot be applied in this window. It will be applied when you open local window. popup when I do that. Due to WSL, I assume?

@feakuru If you check out the terminal in #4404, the pipenv shell and pipenv install commands are sent back to back, with pipenv install sent before pipenv shell has finished execution. That is a problem.

@feakuru for WSL you have to set that in the WSL settings (see screenshot below). I thought this was a issue with detection, but, as @karrtikr suggested this is not. It is an issue with how commands are sent to the terminal.


sqlalchemy.exc.OperationalError

Dear blogger, I want to know how you managed to run this project successfully? I tried to add the following code in the microblog.py file to run the project and used the registration function, but the program reported the following error. Could you please tell me how to solve it?
Add the code launcher as shown in the figure：

Program error as shown below：

@yishun-Liu Are you following my tutorial? I'm not sure what you are trying to do, but the code that you added is not part of the tutorial. The shell context function is not supposed to be called directly, what you are doing is incorrect.

I found it was caused by the conflict between the Python version and the Jinja2 version. The problem has been solved. Thank you very much and wish you good health.


Issue with zarr 2.18.2

I'm encounter the following error when running sc2ts using zarr 2.18.2.
File "/Users/shingzhan/Projects/sc2ts/sc2ts/inference.py", line 996, in convert_tsinfer_sample_data
    resize_copy(data["sites/metadata"], ts.num_sites)
  File "/Users/shingzhan/Projects/sc2ts/sc2ts/inference.py", line 988, in resize_copy
    array[:] = [x] * new_size
    ~~~~~^^^
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 1452, in __setitem__
    self.set_basic_selection(pure_selection, value, fields=fields)
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 1548, in set_basic_selection
    return self._set_basic_selection_nd(selection, value, fields=fields)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 1938, in _set_basic_selection_nd
    self._set_selection(indexer, value, fields=fields)
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 1991, in _set_selection
    self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields)
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 2259, in _chunk_setitem
    self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields)
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 2263, in _chunk_setitem_nosync
    cdata = self._process_for_setitem(ckey, chunk_selection, value, fields=fields)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shingzhan/micromamba/envs/ts/lib/python3.12/site-packages/zarr/core.py", line 2324, in _process_for_setitem
    chunk[chunk_selection] = value
    ~~~~~^^^^^^^^^^^^^^^^^
ValueError: could not broadcast input array from shape (29422,) into shape (750,)

It works fine when I install zarr 2.18.0. I haven't looked into exactly why.

Good to know, thanks. Let's pin on < 2.18 for now.


MRIQC trouble with multiecho data?

What happened?
When running MRIQC I'm getting the following error message, which seems to only occur for multiecho data:
TypeError: expected str, bytes or os.PathLike object, not list
Thank you
What command did you use?

Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Process Process-2:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.11/site-packages/mriqc/cli/workflow.py", line 56, in build_workflow
    retval['workflow'] = init_mriqc_wf()
                         ^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/mriqc/workflows/core.py", line 48, in init_mriqc_wf
    workflow.add_nodes([fmri_qc_workflow()])
                        ^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/mriqc/workflows/functional/base.py", line 90, in fmri_qc_workflow
    bold_len = nb.load(bold_path).shape[3]
               ^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/nibabel/loadsave.py", line 96, in load
    filename = _stringify_path(filename)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/nibabel/filename_parser.py", line 41, in _stringify_path
    return pathlib.Path(filepath_or_buffer).expanduser().as_posix()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/pathlib.py", line 871, in __new__
    self = cls._from_parts(args)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/pathlib.py", line 509, in _from_parts
    drv, root, parts = self._parse_args(args)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/pathlib.py", line 493, in _parse_args
    a = os.fspath(a)
        ^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not list

Additional information / screenshots
No response

Duplicate of #1282. This will be fixed in the next release.

I also have the same problem. Is there any solution for it?
Thanks!


Roll back/update tweenjs to 19.0.0 (latest working version)

this is no permanent fix as is nice to have a package up-to-date but for now until https://github.com/tweenjs/tween.js/pull/659 is merged it works

checked all versions and version 19.0.0 seems to work the best

/makerelease

/makerelease 1.26.2


Update after refactoring away parsers in LlamaIndex, also update docs to 0.6.0 API

Summary

Remove use of *Parser and ImageParserOutput after it's been removed from LlamaIndex
Also update docs from GPTSimpleVectorIndex(...) to GPTVectorStoreIndex.from_documents(...)

@emptycrown @jerryjliu  please feel free to merge when you get a chance.
This should fix the currently breaking unit tests


unresolved import sp_core::to_substrate_wasm_fn_return_value

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
NOTE: I tried this recommendation, but it did not work...
https://substrate.stackexchange.com/questions/1079/no-to-substrate-wasm-fn-return-value-in-the-root-when-i-run-cargo-build-in
I built a MacOS target example successfully
I built Substrate example successfully
When I added Substate dependencies to MacOS version I get the following error:
error[E0432]: unresolved import sp_core::to_substrate_wasm_fn_return_value
--> ~/.cargo/git/checkouts/substrate-7e08433d4c370a21/f38bd66/primitives/api/src/lib.rs:80:9
|
80 | pub use sp_core::to_substrate_wasm_fn_return_value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no to_substrate_wasm_fn_return_value in the root
Can this be my .toml , etc.
Note sp-core compiles but can not find. Using same version as contract pallet for testing.
Compiling sp-core v7.0.0 (https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.37#f38bd667)
#!/bin/bash
##################################################
We call this from an Xcode run script.
##################################################
set -e
if [[ -z "$PROJECT_DIR" ]]; then
echo "Must provide PROJECT_DIR environment variable set to the Xcode project directory." 1>&2
exit 1
fi
cd $PROJECT_DIR
export PATH="$HOME/.cargo/bin:$PATH"
Without this we can't compile on MacOS Big Sur
https://github.com/TimNN/cargo-lipo/issues/41#issuecomment-774793892
if [[ -n "${DEVELOPER_SDK_DIR:-}" ]]; then
export LIBRARY_PATH="${DEVELOPER_SDK_DIR}/MacOSX.sdk/usr/lib:${LIBRARY_PATH:-}"
fi
TARGETS=""
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
TARGETS="aarch64-apple-ios-sim,x86_64-apple-ios"
else
TARGETS="x86_64-apple-darwin,aarch64-apple-darwin"
fi
if [ $ENABLE_PREVIEWS == "NO" ]; then
if [[ $CONFIGURATION == "Release" ]]; then
echo "BUIlDING FOR RELEASE ($TARGETS)"
cargo lipo --release --manifest-path ../Cargo.toml  --targets $TARGETS
else
echo "BUIlDING FOR DEBUG ($TARGETS)"
cargo lipo --manifest-path ../Cargo.toml  --targets $TARGETS
fi
else
echo "Skipping the script because of preview mode"
fi
[package]
name = "macos-rust-analyzer"
version = "0.1.0"
edition = "2021"
build = "build.rs"
[build-dependencies]
swift-bridge-build = "0.1"
[lib]
crate-type = ["staticlib"]
[dependencies]
swift-bridge = "0.1"
ide = {git = "https://github.com/rust-analyzer/rust-analyzer"}
petgraph = "0.6.3"
anyhow = "1.0.43"
frame-metadata = { version = "15.0.0", features = ["v13"] }
hex = "0.4.3"
parity-scale-codec = "3.0.0"
reqwest = { version = "0.11.4", features = ["json"] }
serde = "1"
serde_json = "1"
tokio = { version = "1.10.0", features = ["full"] }
jsonrpsee = { version = "0.12.0", features = ["async-client", "client-ws-transport"] }
Various types and functions useful for interacting with substrate exist in these sp (substrate-primitives) crates:
sp-core = { git = "https://github.com/paritytech/substrate", package = "sp-core", default-features = false, branch = "polkadot-v0.9.37" }
sp_runtime = { git = "https://github.com/paritytech/substrate", package = "sp-runtime", default-features = false, branch = "polkadot-v0.9.37" }
sp_keyring = { git = "https://github.com/paritytech/substrate.git", package = "sp-keyring", default-features = false, branch = "polkadot-v0.9.37" }
sp_version = { git = "https://github.com/paritytech/substrate.git", package = "sp-version", default-features = false, branch = "polkadot-v0.9.37" }
XCM utilized for the 06_storage_iter example.
xcm = { version = "0.9", git = "https://github.com/paritytech/polkadot.git", branch = "master", package = "xcm" }
There are some types we want in the pallet crates (if we liked, we could just redefine them to save bringing these in):
pallet_balances = { git = "https://github.com/paritytech/substrate.git", package = "pallet-balances", default-features = false, branch = "polkadot-v0.9.37" }
pallet_system = { git = "https://github.com/paritytech/substrate.git", package = "frame-system", default-features = false, branch = "polkadot-v0.9.37" }
[profile.dev]
panic = 'unwind'
[profile.release]
panic = 'unwind'
Steps to reproduce
I created Mac version of project here successfully -
https://chinedufn.github.io/swift-bridge/building/xcode-and-cargo/index.html
Added dependencies from this project which caused import error -
https://github.com/paritytech/polkadot-interaction-examples-rs

to_substrate_wasm_fn_return_value this is only available when the std feature is not enabled for sp_core.

default-features = false
Yes, I have default-features = false, do i need to put standard-features = false ?

I would assume that you still have std feature enabled or something. Given the things you said here it is not possible to help you, because there is no context.

I would assume that you still have std feature enabled or something. Given the things you said here it is not possible to help you, because there is no context.

I resolved the problem. I was using crate versions from examples (dated). BAD IDEA.
If I have time, I need to go back and update those examples so others do not have this problem.
I updated crate versions and added a features flag for entire Cargo.toml
Issue resolved.

Ty for reporting back!

Ty for reporting back!

My pleasure. Teamwork...


Add suggestions to help module

This change would cause !help to list possible matches if the module name was not exact

LGTM


testing: Invalidate cache before counting queries.

To get accurate count of the queries, we should make sure that
caches don't come into play. Caches are not supposed to be persistent,
so if we count queries while caches are filled, we will get a lower
count. Our test can also fail if cache is invalidated during the course
of the unit test.
@timabbott.

Merged, thanks @umairwaheed!


Switches don't detect mouse clicks near top

I can't click the Dark Mode switch on the Chromebook Pixel; but I can tap it.  Most likely, someone is doing something like TouchEvent in document ? addEventListener('touchdown') : addEventListener('click')
Not sure if this is a bug for you here or @traviskaufman on mdc-web.

@appsforartists  Can you check if its working here
http://material-components-web.appspot.com/switch.html

On both that page and on the Dark Mode slider on the docs page, the switches toggle if I click near the bottom of the track, but not if I click near the top.
(Additionally, my cursor turns into a pointer over some regions of the disabled switches, although it probably shouldn't.)

@appsforartists It looks as if this is a bug in mdc-web - sorry @traviskaufman. I'm seeing the same behaviour (pointer becoming a cursor) on MS Edge and Chrome for Windows.
The implementation is purely (S)CSS applied to a checkbox and a pair of decorative divs to provide the background and the slider image, and Preact Material Components is just creating the markup to match the spec here: https://github.com/material-components/material-components-web/tree/master/packages/mdc-switch

@appsforartists  can you please open the same in mdc-web.


Minimize rebuilds of RAFT code due to knowhere changes

The primary purpose of this PR is to minimize long rebuilds during development (or in CI if previous builds are cached). We do this by strictly separating the compilation of RAFT components from the compilation of components requiring logic from knowhere headers.
In addition to this separation, this PR updates the RAFT version to a fork of 23.12 containing a critical thread safety fix for device_resources_manager. This branch will also be used to bring in changes necessary for integration of a RAFT brute force index prior to the 2.4 release of Milvus.
During development, I noticed that linting had been inconsistently applied to cuda code, resulting in confusingly long diffs for relatively small changes. I have updated the linting here to more consistently apply to cuda code in order to make review of this and future PRs more straightforward.
More detailed comments inline.
Resolve #263

/kind enhancement

/lgtm


Move category icon logic from template to Python

Currently the category-icon.html template contains the logic that associates a page category with a particular icon (for example, "speech-bubble" for blog pages).
Unfortunately, there are many existing page categories (as hardcoded in ref.py) that don't have icons defined. This shows up on the site as missing icons, as reported on internal platform#4114.
This PR moves the category-icon mapping from a template (which is deprecated) into ref.py itself. It adds a test that ensures that all categories have an associated icon (which will fail for now, see below).
It also removes the three existing uses of the category-icon.html template:

Ask CFPB AnswerLandingPage template: instead of using category-icon.html, category icons are generated as part of the page backend logic. Relevant unit tests have been updated. Consistent behavior can be verified on this branch by running a local server and visiting http://localhost:8000/ask-cfpb/ and http://localhost:8000/es/obtener-respuestas/, and seeing that icons appear properly at desktop and narrow widths.
RelatedPosts module template: instead of using category-icon.html, category icons are generated as part of the block backend logic. Relevant unit tests have been updated. I've created a template debug view to verify existing behavior, which can be accessed locally at http://localhost:8000/admin/template_debug/v1/related_posts/. To compare production pages, use these URLs for RelatedPosts in a sidebar (1, 2) and these for RelatedPosts in a footer (1, 2).
The category-slug.html template, used various places to render a category name and icon: instead of using category-icon.html, a new get_category_icon Jinja method is used instead.

Notes and todos
This PR adds a test that will fail if any page category lacks an associated icon. But many of the current ones do! They are:

Subcategory
Category slug
Category name

Administrative adjudication docket
administrative-adjudication
Administrative adjudication

Administrative adjudication docket
stipulation-and-constent-order
Stipulation and consent order

Amicus Brief
us-supreme-court
U.S. Supreme Court

Amicus Brief
fed-circuit-court
Federal Circuit Court

Amicus Brief
fed-district-court
Federal District Court

Amicus Brief
state-court
State Court

Consumer Reporting Companies
nationwide
Nationwide

Consumer Reporting Companies
employment-screening
Employment screening

Consumer Reporting Companies
tenant-screening
Tenant screening

Consumer Reporting Companies
check-bank-screening
Check and bank screening

Consumer Reporting Companies
personal-property-insurance
Personal property insurance

Consumer Reporting Companies
medical
Medical

Consumer Reporting Companies
low-income-and-subprime
Low-income and subprime

Consumer Reporting Companies
supplementary-reports
Supplementary reports

Consumer Reporting Companies
utilities
Utilities

Consumer Reporting Companies
retail
Retail

Consumer Reporting Companies
gaming
Gaming

Enforcement Action
administrative-proceeding
Administrative Proceeding

Enforcement Action
civil-action
Civil Action

Final rule
interim-final-rule
Interim final rule

Final rule
final-rule
Final rule

FOIA Frequently Requested Record
log
Log

FOIA Frequently Requested Record
record
Record

Notice and Opportunity for Comment
notice-proposed-rule
Advance notice of proposed rulemaking

Notice and Opportunity for Comment
proposed-rule
Proposed rule

Notice and Opportunity for Comment
interim-final-rule-2
Interim final rule

Notice and Opportunity for Comment
request-comment-info
Request for comment or information

Notice and Opportunity for Comment
proposed-policy
Proposed policy

Notice and Opportunity for Comment
intent-preempt-determ
Intent to make preemption determination

Notice and Opportunity for Comment
info-collect-activity
Information collection activities

Notice and Opportunity for Comment
notice-privacy-act
Notice related to Privacy Act

Research Hub
research-publication
Office of Research Publication

Research Report
consumer-complaint
Consumer complaint

Research Report
super-highlight
Supervisory Highlights

Research Report
data-point
Data point

Research Report
industry-markets
Industry and markets

Research Report
consumer-edu-empower
Consumer education and empowerment

Research Report
data-spotlight
Data spotlight

Rule Under Development
notice-proposed-rule-2
Advance notice of proposed rulemaking

Rule Under Development
proposed-rule-2
Proposed rule

@jenn-franklin we chatted about this briefly on https://github.com/cfpb/consumerfinance.gov/pull/7360#issuecomment-1322776893; @csebianlander @sonnakim pinging you as well here. One option would be to try to assign icons to all of these - I could take a pass, or one of you could - and/or we could assign a fallback default icon to use if undefined.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

@sonnakim asked to see a list of all categories with their icons, which gave me the idea to add a new Wagtail report that does this; I've added this in the latest commit. The report can be accessed from the regular Wagtail reports menu or via direct local URL at http://localhost:8000/admin/reports/category-icons/. Sonna here's what the current list looks like, if it's helpful for review:

I'm fully on board with assigning icons to each category; I think maybe @jenn-franklin is best suited to picking them out?

Thanks @chosak , that's very helpful! I'm also fine with @jenn-franklin picking out icons. Andy and I just wanted to make sure the full context was available before any choices were made (where do the icons appear sitewide, let's make sure we're not duplicating icon choices, etc...).

Per further team discussion, we've decided not to try to add icons for all of our categories. For this reason I've removed the proposed new test that checked each category to make sure that it has an icon. Going forward the behavior will remain as-is: some categories have icons, and some don't. Those categories that have an icon will show their icon, those that don't, don't. Some page lists will continue not to have icons, now as designed, per platform#4114.
I'd like to move ahead with the rest of these changes, though: this still moves icon selection logic into Python which is a better place to maintain it, alongside the category definitions in ref.py. I'm also keeping the category icon report and new related posts template debug view. Practically speaking, then, this PR should have no actual impact on the website, and only amounts to some code cleanup. Re-assigning this to @anselmbradford and @willbarton for their code review.


ipv6的支持（使用zookeeper）

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.0
Operating System version: windows
Java version: 1.8
zookeeper version: 3.4.6

Steps to reproduce this issue
使用zookeeper作为注册中心，开启ipv6的情况下，服务消费者始终找不到服务提供者，能帮忙给解决一下吗？
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

You can confige the zookeeper address like this :
<dubbo:registry address="zookeeper://[fe80::1c23:653e:65a1:6014%en0]:2181"/>

fe80::1c23:653e:65a1:6014%en0 is my ipv6 in my mac.

@cvictory 一直是按照您提供的方式配置的，如果服务提供者和消费者在一台服务器上是可以的，分别在两台服务器上就提示找不到服务提供者了，我本地调试感觉和ipv6的scope_id有关。您能再看看吗？


Export with name gk6zgmp6wngkfalelzmkus2y7i:GetAtt:ClientGroupsDataSource:Name is already exported by stack

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14.21.3
Amplify CLI Version
8.4.0
What operating system are you using?
Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
I am using cli only, I don't change anything manually
Describe the bug
I just change schema.grapql file and run amplify push, it show ma an error  Export with name gk6zgmp6wngkfalelzmkus2y7i:GetAtt:ClientGroupsDataSource:Name is already exported by stack
Expected behavior
it shouldn't be an error, I should be able push success
Reproduction steps
I have tried to reproduce this error by creating sample application with same configuration however the issue is not able to reproduce on that application
Project Identifier
No response
Log output

# Put your logs below this line

Additional information
whenever I do any kind of changes on my schema and doing the push I got this error on different tables, I also have found this existing issue 2242
To resolve this error I tried below steps

amplify checkout
amplify api gql-compile
made some changes in schema.graphql file
amplify api gql-compile
amplify push -y

Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey,👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂


confounds in fmriprep-20.2lts release

In the HCP_trt, fmriprep-20.2lts release for confounds, there are just *-confounds_timeseries.tsv while Params is looking for  *confounds_regressor.tsv files. I'm wondering if load confounds scripts will be modified to can be useable for both versions?

fixed in release 0.6.5

fixed in release 0.6.5

@all-contributors please add @srastegarnia for bug


Fix links back to the Source storybook in our zeroheight documentation

Links from our Zeroheight design system documentation still direct users to the old Source storybook site. This piece of work involves changing the links from these pages to point to the csnx hosted storybook instead.
Example: https://theguardian.design/2a1e5182b/p/663879-select-box

After a sweep of the Zeroheight I changed all the Source storybook links I could find to point at the csnx storybook. Will reopen if more broken links are found.


Account for reclaims in primitive model

Context

In #1942 we accounted for withdrawals in mkTxMeta of Cardano.Wallet and in primitive model in prefilterBlock. Still, reclaim is to be addressed. We need to take reclaims into account in the primitive model when prefiltering blocks.
Ideally, we would look at the explicit fees on the transaction to know whether there are implicit reclaims or not. But, we don't have these explicit fees.. because they're only in Shelley transactions, and not in Byron or Jormungandr
Decision

Acceptance Criteria

Development

QA

Captured as: https://jira.iohk.io/browse/ADP-460


fix the annotations to use com.github.anuvu

Signed-off-by: Ravi Chamarthy<EMAIL_ADDRESS>

Shouldn't it really be com.cisco?

making it cisco will make it proprietary. Its best the tags be from the tool as well.

Huh? The license makes it proprietary (or not), not the annotations. This feels incorrect, since we're invading github's domain space (maybe if we did io.github instead, but even then...). I think we should use com.cisco or buy a domain for the tool and use that instead.

@kprav33n dont we have a domain for aci or atomix that you bought? Can i use that here?


${DIR}/../data/OIG/files/unified_ni.jsonl:0.2

Could you please tell me what's the meaning of 0.2? Can I add my own data to the DATASETS? If so, how should i do? Thanks so much!

It is the sampling weights used to build training batches from multiple data sources.
E.g. data_a:0.2,data_b:0.8, each time it has a 20% chance of sampling the sequence from data_a and an 80% chance of sampling from data_b.These weights will be normalized internally.

Thanks, @LorrinWWW. Let's add this to the training README?


Add missing module dependancy to cxf

Was reported out by user in hipchat room.
@asoldano please confirm

Linux Build 7809 is now running using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea

Windows Build 2850 is now running using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea

Windows Build 2850 outcome was SUCCESS using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea
Summary: Tests passed: 3055, ignored: 358 Build time: 00:56:59

Linux Build 7809 outcome was FAILURE using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea
Summary: Tests failed: 1 (1 new), passed: 3054, ignored: 358 Build time: 00:58:27
Failed tests
org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutRelayedToBackups: java.lang.AssertionError: expected:<200> but was:<500>
	at org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutRelayedToBackups(XSiteSimpleTestCase.java:146)
------- Stdout: -------
17:15:53,770 INFO  [org.jboss.as.test.clustering.cluster.ClusterAbstractTestCase] (main) xsite.war:
/WEB-INF/
/WEB-INF/classes/
/WEB-INF/classes/org/
/WEB-INF/classes/org/jboss/
/WEB-INF/classes/org/jboss/as/
/WEB-INF/classes/org/jboss/as/test/
/WEB-INF/classes/org/jboss/as/test/clustering/
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/CacheAccessServlet.class
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/CacheAccessServlet$Custom.class
/WEB-INF/web.xml
/META-INF/
/META-INF/MANIFEST.MF
17:15:53,795 INFO  [org.jboss.as.test.clustering.cluster.ClusterAbstractTestCase] (main) xsite.war:
/WEB-INF/
/WEB-INF/classes/
/WEB-INF/classes/org/
/WEB-INF/classes/org/jboss/
/WEB-INF/classes/org/jboss/as/
/WEB-INF/classes/org/jboss/as/test/
/WEB-INF/classes/org/jboss/as/test/clustering/
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/CacheAccessServlet.class
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/CacheAccessServlet$Custom.class
/WEB-INF/web.xml
/META-INF/
/META-INF/MANIFEST.MF
17:15:53,801 INFO  [org.jboss.as.test.clustering.cluster.ClusterAbstractTestCase] (main) xsite.war:
/WEB-INF/
/WEB-INF/classes/
/WEB-INF/classes/org/
/WEB-INF/classes/org/jboss/
/WEB-INF/classes/org/jboss/as/
/WEB-INF/classes/org/jboss/as/test/
/WEB-INF/classes/org/jboss/as/test/clustering/
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/CacheAccessServlet.class
/WEB-INF/classes/org/jboss/as/test/clustering/xsite/CacheAccessServlet$Custom.class
/WEB-INF/web.xml
/META-INF/
/META-INF/MANIFEST.MF
17:15:53,809 INFO  [org.jboss.as.test.clustering.cluster.ClusterAbstractTestCase] (main) xsite.war:
/WEB-INF/
/WEB-INF/classes/
/WEB-INF/classes/org/
/WEB-INF/classes/org/jboss/
/WEB-INF/classes/org/jboss/as/

Linux Build 7813 is now running using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea

Windows Build 2854 is now running using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea

Linux Build 7813 outcome was SUCCESS using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea
Summary: Tests passed: 3055, ignored: 358 Build time: 00:53:50

Windows Build 2854 outcome was SUCCESS using a merge of d2f6c4e463d7373740d73e8b6b37b027252b1eea
Summary: Tests passed: 3055, ignored: 358 Build time: 00:57:23

The change looks fine, it might be interesting to see the testcase that led to figuring out the missing dependency, but still this is ok.


Fix Animations not playing

Hi. I launched your plugin on ue 5.3.2 and ran into the problem of baking textures. I am creating a data asset and activating Full bone Skinning in it. Then I set the number of animation frames. Next, I bake the textures and transfer the parameters from the data asset to the material. But my animation is breaking down. Could you describe in more detail how to make baked textures work or update the plugin's usage guide. Thanks :)

Hi. I launched your plugin on ue 5.3.2 and ran into the problem of baking textures. I am creating a data asset and activating Full bone Skinning in it. Then I set the number of animation frames. Next, I bake the textures and transfer the parameters from the data asset to the material. But my animation is breaking down. Could you describe in more detail how to make baked textures work or update the plugin's usage guide. Thanks :)

Uh CC @MaxPowerReforged maybe you know the answer.
I’ll look it up for you as soon as I can


display the center of a zone

display the zone as grey rectangle that will be integrated
Display the peak picking (the signals) as dots

it's done


Move command invalidation from decoration addon to command detection capability

We currently have this which runs on the renderer process only:
https://github.com/microsoft/vscode/blob/483ec484c3814bd826d548c9623d984b1bb66fd2/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.ts#L174-L180
What we should do instead to ensure these changes carry over across reconnects is to mark commands as invalid or something and fire an event inside the command detection capability. The decorations addon would then listen to it and react accordingly.

Additionally, using clear and cls here will be inherently flaky, running cls in bash for example will do nothing.
A similar workaround was added to PartialCommandDetectionCapability yesterday which checks which erase in display was used:
https://github.com/microsoft/vscode/blob/ab5659940376f8cc7eefa2ba51d147d7ad664027/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.ts#L37-L43


Naming scheme change for meshes imported from .glb breaking scenes

Godot version
v4.2.beta1.official [b1371806a]
System information
Godot v4.2.beta1 - macOS 13.6.0 - Vulkan (Mobile) - integrated Apple M2 Pro - Apple M2 Pro (10 Threads)
Issue description
It appears 4.2.beta1 has introduced a new internal mesh format, and when you first open a project from a previous version you get a warning that all the meshes have been re-imported, and if you save them like this they'll be incompatible with previous versions.
servers/rendering_server.cpp:2035 - Upgrading mesh from older surface format. Once saved again (or re-imported), this mesh will be incompatible with earlier versions of Godot. (User)
However, it seems that this new mesh import has also broken all my meshes due to a naming issue:
This might have been a bug in the previous importer, but for some reason in the imported mesh scenes of my .glb (and hence in the scenes instancing these) the meshes often have "2" after their name. So, for example the Block.glb file import I've supplied as an example resulted (pre 4.2beta1) in an imported scene with a MeshInstance3D name called "Block2". But the new format importer instead results in a MeshInstance3D called simply "Block". This new name in turn means all references to the mesh in the scene (as far as I can tell in this project, all references to all meshes in all scenes) break, since they are overrides, node_paths etc for "Block2" and this no longer exists in the node hierarchy.
scene/resources/packed_scene.cpp:231 - Node 'Model/Block/Block2' was modified from inside an instance, but it has vanished
Steps to reproduce

Import a glb file in a pre 4.2.beta1 (or maybe earlier?) godot project (applied example file below).
Instance this in a scene. Notice that the MeshInstance3D in the imported scene is called "Block2"
Make some reference to this in the scene, for example set an override material or make a script referencing the mesh as an export var.
Open the project in 4.2beta1
Observer that the new re-imported MeshInstance3D is now called just "Block" instead of "Block2", and that the references/overrides in your scene are broken.

Minimal reproduction project
Test model file: Block.glb.zip

This is expected, this was a bug that got fixed in:

#80270

Ah, yes, I suspected as much since the old "2"-named looked like a bug. It's basically broken all 3d elements and material assignments in this project though, and I don't think there's an easy way to fix this in Godot?
Also, https://github.com/godotengine/godot/pull/80270#issuecomment-1703221933 is not correct it seems. This file was made and exported from Blender, so Blender-generated GLTF-files are not safe from this.

The Blender aspect of that is a good point, worth investigating how to handle that

I can confirm the issue on https://github.com/gdquest-demos/godot-4-3d-third-person-controller
One of its glb's triggers this error:
WARNING: Node 'bee_bot/Armature/Skeleton3D/bee_bot2' was modified from inside an instance, but it has vanished.
     at: instantiate (scene/resources/packed_scene.cpp:231)

This is happening because the file name and mesh node name match each other exactly. In Godot 4.1.x, if you rename this file to "MyBlock.glb", then it will generate a mesh named "Block".
To be clear, the old behavior is plain wrong. Renaming a file should not change how it's imported.
As for working around this, I'm not sure what's best.

This was mentioned in the release notes https://godotengine.org/article/dev-snapshot-godot-4-2-beta-1/#breaking-changes
"We are looking for a way to preserve compatibility for existing assets and should introduce it in later beta releases."
I guess when reimporting, the importer could try to match up orphaned nodes with similar names and the same type. There could be an import option to preserve the old names. This should be possible even if you delete your .godot cache folder - you still have your imported .tscn files and .glb.import files.

From https://github.com/godotengine/godot/pull/83613

For the linked issue we want to introduce a way to version importer behavior, so you can keep the old logic for existing scenes.
Perhaps an easier way to do this could be to add override-properties to the .import file format for resources. When the importer detects a change in properties that could break references (for example mesh node name) the user can be asked if they want to accept this change or retain the old value. If they chose to retain the value an override property is added to the .import file that says to change for example mesh name back to "Block2" again, regardless of what the file import results in. Ensuring the import result is the same as it was last import. This would mean that we don't need to keep track of how different versions imported assets or what version imported this. But we can still retain compatibility when changes happen. The same system could also catch unintentional mesh renames in files imported in the same version. And as these override names/properties could be visible in the import panel interface it can help the user understand how the system works and change/remove these overrides if they know what they're doing.

On main, the root nodes of files imported using the blender importer have a hash after the name, e.g. Character-e1c248ae26fc8808362fd6c8fbab07b3. I don't have the same issue with a .glb import of the same file.
Is that related, or should I file a separate issue?
example.zip

@rcorre That sounds like a separate/additional issue. The blender importer works by running blender in batch mode to do a gltf export, then godot uses its gltf importer, but it may do some post-processing.
Personally I just use gltf/glb to keep things simple, as recommened by the godot docs.


Make it easier to find pages using Google search

Usually when I'm looking for information I'll do a search on Google. For instance when searching a method in the framework API, like "Convert.ChangeType". I would like to have the API page at docs.microsoft.com to be near the top of the search results.
Currently it will always point to msdn.microsoft.com and it is impossible for me to find the page I want at docs.microsoft.com through Google, even when using "site:". It either just doesn't find it or it will be a page not in English. Bing also doesn't show docs.microsoft.com on the first search page.
The API pages on msdn.microsoft.com have a link to docs.microsoft.com but it is not deep linked so then I have to type my search query again, which is not a good experience. Maybe the quickest solution would be to just automatically redirect from msdn.microsoft.com API pages to the equivalent docs.microsoft.com page.
I have submitted some API pages to Google for indexing today, perhaps that will help.

Hi @HermanEldering, thanks for your feedback. This behavior is currently by design. Our API pages on docs are set to not be indexed. The reason why we had to do this is because we couldn’t have a new site that is just a copy of another site (in this case, MSDN). Google would probably stop indexing docs altogether. We’re working really hard to fix the remaining issues that are preventing us from redirecting the latest version of the .NET Class Library from MSDN to Docs. We hope that happens soon. For now, the best way is to use the search on API browser for that (https://docs.microsoft.com/en-us/dotnet/api/). Apologies for the inconvenience.

Thanks for the reply. It is good to know that it is by design for now and being worked on. I like the new site so I hope to see the transition soon.


Confusing page titles "Writing applications" and "Building Application Code"

I find the two pages to have rather confusing titles. I don't have a good suggestion on what to name them, or even if the "Building Application Code" section should exist (realizing I created the page a while back).

Yeah the one about spin build is a bit of an anachronism - it used to be called "Developing Spin Applications" but was all about the build command so I renamed it.  Though the fact that the TOC now sort of mirrors "new-build-up" (you may have to squint) is kind of nice.
Longer term, I would really like to break all this down into smaller topic-specific pages, at which point it should solve itself.
For now., one option is to fold it into the "writing" or "running" page, though that doesn't feel quite natural.
Another could be something like "Building Wasm Modules" or "The Spin Build Process" (though the latter sounds way too arcane).
@tpmccallum any suggestions for clearer titles?

I started with "Building Applications", and then it evolved to "Compiling Applications".
I asked ChatGPT and it introduced a new term I have not thought of which was "Generate". I guess technically we are always "Generating Binaries" when we run spin build.
However, is this too low level and should we stick to the more general (yet ambiguous "building" or "compiling")?


Prettify code in Markdown

Lib to use: https://github.com/googlearchive/code-prettify/blob/master/docs/getting_started.md

Done


TypeError: 'method' object is not subscriptable on running download_data.sh

I see the following error when I run the
scripts/download_data.sh
Traceback (most recent call last):
  File "/home/ec2-user/xtreme/third_party/ud-conversion-tools/conllu_to_conll.py", line 53, in <module>
    main()
  File "/home/ec2-user/xtreme/third_party/ud-conversion-tools/conllu_to_conll.py", line 41, in main
    orig_treebank = cio.read_conll_u(args.input)#, args.keep_fused_forms, args.lang, POSRANKPRECEDENCEDICT)
  File "/home/ec2-user/xtreme/third_party/ud-conversion-tools/lib/conll.py", line 382, in read_conll_u
    sent.nodes[token_dict['id']].update({k: v for (k, v) in token_dict.items()
TypeError: 'method' object is not subscriptable

Hi, i solved this error following:

making sure your networkx package's version is 1.11 on the xtreme environment
replacing all 'nodes[' by 'node[' in the file

xtreme\third_party\ud-conversion-tools\lib\conll.py

running after activating the xtreme environment

networkx.DiGraph.nodes looks like a function and you may need to get the dictionary using networkx.DiGraph.node