dist_train.sh throws error when running it on the 3.x branch

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 (master) or latest version (3.x).

Task
I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.
Branch
3.x branch https://github.com/open-mmlab/mmdetection/tree/3.x
Environment
sys.platform: linux
Python: 3.8.16 (default, Mar  2 2023, 03:21:46) [GCC 11.2.0]
CUDA available: True
numpy_random_seed:<PHONE_NUMBER>
GPU 0: NVIDIA GeForce GTX 1080
CUDA_HOME: /usr
NVCC: Cuda compilation tools, release 11.8, V11.8.89
GCC: gcc (Debian 12.2.0-14) 12.2.0
PyTorch: 2.0.0
PyTorch compiling details: PyTorch built with:
  - GCC 9.3
  - C++ Version: 201703
  - Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.7.3 (Git Hash 6dbeffbae1f23cbbeae17adb7b5b13f1f37c080e)
  - 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.8
  - 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_6
1;-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_90,code=sm_90;-gencode;arch=compute_37,code=compute_37
  - CuDNN 8.7
  - Magma 2.6.1
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.8, CUDNN_VERSION=8.7.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -D_GLIBCXX_US
E_CXX11_ABI=0 -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE
_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -W
no-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result
 -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=o
ld-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast
-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_DISABLE_GPU_ASSERTS=ON, TORCH_VERSION=2.0.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, USE_ROCM=OFF,

TorchVision: 0.15.0
OpenCV: 4.7.0
MMEngine: 0.7.0
MMDetection: 3.0.0rc6+61dd8d5

Reproduces the problem - code sample
There is not a code sample you have to run, but I am just going to paste my config file here:
_base_ = '../rtmdet/rtmdet-ins_s_8xb32-300e_coco.py'

train_dataloader = dict(
    batch_size=4,
    num_workers=2)

val_dataloader = dict(
    batch_size=2,
    num_workers=1)

test_dataloader = dict(
    batch_size=2,
    num_workers=1)

train_cfg = dict(
    type='EpochBasedTrainLoop',
    max_epochs=300,
    val_interval=1)

Reproduces the problem - command or script
CUDA_VISIBLE_DEVICES=1 ./tools/dist_train.sh configs/rtmdet/rtmdet_test.py 1

Reproduces the problem - error message
/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/distributed/launch.py:181: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use-env is set by default in torchrun.
If your script expects `--local-rank` argument to be set, please
change it to read from `os.environ['LOCAL_RANK']` instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions

  warnings.warn(
usage: train.py [-h] [--work-dir WORK_DIR] [--amp] [--auto-scale-lr] [--resume [RESUME]] [--cfg-options CFG_OPTIONS [CFG_OPTIONS ...]]
                [--launcher {none,pytorch,slurm,mpi}] [--local_rank LOCAL_RANK]
                config
train.py: error: unrecognized arguments: --local-rank=0
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 2) local_rank: 0 (pid: 3489) of binary: /home/cozey/miniconda3/envs/openmmlab/bin/python
Traceback (most recent call last):
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 196, in <module>
    main()
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 192, in main
    launch(args)
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 177, in launch
    run(args)
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/distributed/run.py", line 785, in run
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/home/cozey/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
./tools/train.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2023-03-24_13:39:31
  host      : supercomputer
  rank      : 0 (local_rank: 0)
  exitcode  : 2 (pid: 3489)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================

Additional information
I also tried to change torch.distributed.launch to torchrun, but that gave me a module error.

I have encountered the same problem. Have you found a solution?

No I still have the issue unfortunately.

Ah okay great thanks!


Generate and Publish API reference docs

We need to generate the api reference docs and automatically publish to gh-page, or the corresponding language standard (docs.rs on rust, pkg dev in go, javadoc.io etc)

This is already done on #144


Remove openai pre-req from readme

These resources are now created when running azd up
This change was made in https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/pull/113 but this section of the README was missed

I agree that we don't need to have a model deployment, but maybe we should state that we need OpenAI enabled in the subscription - because I seem to remember you have to enable it

Good point! I'll change it to state that requirement instead.


Fix slices overriding on import

The import itself worked correctly before but instead of overriding an
old chart it was always creating a new one.
Signed-off-by: Maxim Sukharev<EMAIL_ADDRESS>

I would appreciate if somebody else would test it too


replaced the old URL and checked other files for its presence

Pull Request
Related issue
Fixes #130
What does this PR do?

Replaces the old URL https://console.firebase.google.com/project/_/extensions/install?ref=meilisearch/firestore-meilisearch with https://extensions.dev/extensions/meilisearch/firestore-meilisearch
There are also some formatting changes to make the Readme look nicer. Hope they won't be a problem.

PR checklist
Please check if your PR fulfills the following requirements:

[ Yes] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[Yes ] Have you read the contributing guidelines?
[Yes ] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@bidoubiwa

Hey @Pragya2056 thanks for contributing 🔥

The geosearch links formating is not fixed.
I prefer keeping the old formating of the bulletpoints

Some changes are nice and the link to the marketplace is working :)

What are the new required changes?

The one I just mentioned 😅

Thank you!!!

This message is sent automatically
Thanks again for contributing to Meilisearch :heart:
If you are participating in Hacktoberfest, and you would like to receive some gift from Meilisearch too, please complete this form.


chore: Don't require message or reason to be set for NodeClaims

Fixes #N/A
Description
How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 78.527%

Files with Coverage Reduction
New Missed Lines
%

pkg/scheduling/requirements.go
2
97.98%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8316

Relevant Lines:
10590

💛  - Coveralls


Add support for autocompletion, as with kubectl

Other tools based on the same Cobra CLI framework have autocompletion support. This might make wsk CLI more user friendly.
https://github.com/spf13/cobra/pull/69
https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion

wsk sdk install bashauto for bash tab completion.

Cool. Looks like I can close this one. Is there another issue open to improve the docs for bashauto?

There isn't.


Update Model Entities

Write a script that will update the model entities that are stored in ndb. It may be a better option to map these in ndb to existing models so we can delete or rename them without borking someone's pipeline when we change things.

During the pipeline/table rewrite, we should move just the mid into the user's pipeline entry (right now it's called table). Then we don't have to do this, unless we remove a model.


Added contribution guidelines file

Closes #431.

@lisandrasilva one other thing: I think our CI doesn't let us merge PRs from external contributors, so it'd be good to incorporate some details on how to get an external PR adopted by a maintainer with RV, similar to what is said in the K contributor guidelines.

@lisandrasilva let's also add a similar statement on the licensing: https://github.com/runtimeverification/k/blob/master/CONTRIBUTING.md#licensing.


Flutter App will crash

When I try to use it in the flutter project, the flutter app will crash with a white screen and the console will output the following error:

Hey @Jerry92-Lee ,
Does that happen without splunk-otel-android too? What version of splunk-otel-android are you using?
I have never seen that localhost connection error before, is that something specific to flutter? Can you provide a reproduction scenario (e.g. a simple app that fails this way)?

Hey @Jerry92-Lee ,
Please reopen or create a new issue if you're still encountering this problem.


Fixed path simplification.

This pull request fixes #42.

I was making a branch to do the exact same change but you're still missing this line:
https://github.com/personalrobotics/or_ompl/blob/master/src/OMPLSimplifier.cpp#L135
which should be changed to
waypoint_ompl->value(idof) = waypoint_openrave[idof];

I committed a change to fix that as well


Fix various typos

See tracker for details (this issue will be re-used in the future): #91521
Noteworthy changes are marked as review comments.

Thanks!


Nested vars support?

I have checked the following:

[X] I use the newest version of bruno. (v1.19.0 atm)
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Variable value is not resolved when used in another variable.
See how the variable sent in the request is the literal text written in vars:

Hovering cursor on the nested variable does show the actual variable value:

If Bruno does support nested variable, then the nested variable value should be resolved before the request is sent.
If not, the variable input should not indicate it's resolving to the referenced variable.
And docs for vars might need to be updated to note this behavior.
.bru file to reproduce the bug
meta {
  name: Example
  type: http
  seq: 5
}

get {
  url: https://example.com?q={{hello}}
  body: none
  auth: none
}

query {
  q: {{hello}}
}

vars:pre-request {
  foo: bar
  hello: world-{{foo}}
}

Screenshots/Live demo link

Duplicate of #956

Apologies, my search keyword was vars, I didn't see that one.


0.9.0 Release Testing

Testing Setup
Trippy 0.9.0-dev @ 8068479
Test Results

Test
macOS
Linux
Windows
NetBSD

classic ipv4/icmp
✅
✅
✅
⌛

classic ipv4/udp
✅
✅
✅
⌛

classic ipv4/tcp
✅
✅
✅
⌛

classic ipv4/icmp with extensions
✅
✅
✅
⌛

classic ipv4/udp with extensions
✅
✅
✅
⌛

classic ipv4/tcp with extensions
✅
✅
✅
⌛

classic ipv6/icmp
✅
✅
no env
⌛

classic ipv6/udp
✅
✅
no env
⌛

classic ipv6/tcp
✅
✅
no env
⌛

classic ipv6/icmp with extensions
✅
✅
no env
⌛

classic ipv6/udp with extensions
✅
✅
no env
⌛

classic ipv6/tcp with extensions
✅
✅
no env
⌛

unprivileged classic ipv4/icmp
✅
n/a
n/a
n/a

unprivileged classic  ipv4/udp
✅
n/a
n/a
n/a

unprivileged classic ipv4/tcp
✅
n/a
n/a
n/a

unprivileged classic ipv6/icmp
✅
n/a
n/a
n/a

unprivileged classic ipv6/udp
✅
n/a
n/a
n/a

unprivileged classic ipv6/tcp
✅
n/a
n/a
n/a

paris ipv4/udp
✅
✅
✅
⌛

paris ipv6/udp
✅
✅
no env
⌛

dublin ipv4/udp
✅
✅
✅
⌛

soak ipv4/icmp (10k rounds) with extensions
✅
✅
✅
⌛

soak ipv4/udp (10k rounds) with extensions
✅
✅
✅
⌛

soak ipv4/tcp (10k rounds) with extensions
✅
✅
✅
⌛

soak ipv6/icmp (10k rounds) with extensions
✅
✅
no env
⌛

soak ipv6/udp (10k rounds) with extensions
✅
✅
no env
⌛

soak ipv6/tcp (10k rounds) with extensions
✅
✅
no env
⌛

Issues

Sporadic startup crashes on Windows ✅

Caused by https://github.com/fujiapple852/trippy/pull/706
Fix: https://github.com/fujiapple852/trippy/pull/838

Error on Windows with trip.exe -6 example.com at src/main.rs 202:55 ✅

Fix: https://github.com/fujiapple852/trippy/pull/842

The number of flows should be capped to avoid Tui lag ✅

Fix: #844

