Ampersand (&) is highlighted red when used in JSX string literal

TS and JS Grammar Extension version:  0.0.55 / latest   <------ this is a broken link in the issue template
Testing using VS Code Insiders:
Version: 1.70.0-insider (Universal)
Commit: f3528d481b366b24321c382d5e5849f4c7d65248

Code
render(<Section title="Voice & Video" />)

It makes sense to highlight the ampersand red — but only when it is used without double quotes. The screenshot shows that it is highlighted red whenever used inside a JSX expression, even if it is quoted.
Presumably this is the line of code that causes the red highlighting: https://github.com/microsoft/TypeScript-TmLanguage/blob/0dfae8cc4807fecfbf8f1add095d9817df824c95/TypeScriptReact.tmLanguage#L9994

Fixed by 2a56f0b


Remove all References to the internal Directories

kind/feature
What this PR does / why we need it:
I'd like to move everything in an internal directory out so they can properly be included by goimports in other projects.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

@furkatgofurov7 ya ill get that updated

@furkatgofurov7 can you reapprove to run workflows

@furkatgofurov7 ready to run workflows

@furkatgofurov7 updated again and ready for workflows to be ran

@luthermonson would you have time to rebase and resolve the open comment in https://github.com/rancher/cluster-api-provider-rke2/pull/217#discussion_r1528482887 ?

@luthermonson gentle ping to know if you are still interested picking this up back.

Feel free to re-open if needed, closing for now.


Circle toolbar missing

In the last few days I haven't seen the circle buttons that appear when you select a node/way/relation. So, I don't see the ability to delete or straighten items.
I've noticed this in all browsers.

Chrome (Mac)  57.0.2987.133 (64-bit)
Safari (Mac) 10
Firefox 53

Please try right-click on these items to show the editing-menu, which is not circular any more since iD 2.2.0

@manfredbrandl that was it...I missed the announcement that it had changed. Thank you!


Implement optional group permissions for pages

Mezzanine currently does not support per-page group viewing permissions, leaving the Group model only effective for staff users. Two mezzanine add-on packages addressed this (mezzanine-protected-pages and mezzanine-page-auth). However, both are no longer updated and incompatible with the current master, presumably because the overhead required didn't justify the small added functionality. Both needed an extra app entry in INSTALLED_APPS, relied on extra models and separate admins which seems over-complex for what it achieves in the end.
I'm proposing an optional permitted_groups field to the Page model similar to and in addition to the login_required to allow more granular page permissions. Since login_required is already handling most of this, only few lines are needed. The PAGE_GROUP_PERMISSIONS setting enables or disables this without hick-ups when it is set to False again.
A test is included. I'm happy to add some more documentation although the settings description already describes this quite well.

My preference would be for work to continue in a separate library - if those you mentioned aren't being maintained, then you could extend one of those and we can update links in the documentation to it.

Closing for now. We can re-open if strong opposition.


[Bug] pcd_demo.py result of oritentation error!

Prerequisite