Test Systems

OS
Arch
Env
Version
Term/Shell
Notes

macOS
x86_64
darwin
Ventura 13.6.1
iTerm2 / fish
MacBook Pro

Linux
x86_64
gnu
Ubuntu 23.04 x64
bash
VM (DO droplet)

Windows
x86_64
msvc
Windows 10 (Home)
PowerShell
VM (local VirtualBox)

NetBSD
x86_64
n/a
9.2
bash
VM (local qemu)

Unable to test on NetBSD currently.  Confirmed that Trippy 0.9.0 MSRV is 1.70 which is supported on NetBSD 9.2.


Would you be able to implement the same feature for Dirt Showdown?

This should already work for DiRT Showdown.

This should already work for DiRT Showdown.

thanks

thanks


Reorganize and cleanup

This simply moves a bunch of components to subfolders, and deletes a couple old unused components.

:+1: on organizing the buttons. If you have good thoughts on those, feel free to make some changes when you come on!


romdisk: fix load command parameter length

The 'load' command doesn't supply a parameter string to the code that it is launching, but doesn't clear de or bc. So launched programs that are expecting a parameter interpret rubbish where de points. Setting the parameter to empty by zeroing bc means that programs expecting a parameter can notice and die nicely when run in the 'load' context.

@chiralos Nice catch! Thanks for your fix, merging!


Remove callback methods in blobstore for concurrency test

There was a time when we had some concurrency issues in blobstore implementation when put, delete and update would come simultaneously and the blostore would break. In order to test those concurrency cases, we added callback methods in blobstore methods. Now that we already know the issues are fixed, we can remove those callback methods.

Codecov Report

Merging #1910 (4398174) into master (e93fbb1) will decrease coverage by 58.53%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #1910       +/-   ##
=============================================
- Coverage     73.94%   15.40%   -58.54%
+ Complexity     9665     2270     -7395
=============================================
  Files           690      690
  Lines         53121    53106       -15
  Branches       6618     6616        -2
=============================================
- Hits          39280     8182    -31098
- Misses        11779    44450    +32671
+ Partials       2062      474     -1588

Impacted Files
Coverage Δ

...rc/main/java/com/github/ambry/store/BlobStore.java
82.26% <ø> (-4.29%)
:arrow_down:

.../src/main/java/com/github/ambry/router/Router.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/named/PutResult.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/KMSConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/SSLConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/router/ByteRange.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 541 more

Continue to review full report at Codecov.

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


folder file uploads on macos an issue

Keybase GUI Version: 4.5.0-20190919040131+93e889ab01
Trying to upload files to my team folder (any folder) and it is not working properly.  One particular annoyance is that progress bar is not provided, and there appears to be no way to cancel or remove the upload. One has to wait until it is finished, but if it is not finished it just stays there...
On a similar topic, one cannot upload non image files to the folder from an ios device; one is only allowed to select a photo, rather than a document from the internal iphone/ios device 'folder' (new to iOS)....
Annoying, and am surprised this is still occurring.  Thank you.
best,
R

If you do a keybase log send, and post the resulting ID here, I can take a look.


Allow modifying the preferred size via code rather than just a .ui file.

/me steals tiny change from @jellysnake needed for BasicCrafting

Hooray Jenkins reported success with all tests good!

/me abuses great power without great responsibility and self-merges stolen PR

Tsk Tsk breaking protocols


Stop writing to /var/log/app_engine/

Currently the logging library is writing files to a magical path:  /var/log/app_engine/.  This is not an official supported path, and would only work for App Engine.  At any point -that path could stop working.
The only officially supported ways to write logs are to write to stdout or stderr, or to use the cloud logging APIs.  Come chat with me if you have questions!
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/logging/google/cloud/logging/handlers/app_engine.py#L34

@waprin can you take this?

@JustinBeckwith it's ok if it only works on App Engine because it's only supposed to be used on App Engine.
stdout/stderr don't capture severity which this was supposed to address.
We can switch it to use the API directly, just need to make sure correct monitored resource gets set.

@waprin Can you provide me with some clarity on this? Does this need to be fixed, or is it working as intended?

@lukesneeringer
tl;dr: It's working, but via an unofficially supported mechanism, and so it needs to be fixed, which I can do.
Longer story:
These are for the Python standard logging handlers, which is not the main API interface we document, it's just a helper that I added. I documented  it under "Additional tools" in the Cloud docs and a section at the bottom of these Github docs.
As mentioned, on App Engine Flex, stdout/stderr ends up in Stackdriver Logging, but the reason I just don't like logging to that (which is where Python standard logging goes by default), is because the fluentd logger doesn't capture error severity levels. So if you try to search for messages logged at severity error the best you can do is a text search for the word error, and you will get all message that have the word error in them regardless of their log level. It's a small detail but I think a nice one to get right. So the current handler tries to format the messages so the fluentd agent parses the severity correctly. Justin is telling me that I shouldn't rely on the fluentd agent at all and should just write directly to the API.
The only small details to doing that right is to correctly set the monitored resource so the logs show up in the correct App Engine service/version logs rather than in custom global logs.
I can submit a PR to fix it, currently a few things ahead in my queue, maybe this week but if not then after Next is over (next week). @JustinBeckwith can let me know if it's higher priority than I'm realizing.

@waprin That sounds good. Thank you so much.

I had always understood that we would tell users to always use the standard Python logging, and never use the API-type functions from this library other than a setup call in their main(), and we'll do what it takes to make it work well (and printing to stdout/stderr is not that).  That's what I've been telling others, and what I've been telling the ABSL people who are open-sourcing the internal Google logging code under a similar principle -- call a setup function once, then just use standard Python logging calls, and we'll make it do the right thing.

@duggelz yes, the issue is that client.setup_logging which uses standard Python logging, currently writes to /var/log/appengine, we just need to hook to make it use the regular API client instead. And then we can put GAE stuff on top of that afterwards.

from google.cloud.logging.resource import Resource
resource = Resource('gae_app', labels={
    'module_id': os.getenv(GAE_SERVICE)
    'version': os.getenv(GAE_VERSION)
}
logger.log_text(message, resource=resource)

is the basic call you're going to want to end up making. Currently the handler in handlers.app_engine extends RotatingFileHandler but you're going to want to instead make it either extend or something similar to handlers.handlers.CloudLoggingHandler. However the actual log_text or log_struct call is made in SyncTransport and AsyncTransport send method. So you probably want to add a resource flag to the transport send interface and then have the gae handler pass the resource in.
Of course up to you how you do it just trying to brain dump my perspective on what needs to get done, feel free to ping me any questions.

Closed by #3410


[Feature Request] When a new version is updated, how can I save my account without having to scan the code again

Every time I update the version, I need to scan the QR code of my 20 accounts to log in to the new docker again. Is there any solution that can be similar to hot update?

Hi!
Could you share the the command how you start the server?
Here's recommended parameters
https://waha.devlike.pro/docs/how-to/install/
docker run -d \
    --restart=always \
    --name waha \
    -p 3000:3000/tcp \
    -v ./.sessions:/app/.sessions \
    -v ./.media:/app/.media \
    --env WHATSAPP_API_KEY=321 \
    --env WAHA_DASHBOARD_USERNAME=waha \
    --env WAHA_DASHBOARD_PASSWORD=waha \
    --env WAHA_LOG_FORMAT=PRETTY \
    --env WAHA_LOG_LEVEL=info \
    --env WHATSAPP_DEFAULT_ENGINE=WEBJS \
    --env WHATSAPP_RESTART_ALL_SESSIONS=True \
    --env WAHA_PRINT_QR=False \
    --env WHATSAPP_FILES_LIFETIME=0 \
    --env WHATSAPP_FILES_FOLDER=/app/.media \
    devlikeapro/waha-plus:latest

WHATSAPP_RESTART_ALL_SESSIONS and  -v ./.sessions:/app/.sessions are crucial to avoid rescanning QR
Also feel free to ask in discord, did you get the link in https://portal.devlike.pro?

ok thanks


Generate API docs

Missed run apidocs
@RackHD/corecommitters @RackHD/rackhd_dev

The travis-ci run will fail,   this PR fixes it.

+1

Travis-ci passed because it only runs deploy on master.

+1


Banner management

Motivation and Context

As a rOps user, I want the ability to see the current alert banner running, and have the ability to remove it so that I may swap the alert banners which are displayed to respondents.
What has changed

How to test?

Links

https://trello.com/c/Bb75vjhE

/deploy holrot

/deploy holrot

/deploy holrot

/deploy baileyw

/deploy baileyw

/deploy baileyw

/deploy baileyw

/deploy foxj

/deploy foxj

/deploy foxj

/deploy foxj

/deploy foxj

/deploy baileyw

/deploy baileyw

/deploy foxj

/deploy terryj


README: Add requirements for installation on VM

Adds Puppet as a requirement for installation on VM.
Since I just tested the script on Ubuntu and it worked fine, added that as well.
Also, removes trailing whitespaces from a few places. Maybe we should have a test for that as well?

Landed at 91df94d, thanks!


VRP with Time Windows and Capacity Constraints

What language and solver does this apply to?
Python
Describe the problem you are trying to solve.
in the problem of vrp which has Time Windows and Capacity Constraints, i want to convert capacity constraints into unloading duration. and add it to the cost of travel, but i don't know which function can have from_index, to_index and time dimension, such as SetArcCostEvaluatorOfAllVehicles imported function needs two parameter from_index and to_index .
Describe the solution you'd like
Please provide examples of incorporating multiple dimensions of data into the cost of travel.

Got it, thank you


RecyclerView height wrap_content

So my problem is what when I use android:layout_height="wrap_content" for my RecyclerView, he just cut off instead of expanding. Or I doing something wrong or it is just a bug.

Could you check it with sample? I have created a branch  for you with such RecyclerView. It is working here.
Seems your issue is more specific and i need additional details. Something which is not default

Hm, I checked the branch and all look great. Maybe my problem in parent ScrollView.
My layout look like this
<ScrollView>
    <!--some content-->
    <android.support.v7.widget.CardView>
        <LinearLayout>
            <TextView>
            <LinearLayout>
                <android.support.v7.widget.RecyclerView> <!--I use this RecyclerView-->
                <ImageView>
            </LinearLayout>
         </LinearLayout>
     </android.support.v7.widget.CardView>
</ScrollView>

After some experiments I can say that problem in ScrollView and ChipsLayoutManager. When I use LinearLayoutManager all looks great.

Just wrapping RecyclerView in ScrollView doesn't break behaviour.
Could you share a full layout?
Also consider using android.support.v4.widget.NestedScrollView instead of ScrollView, because it is more compatible with RecyclerView.
Also try with newest 0.2.4 layout manager, it may help.

Ok, I will try. Thanks for fast response.

Any updates? I wanna close the issue.

I have jumped to another library. Perhaps problem was in my code. I think you can close issue. If something goes wrong again I will write you. Thank for communication.


Brok and Sindri despawn after server shut down

Look into the persistence.

Havent seen this come up again. Closed for now


v0.50.0 not showing process data correctly

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[ ] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.50.0 (brew)
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
I have my completion trigger set to ,,. After doing a brew upgrade, this is now the output of kill ,, for me:

If I select one (or more), it does not have a process ID, the command will be entered as: kill 2^[[0m

Looks like your ps commmand is producing ANSI color codes when it shouldn't. You see colored output when you do ps -ef | cat? And what is the output of command ps?

Looks like your ps commmand is producing ANSI color codes when it shouldn't. You see colored output when you do ps -ef | cat? And what is the output of command -v ps?

No color output, and /bin/ps

@blaineventurine sets an alias for cat[^1] and has a config file for bat with the --color=always flag. [^2]
alias cat='bat'

Additionally, there is no --ansi flag in the FZF_DEFAULT_OPTS[^3].

Minimal setup to reproduce the issue:
export FZF_DEFAULT_OPTS=""
export FZF_COMPLETION_TRIGGER=',,'
alias cat='bat --color=always --number'
source /Users/paria/Developer/fzf/shell/completion.zsh

It seems to have come from commit 152988c17bd6c35ce55652d123db8b65a32f98e4.
Prepending command to the cat command in the function below seems to fix the issue. However,
this does not explain why the issue only became apparent after commit 152988c17bd6c35ce55652d123db8b65a32f98e4. Anyone understands this?
https://github.com/junegunn/fzf/blob/f97d2754134607b24849fc4a2062dbfcaafddd6a/shell/completion.zsh#L183-L187
Another cat command in that file already has been prefixed with command[^4], lets just follow suit ?
https://github.com/junegunn/fzf/blob/f97d2754134607b24849fc4a2062dbfcaafddd6a/shell/completion.zsh#L231-L236
[^1]: dotfiles/.config/zsh/aliases.zsh · blaineventurine/dotfiles
[^2]: dotfiles/.config/bat/config · blaineventurine/dotfiles
[^3]: dotfiles/.config/zsh/.zshenv · blaineventurine/dotfiles
[^4]: Pull Request #701 · junegunn/fzf

@blaineventurine sets an alias for cat1

Thank you for doing what I should have done and given a fully reproducible config.

Prepending command to the cat command in the function below seems to fix the issue.

Confirmed.
But I have to mention that aliasing cat to bat with --color=always is a bad idea and should be discouraged. It will break existing scripts that expect the normal cat behavior. alias cat='bat --number' should be enough. You'll get pretty output when you cat something, and it will not break scripts as bat will not print color codes when the standard output is not a TTY device.
alias cat='bat --number'

# Colors
cat README.md

# No colors
cat README.md | command cat

Commit 152988c17bd6c35ce55652d123db8b65a32f98e4 wrapped the emulate part in an if statement. With that change, the alias expansion no longer worked as expected.
Moving the interactive check after the emulate command seems to have solved the issue and prevents us from prepending every single command with command, as was described in #1944.
The movement of the interactive check to the top came with #3449, but it was just a simple one-line check, compared with the commit mentioned prior which wrapped everything in an if statement.
When testing with the setup below, the kill command should no longer have color codes displayed, as the intended cat is being used.

[!NOTE]
I am not confident that the explanation is correct; it was derived only through testing. The documentation about emulate did not provide clear instructions, and searching through the Zsh community posts did not offer much further assistance, other than the frequently mentioned advice of placing emulate at the top of the script.

@LangLangBart Thanks for the investigation. Should we do it like this then?

Yes, key-bindings.zsh may require similar modifications, and maybe in one file a hint ?
# The 'emulate' command should not be placed inside the interactive check,
# as doing so fails to disable alias expansion.
if [[ -o interactive ]]; then

@LangLangBart Sounds good. Can you open a pull request?

But I have to mention that aliasing cat to bat with --color=always is a bad idea and should be discouraged. It will break existing scripts that expect the normal cat behavior. alias cat='bat --number' should be enough. You'll get pretty output when you cat something, and it will not break scripts as bat will not print color codes when the standard output is not a TTY device.

Thanks for this - I believe I copied it out of the bat documentation at some point. Removing --color=always fix the issue I was having.


Multiple screens bug

When i try to capture DISPLAY1 only it captures DISPLAY1 and a black screen at the position of DISPLAY2, so the result is, on the left of the screen, my video and on the right, a black square.

I just found out that enabling desktop duplication api forces captura to capture one screen and an empty black square.

I don't have multiple monitors. So, never had an option to check that.
Desktop Duplication can indeed capture only one Screen at a time.
May I know whar happens when you select DISPLAY2 and record with Desktop Duplication?

i get something like this : (same as if i choose display1)

Please test this build: https://ci.appveyor.com/api/buildjobs/jn9gtygmgtke9uit/artifacts/Captura-Portable.zip

When i select display1, recording is perfect. With display2, captura don't record anything but a black screen.

Did another fix, please test: https://ci.appveyor.com/api/buildjobs/4rb9i2ta91psiwj8/artifacts/Captura-Portable.zip

Well done, now each screen is recorded correctly.


Fixing H5Web support of filenames with special characters

This PR escapes the filename in H5Web so it is safely pass through the request.
As it is, the file path displayed in h5web is also escaped so it is no really nice, but looks to work.
If you prefer to keep _check_data, I'll remove the 2nd commit.
closes #45

Does this fix also the issue when double-clicking on a file with + in the name ?

No, only through H5Web().
BTW, only tested with jupyterlab v2.3.1, maybe v3 solves the issue?

BTW, only tested with jupyterlab v2.3.1, maybe v3 solves the issue?

No it doesn't.
I think we should try to find where the aggressive escaping of the URL takes place in the backend and try to circumvent it to tackle both contexts at once.

Right!
But in the network inspector the URL looks to be already escaped (i.e., + replaced with space), so maybe the filename needs to be escaped in jupyterlab before being used.

But in the network inspector the URL looks to be already escaped (i.e., + replaced with space), so maybe the filename needs to be escaped in jupyterlab before being used.

That would be surprising as notebooks or other filetypes with + in their names work fine. That makes me think that we are perhaps doing something wrong somewhere...

Indeed! It is supposed to work as any other file type, so the solution is maybe elsewhere...


Unable to download database from private organization repository (failed to download vulnerability DB: database download error: oci download error: failed to create a temp file)

I successfully built Trivy-DB and pushed it into a private organization repository. It is verified using below command
username@hostname Tools % oras pull ghcr.io/<private-org>/trivy-db:2 --output $TRIVY_TEMP_DIR
✓ Pulled      assets/db.tar.gz                                                                                56.5/56.5 MB 100.00%    15s
  └─ sha256:0c67f20dedd7b9a5794aab76f12dbb0cdc7b3a5948b8957244126d0de280cb26
✓ Pulled      application/vnd.oci.image.manifest.v1+json                                                                                622/622  B 100.00%    2ms
  └─ sha256:3ba53537f5bcda0e84dbb660feb2a5e49587458810ad949265e47b522478e38f
Pulled [registry] ghcr.io/<private-org>/trivy-db:2
Digest: sha256:3ba53537f5bcda0e84dbb660feb2a5e49587458810ad949265e47b522478e38f

However, I got the following error when I tried to run trivy to download database from private organization repository.
username@host Tools % trivy --cache-dir $TRIVY_TEMP_DIR image --download-db-only --db-repository ghcr.io/<private-organization>/trivy-db:2 --debug
2024-12-13T22:56:02+07:00	DEBUG	Cache dir	dir="/var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/tmp.GkH7akMD9l"
2024-12-13T22:56:02+07:00	DEBUG	Parsed severities	severities=[UNKNOWN LOW MEDIUM HIGH CRITICAL]
2024-12-13T22:56:02+07:00	DEBUG	Ignore statuses	statuses=[]
2024-12-13T22:56:02+07:00	DEBUG	There is no valid metadata file	err="unable to open a file: open /var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/tmp.GkH7akMD9l/db/metadata.json: no such file or directory"
2024-12-13T22:56:02+07:00	INFO	Need to update DB
2024-12-13T22:56:02+07:00	INFO	Downloading DB...	repository="ghcr.io/<private-organization>/trivy-db:2"
2024-12-13T22:56:02+07:00	DEBUG	No metadata file
0 B / 56.48 MiB [___________________________________________________________________________________________________________________________________________________________________________________] 0.00% ? p/s 0s
2024-12-13T22:56:04+07:00	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: database download error: oci download error: failed to create a temp file: open /var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/trivy2995523288/assets/db.tar.gz: no such file or directory

The error says init error: DB error: failed to download vulnerability DB: database download error: oci download error: failed to create a temp file: open /var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/trivy2995523288/assets/db.tar.gz: no such file or directory
$TRIVY_TEMP_DIR has been created using the following command
export TRIVY_TEMP_DIR=(mktemp -d)

I already try to pas --username and --password flag but I got the same error
username@host Tools % trivy --cache-dir $TRIVY_TEMP_DIR image --download-db-only --db-repository ghcr.io/<private-org>/trivy-db:2 --username myusername --password $CR_PAT_RW --debug
2024-12-13T22:55:35+07:00	DEBUG	Cache dir	dir="/var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/tmp.GkH7akMD9l"
2024-12-13T22:55:35+07:00	DEBUG	Parsed severities	severities=[UNKNOWN LOW MEDIUM HIGH CRITICAL]
2024-12-13T22:55:35+07:00	DEBUG	Ignore statuses	statuses=[]
2024-12-13T22:55:35+07:00	DEBUG	There is no valid metadata file	err="unable to open a file: open /var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/tmp.GkH7akMD9l/db/metadata.json: no such file or directory"
2024-12-13T22:55:35+07:00	INFO	Need to update DB
2024-12-13T22:55:35+07:00	INFO	Downloading DB...	repository="ghcr.io/<private-org>/trivy-db:2"
2024-12-13T22:55:35+07:00	DEBUG	No metadata file
0 B / 56.48 MiB [___________________________________________________________________________________________________________________________________________________________________________________] 0.00% ? p/s 0s
2024-12-13T22:55:37+07:00	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: database download error: oci download error: failed to create a temp file: open /var/folders/r0/hbj54wkd7374ncc63xfq3zrr0000gn/T/trivy2439653938/assets/db.tar.gz: no such file or directory

I'm using trivy 0.53.0
username@host Tools % trivy -v
Version: 0.53.0

The docs says it might be firewall issue. However, I can download the database normally using oras cli.
In addition, I have tried to run trivy clean --all but still got the same error.
May I know where I'm doing wrong? was it the issue during database download from private repository, just permission issue to create folder or other?
Thanks

Hello @darkcyber
Looks like your image contains assets/db.tar.gz instead of db.tar.gz:
➜ oras pull ghcr.io/aquasecurity/trivy-db:2 --output .
✓ Pulled      db.tar.gz                              57.5/57.5 MB 100.00%     3s
  └─ sha256:59e280fca4f4e3341964bfb170a06f48487627970f76ebf5d382156fcfb7f0d5


configureWorker.sh attempts to start Launcher in GUI mode

It seems we have an issue in configureWorker.sh where we attempt to start the Launcher in GUI mode if it was not installed as a service which throws the following error in the cloud-init script:
QXcbConnection: Could not connect to display
QXcbConnection: Could not connect to display
"/tmp/assets/1234567bc1d4fd78061765b059dcc8e32568828e5cf479b08115489651491c8f.sh: line 137:  3296 Aborted                 ""$DEADLINE_LAUNCHER"""

I believe the workaround is to include the -nogui flag to the parameters
Reproduction Steps

Build a Worker AMI where the Launcher has not been installed as a service
Use the example from What is RFDK? and plug this AMI id into the configuration

Error Log
1612823870830,DEBUG: The Worker is also capable of decompressing responses using Brotli
1612823870830,Successfully set ip-10-248-3-190 to listen on port 56032
1612823870830,+ port_offset=1
1612823870830,+ service --status-all
1612823870830,+ grep -q 'Deadline 10 Launcher'
1612823870830,+ DEADLINE_LAUNCHER=/opt/Thinkbox/Deadline10/bin/deadlinelauncher
1612823871080,+ /opt/Thinkbox/Deadline10/bin/deadlinelauncher -shutdownall
1612823871080,No Launcher to shutdown
1612823871080,+ sudo killall -w deadlineworker
1612823871080,deadlineworker: no process found
1612823871080,+ true
1612823871330,+ /opt/Thinkbox/Deadline10/bin/deadlinelauncher
1612823871330,daemon was not added to the CommandLineParser.
1612823871330,daemon was not added to the CommandLineParser.
1612823871830,DEBUG: The Worker is also capable of decompressing responses using Brotli
1612823871830,Auto Configuration: Picking configuration based on: ip-10-248-3-190.example.com / <IP_ADDRESS>
1612823871830,"Auto Configuration: No auto configuration could be detected, using local configuration"
1612823871830,Launcher Thread - Launcher thread initializing...
1612823871830,Launcher Thread - opening remote TCP listening port 17000
1612823871830,Launcher Thread - creating local listening TCP socket on an available port...
1612823871830,Launcher Thread - local TCP port bound to: [::1]:34433
1612823871830,Launcher Thread -  updating local listening port in launcher file: 34433
1612823871830,Launcher Thread - Launcher thread listening on port 17000
1612823871830,upgraded was not added to the CommandLineParser.
1612823871830,upgradefailed was not added to the CommandLineParser.
1612823871830,service was not added to the CommandLineParser.
1612823872080,daemon was not added to the CommandLineParser.
1612823872830,Launching Worker:
1612823872830,Launcher Thread - Remote Administration is now disabled
1612823877414,Launcher Thread - Automatic Updates is now disabled
1612823881834,QXcbConnection: Could not connect to display
1612823881834,QXcbConnection: Could not connect to display
1612823882334,"/tmp/assets/1234563bc1d4fd78061765b059dcc8e32568828e5cf479b08115489651491c8f.sh: line 137:  3296 Aborted                 ""$DEADLINE_LAUNCHER"""
1612823882334,Feb 08 22:38:02 cloud-init[2513]: util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [134]
1612823882334,Feb 08 22:38:02 cloud-init[2513]: cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
1612823882334,Feb 08 22:38:02 cloud-init[2513]: util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
1612823886414,"Cloud-init v. 19.3-5.amzn2 finished at Mon, 08 Feb 2021 22:38:02 +0000. Datasource DataSourceEc2.  Up 109.73 seconds"

Environment

**CDK CLI Version      : Unknown
**CDK Framework Version: Unknown
**RFDK Version: Main
**Deadline Version: 10.1.13
**Node.js Version: Unknown
**OS               : Unknown
**Language (Version): Python (Unknown)

Other

This is :bug: Bug Report

Circling back, the suggestion of adding "-nogui" has fixed the problem. I haven't tested this first-hand.


feat: Present Proof V2 (JsonLd/Presentation Exchange Format)

This PR is the fourth and final PR for the implementation of AIP2.0. The four are:

Issue Credentials V2 (Indy)
Present Proof V2 (Indy)
Issue Credentials V2 (JsonLd)
Present Proof V2 (JsonLd, PEX)

Note that this implementation uses the PresentationExchangeFormat Library (DIF) for much of the presentation functionality,

Codecov Report

Merging #1113 (6f2e5d0) into main (03cdf39) will decrease coverage by 0.33%.
The diff coverage is 77.82%.

:exclamation: Current head 6f2e5d0 differs from pull request most recent head 87a126b. Consider uploading reports for the commit 87a126b to get more accurate results

@@            Coverage Diff             @@
##             main    #1113      +/-   ##
==========================================
- Coverage   88.28%   87.95%   -0.34%
==========================================
  Files         705      707       +2
  Lines       16399    16631     +232
  Branches     2657     2718      +61
==========================================
+ Hits        14478    14627     +149
- Misses       1914     1997      +83
  Partials        7        7

Impacted Files
Coverage Δ

...les/credentials/protocol/v2/V2CredentialService.ts
85.39% <ø> (-4.79%)
:arrow_down:

packages/core/src/modules/proofs/ProofsApi.ts
85.26% <ø> (ø)

...e/src/modules/proofs/formats/ProofFormatService.ts
100.00% <ø> (ø)

...ckages/core/src/modules/dids/domain/DidDocument.ts
90.62% <45.45%> (-5.85%)
:arrow_down:

...e/src/modules/proofs/protocol/v2/V2ProofService.ts
87.38% <76.92%> (-0.69%)
:arrow_down:

...tion-exchange/PresentationExchangeFormatService.ts
77.99% <77.99%> (ø)

.../src/modules/dids/domain/key-type/keyDidMapping.ts
91.30% <100.00%> (+0.39%)
:arrow_up:

packages/core/src/modules/proofs/ProofsModule.ts
100.00% <100.00%> (ø)

...es/core/src/modules/proofs/formats/ProofFormats.ts
100.00% <100.00%> (ø)

...ules/proofs/formats/indy/IndyProofFormatService.ts
85.76% <100.00%> (ø)

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I have resolved the comments from @genaris so this PR should now be ready fr review.

All issues resolved except i) the refactoring of the interfaces to use generics (separate PR), and the work required to support auto accept multiple credentials. This latter piece of work I would like to do next, and finish as soon as possible. I may require some assistance to get this done (to make sure I understand how it should work using the PEX library etc).
So this PR can now be re-reviewed, while the above work is being done I think.

Is the CI failing due to the flakey tests you just mentioned during the working group call @TimoGlastra?

Is the CI failing due to the flakey tests you just mentioned during the working group call @TimoGlastra?

Not sure, but I think @NB-MikeRichardson said it's failing consistently

@NB-MikeRichardson can you remove the package-lock.json file? And it seems you've updated the dependencies from the yarn.lock file which has triggered a change in the import order. This adds a lot of unrelated changes to the PR. If you revert the changes to yarn.lock (take the latest from main) and then yarn install I think it should keep most dependency versions the same and we will have less changed files.
Would really like to get this PR merged in the coming week!

I'm going to merge this into feat/presentation-exchange @NB-MikeRichardson and we can work together from there! Please make follow up PRs to that branch.


Conditional checkpoint implementation

Proposed changes:

allow to specify conditions on the slot states to enter a checkpoint

e.g.
## user enters booking number
> requested_telephone_number{"valid_telephone_number": null}
* _input_number OR _input_number[number=012841324]
  - validate_qualification_number

fixed story visualisation (previously the visualisation of story steps not containing an action was flawed)

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

indeed - next on the list ;)


Revert "Local engine build mode"

Reverts flutter/flutter#52043
This broke local engine builds on iOS.
/cc @zanderso @jmagman @cyanglaz

Landing TBR.

lgtm


Silent mode, no cexpr if no violation is found

If you use rubocop -a as autocmd on save, it will always open a cexpr.
This is quite irritating. This commits add a silent flag (--silent, -s) to supress this behaviour.
Also it prevents the cexpr to be shown if no violation is found, and shows a message instead.
In my opinion this should always be on, since it is useless to open an empty cexpr. But feel free to make it configurable if wanted.

can this made it to master? I need this

can this made it to master? I need this

I think this repo is not updated anymore. There are 37 Forks. Choose one with the right fix. I use mine but I am fairly certain there are better!

alright @beatgutzwiller thanks 😄


Background read

Reduces a bit of redundancy in BaudRate, but more importantly uses AsyncStream to allow for streaming from the serial port.

Hi, thanks for the PR however I'm no longer maintaining this library. Let me archive this repository.


Update pip

This PR addresses the recent main build failures by upconstraining pip; the constrained version doesn't work with Python 3.12.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Thank you for getting this done so promptly @duncanmmacleod.


Remove undefined Ruby placeholder in Gemfile

This is in reference to issue https://github.com/wowthemesnet/mediumish-theme-jekyll/issues/46
Also has a line for .gitignore that ignores backed up (~) files.

Thank you, @bryanmr !

Oops, this was my bad: https://github.com/wowthemesnet/mediumish-theme-jekyll/blob/4346f356cb7b6f81e9dc7e80f3c44784d23434fa/Gemfile.lock
Sorry about that!


remove special element case from reify_rewrite

After discovering that solvers enforce the element bounds at toplevel, we should do the same. This also simplifies handling reified element constraints

We decided to enforce strict element bounds at construction time. This eliminates the need for checking the bounds in the decomposition, and any trouble with incomplete functions.
It comes however at a slight inconvenience to the user, that has to give precise bounds to the index variable.

Another option would be to allow the creation of such an element constraint, but enforcing the bounds at toplevel and throwing an error when trying to get the value of an element constraint with index out of bounds.

Enforced that element is Total at construction time, and because of that also enforce strict bounds for Inverse and Circuit global constraints. Added tests for this and altered the existing tests to use accurate bounds

@Dimosts can you maybe check the changes in the chess example? As you can see this is mostly changes to our tests and examples, so that they use strict bounds

I'm wondering if we should have a "vectorized check" util function or something as we are duplicating code quite a bit for these checks.
It would take as input a (nested) list of elements and a boolean function which has to be checked for each of the args.
Then you can return the object vioating the condition if any? It would also simplify several type checks in other constraints

Yes that could be nice, it's a bit ugly now, the reason I put it there is so the work happens once you already know there is a bounds issue (with an easier check), so that you don't have the overhead on normal inputs.
Seems marginal however.. Will check it out in another pr, since it will involve a lot of other globals

This will be replaced by our safening pr


Make sure HashSet is at least as performant as in the old collections

In #439 I’ve added benchmarks comparing the main operations of hashsets. In some cases we are still under the performance level of the old HashSet. Also, in some cases ChamHashSet is less performant than HashSet. We have to investigate more before committing to a default Set implementation.

ChamHashSet wins.

The new HashSet wins.

The old HashSet wins!

New HashSet wins (ex æquo with the old one).

ChamHashSet wins for sets with more than 100 elements.

No one wins.

one specific performance minus is being investigated at https://github.com/scala/scala-dev/issues/525

I think is considered resolved now? reopen if you disagree  /cc @szeiger @retronym


Remove tweet tutorial demo.

It is currently broken and also does not reflect the most common use cases with CrateDB.
We may come up with a better demonstration in future.

@mechanomi Good catch, thx for pointing out.
I've updated the help documentation text and also the screenshot so all is aligned now (having a still wrong screenshot seems awkward to me). Of course the updated screenshot may requires some polishing by you ;-)


Noise model, how to apply it?

Hi all,
I'm new in quantum computing and I'm trying to implement a noise model to apply to my quantum circuit. I'm not very friendly with the documentation really.
I was trying to do something like this:
qubits = cirq.LineQubit.range(N)
circuit = cirq.Circuit()
for q in range(N):
    cirq.PhaseDampingChannel(0.2).on(qubits[q])
    cirq.PhaseDampingChannel(0.2).on(qubits[q])
    cirq.DepolarizingChannel(0.2).on(qubits[q])
    cirq.PhaseFlipChannel(0.3).on(qubits[q])
    cirq.BitFlipChannel(0.3).on(qubits[q])

The query is, how can I apply this non-unitary channel to my circuit? I suppose in that way a create just the channel without applying it.
Is possible to implement a noise model in another way?
Thanks to anyone will answer me!

Each of the statements like cirq.PhaseDampingChannel(0.2).on(qubits[q]) produces an Operation that you can append into your Circuit. One way to do this could be:
qubits = cirq.LineQubit.range(N)
circuit = cirq.Circuit()
for qubit in qubits:
    circuit.append(cirq.PhaseDampingChannel(0.2).on(qubit))
    circuit.append(cirq.PhaseDampingChannel(0.2).on(qubit))
    circuit.append(cirq.DepolarizingChannel(0.2).on(qubit))
    circuit.append(cirq.PhaseFlipChannel(0.3).on(qubit))
    circuit.append(cirq.BitFlipChannel(0.3).on(qubit))

This adds each of the operations corresponding to the noise channels in the for loop into the circuit at the end. If we call (for N=3)  print(circuit), I get the below output. Is this what you are expecting?
0: ───PD(0.2)───PD(0.2)───D(0.2)───PF(0.3)───BF(0.3)───
1: ───PD(0.2)───PD(0.2)───D(0.2)───PF(0.3)───BF(0.3)───
2: ───PD(0.2)───PD(0.2)───D(0.2)───PF(0.3)───BF(0.3)───

I did this way, but now I have a new issue... what kind of simulator can I use to simulate that non unitary-matrices ?

You have a couple of options. This one will give you access to the density matrix of your qubit system.
dens = cirq.DensityMatrixSimulator()
result = dens.simulate(circuit)

This one will behave such that if it encounters one of these channels, it will generate a random number to decide which of the unitaries that make up the channel to apply. For example, with a Bit Flip channel of with probability 0.3, it will apply an X gate with 0.3 probability and do nothing with 0.7 probability.
sim = cirq.Simulator()
result = sim.simulate(circuit)

I already used cirq.Simulator() but it doesn't work because of:
Can't simulate unknown operations that don't specify a unitary method, a decompose method, (has_unitary + apply_unitary) methods,(has_mixture + mixture) methods, or are measurements.: cirq.phase_damp(gamma=0.2).on(cirq.LineQubit(0))
So I thought exist another simulator to do this, or I have to add some option to the noise gate...

Ah I see. I had thought these channels all had mixtures specified and so I expected cirq.Simulator() to work. The DensityMatrixSimulator option should still work though.

Thanks @c-poole ! DensityMatrixSimulator work, but I have a N=18 qubit circuit to simulate so it need too much computational resources and kernel die. I'll try different way.

PhaseDampening channels have the same effect on a density matrix as a phase flip channel, probably with some need to translate between the input arguments based on the way they are defined in cirq. You could get away with just dropping the phase dampening channel and moving on to regular Simulator which will perform the Monte-Carlo simulation I described in a previous comment.

Hmmm, it is kinda confusing that cirq.Simulator doesn't work on noisy circuits. Maybe we should try to generalize it to be more of a "just works" simulator.
You can use cirq.sample on any circuit. It will pick an appropriately fast or general simulator as needed.
import cirq
a = cirq.NamedQubit('a')
c = cirq.Circuit.from_ops(cirq.X(a), cirq.depolarize(0.2).on(a), cirq.measure(a))
results = cirq.sample(c, repetitions=100)

Prints e.g.
a=1111110111111101111111101111111011111111111110111111111111111111101111111111111111111111001111101110
As this is more of a question than a bug, something that would get better help from the quantum computing stack exchange than here, I am going to close this issue.


Add Unicode-3.0 license

The unicode-ident library replaced its Unicode-DFS-2016 license with Unicode-3.0 last week.  This PR makes cargo-bundle-licenses recognize the new license.

@sstadick Could you please merge & release this PR soon?  The lack of support for this license is breaking my CI.


Added support for ~/.jvmconfig file

closes #4

@rultor merge

@rultor merge

@caarlos0 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@caarlos0 Done! FYI, the full log is here (took me 1min)

@rultor release, tag=0.3.0

@rultor release, tag=0.3.0

@caarlos0 OK, I will release it now. Please check the progress here

@rultor release, tag=0.3.0

@caarlos0 Done! FYI, the full log is here (took me 1min)


fix #13 command group permissions

Coverage increased (+0.4%) to 96.675% when pulling 2fd01ca803d29851260fcb2ac1e65a6131d4778c on czar#13 into c50c3f4d2a9f873ed3b312031c84d8972c64c39d on master.


sunraster JOSS paper.

PR Description
This PR presents a sunraster paper for submission to the Journal of Open Source Software.

@nabobalis @Cadair @BaptistePellorceAstro @ehsteve @abit2 @tiagopereira @ebuchlin
Thank you for agreeing to be co-authors of this JOSS paper on sunraster.  Here is the latest draft.  As is normal with JOSS submissions it is a short summary (~a page) of the package and the need it fulfils.  The review will focus largely on the code-base.  Please feel free to provide any feedback.  Otherwise I hope to submit on Friday.

pre-commit.ci autofix

@nabobalis @Cadair @BaptistePellorceAstro @ehsteve @abit2 @tiagopereira @ebuchlin @takucera : Thank you to those who have provided comments.  I believe we are ready to submit.  I will do so tonight or tomorrow morning unless people need more time to provide feedback.

I have just submitted this paper to JOSS.  Thanks for all your input.


laravel-helpers is outdated and causes errors on .../admin/flights/create

Describe the bug
Old version of sebastiaanluca/laravel-helpers causes errors. Can't run composer install and https://royalevest.de/admin/flights/create returns an error
Version
latest dev
To Reproduce
Steps to reproduce the behavior:

Go to 'Admin'
Click on 'Flights'
Click on 'Add Flight'

Error on composer install:
- sebastiaanluca/laravel-helpers is locked to version 6.0.0 and an update of this package was not requested.
- sebastiaanluca/laravel-helpers 6.0.0 requires php ^7.3 -> your php version (8.0.5) does not satisfy that requirement.
Other error:
Unsupported operand types: array & int
`if (!function_exists('in_mask')) {
/**

 * Return true/false if a value exists in a mask

 *

 * @param $mask

 * @param $value

 *

 * @return bool

 */

function in_mask($mask, $value)

{

    return ($mask & $value) === $value;

}

}`

Yes the installation with composer is working now. But there are still errors when trying to create a new flight at https://....net/admin/flights/create

Can you supply the logs/those errors?

#1156 has some more info about the issue, even a flare share link (caused by php8 / operand type)
@oudrun was using php8 when he faced that error, recently switched back to 7.4.xx series I think.

Well I think I fixed that issue. But now the script isn't beeing loaded, because the script is made for the edit fields.blade

What you did is not fixing the problem, you just removed a necessary
dynamic array, put a fixed value (zero) instead ...
Of course that will broke the schedule days logic :(
B. Fatih KOZ
Sent from mobile device / Mobil cihaz ile gonderildi.

No it seems that the days are saved in a mask. The enum sets monday to a 1 and sunday is representing a 64. The days acutally arent saved in an array, they are saved in an int. The in_mask operation makes a bitwise comparison. So 127 represents all days beeing selected. In PHP 7 an empty array was representing an 0 and a bitwise operation was successful. Since in PHP8 they change that its important to set it to 0 or null.
1 = 1            monday
2 = 10          Tuesday
4 = 100        Wednesday
8 = 1000     Thursday
16 = 10000 Friday
...
Soo
1000101
Represents Monday, Wednesday and Sunday beeing selected.
The sripts aren loading because only the edit.blade.php imports them. The create.blade.pho in /resources/views/admin/flights doesnt.

Yes, you are right, my mistake sorry ... I just thought that you are returning 0 for all, in fact you were returning 0 only for the create view :)

It's happening only under PHP 8? I need to install PHP 8 and see if I can duplicate it

Pushed a couple of fixes, see if that helps

Yes. For me this happend in PHP8 before we had no issues with that or maybe an extension had overwritten that function 🤷♂

The error has been cleaned. Thank you @nabeelio
But there is still the issue with no scripts beeing loaded. They are only loaded in
phpvms/resources/views/admin/flights/edit.blade.php and not in
phpvms/resources/views/admin/flights/create.blade.php

I don't know what "no scripts being loaded" means. Is there an error? Example? Screenshots?

This is how it looks. No datepicker and no fancy days selector

This is how it looks when editing and how it should look like:

Is this on the default skin? And what's in the error console?

Jep. Its the default skin! Well there is no error. In https://github.com/nabeelio/phpvms/blob/352f1ee9f8c7fed02aea619e2dad822af114b0ae/resources/views/admin/flights/edit.blade.php at line 31 the scripts are included in https://github.com/nabeelio/phpvms/blob/352f1ee9f8c7fed02aea619e2dad822af114b0ae/resources/views/admin/flights/create.blade.php they aren't

I think this is what causes this "error" but this is just a shot. Idk

I see what you mean now. Thanks for pointing that out. Pushing a new update to dev.

Thanks. Jep I didn't know how to explain it in a better way than showing the lines :|


Finally operator strange behaviour

Bug Report
Current Behavior
Hi,
I noticed that it not possible to unsubscribe from an Observable (created using an of operator) in its finally operator.
Reproduction
const sub = Observable.of(null)
			.finally(() => {
				debugger;
				sub.unsubscribe(); // sub in null here
			})
			.subscribe(
				res => console.log(res),
				err => console.log(err)
			);

I also noticed that using:
.finally(() => sub.unsubscribe())

the subscription is not typed. It is an any and not a subscription object.
Adding the brackets it is typed correctly:
.finally(() => { sub.unsubscribe() })

Expected behavior
The subscription object should not be undefined.
Not sure if it is a bug or my fault.
Environment

Runtime: Chrome 67
RxJS version: 5.5.8
Angular 5

This is the same case as described #3689.

It's not a bug. To unsubscribe within the function passed to an operator - or the function passed to subscribe as the next handler - you do so using the this context:
const sub = Observable.of(null)
    .finally(function (this: Subscription) {
        console.log(this);
        this.unsubscribe();
    })
    .subscribe(
        res => console.log(res),
        err => console.log(err)
    );

However, doing this within finally is pointless, as the subscription will be unsubscribed immediately after the finally operator in any case.

Thank you guys.
@cartant
In my case the observable is "one shot" (http call) so I would like to unsubscribe from it as soon as it completes in order to avoid memory leaks.
I noticed that finally is called when the observable completes, not when it is unsubscribed.

@MasDevProject finally will be called upon unsubscription - explicit or otherwise. When an observable completes or errors, subscribers are automatically unsubscribed.

@cartant I did not know this behavior.
In the angular world everyone is scared about Observable because of the boilerplate code to unsubscribe from them (article).
Is good to know that an httpcall observable does not need to be unsubscribed by code.

@MasDevProject If you want to understand the expected subscription/unsubscription behaviour, the Observable Contract is worth a read.


Added XC6SLX16 PiSwords dev board

I bought a Spartan-6 dev board as it has the same FPGA (LX16) I'm using for another project.
I've tested the LEDs, Buttons, UART and SPI FLash. There are schematics for the board at
http://piswords.com/xc6slx16.html
I started using openocd to program the part, then switched to openFPGALoader - which has a recent commit to support the Spartan-6 X16 in ftg256 package. toolchain_program() works with both programming techniques.

I don't know how to run the tests that it is failing. If I can find out how to do that, then I can have a go at making sure they pass.


Is there anything we can do to help SEO?

I'm totally noob in this field.

Added react-seo component!


feat(storefront): Show bloggen in header

To be merged after #1649

@Barsnes Remember to update the Storybook header too.


Option to exit nonzero on cop disable comments with the wrong namespace

Is your feature request related to a problem? Please describe.
I periodically encounter cases where some inadvertently adds a rubocop:disable comment with the wrong namespace. Rubocop warns about this with messages like Style/DuplicateBranch has the wrong namespace - should be Lint.
Describe the solution you'd like
I would like rubocop to exit nonzero when there is any invalid configuration. I end up hunting these down and fixing them because I don't want to see the warning noise or have inconsistently named references but it would be much easier if it would just fail my build.
Describe alternatives you've considered
I could grep through the output to look for these but I'd rather not have to.

I think the most obvious/best way to do this would just be to only accept correctly named disables and then the normal machinery of finding unused disable comments and also not suppressing things that need disables should handle the rest. I think this would be the expected behavior for most users.


fix Crc32HashPartitioner should use ShuffleChannelIds

Proposed changes
The LocalExchangeChannelIds is designed to handle hash values with the type of uint64_t.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Update dependencies

Change-Id: Icbf2ed5e94d05cf1f8e8b0ca85d5919726d1ce71

I assume this was an accident, this was already done:
https://github.com/firebase/quickstart-android/commit/3c3892b2ca4fdb6b730f461a940d058c8ee4df38


notebook.output.textLineLimit does not apply immediately

Testing #177719
Repro:

Create a notebook
Run something with 29 lines, there should not be a scrollbar
Set notebook.output.textLineLimit to 25, 🐛 there should be a scrollbar in the notebook but isn't

Also consider changing the name of the setting to be more descriptive, something like scrollable line threshold?

duplicate of https://github.com/microsoft/vscode/issues/177803


Feature/#69 fix npe

This looks like it needs to be rebased or something. Why all the weird commits?


Slow text input Android

Recommended by gifted chat repo
https://github.com/FaridSafi/react-native-gifted-chat/issues/926

🆗


Ensure model language changes are counted as explicit language changes

The general approach is to keep track of when the EditorModel side has set the mode and ensure that the round trip doesn't influence if the mode was explicity set.
Fixes https://github.com/microsoft/vscode/issues/159202
Fixes https://github.com/microsoft/vscode/issues/152776

@bpasero

for not having a better API to detect the origin of mode

any prior art? Is this something that would be in the core of monaco?
One of the approaches I was going to take is to allow the caller of setMode to say whether or not their mode setting is explicit similar to how we're doing this here:
https://github.com/microsoft/vscode/blob/765fd3b519442fbcd29b734247b9c124a59d950f/src/vs/workbench/common/editor/textEditorModel.ts#L78-L79
but that also feels hacky. IMO

I don't have a prompt suggestion right now and suggest to just explore alternatives if possible.


Using NaughtyAttributes hides inspector tools for custom audio filters (OnAudioFilterRead)

This is a great package, very useful and well-designed.
Minor issue: When a MonoBehaviour implements OnAudioFilterRead, Unity displays a useful visualizer in the inspector for the component. But it doesn't show up when also using NaughtyAttributes on the component.

Looked into this a bit (https://github.com/Unity-Technologies/UnityCsReference/blob/076ffb2c16d2aec23c2df1cb6cec03562186ec33/Editor/Mono/Inspector/Editor.cs#L885)
Looks like a limitation in Unity and not possible to fix afaict :/


NEWBORN BLOOD SPOT TEST OUTCOME STATUS

See V3: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/n/ne/newborn_blood_spot_test_outcome_status_de.asp?shownav=1
The item is NEWBORN BLOOD SPOT TEST OUTCOME STATUS with a formerly name of "NEWBORN BLOOD SPOT TEST OUTCOME STATUS CODE".
See V3+: https://www.datadictionary.nhs.uk/attributes/newborn_blood_spot_test_outcome_status_code.html
The item name is NEWBORN BLOOD SPOT TEST OUTCOME STATUS CODE.
V3+ needs correcting.
Is this an issue with Mauro or the files produced by Likin?
I hope there aren't any more like this.

Ontoserver content is correct (Name etc. omits code suffix). Need to check the knitted files next - awaiting Likin return, as I don't have access to the knitted files.

Likin is doing detailed investigation - there are 2 name properties listed for this item in the knitted file.

There are 10 items in the XML that have multiple values for 'name'.  In some examples, both entries are the same.  The complete list is:

ASA_PHYSICAL_STATUS_CLASSIFICATION_SYSTEM_CODE
Attribute and Data Element OK in both: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/a/ar/asa_physical_status_classification_system_code_de.asp?shownav=1 and https://www.datadictionary.nhs.uk/attributes/asa_physical_status_classification_system_code.html

CARE_PROFESSIONAL_TEAM_IDENTIFIER
Attribute OK in both: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/c/card/care_professional_team_identifier_de.asp?shownav=1 and https://www.datadictionary.nhs.uk/attributes/care_professional_team_identifier.html
Data Elements not the same:
V3 has: https://v3.datadictionary.nhs.uk/data_dictionary/data_field_notes/c/care/care_professional_team_local_identifier_de.asp?shownav=1
V3+ has: https://www.datadictionary.nhs.uk/data_elements/care_professional_team_identifier.html

ADULT_MENTAL_HEALTH_CARE_TEAM_TYPE
V3: ADULT MENTAL HEALTH CARE TEAM TYPE Attribute and Data Element retired.
V3+: ADULT MENTAL HEALTH CARE TEAM TYPE Attribute and Data Element retired.

DATA_SET_SEGMENT_IDENTIFIER_(CHILDREN_AND_YOUNG_PEOPLES_HEALTH_SERVICES_SECONDARY_USES_DATA_SET)
V3: DATA SET SEGMENT IDENTIFIER (CHILDREN AND YOUNG PEOPLES HEALTH SERVICES SECONDARY USES DATA SET Data Element retired.
V3+: DATA SET SEGMENT IDENTIFIER (CHILDREN AND YOUNG PEOPLES HEALTH SERVICES SECONDARY USES DATA SET) Data Element retired.

HEALTH_PROGRAMME_STAGE_NUMBER (HUMAN_PAPILLOMAVIRUS_VACCINE)
V3: HEALTH PROGRAMME STAGE NUMBER (HUMAN PAPILLOMAVIRUS VACCINE) Data Element retired.
V3+: HEALTH PROGRAMME STAGE NUMBER (HUMAN PAPILLOMAVIRUS VACCINE) Data Element retired

SITE_CODE_(OF_PROVIDER_FIRST_SEEN)
V3: SITE CODE (OF PROVIDER FIRST SEEN) Data Element retired.
V3+: SITE CODE (OF PROVIDER FIRST SEEN) Data Element retired.

Central_Returns_Introduction
Central Returns Introduction not present in V3 or V3+.
Central Return Forms Introduction retired in V3.
Nothing similar in V3+.

Cancer_Outcomes_and_Services_Data_Set_Submission_Requirements
Cancer Outcomes and Services Data Set Submission Requirements retired in V3.
Cancer Outcomes and Services Data Set Submission Requirements not present in V3+

Commissioning_Data_Set_Version_6-2_Type_List
V3: Commissioning Data Set Version CDS 6-2 Type List
Commissioning Data Set Version CDS 6-2 Type List not present in V3+

These are another few that Likin has passed to me by email:

/Data_Dictionary/Classes/O/OPHTHALMIC_MEDICAL_PRACTITIONER.txaClass20
Look OK in both

/Data_Dictionary/Messages/Message_Documentation/Data_Set_Constraints/PLICS_Integrated_Data_Set_Out-Patient_Care_(Acute)_Constraints.txaClass20
Look OK in both

/Data_Dictionary/Messages/Message_Documentation/Data_Set_Constraints/PLICS_Integrated_Data_Set_Emergency_Care_(Acute)_Constraints.txaClass20
Look OK in both

/Data_Dictionary/Messages/Message_Documentation/Data_Set_Constraints/PLICS_Integrated_Data_Set_Improving_Access_to_Psychological_Therapies_Constraints.txaClass20
Looks OK in V3+.
Can't find it in V3.

/Data_Dictionary/Messages/Message_Documentation/Data_Set_Constraints/PLICS_Integrated_Data_Set_Admitted_Patient_Care_(Acute)_Constraints.txaClass20
Look OK in both

/Data_Dictionary/Messages/Message_Documentation/Data_Set_Constraints/PLICS_Integrated_Data_Set_Specialist_Ward_Care_(Acute)_Constraints.txaClass20
Look OK in both

/Data_Dictionary/Messages/Message_Documentation/Data_Set_Constraints/PLICS_Integrated_Data_Set_Mental_Health_Admitted_Patient_Care_Constraints.txaClass20
Look OK in both

The All Items Index in V3+ for the PLICS Constraints pages looks odd:

They also look odd on the Supporting Information menu:

/Retired/Data_Dictionary/Messages/Message_Documentation/Maternity_and_Childrens_Data_Sets_Submission_Requirements.txaClass20
Retired in V3.
Not present in V3+.

To clarify V3+ needs correcting for 2 items:

NEWBORN BLOOD SPOT TEST OUTCOME STATUS
See V3: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/n/ne/newborn_blood_spot_test_outcome_status_de.asp?shownav=1
The item is NEWBORN BLOOD SPOT TEST OUTCOME STATUS with a formerly name of "NEWBORN BLOOD SPOT TEST OUTCOME STATUS CODE".
See V3+: https://www.datadictionary.nhs.uk/attributes/newborn_blood_spot_test_outcome_status_code.html
The item name is NEWBORN BLOOD SPOT TEST OUTCOME STATUS CODE.

CARE_PROFESSIONAL_TEAM_IDENTIFIER

Attribute OK in both: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/c/card/care_professional_team_identifier_de.asp?shownav=1 and https://www.datadictionary.nhs.uk/attributes/care_professional_team_identifier.html
Data Elements not the same:
V3 has: https://v3.datadictionary.nhs.uk/data_dictionary/data_field_notes/c/care/care_professional_team_local_identifier_de.asp?shownav=1
V3+ has: https://www.datadictionary.nhs.uk/data_elements/care_professional_team_identifier.html

James need to check if this has been fixed.

15/2/22 - once James has fixed this we will have to check the DITA output.

James believes this is fixed in the Mauro pipeline but not in the current Metadata pipeline that is publishing the latest releases.
James to confirm.

I have checked the test publish for March 2022 and the 2 items below are still incorrect:

NEWBORN BLOOD SPOT TEST OUTCOME STATUS

See V3: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/n/ne/newborn_blood_spot_test_outcome_status_de.asp?shownav=1
The item is NEWBORN BLOOD SPOT TEST OUTCOME STATUS with a formerly name of "NEWBORN BLOOD SPOT TEST OUTCOME STATUS CODE".
See V3+: https://dduat.dev.dataproducts.nhs.uk/attributes/newborn_blood_spot_test_outcome_status_code.html
The item name is NEWBORN BLOOD SPOT TEST OUTCOME STATUS CODE.

CARE PROFESSIONAL TEAM IDENTIFIER

Attribute OK in both: https://v3.datadictionary.nhs.uk/data_dictionary/attributes/c/card/care_professional_team_identifier_de.asp?shownav=1 and https://dduat.dev.dataproducts.nhs.uk/attributes/care_professional_identifier.html#attribute_care_professional_identifier.where_used
Data Elements not the same:
V3 has: https://v3.datadictionary.nhs.uk/data_dictionary/data_field_notes/c/care/care_professional_team_local_identifier_de.asp?shownav=1
V3+ has: https://dduat.dev.dataproducts.nhs.uk/data_elements/care_professional_local_identifier.html

March release published and the items are still incorrect:
https://www.datadictionary.nhs.uk/attributes/newborn_blood_spot_test_outcome_status_code.html
https://dduat.dev.dataproducts.nhs.uk/data_elements/care_professional_local_identifier.html

This has been fixed. https://www.datadictionary.nhs.uk/attributes/newborn_blood_spot_test_outcome_status_code.html has "Page last Published - 25/11/2021".
Also, https://www.datadictionary.nhs.uk/data_elements/care_professional_team_identifier.html has "Page last Published - 25/11/2021".
Needs to be checked in the next release.
Also, need to ensure that old content is removed from the website.

Correct in the April release so issue closed.


client_id creation is cumbersome

To log in, I have to create an OAuth2 client id which means I have to create an app, a consent screen and get it verified. Is there an easier way to do this?

It should work even if the app is not verified, but it will be limited to a maximum number of 100 users that are allowed to log-in using the same client id/secret values, which should not be an issue for personal use.
An easier way around this would be to borrow these values from someone that already created them and is willing to share.
In other words, a group of 100 people (that trust each other and are willing to cooperate) need only one client id.


"non---setup" mode in Windows

Currently, Windows version implicitly uses --setup because creating a tun device itself requires admin privilege.
However, I think it will be useful if we can use this tun device only for specific routes (like <IP_ADDRESS>/24).
FYI, just disabling --setup in Windows configuration didn't work for me (it still sets the default route).

I don’t know the necessity of doing this. Moreover, according to my memory, if the routing table is not set, tun2proxy will not work. I’m not sure if my memory is accurate.


Timezone propTypes errors on main

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Build main app and run it with JS console open

Expected Result:
No console errors
Actual Result:

Workaround:
Unsure if this is happening on staging.
Platform:

Web
iOS
Android
Desktop App
Mobile Web

Version Number:
Reproducible in staging?: Unsure
Reproducible in production?: Unsure
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

I think it's most likely this was introduced by the Web-Expensify changes here. Looking at the data in Onyx and we have this:

Doesn't seem like this is breaking anything though.
If a user has no timezone maybe it is better to just default to:
DEFAULT_TIME_ZONE: {automatic: true, selected: 'America/Los_Angeles'},

Maybe something @roryabraham can tackle as part of https://github.com/Expensify/Expensify/issues/219198

Dropping this

I think this was actually fixed recently by @chiragsalian in https://github.com/Expensify/Web-Expensify/pull/34602
Noticed this -> https://github.com/Expensify/Web-Expensify/blob/6258d9e68bbf8473bf1be1b68b14c8374da5e35b/lib/PersonalDetail.php#L189-L192

This is back.
react.development.js?72d0:207 Warning: Failed prop type: Invalid prop<EMAIL_ADDRESS>of type `string` supplied to `WithCurrentUserPersonalDetails(Component)`, expected `boolean`.
    at WithCurrentUserPersonalDetails (webpack-internal:///./src/components/withCurrentUserPersonalDetails.js:32:34)
    at withOnyx (webpack-internal:///./node_modules/react-native-onyx/dist/web.development.js:2462:73)
    at withPersonalDetails(Component)
    at withNetwork(withPersonalDetails(Component))
    at withLocalize(withNetwork(withPersonalDetails(Component)))
    at WithNavigationFocus (webpack-internal:///./src/components/withNavigationFocus.js:23:91)
    at WithDrawerState (webpack-internal:///./src/components/withDrawerState.js:23:92)
    at withWindowDimensions(Component)
    at div
    at eval (webpack-internal:///./node_modules/@expensify/react-native-web/dist/exports/View/index.js:52:25)
    at div
    at eval (webpack-internal:///./node_modules/@expensify/react-native-web/dist/exports/View/index.js:52:25)
    at OfflineWithFeedback (webpack-internal:///./src/components/OfflineWithFeedback.js:101:85)
    at withNetwork(OfflineWithFeedback)
    at withLocalize(withNetwork(OfflineWithFeedback))
    at __WEBPACK_DEFAULT_EXPORT__ (webpack-internal:///./src/components/SwipeableView/index.js:6:23)
    at div
    at eval (webpack-internal:///./node_modules/@expensify/react-native-web/dist/exports/View/index.js:52:25)
    at ReportFooter (webpack-internal:///./src/pages/home/report/ReportFooter.js:91:86)
    at withOnyx (webpack-internal:///./node_modules/react-native-onyx/dist/web.development.js:2462:73)
    at withWindowDimensions(Component)
    at div
    at eval (webpack-internal:///./node_modules/@expensify/react-native-web/dist/exports/View/index.js:52:25)
    at FullPageNotFoundView (webpack-internal:///./src/components/BlockingViews/FullPageNotFoundView.js:58:13)
    at withLocalize(FullPageNotFoundView)
    at div
    at eval (webpack-internal:///./node_modules/@expensify/react-native-web/dist/exports/View/index.js:52:25)
    at KeyboardAvoidingView (webpack-internal:///./node_modules/@expensify/react-native-web/dist/exports/KeyboardAvoidingView/index.js:42:86)
    ```


organization_settings: Add dropdown to filter users list by role.

[x] Adds a dropdown in the organization settings>users list page to filter the users list by role.
[x] By default the user_list will be sorted according to the role, from highest permissions to lowest permissions (Owners, Administrators, moderators, members, guests).
[x] Dropdown works for different languages also.

Fixes: #18617

Screenshots and screen captures:

Users list header:

Before:

After:

Filter users list (demo):

English:

Other language:

Default users list:

Difference from previous plan:

The issue description said to implement a multiSelectDropdown, however, we have not tested the multiSelectDropdownList properly. So, we can just go ahead with the singleSelectDropdown for the first iteration and then migrate to multi once it has been tested properly.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Hey @alya , I have made the suggested changes. However, the dropdown works in all languages, but the titles inside the dropdowns are not changing with respect to the language. I am working on that part. For the rest, could you please review? Thanks.

Thanks! The issue suggested a multi-select dropdown. Is that difficult to implement? If so, the current approach seems OK.

@alya , as aman quoted on CZO:

MultiSelectDropdownList is actually new and not used anywhere in the codebase right now.  you can try using DropdownListWidget for now and we can iterate on it later when MultiSelectDropdownList has been tested properly.

We have not tested the multiSelectDropdownlist to test it properly, so we can just go ahead with the singleSelectDropdown for the first iteration and then migrate to multi once it has been tested properly.
I have made all the changes, could you please review the PR?  Thanks.

We have not tested the multiSelectDropdownlist properly, so we can just go ahead with the singleSelectDropdown for the first iteration and then migrate to multi once it has been tested properly.

Got it. Please add a note in the PR description. I unchecked this point in the self-review checklist for you. ;)

Explains differences from previous plans (e.g., issue description).

The alignment of the dropdpown and filter fields isn't right when one of the users has a really long name:

@alya , I'm unable to reproduce this bug, even when using very long names. Could you please provide a GIF or outline the steps to recreate this issue?
For me it looks like this:

do you need any help in this?

Hm, it seems to be unrelated to long names. This is what I'm seeing; I really haven't taken any steps other than opening the Users menu.

@alya , I have fixed the issue and updated the PR description accordingly, could you please review it again? thanks. :)

@alya , I have fixed the issue and updated the PR description accordingly, could you please review it again? thanks. :)

Hrm, opening the Users panel as aaron, I see this vertical alignment issue:

In a narrow window, I think we want less vertical space between Users<->All roles and All roles<->Filter users, and more space between Filter users and the table.

Hrm, opening the Users panel as aaron, I see this vertical alignment issue:

I am not sure why this issue occurred. One possible reason could be that we recently changed the logic of CSS to have a symbol before text, and this PR was updated before that. I was using tag names for the CSS, but I have made all the suggested changes, and now it is looking as expected. Please let me know if you still see any issues.

In a narrow window, I think we want less vertical space between Users<->All roles and All roles<->Filter users, and more space between Filter users and the table.

For most of the settings table heading, we are using Bootstrap, which sets a 10px margin-top-bottom for h3 tags (heading) by default. To maintain consistency between the heading and filters, I have made changes so that all the sections (heading <-> role filter <-> search filter <-> table) have a 10px gap. Please let me know if you want me to reduce the gap further.
@alya , could you please review the PR again, Thanks :)

Looks good to me! @sahil839 could you please review this one?

@sahil839 , I have made all the suggested changes. As for refactoring the list_widget code to use only a single function, I will work on it after receiving feedback from @timabbott.

@timabbott Marking for integration review for you to take a look, but see @sahil839 's question above regarding the overall approach.

Though, I am not sure about the approach here. I think we should only have a single filter function and it should consider all the filters available for the table - in this case both search input and the role dropdown rather than passing filter and then role_filter separately. To support this, careful restructuring of the list_widget code would be needed. @timabbott thoughts?

Yeah, I agree, we should have a single filter function.

Hello @palashb01, If you agree, I'd like to collaborate with you and finish up the work on this feature and we could Co-Author the commits.

Hello @palashb01, If you agree, I'd like to collaborate with you and finish up the work on this feature and we could Co-Author the commits.

Hey sure, you can go ahead and co-author this feature :)

Closing in favor of #29597 for this issue. Thanks @palashb01!


[oap-native-sql] support expression key in SHJ

Signed-off-by: Chendi Xue<EMAIL_ADDRESS>Fixed: https://github.com/Intel-bigdata/OAP/issues/1642

@zhouyuan , hi, Yuan, this PR is aim to resove join key has contain expression, I verified with all TPCDS queries, and do you think you can add some to SMJ?

@xuechendi thanks, i'll try to enable this on SMJ.

@rui-mo , can you verify this PR and check on Q67?

@zhouyuan , please take a review

@zhouyuan , All tpcds queries are runnable with correct result under AQE now.
Configuration as below
spark.sql.extensions com.intel.oap.ColumnarPlugin
spark.sql.columnar.sort.broadcastJoin true
spark.sql.columnar.codegen.hashAggregate true
#spark.oap.sql.columnar.preferColumnar true
#spark.shuffle.manager org.apache.spark.shuffle.sort.ColumnarShuffleManager
spark.sql.adaptive.enabled true
#spark.sql.columnar.sort true
spark.sql.columnar.tmp_dir /tmp/nativesql/

@zhouyuan , added a new commit to do join optimization for Q72, I found now it took about 330 sec on running q72 with sf100


any examples of using uwebsocket as...

any examples of using uwebsocket as reverse proxy?
extracting header of http?
co routine processing?
thx in advance

A reverse proxy is much more than what this project gives you out of the box

Any hints on which modules you will recommend to accomplish the task needed? as part of the recommended extension to the programs mentioned.

No that's out of scope for this project right now. This project only implements a server


Issues in moving decontX functions from celda to decontX

4 functions from celda/R/celda_function.R moved to decontX/R/celda_function.R. Of the 4, normalizeCounts() and retrieveFeatureIndex() has roxygen example that requires dataset celdaCGSim. If celdaCGSim is not required anywhere else in decontX, consider update example and remove the dataset from package. Otherwise if normalizeCounts() and retrieveFeatureIndex() are needed for celda package, consider removing them in decontX/R/celda_function.R and use celda::normalizeCounts(), celda::retrieveFeatureIndex().
Dimension reduction plots (such as plotDimReduceCluster() and plotDimReduceFeature()) are not added to decontX. If they are not used in celda, consider moving them to decontX. Otherwise, call celda::plotDimReduceCluster() when needed.

For point 1, normalizeCounts() is used by celda. Removed it from decontX repo and called celda::normalizeCounts() when needed. retrieveFeatureIndex() is only used by decontX related functions. Kept in decontX repo and rewrote its Roxygen example. Removed celdaCGSim dataset from decontX repo.

For point 2, call celda:: when needing dimension reduction plots for now.


Taking over egui_glium

Hello. I would like to maintain egui_glium. I have already updated my fork to the newest version of glium. You can find it at: https://github.com/fayalalebrun/egui_glium
Let me know about next steps regarding access to crates.io.

This is great news, thank you!
Please make sure you remove all mentions of egui_glium, except for in README.md where it should be listed under the "3rd party integrations" heading.
I'll transfer ownership of the crate to you once this PR is merged - what is your crates.io handle?

Done. I am using this account for crates.io, so I believe the handle should be the same.

Great - thank you! An invite has been sent on crates.io


Support both Linux ABIs, legacy and C++11

This change keeps the legacy ABI but also adds an option to build using the C++11 ABI if FIREBASE_LINUX_USE_CXX11_ABI is set during the cmake configure step.
In packaging, the location of the Linux libraries is now libs/linux/$arch/$abi, where $arch is x86_64 or i386 (as before), and $abi is legacy or cxx11. For example, libs/linux/x86_64/cxx11/libfirebase_app.a. The binary package's CMakeLists.txt has been updated to choose the correct one based on whether the compiler option is enabled (it checks the actual CFLAGS for the option, not the Firebase-specific flag, so it should handle the selection automatically even if the developer's CMake project doesn't provide the Firebase-specific flag).
Also any sub-builds (e.g. boringssl) will also be configured with the requested ABI option.

Hmm, I'm seeing a cmake error in the x86 legacy build, any ideas what might be causing this?
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Threads (missing: Threads_FOUND)

Hmm, I'm seeing a cmake error in the x86 legacy build, any ideas what might be causing this?
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Threads (missing: Threads_FOUND)

Fixed, it was that same cflags quoting error I've seen before. Quotes were missing in the legacy option.

Windows build is stuck for unrelated reasons, I'm going to go ahead and merge this anyway.


How to make a bluetooth micphone?

Hi,
I'd like to make a bluetooth microphone which can be used with my laptop.
But I find all the examples only works with a bluetooth speaker.
I want the ESP32 can be found by laptop and pair. Is there any demos for this?
Thanks，
Ziv

Here is the Arduino Sketch example: https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-basic-api/base-i2s-a2dp
Please note that you need to google how to turn your laptop into an A2DP Sink yourself since this is dependent on the OS.

Thanks a lot.
I have tested streams-i2s-webserver_wav, it works well.
And Is it possible for us to make a device that can act as my bluetooth headset?
I can search and pair my bluetooth headset directly with my laptop.
Ziv

That would be any of the Sink examples in this project.
Just read the Readme!
You can try to use the internal DAC - though the quality will not be great and I recommend to use an external DAC. There is plenty of information in the Wiki

Thanks, I would stuby WIKI.


Description incorrect

@acheong08 in the description for requirements it said something about the public cookies.json file, earlier in a another issue you said that you removed it. If that's true the description needs to be updated.

removed

The public token got revoked by MS

ok


Deconstruct a model, edit and reconstruct - prio 1

Extract info from model

[ ] Show deconstruct in several steps: model -> bar -> Material/section
[ ] Explain Hover over input/output parameters and display some properties in panels

Create/Update model

[ ] Use component Model.AddElements. Explain overwrite boolean
[ ] Use component Model.Create and compare to AddElements. Isolate one floor slab and the associated loads. put point supports at point where the columns were and line supports where the walls were.

Model.Open

[ ] Add a Model.Open at the end

You can use this model:
Example model - CLT slabs.zip


Code Organization

With these changes it will be easier to improve the package

Sorry...
I need to download your latest changes first

hi @felipealbuquerq
you set « thinkAM » in package.json (homepage for example) and probably other places.
It won’t match my repo if I merge

Hi @dahfazz!
I will fork my personal GitHub later and adjust it
👍

Done!


Add popoverClass input for hostDirectives config for tourAnchor direc…

…tive

I don't want to add any inputs to the directive. All options should be set in tour step config.
To keep it consistent, I would prefer to use the same config name like in ngx-bootstrap UI implementation: containerClass.
Might be a good idea to update the docs with example usage like it's done in ngx-bootstrap demo.

@hakimio please check


Upcast log probs in fp32 to avoid NaN reward

Fixes https://github.com/huggingface/trl/issues/878
As stated by the contributors, it seems the NaN issues disappears when training the model in bf16 / fp32 - hence I believe the fix is to upcast the logprobs in fp32 before computing the rewards to avoid underflow/overflow issues
This should have no effect on training as the reward is not used for backprop
cc @lvwerra

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@lewtun what do you think?

Yeah makes sense, let me try to do that

also cc @kashif

I believe I fixed this issue by removing the cast of the logits to float() now the logits are in the actual type of the model: https://github.com/huggingface/trl/pull/885/files#diff-5bbdb5d54108f2162b47bc54dc23c7b8e7744d2941118e60a44c161a4acc0ee8L532-R860

Then maybe we can close the issue for now until someone reports the issue again?

yes lets close it for now


Add "Testing" Topic

I noticed that the project lacks a comprehensive section on software testing, a critical aspect of the software development process. Understanding this is essential for ensuring the quality of software applications.
I'd like to contribute to this project by adding a software testing section. This section will cover concepts such as unit testing, integration testing, test-driven development (TDD), behavior-driven development (BDD) etc to start.
I believe this section will complement the existing repository really well and I would love to work on this section. I plan to submit a pull request for review.
Thank you!

I think this would be super helpful as well! +1 from my end.

Sounds great! Looking forward to your pull request. Thanks!

@siddharth-2002, please start by contributing to the https://github.com/Yas7777/computer_science in testing section of the repository. Once you have made your contribution, I will incorporate those changes into the main repo, as there is already one PR in progress.


Update mongo-collection-instances dependency

This update fixes a couple issues regarding Mongo.Collection wrapping.

This was done in one of the recent releases.


[WFLY-19705] Upgrade WildFly Core to 25.0.2.Final

Jira issue: https://issues.redhat.com/browse/WFLY-19705

Tag: https://github.com/wildfly/wildfly-core/releases/tag/25.0.2.Final
Diff<EMAIL_ADDRESS>

        Component Upgrade

[WFCORE-6968] -         Upgrade WildFly Elytron to 2.5.2.Final

[WFCORE-6973] -         CVE-2024-7885 Upgrade Undertow to 2.3.17.Final

Thanks @yersan