[x] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (dev) or latest version (1.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
1.1x branch https://github.com/open-mmlab/mmdetection3d/tree/1.1
Environment
sys.platform: linux
Python: 3.8.13 (default, Oct 21 2022, 23:50:54) [GCC 11.2.0]
CUDA available: True
GPU 0: NVIDIA GeForce GTX 1080
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.2, V10.2.8
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.10.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.2.3 (Git Hash 7336ca9f055cf1bfa13efb658fe15dc9b41f0740)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.3
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
CuDNN 8.2
Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.10.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.11.0
OpenCV: 4.6.0
MMCV: 1.6.2
MMCV Compiler: GCC 9.3
MMCV CUDA Compiler: 11.3
MMDetection: 2.26.0
MMSegmentation: 0.29.1
MMDetection3D: 1.0.0rc5+fcb4545
spconv2.0: True
Reproduces the problem - code sample
python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth --show
Reproduces the problem - command or script
python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth --show
Reproduces the problem - error message
python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth --show
/home/user/work/mmdetection3d/mmdet3d/models/dense_heads/anchor3d_head.py:85: UserWarning: dir_offset and dir_limit_offset will be depressed and be incorporated into box coder in the future
warnings.warn(
load checkpoint from local path: checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth
/home/user/miniconda3/envs/open-mmlab/lib/python3.8/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  /opt/conda/conda-bld/pytorch_1634272068694/work/aten/src/ATen/native/TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Additional information
orientation error

It feels like 45 degrees from the true value. Can someone help me? thanks

The visualization in the latest dev-1.x branch is OK. Suggest using the dev-1.x branch.

it seems no difference. Can you provide some other information? maybe i could debug by myself. thanks! @JingweiZhang12

Yeah, the checkpoint of SECOND has some problems.

According to https://mmdetection3d.readthedocs.io/en/latest/tutorials/coord_sys_tutorial.html#kitti: "In SECOND, the LiDAR coordinate system for a box is defined as [...] Our LiDAR coordinate system has two changes: [...] The box dimensions are (l,w,h) instead of (w,l,h),"
Does this mean that the changes must be implemented when using SECOND, or does it mean that the changes have already been made? Could it be so that results returned by inference at https://github.com/open-mmlab/mmdetection3d/blob/master/demo/pcd_demo.py#L31 do not contain the necessary changes?


Prevent an error when the first argument of import is a template

Fixes one of the problems described in #4433.
The handle-import plugin can't deal with webpack's dynamic imports. Before this change an unhelpful error was appearing in the console and the build was broken. The change ignores such imports altogether, resulting in no error.
Handling template literals by Next.js can be added later on, but maybe it would be better done through a webpack plugin instead of a babel one.

What I'm not following is why'd you want to make something that doesn't function work without compilation errors 🤔 Wouldn't that make it even worse for people that don't know it doesn't work use it 🤔

Ok, fair point. While I made it work somehow and it almost works out of the box, it might not be a good user experience. I'll disable the plugin for now and maybe come back to this later (though in a Webpack plugins incarnation).

@fatfisz you break ground on the webpack plugin? Interested in helping.

I've actually managed to do what I needed, you can explore the results here: https://github.com/fatfisz/burdoc/tree/master/src/BurdocWebpackPlugin.
In a nutshell, I disable the handle-imports Next.js Babel plugin entirely, and instead I patch Webpack internals.
The handle-imports plugin in particular can almost be replaced by this:

patchImportParserPlugin, which takes care of providing chunk names for imports
patchImportDependencyTemplate, which takes care of patching the import template so that __webpackChunkName is attached to modules.


[question] angular project should be in same project or separate

I was reading how the angular template is implemented, I am seeing that the frontend is sitting in the same project, I wonder if it's the recommended way of architecting the angular project with asp.net core or not?
in cloud architecture, it's good to separate part of an application to scale separately, but since the frontend really doesn't cost much to server files it usually end up to host on same server.
what are the benefits that i should expect from keeping the angular and .net together?

Hi, while we do our best to look through all the issues filed here, to get a faster response we suggest posting your questions to StackOverflow using the asp.net-core and angularjs tags.
There are of course many ways to build apps, each with their unique advantages, and it is up to you decide whether for your application it makes sense to keep everything in one project or to split it up into multiple projects representing various tiers.


Feature request: calculate how much caffeine can be consumed now to be below sleep threshold

Hi there thanks for the app! feature request to have the app calculate how much caffeine the user can consume, at the current time (continual updating in real time), in order to be below the caffeine sleep threshold limit at the sleep time.
So that user will know how much caffeine he can consume right now in order to sleep well.

Oops! Feature is actually available under suggestions in the app. Great, thank you!!


eig and eigh

In general, one has M=VDV^{-1}. When M is Hermitian then V^{-1}=V^{\dagger}. I think we should only return V, whose columns are the (right) eigenvectors. Now even for eig, if one set row_v=True, one get V^dagger. In this case, if one really wants, one should get V^{-1} instead of V^\dagger?
But, do we have a simple way to get the inverse?

I think V^{-1} is V^\dagger if U is unitary, so I think just do dagger


build: fix path-to-regexp to older version due to node 14 requirement

Sinon depends on the nise package. That package just published v6.0.1 which updated path-to-regexp from v6.2.1 to v8.1.0 with https://github.com/sinonjs/nise/pull/226. That should have been a major version bump, as this ended up introducing a breaking change that now it depends on Node >= 16, which is causing our CI to break.
This PR fixes path-to-regexp to ^6.2.1 like previously to make it work on Node >= 14

That should have been a major version bump

Sorry it this broke your build, but we don't support Node versions that old, so according to our published compatibility spec we did not break any contract we adhere to, and as such it should not have been a major version bump, as it did not break any Node engine versions we support for the current version of Sinon. We do try to enforce bumping the major any time we drop support for a previous Node version, though (such as dropping Node 16 -> Sinon 17 bump).
This PR was referenced from our issue tracker, so that's why I noticed, and thought I would clarify our stance on what constitutes a major version for us.

@fatso83 thanks for the insights on that. We are figuring out how to fix that on our end, but basically it seems like all of our public Node GCP SDK are going to be blocked by that. I already notified our broad JS team here about this, to avoid duplicate work around that.

Ah, that is unfortunate, indeed. I think the underlying dependency is not that invasive, and could probably be replaced by something else (like https://github.com/marvinhagemeister/fast-path-to-regexp ?), though I haven't tried at all. If you have any resources to look into sending a patch that would fix your issue while not re-introducing the CVE that was fixed, I am of course totally open to that.


AnswerFactory aoi replacement issue when moving between a longer load-time aoi and a quick aoi

To recreate:

Bring up AnswerFactory and click on a complex aoi project
Before the aoi loads, click on a different project with a less complex aoi

(foliage aoi is complex, dragon aoi not complex in the above example)

Result: Less complex aoi loads first, but then the complex aoi loads, clearing out the other aoi from the map.
Expected: If the user changes the project, the query for the aoi of any old projects should be cleared away. Only the current project should be making the query to retrieve the aoi.

Fixed in 1.2.6064.24098


Display title of page in Tab

The tabs are all displaying 'CERN Library Catalogue' and it can be quite difficult to differentiate them when we work on several tabs opened at the same time.
On CDS or INSPIRE, the title of the page is displayed:

Would it be something that can be changed?

CLC:  -> Yes.
Favicon would be great! We have a logo for the CERN Library, see attached. Would that be an option?
CERN Library logo pack.zip


Shapely on Anaconda/Windows

Nuitka version, full Python version and Platform (Windows, OSX, Linux ...)

python -m nuitka --version

0.6.7
Python: 3.7.6 (default, Jan  8 2020, 16:21:45) [MSC v.1916 32 bit (Intel)]
Executable: C:\anaconda32-3.7\python.exe
OS: Windows
Arch: x86

0.6.6
Python: 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
Executable: C:\Anaconda3\python.EXE
OS: Windows
Arch: x86_64

How did you install Nuitka
Anaconda + pip install

Code:
from shapely.geometry.polygon import Polygon
print('11111')

build command:
python -m nuitka --recurse-none --standalone shapely-wtf.py --verbose --jobs=4  --recurse-to=shapely --include-package=shapely  --output-dir=w64-wtf

See sample files on https://github.com/belonesox/wtf-shapely-nuitka
Building — OK.
Trying to run get  (same bug on Anaconda 32bit python 3.7 and Anaconda python 3.6 x64)
Traceback (most recent call last):
  File "C:\projects\nuitka\wtf-shapely-nuitka\w64-wtf\shapely-wtf.dist\shapely-wtf.py", line 4, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "C:\projects\nuitka\wtf-shapely-nuitka\w64-wtf\shapely-wtf.dist\shapely\geometry\__init__.py", line 4, in <module shapely.geometry>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "C:\projects\nuitka\wtf-shapely-nuitka\w64-wtf\shapely-wtf.dist\shapely\geometry\base.py", line 17, in <module shapely.geometry.base>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "C:\projects\nuitka\wtf-shapely-nuitka\w64-wtf\shapely-wtf.dist\shapely\coords.py", line 8, in <module shapely.coords>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "C:\projects\nuitka\wtf-shapely-nuitka\w64-wtf\shapely-wtf.dist\shapely\geos.py", line 125, in <module shapely.geos>
AttributeError: module 'os' has no attribute '__file__'

See sample files on https://github.com/belonesox/wtf-shapely-nuitka
On Linux (Fedora, python 3.7) looks OK

This is fixed on develop already.

Hmm. But still not OK with Python 3.4.4 Windows 32  :(
After building
( https://github.com/belonesox/wtf-shapely-nuitka/blob/master/!build32-python-344-w32.bat )
got
Traceback (most recent call last):
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\shapely\geos.py", line 119, in <module shapely.geos>
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\ctypes\__init__.py", line 351, in __init__
OSError: [WinError 126] The specified module could not be found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\shapely-wtf.py", line 4, in <module>
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\shapely\geometry\__init__.py", line 4, in <module shapely.geometry>
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\shapely\geometry\base.py", line 17, in <module shapely.geometry.base>
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\shapely\coords.py", line 8, in <module shapely.coords>
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\shapely\geos.py", line 122, in <module shapely.geos>
  File "C:\projects\nuitka\WTF-SH~1\PYTHON~1.4-W\SHAPEL~1.DIS\ctypes\__init__.py", line 351, in __init__
OSError: [WinError 126] The specified module could not be found

Should I push another issue?


Add "bus-trace" endpoint with inmemory trace repository for bus events.

Fixes gh-193

Has issues, will fix and resubmit

Please resubmit to spring-cloud-commons as requested. Thanks!


fix failing jspm_parser_spec;

I noticed that build was broken after you merged my PR;
And it was because it catched another bug in old NPMParser, which solved ^0.0.5 to ^0.0.8, but should be 0.0.5. I also double check the case with Node's semver package:
npm install semver
node

> var semver = require('semver')
undefined
> semver.satisfies('0.0.8', '^0.0.5')
false

@timgluz Looks good 👍


Document database/fluent access from inside dequeue

Could we add an example to the readme on how to access the database/fluent from the job please?
I haven't figured out what the best way would be... can we pass in a DatabaseConnectable as service? or is it possible to extend the JobContext to be DatabaseConnectable?
(If you have some examples then I would be willing to document it in the readme.)

Sorry about that - the README is out of date as everything is in pre-release. This is a good place to find the updated docs: https://github.com/vapor/documentation/pull/389
Regarding the database connection, I pass in container.pooledConnection(to: .mysql) (I’m on mobile so that might not be the correct syntax.)

Thanks @mcdappdev. The updated docs worked for me!

Awesome!

@mcdappdev can we get the readme updated though? I'm planning on referencing this package in my upcoming book, so it would be nice to not have the readers look through these issues for them to find the link to the documentation ;)

@proggeramlug I’m actually going to get rid of the readme soon to match the style of the other Vapor repos. All stuff will be in that docs PR

Can the readme post a link then?

On May 12, 2019 at 6:33 PM,  <Jimmy McDermott (mailto:notifications@github.com)>  wrote:
@proggeramlug (https://github.com/proggeramlug)  I’m actually going to get rid of the readme soon to match the style of the other Vapor repos. All stuff will be in that docs PR
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub (https://github.com/vapor/jobs/issues/9#issuecomment-491634968), or   mute the thread (https://github.com/notifications/unsubscribe-auth/ACDURMFJ6ZNHYYB4GLBZWRTPVCLLNANCNFSM4G6XD25Q).

--
Skelpo - hot software.
www.reviewsender.com http://www.reviewsender.com

Get new Amazon Review-Notifications!

https://www.skelpo.com
www.skelpo.com https://www.skelpo.com
<EMAIL_ADDRESS><EMAIL_ADDRESS>Skelpo Inc.
600 Third Ave 2nd Floor
New York, NY
10016
USA
Phone: + 1<PHONE_NUMBER>
Skelpo UG (haftungsbeschränkt)
Bergstraße 5
D-58339 Breckerfeld
Germany
Phone: +49 2338 6171890

Oh yeah absolutely, once the docs are live this readme will have a link just like all of the others


docs: Remove duplicated doc in components README.md

📋 Changes description

Remove the code block that show the signature of the component and the table with the parameter and their associated documentation
🤔 Context

since we plan to use Dokka to fully host our doc these part were a duplicate of what Dokka already offers so we're removing it
Close #424

Could we also make sure all of these docs follow the same structure of headers?
They currently have duplicated headers, or headers that have no real meaning.

What about this version?


[Event Change] Report 5753 OnBeforeWhseReceiptHeaderInsert

Hi AL team,
can you please pass the parameter WarehouseRequest by var?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Support running scripts in tikv-ctl

There are many possible condition out there need to use tikv-ctl to do recovery. However, tikv-ctl is a static tools, it may not be flexible enough or efficient enough to handle all the cases. It will be very convenient and productive to be able to run scripts inside tikv-ctl. So we can update the internal logic quickly and fix specific case without making tikv-ctl more complicated, which is a code bloat already. Scripts are also friendly for ops.

We can also change it into a library (i.e. python) so that we can directly write scripts.

I've seen things like Terraform provide a shell-type interface that you can pipe commands into. Is this what you mean? Or as in have it accept some sort of a DSL?


Add GPG signatures to released artifacts

Hello, I am an engineer in Android Studio. We are looking to utilize the compose desktop + skia artifacts in Studio, but to do so we required the GPG signatures/asc files to be released with the artifacts so that we can retrieve such signatures on fetch from the maven repository.

I forgot to mention that this also includes the junit4 compose desktop testing artifacts.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Make client preferred size count as minimum size

When preferred size is set, do not let panel use the remaining space in
application and instead use space outside of window.
Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

@jplsek this was a quick attempt to fix the issue here:

vs the old behaviour:

But I don't think this is a good solution either. @WooxSolo mentioned that he was working on constraining the client size when the panel is closed so most likely this issue will be fixed then.


Example not working with latest API

[Enter feedback here]

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

ID: 80fdc5c7-08b3-0e58-8f7d-1b4fa7cf4ab5
Version Independent ID: a1613852-e217-c12f-97ea-1dc1bc92c71e
Content: Create virtual network resources by using Bicep - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/scenarios-virtual-networks.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @johndowns
Microsoft Alias: jodowns

@hostmatic
Thanks for your feedback! We will investigate and update as appropriate.

@hostmatic Can you please be more specific about the example and API version that's failing, and the error you're seeing? It would also be helpful to know which region you tested with.
I just tried both examples with the 2023-11-01 API version (the latest Bicep has types for) and they worked.

Invalid feedback - Closing


Fix broken link to MB number

Fix url for taxon by MB number
Reorganize ObjectLinkHelper: group url methods by host
Some RuboCopping

MB had incorrectly documented how to create a link to MB by taxon number.
See https://www.pivotaltracker.com/story/show/175129131
Manual Test:

Edit any Name
Add the ICN Identifier and Save
On the resulting Name page, follow the link to the MycoBank record
Result: It should land on MB, on a page showing the search results for that ICN identifier. (You may have to scroll down to see the unique hit. And clicking on that hit should pop up a window for the record.)

Delivers https://www.pivotaltracker.com/story/show/175129131

Coverage decreased (-0.0003%) to 92.625% when pulling 74eebb0c23f69f37a6c36824aee26002b459c79b on 175129131-MB-number-link into bbab3250b9c043bfc6acff163b1e47134442cb39 on master.

OK. On this one, I'll go back to the original, with the cop turned off for that line.
Let's talk Sunday about completely disabling the cop. (I don't have strong feelings about that.)
(From what I've read, Interpolation creates fewer objects and generally is faster. See here
Like sanitize it's insignificant if it only happens once, but can add up (and cause more garbage collecting) when there are lots of them.)

Thanks, Joe.  That is significant, really eye-opening actually.
Fascinating.  So then the question is: does sanitize squander the
performance boost of interpolation?  I'll check.  I'm curious now! :)  And
your link shows exactly how to do it...
On Mon, Oct 5, 2020 at 10:00 PM Joseph D. Cohen<EMAIL_ADDRESS>wrote:

OK. On this one, I'll go back to the original, with the cop turned off for
that line.
Let's talk Sunday about completely disabling the cop. (I don't have strong
feelings about that.)
(From what I've read, Interpolation creates fewer objects and generally is
faster. See here
https://mrod.space/2020/07/16/ruby-concatenation-vs-interpolation-performance.html
Like sanitize it's insignificant if it only happens once, but can add up
(and cause more garbage collecting) when there are lots of them.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/676#issuecomment-703983565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNNZFHOCU3MZ4XKFQITSJJ22RANCNFSM4SFCUFXQ
.

Ha!  Just a little!
require "benchmark"
def test_sanitize
title = :observation.t
links = :herbaria.t
puts("x: " + (title + ": " + links).inspect)
puts("y: " + ActionController::Base.helpers.sanitize("#{title}:
#{links}").i
x = Benchmark.measure {
1_000_000.times do
string = title + ": " + links
end
}
print "x: #{x}"
y = Benchmark.measure {
1_000_000.times do
string = ActionController::Base.helpers.sanitize("#{title}:
#{links}")
end
}
print "y: #{y}"
end
This prints:
x: "observation: fungaria"
y: "observation: fungaria"
x:   3.175085   0.327156   3.502241 (  3.513584)
y: 200.221156   1.062806 201.283962 (201.777092)
Almost two orders of magnitude slower.  I think the results speak for
themselves. :)
On Mon, Oct 5, 2020 at 10:08 PM Jason Hollinger<EMAIL_ADDRESS>wrote:

Thanks, Joe.  That is significant, really eye-opening actually.
Fascinating.  So then the question is: does sanitize squander the
performance boost of interpolation?  I'll check.  I'm curious now! :)  And
your link shows exactly how to do it...
On Mon, Oct 5, 2020 at 10:00 PM Joseph D. Cohen<EMAIL_ADDRESS>wrote:

OK. On this one, I'll go back to the original, with the cop turned off
for that line.
Let's talk Sunday about completely disabling the cop. (I don't have
strong feelings about that.)
(From what I've read, Interpolation creates fewer objects and generally
is faster. See here
https://mrod.space/2020/07/16/ruby-concatenation-vs-interpolation-performance.html
Like sanitize it's insignificant if it only happens once, but can add up
(and cause more garbage collecting) when there are lots of them.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/676#issuecomment-703983565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNNZFHOCU3MZ4XKFQITSJJ22RANCNFSM4SFCUFXQ
.

Ha! Just a little! require "benchmark" def test_sanitize title = :observation.t links = :herbaria.t puts("x: " + (title + ": " + links).inspect) puts("y: " + ActionController::Base.helpers.sanitize("#{title}: #{links}").i x = Benchmark.measure { 1_000_000.times do string = title + ": " + links end } print "x: #{x}" y = Benchmark.measure { 1_000_000.times do string = ActionController::Base.helpers.sanitize("#{title}: #{links}") end } print "y: #{y}" end This prints: x: "observation: fungaria" y: "observation: fungaria" x: 3.175085 0.327156 3.502241 ( 3.513584) y: 200.221156 1.062806 201.283962 (201.777092) Almost two orders of magnitude slower. I think the results speak for themselves. :)
…
On Mon, Oct 5, 2020 at 10:08 PM Jason Hollinger @.> wrote: Thanks, Joe. That is significant, really eye-opening actually. Fascinating. So then the question is: does sanitize squander the performance boost of interpolation? I'll check. I'm curious now! :) And your link shows exactly how to do it... On Mon, Oct 5, 2020 at 10:00 PM Joseph D. Cohen @.> wrote: > OK. On this one, I'll go back to the original, with the cop turned off > for that line. > Let's talk Sunday about completely disabling the cop. (I don't have > strong feelings about that.) > > (From what I've read, Interpolation creates fewer objects and generally > is faster. See here > https://mrod.space/2020/07/16/ruby-concatenation-vs-interpolation-performance.html > Like sanitize it's insignificant if it only happens once, but can add up > (and cause more garbage collecting) when there are lots of them.) > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#676 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AAYTNNNZFHOCU3MZ4XKFQITSJJ22RANCNFSM4SFCUFXQ > . >

Thanks for digging into it and for making me get rid of sanitize!

Because this PR fixes a broken link, I'd like to merge it to master and pull it into production, provided you don't see other potential issues. (I probably won't do that until tomorrow a.m., as I want to be more alert when I'm on the server.)

Looks good to me.  Merge away!


Maya: Remove deprecated Validate Model Name

Changelog Description
Remove unused and deprecated Validate Model Name plug-in.
Additional info
Fixes issue #4750
Testing notes:

Fires of hell should have burned this legacy 🔥
But nothing of publishing model family in maya should break. 🧯

This was in use recently by a client and received a bug fix; https://github.com/ynput/OpenPype/pull/4539, so we cant remove it completely. The main issue is with having it reference external files for data used for settings.
We'll consult with client about maybe moving external data into settings.

Would you like me to refactor this to take the json from settings instead?

Would you like me to refactor this to take the json from settings instead? Or will we ignore until client decision is made on approach?

Lets hold off on development until client replies and we figure out how to handle it.


Feature/resolver mappings

When using the ContainerResolver, the Resolver will use the type of the domain payload to resolve the responder.
Since the payload type only should describe the type of the payload while the resolver should look for the responder according to given payload type a 1:1 resolution may not be appropriate in this case, since you either would use
new DomainPayload('userResponder')

to use the userResponder object of the container which would imply that you possibly had to delegate that object to a generic responder or you would use
new DomainPayload('user')

which would force you to make an object accessible with the identifier 'user' which may be very confusing.
This PR includes the possibility to map the identifier BEFORE resolving it from the container:
new ContainerResolver($container, [
    'user' => 'jsonResponder'
]);

so the resolver would lookup 'jsonResponder' in the container, when receiving a domainpayload of type 'user'.
If someone doesn't set a high value on such semantics, he still may use the ContainerResolver without mappings since the mappings param is optional and will be completely ignored if not provided.

What about a default mapping like:
new ContainerResolver($container, [
    'user' => 'jsonResponder'
])->setDefault('customResponder');

Could be a generic feature of the resolver to allow settings defaults.

This PR is open for quite a while and I am still not convinced that adding another mapping layer makes sense, I'll close this PR for now.


I followed the examples and it's working but how do I dev and test locally ?

I need to work offline at times and it's just a little quicker to test and develop locally.
How do I test "Azure mobile apps" offline ?

Set up the server to run locally with a local instance of SQL Server.
Run the app against the server (generally, https://your-ip:your-port as the client - don't use localhost or <IP_ADDRESS> because those refer to the emulator/simulator rather than the underlying host)

It's just an ASP.NET Core application and a mobile app talking to it.  Standard mobile app with local backend stuff applies.

But will the Azure sync work as well ?

The data on the device will by synchronized with the data in the SQL Server local instance instead of Azure SQL.

I am a little confused ... Is this also something we could run on prem in an enterprise instead of Azure ?

Certainly.  Just to repeat - this is just an ASP.NET Core application talking Entity Framework Core to a database of your choice.  There is no reason you can't run it anywhere you choose as long as the clients can connect to the service.


Manually deleting Secure Auth Token, still gets captured by secureLocalStorage

Hello. I have an axios interceptor that auto applies the auth on every request like so:
axios.interceptors.request.use(function (config) {
  const auth: Auth | null = JSON.parse(
    secureLocalStorage.getItem("auth") ?? "null"
  );
  if (auth) config.headers[AUTH_HEADER] = auth.access_token;
  return config;
});

when i am in devtools and manually delete the auth from localstorage and continue making requests, i am not sure how but the secureLocalStorage continues retrieving the Auth. Meanwhile if i do the same with localstorage it recognizes that the auth no longer exists and doesnt attach the header (as expected).
I imagine you are caching the auth and not checking if the item still exists in localstorage before retrieving it.
https://github.com/sushinpv/react-secure-storage/blob/1ccd8897863762f5f7b4c4f93a323a0321b13684/src/lib/index.ts#L60

The way the library works is as follows:

When the library is initialized, it reads all the data from local storage, decrypts all the data written using react-secure-storage, and keeps it in memory. This ensures faster access to all the data.

You can refer to the details here.
So, if you manually remove anything from the localStorage, it will still persist in memory until the website is refreshed or reloaded.
This situation is not applicable in a production environment. In production, the codebase will manage the addition and removal of data from local storage.

@sushinpv I will most likely try to add the check on my side. I understand your reasoning, but I do think it's not ideal that native localStorage can detect this and secureLocalStorage cannot. I realize it's not a typical scenario, but still would like to know that in any case that the auth is no longer there, it immediately would sign out the user.

There should be an method to read the fresh data,

Hello. I have an axios interceptor that auto applies the auth on every request like so:
axios.interceptors.request.use(function (config) {
  const auth: Auth | null = JSON.parse(
    secureLocalStorage.getItem("auth") ?? "null"
  );
  if (auth) config.headers[AUTH_HEADER] = auth.access_token;
  return config;
});

when i am in devtools and manually delete the auth from localstorage and continue making requests, i am not sure how but the secureLocalStorage continues retrieving the Auth. Meanwhile if i do the same with localstorage it recognizes that the auth no longer exists and doesnt attach the header (as expected).
I imagine you are caching the auth and not checking if the item still exists in localstorage before retrieving it.
https://github.com/sushinpv/react-secure-storage/blob/1ccd8897863762f5f7b4c4f93a323a0321b13684/src/lib/index.ts#L60

Use this method to get fresh data from local storage
import EncryptionService from "react-secure-storage/src/lib/encryption";
import { getSecurePrefix } from "react-secure-storage/src/lib/utils";

 const encrypt = new EncryptionService();
 const KEY_PREFIX = getSecurePrefix();

 const value = encrypt.decrypt(localStorage.getItem(`${KEY_PREFIX}j.auth`) ?? '') as any;

 // here j.auth is the local storage key with the pre-defined prefix


Update intersphinx_mapping format; use c_api_binop_methods during coverage installs

The following deprecation warning led the documentation build to fail after merging #305:
Warning, treated as error:
Failed to read intersphinx_mapping[https://docs.python.org/], ignored: SphinxWarning('The pre-Sphinx 1.0 \'intersphinx_mapping\' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {\'<name>\': (\'[https://docs.python.org/\](https://docs.python.org//)', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping')

This PR follows the first example listed here to address this warning, allowing the documentation build to succeed.  Sphinx 1.0 was released in 2010, so I think this updated format has been supported for a long time.

As an aside, on the topic of CI, I noticed that I neglected to add the c_api_binop_methods compiler directive in the case that code coverage was being tracked: https://github.com/Unidata/cftime/blob/144da536e4c5eb2fea0ee44e2e2a565bfaf17cc3/setup.py#L82-L92  Should add that in a new PR?  If I recall correctly, however, we stopped running tests in that mode since it slowed the test suite down considerably.

As an aside, on the topic of CI, I noticed that I neglected to add the c_api_binop_methods compiler directive in the case that code coverage was being tracked:
https://github.com/Unidata/cftime/blob/144da536e4c5eb2fea0ee44e2e2a565bfaf17cc3/setup.py#L82-L92
Should add that in a new PR? If I recall correctly, however, we stopped running tests in that mode since it slowed the test suite down considerably.

I think it would be fine to add it to this PR

Sounds good.  I tried to modify things such that we do not need to define the value for the c_api_binop_methods directive twice.  Let me know if that looks OK.

Looks good @spencerkclark, thank you


Fixed read from stream position snippet name

Fixed: Fix read from stream position snippet name.
Added: Added missing subscribe-to-persistent-subscription-to-all snippet

Test failures are unrelated and are due to too restrictive deadlines for Github Actions.


Fix secondary network IPAM test failure with ipv6-ds-e2e tests

Signed-off-by: Jianjun Shen<EMAIL_ADDRESS>

Debugging  ipv6-ds-e2e failure..
/ipv6-ds-e2e

/test-ipv6-e2e

/test-ipv6-e2e

Codecov Report

Merging #3651 (978227b) into main (ac49f47) will decrease coverage by 20.80%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##             main    #3651       +/-   ##
===========================================
- Coverage   64.63%   43.82%   -20.81%
===========================================
  Files         278      210       -68
  Lines       39360    35649     -3711
===========================================
- Hits        25439    15622     -9817
- Misses      11945    18892     +6947
+ Partials     1976     1135      -841

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
43.82% <50.00%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.


Position embedding

https://github.com/liuzwin98/DSCMT/blob/e9d772b58e7f24a4fd52cbd5fd8dc852013db06d/DSCMT.py#L260
Isn't the return value of a function the location?
feat1 = feat1 + self.pos_rgb(img_feat1)  ？

Thanks, you are right. The original feature item was left out when I reorganized the code for release. It should be feat1 = img_feat1 + self.pos_rgb(img_feat1).


[question] use of masterCopy

Hello,
I was wondering what's the use of masterCopy var that's used in all 3 contracts ? i'm guessing it's for creating copies of contracts safely as mentioned here https://github.com/ethereum/solidity/issues/2296
if so, my noob questions are:

How does someone create a copy of the contract using this method?
Where is masterCopy set ? I looked at setup and the constructor but can't seem to find it. I also looked at the tests but couldn't find that out.

I appreciate you taking the time to answer these questions. and I do apologize if they seem like simple questions 🙇 😄
Cheers.

This issue pertains to the master-deprecated branch utilizing a proxy contract implementation. If you would like to learn more about the proxy contract deployment contract, checkout gnosis-safe-contracts.


Bump Dependencies #11257716992

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/11257716992

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


How can Yet ReverseProxy implement HTTP proxy functionality like Fiddler (in https)?

Can the team help me? Thank you very much!
I want to use YetReverseProxy for HTTP forward proxy for traffic capturing or modifying traffic in systems or browsers, just like Fiddler and Titanium Web Proxy. But the example I can find is that YetReverseProxy can only use the reverse proxy function. I want to specify an HTTP proxy to access any website's URL through a browser.
Can YetReverseProxy implement this forward proxy function?
Also, I found a question from a friend who had the same problem as me:
https://github.com/microsoft/reverse-proxy/discussions/1637 .
I specify it as a proxy server in the browser, such as setting the proxy server IP port to <IP_ADDRESS>:5000 (which can be accessed using Chrome's command-line parameter -- proxy server=<IP_ADDRESS>:5000), and then use it to access all other websites. When the browser accesses the HTTP protocol, forwarding is not a problem, but when accessing the HTTPS protocol, the target address cannot be accessed. An error message appears:
Yarp ReverseProxy Forwarder HttpForwarder [48]
RequestCreation: An error was accounted for while creating the request message
System NotSupportedException: Unsupported request method 'CONNECT'
YARP endpoint mapping all the time httpContext.Request.IsHttps comes as false.
            var httpClient = new HttpMessageInvoker(new SocketsHttpHandler()
            {
                UseProxy = false,
                AllowAutoRedirect = false,
                AutomaticDecompression = DecompressionMethods.None,
                UseCookies = false,
                ActivityHeadersPropagator = new ReverseProxyPropagator(DistributedContextPropagator.Current),
                ConnectTimeout = TimeSpan.FromSeconds(35),
            });

            app.Map("/{**catch-all}", async (HttpContext httpContext, IHttpForwarder forwarder) =>
            {

                //httpContext.Request.IsHttps aways is false
                var prefix = httpContext.Request.IsHttps ? "https://" : "http://";
                var destinationAddress = prefix + httpContext.Request.Host;
                var error = await forwarder.SendAsync(httpContext, destinationAddress, httpClient, requestConfig);

                if (error != ForwarderError.None)
                {
                    var errorFeature = httpContext.GetForwarderErrorFeature();
                    var exception = errorFeature.Exception;
                    //TODO: Log exception
                }
            });

That's not supported, forward proxies are very different technologies from reverse proxies.

@Tratcher
First of all, thank you for your answer. This is really a pity. I always thought YetReverseProxy could have the function of forward proxies. I really hope that Microsoft and the community can develop a forward proxy server. Currently, there are too few forward proxy servers based on C # language, and there are almost no components to choose from. Thank you very much for your efforts.


Client type

Describe the bug
Not a bug, but did not find any discussion space to ask directly 🤷
You state in the docs that the client_type should be set to confidential, while from django-oauth-toolkit I can see that the client type is defined based on this RFC, which states that some cases should be Public, for example if we have a single-page app because incapable of secure authentication via any other means.
Is there any context I may be missing here? 🤔

A single-page app will be insecure either way if you give the application public or private ownership. The single-page app would need to have a token in order to authenticate with your API. Anyone could find it be inspecting the page itself via any modern browser.
That's all the context I know.

Thanks for your answer @wagnerdelima but I'm not sure that I have understood.
It's clear that a OPA is not secure due to its nature. But are there some best practice to follow?


Style lib - IconProvider

As a developer I should be able to use the icon provider from style lib to store all my icon assets.
Acceptance criteria
1 - Icon provider lib working in example app

@ricardobrg to add screenshot


Lighthouse Accessibility: Ensure ids are unique

Lighthouse flagged our pages as having duplicate ids, leading to invalid aria entries (specifically aria-controls).
Steps to Reproduce

Visit https://ocw.mit.edu/courses/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/
Run Lighthouse in chrome dev console. It should flag some duplicate ids, e.g., #nav-container_cc74bf5b-1a22-399e-2712-70abfff469d7. You can find the corresponding elements with document.querySelectorAll('#nav-container_cc74bf5b-1a22-399e-2712-70abfff469d7')

Expected: 0 or 1 elements with id
Actual: 2 elements with this id
Notes
There are probably others. Would be good to fix them all as part of this issue, or at least discover the scope.

Looks like there are more duplicate IDs. Most of them are from nav_item.html because both, mobile_course_nav.html and desktop_nav.html partials are being used in home.html and both of them are using the same nav_item.html partial with the same IDs hence duplication occurs.
Currently, I'm looking into a few more things, will fix them and create the PR afterwards.
ps: running this JS snippet in the console points out all the duplicate IDs:
(function findDuplicateIds() {
    const ids = {};
    const all = document.all || document.getElementsByTagName("*");
    const elements_count = all.length;
    let total_duplicates = 0;
    for (let i = 0; i < elements_count; i++) {
        const id = all[i].id;
        if (id) {
            if (ids[id]) {
                console.log("Duplicate id: #" + id);
                total_duplicates++;
            } else {
                ids[id] = 1;
            }
        }
    }
    console.log("Total Duplicate IDs count: "+ total_duplicates);
})();


[VgManager] NodePlugin daemon set fails while waiting for volume groups to be created

VgManager is waiting for sometime before creating vgs.  Lvmd containers  in the node plugins fails until the VG is created.
Need to check if vgManager should really wait before creating devices.

Improved in https://github.com/openshift/lvm-operator/commit/fc8b3b8ac627cba0e51da3a09abfe526cbe70037.


Remove 'build' step from CircleCI flow

@sameersbn this might be controversial so feel free to reject this PR and I won't insist 😛
I'm proposing that we remove the build step (job) from the CircleCI flow, because

the code is compiled in its entirety during static checks already (by golangci-lint)
the code is also compiled during tests (the code that's being tested, at least)

That's at least 2 places where compilation errors would be caught.

👍 yes, it makes sense to remove the build step from the CI workflow.


YOLOv8 over YOLOv5 Performance : Automated SelfCheckout

Hello @riacheruvu,
Suppose the GPU and storage requirements are on the server side. If you downgrade from the YOLOv8 model to the YOLOv5 model, will the performance improve?
Expected behavior
Why do we choose YOLOv8 over YOLOv5? Is it for additional flexibility or features?
Screenshots
Installation instructions (Please mark the checkbox)
[ Yes ] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks#-installation-guide to install the notebooks.
** Environment information **
Please run python check_install.py in the openvino_notebooks directory. If the output is NOT OK for any of the checks, please follow the instructions to fix that. If that does not work, or if you still encounter the issue, please paste the output of check_install.py here.
Additional context
Add any other context about the problem here.

@riacheruvu

Hi @Abhijeet241093! In this context, we are choosing YOLOv8 over YOLO5 for the performance improvements and being able to leverage the latest APIs. You could switch the model with YOLOv5 for meeting GPU/storage requirements - I will say I haven't validated this particular kit with YOLOv5 yet, so you may see different results if you try this.
I think this conversation is more suited for the Discussions section - please feel free to create a new Discussions thread and we can talk further on this, if you have additional questions.
Requesting @adrianboguszewski to close this issue thread for now.


Move prepare_terms() inside basename()

As discussed in issue #70
Made sure that the public API won't be broken from doing this by giving terms a default value of None

What is the use case for this? Calling prepare_terms per each time you call basename is very inefficient. Unless we also cache prepare_terms. Another possibility would be to provide an alternative additional basename partial implementation.
For what it's worth, we probably should also rename prepare_terms into prepare_default_terms since that's what it really is for - users could substitute their own version.

I hope you don't mind me creating an alternative PR that basically does what you suggested here, but a bit differently (it turns basename into a partial); see #75.
It turns out that this allowed us to also simplify the tests a bit, so thank you!

#75 was merged that hopefully provides the same benefit as this PR would have.


Fixed tests to match updates on ckeditor (#5521)

Forward port #5521

Coverage increased (+1.0%) to 90.07% when pulling 82665fc81cbacefbea145ddff4080315ff625184 on czpython:fixes/3.4.x/adapt-tests-for-ckeditor-updates into 675276422a73b3e1dae4e2b60e9db6c7f4d19c57 on divio:develop.


Explain the default isolation behavior of closures.

This rule isn't obvious, but it's crucial for progressive disclosure; the compiler doesn't assume that closures can be run concurrently unless they're explicitly annotated with @Sendable or sending, which indicates that the closure can cross an isolation boundary. This rule allows capturing isolated or non-Sendable state from the enclosing context.
I'd love feedback on the explanation and example. It's a little strange that I mention @Sendable before it has been introduced (it's in a later section to where this addition is).
Resolves https://github.com/apple/swift-migration-guide/issues/128

This is great. So much more clarity on the topic.
Do you think it's worth trying to tailor the example to match the other example themes?

Just coming up with ideas...
@MainActor
class ChickenValley {
    var flock: [Chicken]

    func withWholeFlock(_ block: (Chicken) -> Void) {
        for chicken in flock {
            block(chicken)
        }
    }
}

This is kind of trivial. But it also really focusd in on just the closure without any other concepts. What do you think?


📝 Versioned Docs

This PR removes the old sphynx documentation and adds the new documentation, which is built on mkdocs and mike.
The documentation will be created on each tag push, which creates versioned docs.
Related to https://github.com/predict-idlab/plotly-resampler/issues/221
Closes https://github.com/predict-idlab/plotly-resampler/issues/163

Codecov Report

Merging #235 (cbd9965) into main (b7d3539) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head cbd9965 differs from pull request most recent head edea9c7. Consider uploading reports for the commit edea9c7 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #235   +/-   ##
=======================================
  Coverage   96.87%   96.87%
=======================================
  Files          14       14
  Lines        1023     1023
=======================================
  Hits          991      991
  Misses         32       32

Impacted Files
Coverage Δ

plotly_resampler/__init__.py
84.61% <ø> (ø)

plotly_resampler/aggregation/aggregators.py
100.00% <ø> (ø)

plotly_resampler/figure_resampler/__init__.py
100.00% <ø> (ø)

...tly_resampler/figure_resampler/figure_resampler.py
87.85% <ø> (ø)

...sampler/figure_resampler/figurewidget_resampler.py
99.03% <ø> (ø)

plotly_resampler/figure_resampler/utils.py
96.49% <ø> (ø)

plotly_resampler/registering.py
100.00% <ø> (ø)

...ler/figure_resampler/figure_resampler_interface.py
99.74% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


BUGFIX: Handle response errors in api requests

We sometimes have the case that the prunner doesn't send proper responses and the json_decode method returns null instead of an array which leads to errors in the PipelinesAndJobsResponse::fromArray. When the response is first checked and a runtime exception is thrown this can be handled for the user.

This is one option. I'm not quite sure what the status code in our case was as I couldn't debug on the problematic system.

Example:


[hcb] Simplifications to the host_calback API

dropping support for special AD handling for hcb.id_tap and id_print.
From now on, only the primals are tapped.

This allows us to make some significant cleanup in the internals.

I guess the idea is that users should host_callback inside a custom_vjp if they want to capture values from the reverse pass?

I guess the idea is that users should host_callback inside a custom_vjp if they want to capture values from the reverse pass?

Indeed, that is the idea. In fact, some folks already do this because they want to pre-process the gradients on the device before sending them to the host.


[SYSTEMML-1816] toString does not print negative 0s anymore

Ping @deroneriksson

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1827/

Both positive and negative zero are considered zero - our sparse representation would never store a negative zero as a non-zero. Accordingly, you can leave the code for sparse outputs unchanged (note that 0.0==-0.0 and hence the existing check value != 0.0 already discards -0.0 as well)

@mboehm7 - this is only for consistency of printing out the values to stdout. According to the JIRA, toString should print out the matrix the same way that iterating over each element and using as.scalar would. Nothing more.
@deroneriksson - any thoughts?

@nakul02 I can see that - what I'm saying is that this PR includes unnecessary changes (except the dense conversion case). Since sparse blocks will never contain negative zeros, there is no point in handling it when converting a sparse block to string. Also checks such as "!value.equals(0.0d) && !value.equals(-0.0d)" are unnecessarily convoluted and should be replaced with "value != 0".

@mboehm7 - fixed

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1836/Failed Tests: 2SystemML-PullRequestBuilder/org.apache.systemml:systemml: 2org.apache.sysml.test.integration.functions.data.FullReblockTest.testBinaryBlockSingeMSparseMRorg.apache.sysml.test.integration.functions.frame.FrameMatrixReblockTest.testFrameWriteMultipleSparseBinarySpark

Test this Jenkins

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1847/Failed Tests: 1SystemML-PullRequestBuilder/org.apache.systemml:systemml: 1org.apache.sysml.test.integration.functions.data.FullReblockTest.testTextCellMultipleMSparseMR

@mboehm7 - addressed your comments.

LGTM - thanks @nakul02

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1897/Failed Tests: 1SystemML-PullRequestBuilder/org.apache.systemml:systemml: 1org.apache.sysml.test.integration.functions.parfor.ParForDataPartitionLeftIndexingTest.testParForDataPartitionLeftindexingRowSparseMR

Thanks @mboehm7, I shall merge.


World generator not injected for default world

Having a setup with two worlds with the same custom world generator which only differ in UUID and name, the custom world generator does not get injected for the world which is set to be the firstspawnworld (in Multiverse-Core/config.yml) and the level-name (in server.properties).
Tests that verify the existence of this bug:

For the spawn world: Bukkit.getServer().getWorld("spawnWorld").generator == null
For the other world: Bukkit.getServer().getWorld("otherWorld").generator == <My world generator instance>
Bukkit.getServer().getPluginManager().getPlugin("Multiverse-Core").getMVWorldManager().getMVWorld(org.bukkit.Bukkit.getServer().getWorld("spawnWorld")).getGenerator() == <My world generator name>
Bukkit.getServer().getPluginManager().getPlugin("Multiverse-Core").getMVWorldManager().getMVWorld(org.bukkit.Bukkit.getServer().getWorld("otherWorld")).getGenerator() == <My world generator name>

This results in the end-user being unable to set a custom world generator for the default/spawn world, even though it is properly set according to the config.

Probably the same as #1602
As suggested, a temporary fix is to use bukkit.yml generator for the main world (See in the issue)
As also suggested at the same issue, you cannot override the standard overworld generator for the main world set in server.properties (See in the issue) except with bukkit.yml


Added Advanced Subdomains Manager

still not sorted

still not sorted

I have sorted it alphabetically, Advanced Subdomains Manager is placed in the place where all addons with “A” are placed

@Nightmaregodss place it below Admin98.

@Nightmaregodss place it below Admin98.

Done

This PR may be reopened once unneeded AI-generated configurations and code have been stripped out of the extension.
https://blueprint.zip/docs/?page=documentation/confyml
https://blueprint.zip/docs/?page=documentation/componentsyml
Your extension's routes also conflict with the other subdomains extension, please fix this issue.


Teamspeak crash when open options

Describe the bug
If i open the options, it crashes.
To Reproduce
Steps to reproduce the behavior:

open teamspeak (ts3client)
open the options

Expected behavior
i want to see the options
TerminalOutput
'''
QMetaObject::connectSlotsByName: No matching signal for on_queued_open_dialog()
QMetaObject::connectSlotsByName: No matching signal for on_account_created(QString,QString)
QLayout: Attempting to add QLayout "" to ProfileManager "", which already has a layout
QLayout: Attempting to add QLayout "" to ProfileManager "", which already has a layout
QLayout: Attempting to add QLayout "" to ProfileManager "", which already has a layout
[0727/235810.228865:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/lue/#5126273 (deleted)
Error: No such file or directory
QPaintDevice: Cannot destroy paint device that is being painted
Received signal 11 SEGV_MAPERR<PHONE_NUMBER>18
Segmentation fault
'''
Metadata

system: "x86_64-linux"
host os: Linux 4.19.61, NixOS, 19.03.173189.bdebbbe9598 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(root): "nixos-19.03.173189.bdebbbe9598"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

This bug has cropped up from time to time but it's not happening at the minute.


support mkv:FieldOrder in MediaTrace

see https://github.com/dericed/matroska-specification/blob/gh-pages/ebml_matroska.xml#L279

do you have a sample file?

ffmpeg -f lavfi -i testsrc -vf setfield=tff -frames:v 1 tff.mkv via a modern ffmpeg.

Might as well as some color data in there too,
ffmpeg -f lavfi -i testsrc -vf setfield=tff,colormatrix=bt601:bt709 -frames:v 1 -strict experimental tff_bt709.mkv

fix for color example:
ffmpeg -f lavfi -i testsrc -frames:v 1 -color_primaries 1 -strict experimental hey1.mkv

https://github.com/MediaArea/MediaInfoLib/pull/241


Not enough natural land points in selected area

Describe your issue
Hi everybody,
I succesfully use the sample data provided with the tutorial.
When i use my data:

Seems you are using a LCZ map produced by https://lcz-generator.rub.de/
I therefor use the Gaussian filtered default 'LczFilter' layer
--> Check LCZ integrity, in terms of class labels, projection and extent
LCZ labels as expected (1 to 17)
LCZ provided as WGS84 (EPSG:4326)
LCZ domain is covering WRF domain
--> Replace WRF urban LC with surrounding natural LC
Looping through urban grid pixels:   4%|█▌                                         | 3031/83904 [00:58<25:59, 51.87it/s]

At 4% I have this error, i don't understand:
ERROR:  Not enough natural land points in selected area
You chose to sample 45 pixels over an area of 2025 Increase NPIX_AREA.
Traceback (most recent call last):
File "/home/magalie/miniconda3/lib/python3.9/site-packages/pandas/core/indexes/range.py", line 345, in get_loc
return self._range.index(new_key)
ValueError: 0 is not in range
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/magalie/miniconda3/lib/python3.9/site-packages/w2w/w2w.py", line 547, in wrf_remove_urban
mkd = data_luse_natland.iloc[:NPIX_NLC].luse.mode()[0]
File "/home/magalie/miniconda3/lib/python3.9/site-packages/pandas/core/series.py", line 1007, in getitem
return self._get_value(key)
File "/home/magalie/miniconda3/lib/python3.9/site-packages/pandas/core/series.py", line 1116, in _get_value
loc = self.index.get_loc(label)
File "/home/magalie/miniconda3/lib/python3.9/site-packages/pandas/core/indexes/range.py", line 347, in get_loc
raise KeyError(key) from err
KeyError: 0
Exiting ...
I am working on Montpellier City and using WRF 4.3.
I try the following comand like suggest to modify -n --npix-nlc = 1025

w2w ./output_montpellier  LCZ_Montpellier.tif geo_em.d01.nc -n --npix-nlc

but I have this error :
usage: w2w [-h] [-V] [-b  [...]] [-l] [-f] [-n] [-a] [--lcz-ucp LCZ_UCP] io_dir lcz_file wrf_file
w2w: error: argument -n/--npix-nlc: expected one argument
Do you know how I could resolve this issue and modify arguments?
I am novice in w2w and coding in general.. Any help would be appreciate, thank you in advance!
w2w --version
w2w 0.5.0
nc-config --all
WRF 4.3
netcdf-c-4.7.2
netcdf-fortran-4.5.2

Installed Packages

Traceback
No response

duplicate #116

Hi,
Little update, I finally find an answer. I did not have enough storage memory to calculate the w2w products because of the high resolution (100m) of my simulation domain.
I try with lower (200m-1000m) and it works fine.
Magalie


0.6.3 Expression problem

Describe your bug here.
i was trying to compile the source, some errors appeared and i could fix them, until i got to the one where
source/Achievements.hx:132: characters 3-71 : (camera : flixel.FlxCamera, value : Bool) -> Void should be Array<flixel.FlxCamera>
i did what they mean, but then another error appeared: "Expected expression"
heres the line: var cam;Array<flixel.FlxCamera> = FlxG.cameras.setDefaultDrawTarget;
the = is the problem
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
i only changed FlxG.cameras.defaultCameras; to FlxG.cameras.setDefaultDrawTarget;  thats it

0.6.3 isn't supported anymore

oh.


refrain from using vavr collections

Coverage decreased (-0.03%) to 87.013% when pulling 6c758f7fd0be18d167ebb00c8c3ae8c36ccc6ffb on remove-vavr-from-api into 6a12f7b775e7119d0a5f5c0eeec14ef5e9868809 on master.


Does the standard define 'data' as a JSON object?

One thing that is not immediately clear from the specification is whether the 'data' key of the response should always be either a JSON object or a null, or whether it can be any valid JSON value. Indeed, the examples only show these two options, but other possibilities are not explicitly ruled out.
An example of a different format:
{
    "status": "success",
    "data": "Some string value"
}

If an endpoint specifically returns a single value of a primitive type, I am wondering if packaging that in an additional JSON object would be a bit superfluous?

Reading through the spec carefully, it says data is either a wrapper for other data or null. Personally, I've decided to stick to the spec as written. For example:
return {
  status: 'fail',
  data: {
    message
  }
}

I generally recommend using data be a json object, but ISTR we've had some corner cases where we needed to be "creative", so we left some room there just in case.


Change class name "vitis aestivalis" to "Norton grape plant"

Change class name "vitis aestivalis" to "Norton grape plant" to be consistent with Latin and common names.
other synonyms "Pigeon grape plant" and Summer grape plan"
The Norton grape plant is native to eastern North America.  Noted for deep blue-purple pigmentation, the skin of Norton grapes has a higher content of total anthocyanins than other purple grape cultivars such as the Concord grape.
https://en.wikipedia.org/wiki/Norton_(grape)

So FoodOn uses NCBITaxon terms - which all have latin names - wherever possible for whole organism references, and we can't change their primary labels, but we can offer alternate ones via "alternative term" annotation, or synonyms in FoodOn if desired.  One can switch protege to display "alternative term" for all terms by default, then label if alt. term isn't present. This can be implemented in user interfaces too. The approach allows term to be found by both labels.
FoodOn also has its own native FOODON_12345678 identifier terms for plants (and animals) which have common names, but these come into play only in a few cases:

where no NCBITaxon organism exists for that organism or varietal.
where we haven't yet found an NCBITaxon organism. Its a work in progress to convert all unmatched FoodOn terms to NCBITaxon ones, though we have matched thousands already.
where FoodOn is offering a more common language "convenience" grouping of plants, like "spinach plant" that have no NCBITaxon equivalent because the grouping cuts across NCBITaxon taxonomic clades.

Curious question (not implying a right or wrong purpose): what audience is the primary intended user of Foodon?  Do food production users work through a Latin primary term?   Is the intended audience an interoperability with an ontology or other Food Industry organization that uses Latin as the preferred name?   Queries to get an answer that returns with multiple results would yield a list of Latin names.   Trying to better understand the fit for purpose use case for this.   Is it that there exists many species of "spinach plant" that can only be distinguished by the Latin term and have no common name but has significant variations in nutrition, processing, other information of importance for users of Foodon?

There is a tension between technical and non-technical use of the ontology.  Technical users - at FDA for example, with respect to seafood items - know they have to reference scientific names when it comes to testing a product because market names are too ambiguous.  I totally understand non-technical users (e.g. within the context of a food product catalogue) would prefer common names.  I think you will see the same tension playing out in Wikipedia - which has increasingly shifted to using latin names for food organisms, and offering common name synonyms.  And yes "spinach" refers to over 5 different species of plant depending on where one is on the planet.
Personally I think we have to encourage people to think of the ontology as potentially 1 step removed from public-facing user interfaces, and provide a way - through "alternate term" to provide common names or primary names for organisms in such interfaces. I feel that is the only way to enable both technical and non-technical users.   Does that sound like a decent compromise?
Luckily we only face this difficulty in the whole organism reference branch (roots and all); by the time it comes to naming anatomical part x taxonomy, we can slip back into common name world: so we get to say "Norton grape" as a food product, rather than "Vitis aestivalis grape".

We have added the exact synonyms you mention so this will be available on next release.


Fix knife on windows (rebased against master)

This fixes #3272 (knife subcommands don't work on windows)
See https://github.com/chef/chef/pull/3277 for the original PR against 12.3-stable

:+1:

:+1:

Can you update these examples to include 'chef-xxx-universal-mingw32' like @ksubrama mentions in #3278?

@tyler-ball @ksubrama yep, I will add another test case for the "universal" gems.
I'm also considering to relax the regex a bit, to support more than two dashes. I have no list of available / existing RbConfig['RUBY_PLATFORM'] values available, but I suspect they might contain more than two - inbetween

@tyler-ball @jdmundrawala @ksubrama what do you think about relaxing the regex?
From: %r{/chef-#{Chef::VERSION}(-\w+)?(-\w+)?/}.freeze
To: %r{/chef-#{Chef::VERSION}(-\w+)*/}.freeze

That seems reasonable to me.  From what I know, the Gem::Platform class (that's used in gemspec) has 3 fields: cpu, os and version which may or may not be present and if they are present, they are '-' separated.  You could just add another (-\w+)? but shrug I'm also not really worried about accidentally over-matching another gem that just magically happens to start with the name "chef-".  Is this some weird security scenario we'd need to worry about?  Somebody going out and making gems like chef-12.2.1-1-lololpwnd-whatever ?

Merged as e19aacce268f37e147228a379396b3adb4f648ce


Exception Handling

It may be a good idea to add exception handling in a way similar to QtConcurrent.
Something like the following patch may do the trick:
---------------------- 3rdparty/asyncfuture/asyncfuture.h ----------------------
index 9abf14e..a658653 100644
@@ -960,18 +960,23 @@ eval(Functor functor, QFuture<T> future) {
 template <typename DeferredType, typename RetType, typename T, typename Completed, typename Canceled>
 static DeferredFuture<DeferredType>* execute(QFuture<T> future, QObject* contextObject, Completed onCompleted, Canceled onCanceled) {

     DeferredFuture<DeferredType>* defer = new DeferredFuture<DeferredType>();
     defer->autoDelete = true;
     watch(future,
           contextObject,
           contextObject,[=]() {
-        Value<RetType> value = eval(onCompleted, future);
-        defer->complete(value);
+		try {
+			Value<RetType> value = eval(onCompleted, future);
+			defer->complete(value);
+		} catch(const QException& e) {
+			defer->reportException(e);
+		} catch(const std::exception&) {
+			defer->reportException(QUnhandledException());
     }, [=]() {
         onCanceled();
         defer->cancel();
     });

     if (contextObject) {
         defer->cancel(contextObject, &QObject::destroyed);
     }

Hi @daniel-adb-fa ,
Good idea. It should be added to the AsyncFuture. Thx


Fix nil dereference panic in NewErrorWithError when resp=nil

In cases where resp would be nil (such as net.Dial failures) code
in azure sdk et al. just panics with nil dereference error.
I am making NewErrorWithError take an *http.Response instead of
status code and handling nil of this argument internally.
Also removed NewErrorWithStatusCode and added NewErrorWithResponse
for cases where inner error does not exist.

@ahmetalpbalkan LGTM.

@brendandixon let's release a tag.

@ahmetalpbalkan Good idea! Let me know how it goes. :)


TypeError: Cannot read properties of null (reading 'useContext')

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Create a general page using vite react with multiple date pickers using DesktopDatePicker in combination with LocalizationProvider and  AdapterMoment.
Run commands yarn build and yarn preview to see if everything works locally and deploy to prod.
Open the page in the prod URL to find any errors in the console and the UI is not rendered, just a blank screen.

Current behavior 😯
Getting error only when a dialog is opened which contained multiple date picker fields. The main initial page has one date picker and it is working fine even in the prod. Only the screen is getting blank when the dialog is opened with the errors below
TypeError: Cannot read properties of null (reading 'useContext')
    at exports2.useContext (index-d278c5d4.js:463008:29)
    at useLocalizationContext (index-d278c5d4.js:549464:36)
    at useUtils (index-d278c5d4.js:549470:26)
    at useDatePickerDefaultizedProps (index-d278c5d4.js:549563:22)
    at DesktopDatePicker2 (index-d278c5d4.js:553957:21)
    at Xh (index-d278c5d4.js:4052:16)
    at Zi (index-d278c5d4.js:4598:16)
    at Wk (index-d278c5d4.js:7272:100)
    at Vk (index-d278c5d4.js:6855:20)
    at Uk (index-d278c5d4.js:6848:13)

AND
Uncaught TypeError: Cannot read properties of null (reading 'useContext')
    at exports2.useContext (index-d278c5d4.js:463008:29)
    at useLocalizationContext (index-d278c5d4.js:549464:36)
    at useUtils (index-d278c5d4.js:549470:26)
    at useDatePickerDefaultizedProps (index-d278c5d4.js:549563:22)
    at DesktopDatePicker2 (index-d278c5d4.js:553957:21)
    at Xh (index-d278c5d4.js:4052:16)
    at Zi (index-d278c5d4.js:4598:16)
    at Wk (index-d278c5d4.js:7272:100)
    at Vk (index-d278c5d4.js:6855:20)
    at Uk (index-d278c5d4.js:6848:13)

Expected behavior 🤔
The dialog should open containing extra date fields without any console errors.
Context 🔦
In a search page, there is one date field to filter on. If we wanted extra filters, we added a dialog to open when needed, and in that, there are extra 8 date fields all with custom textfield components used inside renderInput.
In my local system using commands yarn dev, and yarn preview after yarn build everything is working fine.
When deployed to production we are getting this error
TypeError: Cannot read properties of null (reading 'useContext')
    at exports2.useContext (index-d278c5d4.js:463008:29)
    at useLocalizationContext (index-d278c5d4.js:549464:36)
    at useUtils (index-d278c5d4.js:549470:26)
    at useDatePickerDefaultizedProps (index-d278c5d4.js:549563:22)
    at DesktopDatePicker2 (index-d278c5d4.js:553957:21)
    at Xh (index-d278c5d4.js:4052:16)
    at Zi (index-d278c5d4.js:4598:16)
    at Wk (index-d278c5d4.js:7272:100)
    at Vk (index-d278c5d4.js:6855:20)
    at Uk (index-d278c5d4.js:6848:13)

AND
Uncaught TypeError: Cannot read properties of null (reading 'useContext')
    at exports2.useContext (index-d278c5d4.js:463008:29)
    at useLocalizationContext (index-d278c5d4.js:549464:36)
    at useUtils (index-d278c5d4.js:549470:26)
    at useDatePickerDefaultizedProps (index-d278c5d4.js:549563:22)
    at DesktopDatePicker2 (index-d278c5d4.js:553957:21)
    at Xh (index-d278c5d4.js:4052:16)
    at Zi (index-d278c5d4.js:4598:16)
    at Wk (index-d278c5d4.js:7272:100)
    at Vk (index-d278c5d4.js:6855:20)
    at Uk (index-d278c5d4.js:6848:13)

Your environment 🌎

npx @mui/envinfo
  Same error is reproduced when opened in all the browsers

  System:
    OS: macOS 13.2.1
  Binaries:
    Node: 14.20.0 - ~/.nvm/versions/node/v14.20.0/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 6.14.17 - ~/.nvm/versions/node/v14.20.0/bin/npm
  Browsers:
    Chrome: 112.0.5615.137
    Edge: 112.0.1722.54
    Firefox: Not Found
    Safari: 16.3
  npmPackages:
    @emotion/react: ^11.10.5 => 11.10.6
    @emotion/styled: ^11.10.5 => 11.10.6
    @mui/base:  5.0.0-alpha.123
    @mui/core-downloads-tracker:  5.11.15
    @mui/icons-material: ^5.11.0 => 5.11.11
    @mui/material: ^5.11.7 => 5.11.15
    @mui/private-theming:  5.11.13
    @mui/styled-engine:  5.11.11
    @mui/system:  5.11.15
    @mui/types:  7.2.3
    @mui/utils:  5.11.13
    @mui/x-date-pickers: ^5.0.19 => 5.0.20
    @types/react: ^18.0.27 => 18.0.32
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^4.9.3 => 4.9.5

@ViVa98 For date picker issues please (re)open your issue in the X repository here https://github.com/mui/mui-x/issues 🙂
PS: Also provide a minimal reproduction of the issue, you can fork this template: https://mui.com/r/issue-template-latest


feature-toggle for TUI

The first step toward windows support could be to build it without the terminal user interface which will never support windows.
For that, one should add a feature toggle that is off on windows builds. If that's not possible, use conditional compilation.
Related to #2

cargo build --no-default-features will build without TUI.


Boots with frostwalker enchant causes massive no perm spam for players

Enchant Boots with Frostwalker.
Go for a morning run on claims you do not own and try to read messages from other players in chat.
We probably need a special handling for that enchant=Do not send perm message if tried block change source is ice from frostwalker or so.

This also needs a ticket in SpongeCommon as it requires the ChangeBlockEvent.Place cause to use the boots as a source when freezing blocks. Once this is done, GP can easily handle it properly.


Callback argument

Hi @danigb!
The 0.6.0 is awesome. One suggestion I have in mind.
Some modules oftentimes use callback as a last argument, along with promise (like decodeAudioData). We could do something like:
//cb style
load(url, (err, data) => {});

//promise style
load(url).then(data => {}, err => {})

That is not a big deal at all, but sometimes, like in case of pull-streams or fitting with other components we can ease connection by that, because node callback style (err, data) => {} is used de-facto, e. g.:
//some potential universal async audio reader
function read (cb) {
    load(url, cb);
    //↑ instead of ↓
    //load(url).then(data => cb(null, data), err => cb(err));
}

Just interested in your thoughts on that, Promise is completely fine too.

I'm open to this. If you have a clear path on your mind, I'll accept a PR. If not, we can think how to implement it.

Nice, I’ll rework it in #5

I guess no more actual, right? We just have to update readme.


React native overflow visible not working in android even after updated to RN 0.58.4

🐛 Bug Report
According to this RN release , now on we can use overflow:'visible' in android . But still React Native Android clipping its Children view.
To Reproduce
cosider below example
https://snack.expo.io/ryZwe-mHN
output in android
https://i.stack.imgur.com/M560e.png
output in iOS
https://i.stack.imgur.com/jsUwW.jpg
Expected Behavior
the parent should not clip the child view
like this https://i.stack.imgur.com/jsUwW.jpg
Code Example
Please consider snack expo url
https://snack.expo.io/ryZwe-mHN
or
SO Question
https://stackoverflow.com/questions/54693030/react-native-overflow-visible-not-working-in-android-even-after-updated-to-rn-0
Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 520.89 MB / 7.91 GB
Binaries:
Yarn: 1.7.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 4.6.1 - C:\Program Files\nodejs\npm.CMD
I am getting only this much information when I run react-native info
my package.json is
{   "name": "OverFlowIssue",   "version": "0.0.1",   "private": true,   "scripts": {     "start": "node node_modules/react-native/local-cli/cli.js start",     "test": "jest"   },   "dependencies": {     "react": "16.6.3",     "react-native": "0.58.4"   },   "devDependencies": {     "babel-core": "7.0.0-bridge.0",     "babel-jest": "24.1.0",     "jest": "24.1.0",     "metro-react-native-babel-preset": "0.51.1",     "react-test-renderer": "16.6.3"   },   "jest": {     "preset": "react-native"   } }

Should be in 0.59.

@cpojer   "react-native": "0.59.1" overflow:"visible" don't working

Do you mind sending a fix for the remaining issue?

should be in 0.59 but im using 0.59.3 and its still not working...

overflow:'visible' is hidden on android. Please refer my screenshot. Plz tell me some possible solution.

I have solved this issue by creating AndroidPackage as said here. Its perfectly working for me

Still not working in 0.60.5

As per the docs:

On Android, all views will clip their children.

https://facebook.github.io/react-native/docs/0.51/layout-props#overflow


Release to NPM

Hey Lucas,
I just gave it a try, since I am planning to use gpsd via JS on my Raspberry. Since my development machine does not have a GPS device, I was looking for options.
Your code runs great, my test parser is working fine on the Raspberry and with your fake gpsd server, also.
Are you willing to release it to npm? I'd love to use it as development dependency for my local dev environment.
Let me know what you think, I can help with creating a lib out of it and push it to npm.
Greetings from Berlin,
Benedikt

I would be okay with publishing it to npm, but I don't know what is required to do so.
Also I am not shure if creating a libary is a good idea, because the software should be run as a seperate process so that there is the same relation for the software when using gpsd-fake as there would be if gpsd is used.

Hey there,
you can also release software to NPM. It does not have to be a "normal" dependency or library.
We can also structure it to register as global process, so you can use it just as a normal command, totally separated from other code.
So you just install via:
npm install --global gpsd-fake
And run the tool on your CLI from any folder via:
gpsd-fake
(There is still the option to download it as local dependency for one project and make the "binary" only available within the project directory)
If you are willing to merge it, I can do a Pull-Request with everything ready for release? :)
The actual publishing to npm is done within one minute, all you have to do is:

Make sure to use semver for proper versioning: https://docs.npmjs.com/getting-started/semantic-versioning
Publish it to npm: https://docs.npmjs.com/getting-started/publishing-npm-packages
(Some minimal config preperation needed but I can do this in the PR)

Benedikt

Ok that sounds reasonable. If you do the adjustments in a pull request I will publish it to npm.

Kewl, I might not be able to do it straight away but I hope within the next 2 weeks. Thank you <3

Awesome!!! Now just release it:
npm version minor
npm publish
:)

I just stay with 1.0.0 for the first Release to NPM until now the version was only a placeholder.
It should be available now :) thanks for your help

Great, works like charm. <3


fix: MD047/single-trailing-newline

Ran eclint fix -n "subscriptions/**/*.md"

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

confirm spacing fixes


Discover module

Depends on this pr
Big PR that aim at being able to parse folders directly.
Currently you parse modules but using module.content only works if you have a module inside the file.
Now you can specify a directory and it will parse every files recursively.
With this new implementation, I don't need the module specification anymore because I infer it from the path, so I simplified the attributes with a new paths = "./paths1, ./path2" format which is easier to use.
The old syntax still works, I just ignore the module part.
For easier debugging, I splitted the project in 3 crates, which allows me to have most of the logic in a non-macro crate, where I can use print!(). It's way easier to debug that way !
I bumpted that projet to 4.0 because it's a big change

Hello,
have you thought about external dependencies? that are not on the same crate?

You can't derive a trait on a foreign struct so this won't work but you can still do manual import so this shouldn't be an issue

What do you mean by that ?
You mean subcrates ? Or external crates ?

for example, if you divide your project into several separate sub-projects, with the DTOs in one library and the controllers in another, how will you manage this?


Add a warning when we encounter an empty stream in Parser_makeFilter

Having a warning here would have meant that issue #6360 could have been solved in approximately five minutes, instead of an hour. To avoid that happening again, this patch adds a warning whenever we treat a stream as empty.

/botio test

Nice, thanks!


Add settings opt in/out of comm

Accept messages from all users, opportunity providers, and researchers.
If you turn this off, only Science Near Me staff and Opportunity Providers can email you.

@SciStarter in front-end-refactor. You just need to hook it up to database.


Crashed during make some project like vue-cli

I was facing some issue like i'm make some project using vue-cli (vue create app) the terminal was going force closed/crashed, its also happened on gatsby too. here some preview
https://user-images.githubusercontent.com/22952560/134706188-ae9987e8-3a28-4237-ae99-719c58207e75.mp4

is font-symbola installed?

Solved, the problem it was from font-symbola not installed before.
Thanks for help