Planned USB device/host support rework/enhancements

This is a meta issue for maintainers and developers of relevant subsystems to track progress on new USB support.
Introduction
Currently we have only USB device support in Zephyr OS. Existing USB device support has many disadvantages and issues, like missing support for multiple driver instances, no endpoint (request) buffers management, missing class instances management and possibility to configure/enable class instance at runtime, not a good notification channel to the user/application, messy callback architecture, no API to set/reconfigure idVendor/iSerialNumber/bcdDevice at runtime, confusing usb_dc_ep_read()/usb_dc_ep_write() API, and more.
There is no USB host support in the project. It is asked again and again for it and there was effort like #30361, but that is far from suitable. USB device stack would also benefit from the host support and allow self-contained tests with emulated device and host controllers, and better support for USBIP.
Since many problems with the USB device support are due to the way it is designed (imported in Zephyr OS), we would like to redesign USB device support. That means USB device controller driver API and USB device stack will be rewritten in parallel and independent to existing implementation. Due to the need for testing/validation, USB host controller driver API and some parts of higher level will also be implemented.
Rough plan

[ ] New USB device support (PR #38679)

[x] Introduction of USB device controller API
[x] virtual device controller driver implementation
[ ] Porting more device controller drivers to new API (There is UDC driver skeleton PR https://github.com/zephyrproject-rtos/zephyr/pull/57615, please use it as a starting point for a new UDC driver)

[x] usb_dc_nrfx -> udc_nrf
[x] usb_dc_kinetis -> udc_kinetis
[ ] usb_dc_dw -> udc_dw (WIP @jfischer-no, Preliminary work in #54857, porting PR will follow later)
[ ] usb_dc_stm32 -> :stop_sign: should be rewritten or/and use DW driver (PR #53408)
[ ] usb_dc_mcux -> udc_mcux
[ ] usb_dc_rpi_pico -> udc_rpi_pico
[ ] usb_dc_sam_usbhs -> udc_sam_usbhs (WIP @jfischer-no)
[ ] usb_dc_sam0 -> udc_sam0
[ ] usb_dc_sam_usbc -> udc_sam_usbc
[ ] usb_dc_native_posix :wastebasket: does not need to be ported as proper USBIP support is WIP

[x] New USB device stack implementation
[ ] New USB notification mechanism (#51034)
[ ] Porting USB device classes to new USB device support

[x] CDC ACM class support (PR #38679)
[ ] Audio class support (WIP @tmon-nordic )
[ ] HID class support (WIP @jfischer-no)
[ ] USB DFU class support (Cannot be ported due to license, will be a new implementation.)
[x] USB MSC class support (PR #54776)
[x] Bluetooth HCI interface drivers (#53870)
[x] CDC ECM (#54448)
[ ] CDC EEM, RNDIS should be considered to be replaced by CDC NCM

[ ] USB host support (PR #50985)

[x] Introduction of USB host controller API
[x] MAX3421E driver implementation
[x] virtual host controller driver implementation
[ ] Add more host controller drivers to new API (planned: dwc2)
[ ] Introduction of USB host stack implementation (WIP @jfischer-no)
[ ] UHC USBIP implementation (WIP @jfischer-no)
[ ] Implementation of USB classes support

[ ] CDC ACM class support
[ ] Audio class support
[ ] HID class support
[ ] USB DFU class support
[ ] USB MSC class support
[ ] Bluetooth HCI interface drivers

Timeline for transitioning to USB device "next" support
Main "switch": https://github.com/zephyrproject-rtos/zephyr/blob/745ace8d563ae52a69f10543453f0ec0512dc9b9/subsys/usb/device_next/Kconfig#L5

Port all currently supported classes: Zephyr 3.4.0
Remove the Experimental label from USB device "next": 3.5.0
Default to the USB device "next" and mark the "old" implementation as deprecated: 3.6.0

This is good news. I would like to link to this issue: https://github.com/zephyrproject-rtos/zephyr/issues/26857, and hopefully the high CPU load will be resolved here as well.
Also, any plans for async USB audio support?

For driver support, will you plan to enable Synopsys DWC USB2.0 OTG controller ? thx

Do we need a separate tracking ticket for USB Host?

@jfischer-no Is there any of this that can be parallelized if additional resources are made available?

@jfischer-no Is there any of this that can be parallelized if additional resources are made available?

Not yet.

Plan updated.

hello, i use usb audio these , and the usb audio leak some feature unit, like volume . It there have some plan to do this?

Hi, any estimate for when host support will be available ?

+1

hello, i use usb audio these , and the usb audio leak some feature unit, like volume . It there have some plan to do this?

Yes, but it is not directly relevant to this topic.

Hi, any estimate for when host support will be available ?

ASAP!

Virtual controller and host support has been separated from #38679  and moved to #50985. Updated the list of drivers and class implementations to be ported.

@MaureenHelm any interest from NXP to support the mcux usb host (and device) drivers for LPC and i.MXRT in zephyr?

Wrt. Audio. Could someone please enlighten me on the status/plans for async USB support? We need the SoC to poll the PC host for new Audio data.

Wrt. Audio. Could someone please enlighten me on the status/plans for async USB support? We need the SoC to poll the PC host for new Audio data.

I commented to a similar question above. It would be nice if you open a well-described enhancement issue or discussion, but it does not belong here!

@MaureenHelm any interest from NXP to support the mcux usb host (and device) drivers for LPC and i.MXRT in zephyr?

It appeared to me in a dream that progress on NXP USB controller support is inversely proportional to how often you ask the same question in different topics.

@MaureenHelm any interest from NXP to support the mcux usb host (and device) drivers for LPC and i.MXRT in zephyr?

I don't work at NXP anymore. Please contact @dleach02 for NXP-related questions.

hello, i use usb audio these , and the usb audio leak some feature unit, like volume . It there have some plan to do this?

i'm also curious when will volume feature be included? thx.

@jfischer-no What is the status of this? Is this on track to be finished before release 3.4?

@jfischer-no What is the status of this? Is this on track to be finished before release 3.4?

Obviously only what is explicitly marked for the v3.4.0 https://github.com/zephyrproject-rtos/zephyr/issues/42066#issue-1111431202

Porting all classes is marked for 3.4.0, but considering feature freeze date (2023/05/26) is just in few weeks it might not be possible.

@MaureenHelm any interest from NXP to support the mcux usb host (and device) drivers for LPC and i.MXRT in zephyr?

Yes, there is interest from NXP and USB host support.
@jfischer-no, what is the right forum to discuss this? Is it here in this ticket?

Yes, there is interest from NXP and USB host support.
@jfischer-no, what is the right forum to discuss this? Is it here in this ticket?

Please not here, maybe discussions,  but once you have started implementing a UHC driver, please add a note to the description or ask me for an update. However, the priority is and should be to get the new device support to a state where we can start calling the current stack legacy. This means there should be alternatives to all the class implementations we have for the current stack, and a few more drivers.

Okay @jfischer-no. My primary interest is USB host mode. Trying to figure out the pathway to getting this up and running on one of our platforms, maybe the RT5xxx.

Hi, I saw the phrase "Introduction of USB device controller API." Does it mean that there is a resource available for me to study and understand the new USB device driver, such as a basic usage guide or a comparison with the old one? Thanks!

Hi @jfischer-no I am working on this task.

[ ] usb_dc_mcux -> udc_mcux

Hi @jfischer-no I (from NXP) want to contribute the USB host stack because NXP has interest for Zephyr USB host. What can I help for developing the Zephyr USB host stack? If you already have the overall thought about the host stack, I can help to do the implementation. In short, I want to contribute USB Host stack and accelerate its implementation. Thanks. Our team is the owner of the NXP SDK USB stack, so we have a lot of experience on USB2.0.

Hi @jfischer-no I (from NXP) want to contribute the USB host stack because NXP has interest for Zephyr USB host. What can I help for developing the Zephyr USB host stack? If you already have the overall thought about the host stack, I can help to do the implementation. In short, I want to contribute USB Host stack and accelerate its implementation. Thanks. Our team is the owner of the NXP SDK USB stack, so we have a lot of experience on USB2.0.

Nice :heart: . However, here is no independent USB host stack, it is part of the USB support, see my comment https://github.com/zephyrproject-rtos/zephyr/issues/42066#issuecomment-1720138887. Thanks for the upcoming contribution to Zephyr's USB support, especially on ASAP porting NXP USB device driver to new UDC API where each NXP controller type has its own driver and not as clumsy as the existing usb_dc_mcux.

@jfischer-no,

Yes, there is interest from NXP and USB host support.
@jfischer-no, what is the right forum to discuss this? Is it here in this ticket?

@dleach02 Please not here, maybe discussions, but once you have started implementing a UHC driver, please add a note to the description or ask me for an update. However, the priority is and should be to get the new device support to a state where we can start calling the current stack legacy. This means there should be alternatives to all the class implementations we have for the current stack, and a few more drivers.

If I look at the list of items for moving over to the new UDC it looks like mostly porting vendor's USB drivers. I think it makes sense to work in parallel on the host layer instead of serializing this effort. If we are blocked by other vendors conversions we may never get to the host work.
We have needs for host support and the resources available to assist in this effort. Just need some guidance on how you want this done.

I got started with UVC.
For now a continuation of the Video driver interface. #72311
The recent UAC2 seems like a good reference for how to implement it. #70029

is the USB-ip supposed to work with native_sim and the device_next stack?

is the USB-ip supposed to work with native_sim and the device_next stack?

If it is about help for troubleshooting, feel free to join the Discord server, the Mailing lists, the Discussions section, or open a new issue if you encountered what appears to be a bug.

is the USB-ip supposed to work with native_sim and the device_next stack?

Please see https://github.com/zephyrproject-rtos/zephyr/pull/74141

Why not use TinyUSB instead of making a new stack? It has device and host support already. It has an OS abstraction layer as well. License is MIT.
Both Espressif and Raspberry Pi use it in their SDKs already.

Why not use TinyUSB instead of making a new stack? It has device and host support already. It has an OS abstraction layer as well. License is MIT.

Wonderful work from Ha Thach! Very simple callback-based API that is convenient to debug... Just follow the calls.
Many classes implemented as well. UVC contributed by Toshiba even!
I am not from Nordic and do not know the original rationale for a from-scratch implementation for Zephyr, but here are some clues that I am trying to guess:

allow to have a Zephyr driver API without too much abstraction in-between
leverage existing Zephyr code snippets (i.e. net_buf, events, work queues, threads...)
leverage existing Zephyr subsystems (i.e. CDC_NCM is implementation is mostly glue)
at this stage, the existing amount of effort already put into it

Just my wild guesses!
Related

https://github.com/hathach/tinyusb/issues/458

Some progress on UVC: https://github.com/zephyrproject-rtos/zephyr/discussions/63421#discussioncomment-10232463

@jfischer-no , we have moved this to be in the 4.0 Release Plan for the conversion of the USB Device.
Do you want to create a separate issue for the remaining tasks related to USB Host?

@jfischer-no, can you please share some insight on what the plans are for the remaining tasks related to USB Host. Should we create a separate RFC for this so we can track it for future Zephyr releases.

@jfischer-no, can you please share some insight on what the plans are for the remaining tasks related to USB Host. Should we create a separate RFC for this so we can track it for future Zephyr releases.

No.
As mentioned the beginning:
"This is a meta issue for maintainers and developers of relevant subsystems to track progress on new USB support."
This is not a release specific issue. There are parts of device support that depend on parts in host support. Please keep this topic free of irrelevant discussions, (also free of irrelevant concerns and wishes).

@jfischer-no, we have moved this meta issue to be fixed in 4.0. How should we track the items that are not addressed in 4.0 release?


Improve implementation of BlockViewPane

Currently, BlockViewPane consumes an enormous amount of memory since it paints the whole log file, regardless if certain parts are visible or not. This should be improved in a way that only what is visible should be painted.
The aim is to reduce memory footprint and also speed up the application itself as well.

This repo https://github.com/palexdev/VirtualizedFX will be very helpful for this task.

Since BlockViewPane now is backed on a ListView, all custom work to implement virtual flow is not necessary. Starting with 23.3.0, LogoRRR  contains a memory efficient and quite performant solution to render the block view.


Eloquent whereRaw method incorrectly binds floats

Laravel Version: 6.11.0
PHP Version: 7.3.13
Database Driver & Version: SQLITE

Description:
whereRaw method binds float values as strings.
Steps To Reproduce:
Provided a stations table with a REAL lat column:
Station::whereRaw('lat > ?', [40.0])->get()
will result in SQL:
select * from "stations" where "lat" > "40.0"
which clearly doesn't always work.

Confirmed the same issue with Mysql (MariaDb). The following is from the general query log:
30 Prepare   select * from `stations` where lat > ?
30 Execute   select * from `stations` where lat > '40'

If I change the code from
Station::whereRaw('lat > ?', [40.0])->get();
to
Station::whereRaw('lat > ?', [45])->get();
the query is logged as expected:
31 Prepare   select * from `stations` where lat > ?
31 Execute   select * from `stations` where lat > 45

PHP 7.2
MySQL 7
Laravel 6.12
Can't reproduce, both queries generate the same sql

mantas-done, could you check the actual SQL logs, rather than Laravel reports?

Marking it as a bug for now. Appreciating help with this.

In Illuminate/Database/Connection.php, function bindValues is:
    public function bindValues($statement, $bindings)
    {
        foreach ($bindings as $key => $value) {
            $statement->bindValue(
                is_string($key) ? $key : $key + 1,
                $value,
                is_int($value) ? PDO::PARAM_INT : PDO::PARAM_STR
            );
        }
    }

If you pass a float to it, PDO::PARAM_STR will apply.
It's ok to me. Becase mysql/postresql will check the column datatype then cast it correctly no matter you quote it or not and there's no PDO::PARAM_FLOAT to use.
Some database like postgres will complain about comparing a int to a float, but that's your own fault.

which clearly doesn't always work.

What's an example of where it doesn't work?

@staudenmeir think they explain that here: https://github.com/laravel/framework/issues/31201#issuecomment-582354838

@slavicd What's an example of a query that returns an incorrect result because of the binding?

Check the "Steps to Reproduce" section in the main description. That query fails in SQLite

As noted by @mo3000 , this seems to be a limitation on PHP's PDO itself. PDO doesn't have a parameter type for floats:
https://www.php.net/manual/en/pdo.constants.php
There was a RFC for adding it but it was withdrawn:
https://wiki.php.net/rfc/pdo_float_type
So one cannot use PDO to bind a float value without it being converted to a string.
One solution might be to add 0.0 so SQLite converts the binding to a float before comparing:
Station::whereRaw('lat > (? + 0.0)', [40.0])->get()

Didn't tested it though, hope it helps.

Thanks for explaining @rodrigopedra.
@slavicd please see the answer above.


Add QR code display

Add QR code display
Fixed some file format issues

Sorry I missed this PR, can you create a new one with just adding the terminal related code? (I will take care of the limiting part)


Change the Twitter icon to X in the Documentation section.

Is your feature request related to a problem? Please describe.
"It must contain the X logo instead of the old Twitter logo."
Describe the solution you'd like
Just change old twitter logo to X logo.
Additional context

If you think this issue is valid please assing it to me.
Thank you.

If you think this issue is valid please assing it to me. Thank you.

Thanks @pabitra0011

Hey @blumamir, Is @pabitra0011 working on this issue? It's a long time. Can I make a really quick PR for this issue?


Support different resolutions of video

lib/src/models/video_player_controller_extension.dart

Can I use this branch without using master branch?

Hi, how about this future? @diegotori
it's really helpful because video_player doesn't support different resolutions

@merdweebner are you still actively working on this PR?

Any update on casting?


Request for PIPENV_ONLY_USE_PYENV environment variable.

Is your feature request related to a problem? Please describe.
We are using a combination of linuxbrew, pipenv and pyenv on our linux agents in our CI system.
Unfortunately due to reasons, homebrew removed all installation options. This means that on Linux, all Pythons installed with brew do not have Tkinter support enabled.
It's an issue because, depending on what version is requested by the devs, they may or may not get a working Python and since brew usually has the most up to date releases, these are often the ones requested. This could be (and probably will be) worked around with much difficulty by creating our own Python formula on our own brew tap.
Describe the solution you'd like
I would love another environment variable that would force pipenv to only use pythons provided by pyenv. This would help make our CI system far more deterministic and predictable. Basically the opposite to PIPENV_DONT_USE_PYENV, maybe PIPENV_ONLY_USE_PYENV.
I could also see it being beneficial to those working on an older system like CentOS 6 who might only specify python 2 in their Pipfile. Currently the behaviour would be to use the system python (which I believe is 2.6) but I think most developers who write that in their Pipfile are working around the lack of version specifiers available for the Python version and mostly just want to use one of the most recent versions of Python 2.
Describe alternatives you've considered
For our particular CI system, we have resorted to refusing to allow many of our Python applications to be tested on our Linux agents. As mentioned above, we are considering creating our own Python formula with tk support hard coded.
Another option could be to provide a blacklist of Python executables that will not be considered available to pipenv like PIPENV_EXCLUDE_PYTHONS=/home/linuxbrew/.linuxbrew/bin/python:/home/linuxbrew/.linuxbrew/bin/python2:/home/linuxbrew/.linuxbrew/bin/python3.
Potentially this could also be a list of directories where any python executable found in within is removed from the list of available Python installations.
Additional context
We have everything working on our Mac agents since they have indeed hard coded tk support into the brew formula but it would still be nice to be able to say for sure that all Pythons available to pipenv in our CI system were created with pyenv.
This has been tested on both Ubuntu (18.04) and CentOS (7) but after looking at the linuxbrew python formula, it should be true of all linuxbrew installations.

$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/home/linuxbrew/.linuxbrew/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv'
Python location: '/home/linuxbrew/.linuxbrew/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7'
Python installations found:

3.6.7: /usr/bin/python3.6m
3.6.7: /usr/bin/python3.6
2.7.15: /usr/bin/python

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.7.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-54-generic',
 'platform_system': 'Linux',
 'platform_version': '#58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019',
 'python_full_version': '3.7.4',
 'python_version': '3.7',
 'sys_platform': 'linux'}

System environment variables:

PATH
PIPENV_VENV_IN_PROJECT
LS_COLORS
SSH_CONNECTION
LESSCLOSE
_
LANG
PYENV_ROOT
PIPENV_MAX_DEPTH
XDG_SESSION_ID
USER
PWD
HOME
SSH_CLIENT
XDG_DATA_DIRS
PIPENV_YES
PIPENV_NOSPIN
HOMEBREW_REPOSITORY
SSH_TTY
MAIL
SHELL
TERM
SHLVL
PYENV_SHELL
HOMEBREW_PREFIX
MANPATH
LOGNAME
XDG_RUNTIME_DIR
PIPENV_COLORBLIND
HOMEBREW_CELLAR
INFOPATH
LESSOPEN
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

PIPENV_VENV_IN_PROJECT: 1
PIPENV_MAX_DEPTH: 5
PIPENV_YES: 1
PIPENV_NOSPIN: 1
PIPENV_COLORBLIND: 1

Debug–specific environment variables:

PATH: /home/linuxbrew/.linuxbrew/Cellar/pipenv/2018.11.26_2/libexec/tools:/home/REDACTED/.pyenv/shims:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL: /bin/bash
LANG: en_US.UTF-8
PWD: /home/REDACTED

tldr; set PIPENV_PYTHON=$PYENV_ROOT/shims/pytho in your .bashrc to force pipenv to use pyenv python.
Tell me if it solves your problem.

Thanks for the massively quick reply.

tldr; set PIPENV_PYTHON=$PYENV_ROOT/shims/python in your .bashrc to force pipenv to use pyenv python.
Tell me if it solves your problem.

Although this can be used to force pipenv to use a specific Python install, it does not really solve my problem. I'd still like the functionality provided where pyenv is used to install a python version that is not available, I'd just like a way to restrict which pythons could be considered usable by pipenv.
On a development machine, this would be a good solution (kind of equivalent to calling with --python /path/to/python I think?) but this is for a CI system and the goal is to allow developers to use whichever python version they require by specifying it in their Pipfile with the agent installing it with pyenv if it needs to.

@BrennanGit correct me if I'm wrong, but specifying PIPENV_PYTHON=$PYENV_ROOT/shims/python  should technically allow for any pyenv installed python, depending on which is currently active, right? it's basically PIPENV_ONLY_USE_PYENV?

Yes this would allow you to force pipenv to use the currently active python from pyenv though this is not the behaviour I'm after. I want to be able to use pipenv+pyenv in it's normal (extremely useful) way but without worrying about other python installations (sometimes with incompatible compilation options) cluttering the system.
Here's an example:

A user requests python 3.7 in their Pipfile and sends it off to the CI system.
The CI machine has python 3.7 installed via brew (with broken Tkinter on Linux) and other lesser pythons installed with pyenv. We could uninstall this python but it is a dependency for many other packages.

What happens now:

pipenv selects the broken python
matplotlib fails

With PIPENV_ONLY_USE_PYENV:

pipenv looks for python 3.7 but ignores any outside PYENV_ROOT
pipenv gets pyenv to compile the right python
we get a working version, compiled from source in a predictable, deterministic way

It would be very nice to not have to worry about all the weird system/package manager pythons that may be installed as dependencies from other packages. It just gives us a way to ensure pipenv reliably does the same thing which is very important for continuous integration.

Hi guys, just hoping maybe you could change the label from "question" to "enhancement" so this doesn't get lost. Once I have a little more time, I'd be happy to implement this myself and do a PR.
I'd just like to check that this is functionality that is understood and wanted by anyone other than myself.

@BrennanGit I'm interested in what I think this functionality is just for development because:

my Pipfile specifies python_version = 3.7
PIPENV_PYTHON=$HOME/.pyenv/shims/python uses the currently-selected version (system), which isn't compatible
I'd rather have pipenv search through my pyenv and find that I've installed 3.7.5
when I upgrade my OS, any virtualenvs based on a system Python break, in my experience—pyenv Pythons are stable

Hey @atomic-mattie, it does sound like your use case matches mine. The ability to restrict pipenv to use only pyenv-installed pythons would definitely help reproducability.
In the end we created a pipeline function in Jenkins that sets up a pipenv like this:
> parse python version from Pipfile
> pyenv install --list
> find best matching python with semver (same rules as pipenv uses)
> pyenv install -s $MATCHING
> pipenv install --python $(pyenv root)/versions/$MATCHING/bin/python"

It's quite a rouandabout way of doing it but it forces our builds to be more repeatable, even across new machines and os updates.

I'd prefer if the environment variable were called PIPENV_PYENV_ONLY or something less verbose than PIPENV_ONLY_USE_PYENV.  Also what if someone wants to only use asdf (I've never used this)?   Maybe something more thoughtful to different modes for searching for Python, since there are still a number of issue reports about python finding logic floating around.  Just some thoughts as I comb through the backlog again.

Perhaps I'm misunderstanding the issue, but when I set pyenv local versions, then pipenv will only use the installation of Python by pyenv with the version specified. When that version is not installed or not set by pyenv local, it asks me if I want pyenv to install that version.

@kalebmckale I think the original request is to exclude anything other that pyenv from the pythonfinder when a specific (new feature) env var gets set.

Perhaps that's why I never had this issue. I am quite limited in the cases I've come across.


Allow piped stdin in run_subprocess_with_logging

Sometimes we need to used as stdin the output from another command
(e.g. pass secure settings to elasticsearch-keystore tool is
one example).
This commit optionally allows passing stdin from another subprocess
to run_subprocess_with_logging.

Rebased https://github.com/elastic/rally/pull/859 into this one.


fix and (more) complete readme

remove deprecated --all
add mention of "(installed)"
add xcversion installed
add note that new Xcodes can be found in /Applications
add xcversion selected
add xcversion select
headlines for structure

Looks great. Thanks!


Scrape problems

Is it legal?

Please refer the robot protocol: http://codeforces.com/robots.txt to make sure you're not crawling the unauthorized pages. I think it's ok to attach the problems since the protocol didn't limit the /problemset/problem/* .

Please refer the robot protocol: http://codeforces.com/robots.txt to make sure you're not crawling the unauthorized pages. I think it's ok to touch the problems since the protocol didn't limit the /problemset/problem/* .
BTW, you can use some tools to follow the robot protocol such as: https://github.com/PuerkitoBio/fetchbot

OK. I will add this feature. Save problems and view it in local

I thought about it carefully these days. Finally I decided not to add this feature. Just open the problem by default web browser.


esp_log_set_vprintf simply does not work ?

Environment

Development Kit: ESP32-Wrover
Core (if using chip or module): ESP32-Wrover-I
IDF version : 1424b6d
Development Env:		Visual Studio Micro (Arduino environment)
Operating System:		Windows
Power Supply:         External 3.3v

Problem Description
I try to redirect logging text but it does not work.
Expected Behavior
"After" should not be displayed and replaced by "Nop nop nop".
Code to reproduce this issue
static int debugOutputHandler(const char *v, va_list l)
{
  return Serial.println("Nop nop nop");
}

void setup() {
  Serial.begin(115200);
  Serial.println("OK, lets see :)");
  log_e("Before");
  esp_log_set_vprintf(debugOutputHandler);
  log_e("After");

}

void loop() {
  // put your main code here, to run repeatedly:

}

Debug Logs
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:956
load:0x40078000,len:0
load:0x40078000,len:13268
entry 0x40078a94
OK, lets see :)
[E][sketch_may04a.ino:9] setup(): Before
[E][sketch_may04a.ino:11] setup(): After

Arduino has its own log implementation that bypasses it so you should move this issue to https://github.com/espressif/arduino-esp32


Run full set of tests using Travis stages/jobs

Today we exclude a serie of test cases because running in a single travis job takes longer than the max timeout (~50 minutes)
Today we exclude tests like this
https://github.com/apache/incubator-openwhisk/blob/master/tests/build.gradle#L23-L31
task testLean(type: Test) {
    exclude '**/*Swift*'
    exclude '**/*Python*'
    exclude '**/*Java*'
    exclude '**/*ThrottleTests*'
    exclude '**/MaxActionDurationTests*'
    exclude '**/*ApiGwRestBasicTests*'
    exclude '**/*WskCli*'
}

We could create additional test suite to see if we can fit them in another job that runs in parallel.
Today we already run 2 jobs in parallel

cc @chetanmeh @mrutkows

I did some analysis of the time taken in a typical travis build. Detailed break up can be seen here
For purpose of this break up a custom branch was created where the build.sh was broken into sub scripts

scan - scalaFmt, scanCode
couch-setup
compile - common and core
distDocker
runDocker
runTests
Collect logs

This was done as travis report explicit time per script entry in script block. Based on reports from gradle following summary can be made
Travis Time Breakup

Phase
Time (mins)

Base
12

Docker work
6

Code scan
2

Test db only
11

Test require docker
12

Further breakup

Base ~12 mins

Install 62 sec
Couch 54 sec
Compile Core 145 sec (2.4 mins)
Compile Tests 386 sec (6.5 mins)
logs 50 sec

Docker ~ 6 mins

Dist Docker 170 secs
Run all docker 180 secs

Tests ~ 33 mins

Test just needing DB - 670 sec (11.15 min)
Test needing full docker setup (excluding previous) - 733 sec (12.2 min)

Segregating Tests
In genral convention so far was to have tests under system package to depend on whole setup and tests outside just relying on database. However as per reports it can be seen that some tests in following package do depend on other parts

whisk.core.controller.test

ControllerApiTests should ensure controller returns info

whisk.core.database.test

CacheConcurrencyTests

whisk.core.admin

WskAdminTests Wsk Admin CLI should verify guest account installed correctly

Probably we can move them to system package
Packages requiring complete setup

apigw.healthtests
services
system.basic
system.rest
whisk.core.limits
whisk.core.cli.test
whisk.core.apigw.actions.test

Great breakdown - thanks @chetanmeh!
I agree about moving the three suites mentioned - with the mocking of the database with an in memory store now possible, I'd like to eventually remove the couchdb dependence from the unit tests as well.

Test Segregation Methods
A - Package based filters
Currently we prepare a lean test set why providing a filter consisting of globs for tests to be excluded
    '**/*Swift*',
    '**/*Python*',
    '**/*Java*',
    '**/*ThrottleTests*',
    '**/MaxActionDurationTests*',
    '**/*ApiGwRestBasicTests*',
    '**/*WskCli*'

For splitting the test suite into multiple stages we would need to create include sets of various packages we need to include in given setup. One possible approach can be to have 2 sets

Tests requiring DB
Tests requiring full setup

It would need to be ensured that both set cover all the tests present
B - Use ScalaTest tags
ScalaTest supports tagging the tests.
The tags can be specified on per test basis
object DbTest extends Tag("com.mycompany.tags.DbTest")

it must "subtract correctly" taggedAs(Slow, DbTest) in {
    val diff = 4 - 1
    assert(diff === 3)
  }

Or can be specified on whole suite by defining a custom annotation.
@org.scalatest.TagAnnotation
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface RequiresDb {}

@tags.RequiresDb
class MyBusinessTest extends WordSpec with Matchers {
  "loads business objects from db" in { ... }

These tags would then need to be used with Gradle. However default test runner in Gradle does not supports tags. For that we need to use gradle scalatest plugin. This blog entry provides one example of how to configure it
So we need to decide which approach to take going forward

Great, thank you @chetanmeh.
One thing to keep in mind when moving tests around: The system package should only contain tests, that depend on the OpenWhisk system. That is, ideally they only talk through the OW API and do not know any of the innerts (like the database)

This a great analysis @chetanmeh
We could also have the runtime unit tests in a seperate Travis job and this job doesn’t need deployed OW

oooh and move all the repos back together? 😅🏃🏻♂

I'm also seeing some interesting stuff with running all the tests on our jenkins infrastructure. Seems like the "leanTests" alone use > 4gb of memory over their run and drive the machine into a memory starvation.
https://snapshot.raintank.io/dashboard/snapshot/uTSpjXnFAntDC2zG1Kh4xOXFE7pEKaUQ?orgId=2

With ScalaTest tags is there a way to list all tests that would run for a given tag (ie a dry run)?

@rabbah Did not found any such feature documented. So posted a query on scala-test dl https://groups.google.com/forum/#!topic/scalatest-users/3kxgke3tIr8


Excluding file with unsupported VCS

[x] I am on the latest Poetry version.

[x] I have searched the issues of this repo and believe that this is not a duplicate.

[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Fedora 28

Poetry version: 0.12.5

Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/Lothiraldan/7e4c1ffde3ed90ec183ad4eb5e72a44c

Issue

Hello, first thank you for your work on poetry, packaging in Python is something we should be better at and poetry looks very promising.
I'm trying to use poetry with one of my project https://github.com/lothiraldan/balto which will include a compiled react project. I develop the project using Mercurial and then export the repository to Github.
The first time I ran poetry build, I saw that the nodes_modules directory was included so I try explictly excluding it with:
[tool.poetry]
exclude = ["balto/web_interfaces/balto_react/node_modules/**/*"]

But it didn't help.
I start taking a look at the code and found that the find_excluded_files early abort in case it didn't find the VCS (in my case Mercurial). Apart from adding Mercurial support (which I may do in the future), I think excluding files shouldn't depend on projects using a supported VCS.
I applied the following diff locally to still reads the explicitely excluded files that did the trick:
diff --git a/poetry/masonry/builders/builder.py b/poetry/masonry/builders/builder.py
index 627e006..477ec8d 100644
--- a/poetry/masonry/builders/builder.py
+++ b/poetry/masonry/builders/builder.py
@@ -43,14 +43,16 @@ class Builder(object):
         # Checking VCS
         vcs = get_vcs(self._path)
         if not vcs:
-            return []
+            vcs_ignored_files = []
+        else:
+            vcs_ignored_files = vcs.get_ignored_files()

         explicitely_excluded = []
         for excluded_glob in self._package.exclude:
             for excluded in self._path.glob(excluded_glob):
                 explicitely_excluded.append(excluded)

-        ignored = vcs.get_ignored_files() + explicitely_excluded
+        ignored = vcs_ignored_files + explicitely_excluded
         result = []
         for file in ignored:
             try:

I can send a PR with it if the code looks correct and the behavior change is ok.

Nice catch!
The patch looks good to me so feel free to make a PR and I'd gladly review it.


[Website] change case studies link from staging to relative path

case studies link was leading to staging, changed it to lead to relative path

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

R: @nausharipov

Reviewed and tested by QA

update link:

@pabloem could you help us with merging this reviewed website PR, please?

lgtm thanks


Feature request: read FIT data from a string instead of a file

This could of course be solved by reading the data to a temporary file and then loading that, but that seems a bit unnecessary. I'd like this support this a bit more cleanly in my FIT to TCX script -- make it read from standard input and write to standard output.

The constructor for fitparse.FitFile accepts a file-like object to read from or a string path to a file. So, you can pass sys.stdin as an argument. If you have raw binary data, try using StringIO.
Does that help?
Thanks,
David

Ahw, python is so cute - of course there is something like this there. It only have everything.
Thanks for filling in some missing python knowledge!

Enjoy. :D


i18N Bug: MLS for strings not picking special characters e.g. French Accents

Describe the bug

When you change the app language to French - some of the app strings are not picking accents.
There are some untranslated strings on the app still.

To Reproduce

Log into the app and complete sync.
On the settings page, change the app language to French.
Observe the different parts of the app.

Expected behavior

[ ] All strings on the app can be read in French.
[ ] The strings can pick up special characters i.e accent.

Additional context
Add any other context about the problem here.
Implementation plan

Bulleted pointed list of notes on the plan to address this issue
Can be added, expanded, and modified by the assignee

Further investigations on the Eusm project where this was originally reported revealed that the French translations contained the malformed content on the server. Doing a fetch on POSTman gives us the response below(screenshot).

This property file needs to be re-uploaded again correctly. Note, the original properties file from Transifex has the correct content - https://github.com/onaio/fhir-resources/blob/1d0d8a0a7720e0c06acc77bfd39080e19c6c9ae4/eusm/configs/translations/strings_fr_config.properties#L37C34-L37C45

For the untranslated strings e.g. those reading ITEMS and CHECKED, the tooling needs to be updated to handle translations for primaryText and secondaryTexts in configs for automation.
    {
      "viewType": "CARD",
      "visible": "true",
      "contentPadding": 0,
      "header": {
        "viewType": "COMPOUND_TEXT",
        "primaryText": "Checked",
        "primaryTextColor": "#000000",
        "fontSize": 18.0,
        "padding": 16
      }
....

    {
      "viewType": "CARD",
      "visible": "true",
      "contentPadding": 0,
      "header": {
        "viewType": "COMPOUND_TEXT",
        "primaryText": "ITEMS",
        "primaryTextColor": "#000000",
        "fontSize": 18.0,
        "padding": 16
      }

These can also be manually translated (if they are urgent and are not many).

@ndegwamartin https://github.com/onaio/fhir-tooling/issues/207

@AnnieMungai Martin and I have looked into this. We think the app is still breaking for some reason. @ndegwamartin will review and provide a fix

@AnnieMungai after troubleshooting found an issue with FHIR Core translations that needed a patch for languages that contain diacritical marks . The issue should now fixed - PR https://github.com/opensrp/fhircore/pull/3376

@dubdabasoduba  after troubleshooting found an issue with FHIR Core translations that needed a patch for languages that contain diacritical marks . The issue should now fixed - PR https://github.com/opensrp/fhircore/pull/3376 cc @AnnieMungai

LGTM!


Add test for failing pledge modal load

I rule and have completed some work on Case Manager that's ready for review!
This adds a failing test to address the behavior in #1089 that we can write code against. Feel free to either push code straight to this PR or branch off it.
This pull request makes the following changes:

Adds failing test
Makes wait_for_ajax a bit beefire using thoughtbot code

:|

It relates to the following issue #s:

Fixes #1089

cc @tingaloo

I was wondering why the tests didn't pick this up in the first place. Ever since turbolinks got merged, tests fail randomly because I didn't wait_for_element or wait_for_ajax throughout. Does circle provide a list of random failing tests, or is it something we should discount?

Nevermind, the tests are all green on the other PR. That's a first.

I haven't set up good CI failure reports yet, it seems to take some very precise wiring. bleh.
The tests that keep choking, I think, is usually stuff that involves modals (call tests, pledge tests) and less often stuff that just involves general js (though it involves that too). I think the switch to better modal code was something that introduced a bunch of race failures in our test code.

re: the tests not picking up this particular instance in the first place, if you go to the page via, say, copying and pasting the url into the bar, it'll load properly. But rarely do our CMs ever do that, they get to patients through clicking their names on the call list -- when they do that, the modal doesn't load.
I increasingly wonder if this is something with modalSteps() in pledge.js.erb not quite firing right, but I'm clueless as to why that is.

Didn't see that #1090 had been put together. I'm going to actually grab that food and then we can get these two PRs squared away. Thanks @tingaloo for your quick action on this.

Sounds good to me, deploy!


Backport #25786

there has been no movement on that ticket but I think it's ready, so we should backport it.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

@isuruf:
I get
+ set -e
+ conda build ./recipe -m ./.ci_support/osx_python3.6.yaml
+ '[' 4 -lt 1 ']'
+ local cmd=build
+ shift
+ case "$cmd" in
+ /Users/distiller/miniconda3/bin/conda build ./recipe -m ./.ci_support/osx_python3.6.yaml
Traceback (most recent call last):
  File "/Users/distiller/miniconda3/bin/conda-build", line 7, in <module>
    from conda_build.cli.main_build import main
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 18, in <module>
    import conda_build.api as api
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/conda_build/api.py", line 22, in <module>
    from conda_build.config import Config, get_or_merge_config, DEFAULT_PREFIX_LENGTH as _prefix_length
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/conda_build/config.py", line 17, in <module>
    from .variants import get_default_variant
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/conda_build/variants.py", line 15, in <module>
    from conda_build.utils import ensure_list, trim_empty_keys, get_logger
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/conda_build/utils.py", line 10, in <module>
    import libarchive
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/libarchive/__init__.py", line 1, in <module>
    from .entry import ArchiveEntry
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/libarchive/entry.py", line 6, in <module>
    from . import ffi
  File "/Users/distiller/miniconda3/lib/python3.6/site-packages/libarchive/ffi.py", line 27, in <module>
    libarchive = ctypes.cdll.LoadLibrary(libarchive_path)
  File "/Users/distiller/miniconda3/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "/Users/distiller/miniconda3/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/distiller/miniconda3/lib/libarchive, 6): image not found

Is building for OSX on CircleCI broken?

Can you open an issue in python-libarchive-c-feedstock ?

Great. That fixed it.


Update Readme

Update readme, setup license and contributing guidelines so that others have an easier time developing

 Update Readme


Implement a new action delete in etk filters.

If mydig sees a doc, which it got from ES, with action delete set, it should delete it from the ES
if mydig sees a doc with action discard it should NOT load that document in ES, but it does not need to delete it from ES

@szeke still relevant ?

I forgot how the filters work, did we implement them?


Effect layer stencil

This change allows GlowLayer to be used with stenciling.
https://forum.babylonjs.com/t/42331

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14046/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14046/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14046/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14046/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14046/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14046/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14046/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14046/merge#BCU1XR#0


fix: support colored output from queue:listen

Currently laravel queue jobs do not have colored output when they are run by the artisan queue listener php artisan queue:listen --tries=1 --timeout=1800, php artisan queue:work --once works just fine.
This is due to a symfony change in their dedection algorithm which I think was buggy in the past and returned true incorrectly (if their algorithm is actually wrong again and this is an upstream issue then feel free to close this one). reference: https://github.com/symfony/symfony/blob/7.2/src/Symfony/Component/Console/Output/StreamOutput.php
For subprocess which we are spawning I believe the correct way of handling things is by enabling the tty feature of the process via setTty(true) like someone else described here https://github.com/symfony/symfony/issues/23002.
Enabling this however leads to regressions, since https://github.com/laravel/framework/pull/44971 the queue listener will only print "Processing jobs from the [] queue" once, this done via Terminal::hasSttyAvailable().
The change in enabling the tty again is breaking this detection and as such we need a different way to detect if we need to print the message again, this is handled by the isChildProcess function. If you have better ideas on how to solve this I'm happy to change this part.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions!

Do you prefer a bug report instead? There is different behavior between the laravel of now,

and how it was in the past..
https://user-images.githubusercontent.com/5457236/202230490-db877c88-1775-495e-8285-6a2e308bb0c1.png
https://github.com/laravel/framework/pull/44971


Update method reflect_at_boundary in agent class

We need to update the reflect_at_boundary method in the agent class.
The code right now is from ChatGPT and was just implemented as temporaty solution and could be written shorter and easier to read.
in case a possible next position of an agent would be out of range, the method calculates an other next position, based on the reflection on the boundary

Code has been updated and optimized. The workflow doesn't seem to work after the changes: Black is raising an error, even though the code has been tested and formatted using black locally. Working on a fix. Branch: eighthill_sandbox


Next

Before submitting a pull request, please make sure the following is done:

Read the contributing guide.
If you've added code that should be tested, add tests.
If you've changed APIs, update the documentation.
Ensure the test suite passes (npm test).

Title Format
type(ComponentName?)：commit message
Example：

docs: fix typo in quickstart
build: optimize build speed
fix(Button): incorrect style
feat(Button): add color prop

Allowed Types:

fix
feat
docs
perf
test
types
build
chore
refactor
breaking change

通过学习vant next的开发来学习vue3


ChromeOS Support

That would be great if you make a release for ChromeOS as well. Although ChromeOS supports a wide range of Android Apps, but unfortunately Bunq app itself cannot be installed on it due to lack of support. Perhaps you can make your desktop edition ready for either of those.

It is simply not possible to release for ChromeOS using Electron and I don't plan on creating a secondary application just for ChromOS.


app/Resources not scanned

Resources folder are scanned correctly, however app/Resources is not took into account (using the last beta).


Switch Crc library

switched crc library to avoid conflict with other crc libraries that include crc32.

Nice, thanks for contributing!
God idea to change from old library.properties to new library.json
Not sure about changing<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Looks that it less popular and version is lower than 1.0.0 (unstable?). What advanteges of robtillaart/CRC?
I have following plan for BLE OTA:

Release ble_ota_app in Android and iOS stores. For this moment I dont know how to do that for apple store. And if it's possible to release opensource app there for free
After 1. Release ArduinoBleOTA library in PlatformIO with version 1.0.0. And than increase versions

Main advantage to<EMAIL_ADDRESS>is that it's under active devopment the other library's hasn't been updated in 3 years with the last stable release being 5 years ago.
Another is that users code would have the library built in and it support multiple forms of crc. For instance. The firmware I'm working on needs crc16(modbus). I would have to use multipule libraries to get but crc32 and crc16.

Good point. Discussed with @dkwach and decided to marge

Reverted after tests, because of checksum error. I'll recommit it after fix

Looks like the crc from the library defaults as little endian where as the app is big endian. As I don't have a working app I'm unable to confirm. The crc library does have void setReverseOut(bool reverseOut) reverse the bit pattern of CRC (MSB vs LSB).

Are you trying this? : https://github.com/vovagorodok/ble_ota_app/issues/6#issuecomment-1522109151


v6: sdkmath support

Will close #835 after testing with the relayer (need to confirm the cosmosdk.io/simapp requirement is dealt with)

Commit aa62728346ad8513e202a36715d0c02a5ed6bfea is a major change in both the relayer and interchaintest. Need to get that in mainline relayer before we can persist it
(issue: ictest has no way to use the ethermint codec, so we have to extend functionality to the ibc.Chain to set this value to the relayer)

Have tested this with the relayer for Dymension and it works :smile:


Feature/schema yaml

Creating a unified method of referencing/defining schemas in yaml.
This involves a schema manager which is responsible for everything regarding schemas and schemas from other places in the code should be imported through it.

Might coordinate with #185 ?

@Okami1 - I think you need to provide some documentation for the SchemaManager.

This branch is getting quite long and contains some messages like "revert ...". It might be good (but not necessary) to rewrite the git history to something cleaner. If you would like that but don't know how, call me, I'll be happy to help.


Add Fabric Loader 1.14~1.21(All is latest version)

Wait to test.
Add Fabric Loader Support(From 1.14 to 1.21)
[WARNING] Before merge should test it.

Could you please run a test on them and tell me the results?

Could you please run a test on them and tell me the results?

When I go home.
Now at my lab.

Starting from Java 8, -server is used by default. This option is deprecated.

Starting from Java 8, -server is used by default. This option is deprecated.

It use installer.
Not a server file.


Add displayName search terms to ToC

Docs Build status updates of commit 0f2181d:
:clock10: Full build: the average full build time is 27 min(s) 29 sec(s), this is based on the last 114 build(s) for this repository.

Docs Build status updates of commit 0f2181d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-2.1.0/toc.yml
:white_check_mark:Succeeded
View (azps-2.1.0)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 1411809:
:clock10: Full build: the average full build time is 27 min(s) 19 sec(s), this is based on the last 115 build(s) for this repository.

Docs Build status updates of commit 1411809:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-1.8.0/toc.yml
:white_check_mark:Succeeded
View (azps-1.8.0)

docs-conceptual/azps-2.1.0/toc.yml
:white_check_mark:Succeeded
View (azps-2.1.0)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix lack of py files in linux

Closes https://github.com/conda-forge/pydantic-core-feedstock/issues/79
Closes #80
Closes #81
Checklist

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

@conda-forge-admin please rerender

Still failing...

Still failing...

I'm not sure what this is supposed to mean.
I know it is failing. for some reason i managed to get it working once locally with what I thought was due to --no-build-isolation but I guess i was wrong.
I marked as draft to communicate that it isn't perfect.
I'm skipping the large build matrix to save CIs while I troubleshoot.

Yeah, I thought the --no-build-isolation was the thing as well, and then I checked back and noticed that it didn't work.  I see you're trying the old version to see if it's something with pydantic or something with one of the build tools that changed.  Not fun!

The crazy thing, i've reverted all these packages:

Maybe i have to revert rust too???

Did this ever work? Is the problem that pydantic feedstock needs no build isolation and that’s installing these extra files? (Just speculating based on crazy evidence so far)

See current theory
https://github.com/conda-forge/pydantic-core-feedstock/pull/81#issuecomment-1868130915

I didn't see an option in maturin to ignore the gitignore, so we need to live with this workaround for now :(

This means that all maturin based projects are currently broken 😱

Posted https://github.com/conda-forge/conda-smithy/pull/1818 as a workaround

Merging this has closed all associated issues, but I'm unclear if the problem is actually fixed?

Thanks @hmaarrfk @xhochy 🙏


Bug in the signup flow leaves new workers with accounts they can't use

People trying to signup to Daemo as workers are confused by the lack of any explanation about why they can't select worker or both. We had previously had an error message that displayed a link to fill out the form to join our waiting list, but since changing the signup flow to allow requesters, that is no longer visible. Furthermore, this happens rather late in the process, by the time this selection is made the user has already clicked an authentication email and filled in a range of details.
Here's what new registrants see:

I'm not sure what the best solution would be, perhaps to ask what kind of participant they want to be on the initial signup page, and to provide the previous message if they select worker at that time?

Use comments to share your response or use emoji 👍 to show your support. To officially join in, comment I will help. To break consensus, comment using this template. To find out more about this process, read the how-to.

Good point @markwhiting , I just tried to register with my other mail and found that if we enter the date by typing  it does not allow. See the underlined red

Clicking the date calendar start with 2017 which need my be go back to 30 odd years;) thats not good UX.

After everything filled, then comes the issue raised my @markwhiting.
We should upfront let know the registrations either we are not yet ready to for worker or allow registration for a waiting list in google form.
I see this as important issue and need a bug fixing immediately with some ideas.

What do we want to do - take the worker registrations?
If we want fixing the links, if not re-direct them to waiting list of explain the situation upfront

sorry about that, not sure how the text from the email didn't make it to this page, it was definitely intended to


Add .env variable for throttle_notifications_for_minutes

Simply adds the possibility to change the throttle notification time via the .env configuration file.
This is useful if you want to set a different throttle time between the production server and the pre-production server.

I think for most people have a fixed default is good enough.
Change this in your own project 👍

No worries, simply though of sharing my changes.
Also, awesome talk yesterday and well done for your new package ! 🥰

Thank you 🙂


RAGFlow streaming output suggestions #3738

What problem does this PR solve?
Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR.
Type of change

[x] New Feature (non-breaking change which adds functionality)

Appreciations!
These alterations involve respective code changes of web pages which there's none.
So, could you start with HTTP API, sdk/session.py?

Appreciations!
These alterations involve respective code changes of web pages which there's none. So, could you start with HTTP API, sdk/session.py?

Sorry, I only modified the code of the backend interface, and there is no adjustment on the front end at present.


docs: manifest description

important cause it's show in social displays (ex Slack preview);

Yes. Good idea. Recheck, please @samsja


docs: fix tracerProvider README

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Time-Based One-Time Password to login

Is your feature request related to a problem?
Time-Based One-Time Password for login.
Describe the solution you'd like
Add the ability for each user to enable Time-Based One-Time Password for login. Should allow the user both a QRCODE and the plain secret text when created,
Additional context
No response

It's on the roadmap but duplicated with #1922


Default to finite tolerance in check_well_for_FOV_overlap

Let's also change the default tolerances in run_overlap_check / check_well_for_FOV_overlap function from 0 to tol=e-10. 0 is not a good default to have, as it detects overlap that is just a rounding issue

Closing in favor of https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/266


Only compile the failing spec tester example

This currently fails on some PRs with:
Test the D Language specification
../dmd/generated/linux/release/64/dmd -run tools/dspec_tester.d --compiler=../dmd/generated/linux/release/64/dmd
---
void main() {
import std.stdio;
import std.algorithm;
int[] s = [1, 2, 3, 4];

copy(s[1..3], s[0..2]);
assert(s == [2, 3, 3, 4]);

}
---
gcc: error: __stdin.o: No such file or directory
Error: linker exited with status 1

(e.g. https://github.com/dlang/phobos/pull/6443, https://github.com/dlang/phobos/pull/6453 or https://github.com/dlang/dmd/pull/8168)
Hence, I think for now the best strategy is to just compile the respective test.

I also opened a Bugzilla issue, s.t. this doesn't get lost and can be tracked when there's time: https://issues.dlang.org/show_bug.cgi?id=18762
(it's probably related to the way the spec tester runs the test in parallel as this would explain why it happens only spuriously)
The TravisCi error is unrelated as we are currently trying to re-add Travis to dlang.org (see e.g. https://github.com/dlang/dlang.org/pull/2340)

Observed another probably related failure:

This doesn't look like a scalable approach. Won't failures like these just keep cropping up until the root  problem is fixed?

(it's probably related to the way the spec tester runs the test in parallel as this would explain why it happens only spuriously)

From a glance at the relevant code in dspec_tester and DMD, it seems fine, but there may be other parts like the linker affected by it.

(wrong button)
Fully agreed and I would love to fix the actual problem, but I have honestly no idea why we sometimes get these linker errors...

What do you think about instead of using -run and making DMD read from stdin, to save it to a .d file to a guaranteed-unique directory (probably just use an integer counter)?

I can reproduce this on my machine, looking into it.

The problem is in DMD's handling of programs from stdin:
https://issues.dlang.org/show_bug.cgi?id=18762#c1


Replace click with argparse

Fix #78
Remove dependency on click and replace with argparse
Signed-off-by: John Speed Meyers<EMAIL_ADDRESS>

Thanks, @goneall. @linynjosh -- I'll wait 24 hours to give you a shot to review too. No worries if you can't find the time. I'm just always glad to lean on your Python expertise :)

Thanks, @linynjosh!


compilation error with wasm docker

error: Error listing dir "/rustpython/vm/../Lib/": No such file or directory (os error 2)
  --> vm/src/frozen.rs:21:45
   |
21 |         modules.extend(py_compile_bytecode!(dir = "../Lib/",));
   |                        ---------------------^^^^^^^^^^^^^^^-- in this macro invocation

error: aborting due to previous error

error: Could not compile `rustpython-vm`.

Hmmm, it'd probably be best to symlink the Lib directory into wasm/lib and just do dir = "Lib" if this is an issue.

Ah, we just have to include Lib in the list of directories to copy.

It should work now?


[Feature] Explore prepare all projects Vs prepare affected project

What projects is this feature for?
No response
Description
The strategy adopted by Sage Monorepo is to prepare all the projects with workspace-install, then keep the dependencies up to date with git hooks.
Pros:

Assumes that the dependencies are ready when running task like lint, build, etc. so no need to check dependencies when running these tasks (faster).

Cons:

We are making the assumption that the dependencies are ready, which is strongly promoted but can't be guaranteed.
The solution does not scale as disk space and initialization time increase with the number of projects.

Alternative
An alternative is to always check that the dependencies are up to date before running tasks that require them. Initializing the workspace would require less time and disk space.
Tasks

For each type of project defined by their programming language and package manager, evaluate the time it takes to CHECK that the dependencies are up to date.
Decide whether it is acceptable to adopt the alternative strategy

Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Time needed to check R dependencies
$ hyperfine --warmup 1 \
    --prepare 'nx prepare-r openchallenges-api-client-r' \
    --runs 10 'nx prepare-r openchallenges-api-client-r'

Benchmark 1: nx prepare-r openchallenges-api-client-r
  Time (mean ± σ):      3.985 s ±  0.298 s    [User: 3.476 s, System: 0.841 s]
  Range (min … max):    3.505 s …  4.599 s    10 runs


Bump Updates

:pushpin: References

Issue: #200

What does the PR achieve/Which part improves the PR?

Kotlin 1.6.21 -> 1.7.0
KSP 1.6.21-1.6.0 -> 1.7.0-1.6.0
KCT 1.4.8 -> 1.4.9
:thinking: DOD Checklist

[x] My code passes the lint checks.
[x] My changes are covered with proper tests.
[x] All tests are pass.
[ ] My changes update the documentation.
[ ] My changes are reflected in the changelog.

Closed in favour of #240


add BingMaps support with aerial and road variants

added in branch bing-maps, new release comes when the demo app is adjusted accordingly

done


How do you get the parsed token tree?

I'm looking at Mistune, and it appears that you can get the token tree but I can't figure out how.
There are a few issues that ask a similar question (e.g. https://github.com/lepture/mistune/issues/98, https://github.com/lepture/mistune/issues/25, and https://github.com/lepture/mistune/issues/29), and some reference PR #20. Looking at these issues, however, it isn't clear to me how you can use Mistune for getting the parse tree. I was not able to identify how to do this from the documentation either.
My guess is that I'm using Mistune incorrectly. I've provided an example from the Python REPL how I'm trying to use Mistune to get the parse tree. Could someone help me with this?
>>> import mistune
>>> md = mistune.Markdown()
>>> md('# This is a test\n[this](is-a-link)')
'
This is a test
\n
this
\n'
>>> md.tokens
[]
>>> md.token
{'type': 'paragraph', 'text': '[this](is-a-link)'}

In the above, observe that md.token is only showing the last token. Also, I would expect to see tokens represent the whole token tree.
It looks like as Mistune renders the output it also pops elements off of the token tree. Is there any reason that, after parsing the elements, it can't also track the tree as an immutable list (e.g. tuple) that won't be mutated as the tokens are processed for rendering?

@swquinn I think you need a custom Renderer.
Here's an example from the tests:
https://github.com/lepture/mistune/blob/master/tests/test_subclassing.py#L146-L191


[Event Change Request] table 1003 "Job Planning Line" -OnUseOnBeforeModify

Could you please add the following three variables to the event OnUseOnBeforeModify?

AmountRoundingPrecision: Decimal;
UnitAmountRoundingPrecision: Decimal;
AmountRoundingPrecisionFCY: Decimal;
UnitAmountRoundingPrecisionFCY: Decimal;

procedure Use(PostedQty: Decimal; PostedTotalCost: Decimal; PostedLineAmount: Decimal; PostingDate: Date; CurrencyFactor: Decimal)
begin
    ...

    //+Change
    //-OnUseOnBeforeModify(Rec, xRec);
    OnUseOnBeforeModify(Rec, xRec, AmountRoundingPrecision, UnitAmountRoundingPrecision, AmountRoundingPrecisionFCY, UnitAmountRoundingPrecisionFCY);
    //-Change
    Modify(true);
end;

[IntegrationEvent(false, false)]
//+Change
//-local procedure OnUseOnBeforeModify(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line")
local procedure OnUseOnBeforeModify(var JobPlanningLine: Record "Job Planning Line"; xJobPlanningLine: Record "Job Planning Line"; AmountRoundingPrecision: Decimal; UnitAmountRoundingPrecision: Decimal; AmountRoundingPrecisionFCY: Decimal; UnitAmountRoundingPrecisionFCY: Decimal)
//-Change
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10874.


The property timelineContent isn't working for the HORIZONTAL mode.

Describe the bug
The property timelineContent isn't working for the mode=HORIZONTAL. On inspecting, it's not rendering the content mentioned with this property.
To Reproduce
Steps to reproduce the behavior:
const items = [
  { title: 'Timeline title 1', cardTitle: 'Card Title 1' },
  { title: 'Timeline title 2', cardTitle: 'Card Title 2', timelineContent: Test },
];

<Chrono mode="HORIZONTAL" items={items} />;

Expected behavior
Custom React components should be rendered.
CodeSandbox: https://codesandbox.io/s/infallible-microservice-yzfjvz?file=/src/App.js

@miral-zymr This is now fixed with the latest version. you can check and confirm if everything is alright now

Thanks, @prabhuignoto! This is a great help. Grateful for such a quick response and fix!


Added an error message when there are no courses available

Description
This PR show the message No available courses on the Find courses section when there are no available courses.

Thanks for the pull request, @adamsythe! I've created OSPR-2309 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.
If you like, you can add yourself to the AUTHORS      file for this repo, though that isn't required.     Please see the CONTRIBUTING     file for more information.

@edx/android-devs Please take a look.

@nedbat Sorry for not updating the community earlier.
For now, tests aren't running on our OSPRs due to a change on Travis we did in the near past. Ticket to track that issue with details is https://openedx.atlassian.net/browse/LEARNER-4338.
Our repo setting is set to not allow merging a PR until our tests pass on Travis. We'll be looking into this issue in the next 1 or 2 sprints. After which we'll be reviewing the OSPRs.

@miankhalid That LEARNER ticket has now been merged. Are those tests now available again?

@adamsythe Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.

That LEARNER ticket has now been merged. Are those tests now available again?

@mduboseedx Tests are now running on this PR. I've moved https://openedx.atlassian.net/browse/OSPR-2309 to one of our future sprints so that this PR gets reviewed/merged soon.

@adamsythe can you rebase this branch on our current master? so that the Travis build can run successfully.

@adamsythe Have you rebased this branch on to master?
Also please address the requested changes so this OSPR could proceed.

Hi @adamsythe! If possible I'd like to get this OSPR review into our next sprint. If not we can push off to another sprint, do you believe you will have time to address the feedback  / rebase in the next ~8 days?

Hi everyone sorry I have let this slip, will be able do everything by end of my work day tomorrow.

I have added changes that were requested and below is a screenshot

This might need another rebase  - @adamsythe Thanks for the updates to this!

@adamsythe any updates on this PR?

@miankhalid  are we just waiting for a rebase?

@miankhalid are we just waiting for a rebase?

Yes.
Also, @marcotuts does the error message look fine to you in terms of:

The error text.
No icon to accompany the error text (as we usually have in most of the cases).

@miankhalid done

@miankhalid  fixed extra carriage

@miankhalid  Can you give it another look?

@natabene Sure! I was on leaves.

@adamsythe Have you had a chance to address @miankhalid 's comments?

Thanks for the pull request, @adamsythe! I've created OSPR-3535 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.

@adamsythe closing this since we haven't heard from you in a while.  Please feel free to re-open this when you're able to come back to it.

@adamsythe Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.


The npm package arestocats should contain the static build of the frontend

This issue is about the missing dist-static directory in the npm-package of this project.
The static build should be included just like the normal build. Also this is a chance to rename the create-jenkins-frontend  command to something more general, e.g. build-static-frontend.

Fixed on master (v0.3.5)


Unable to install via CocoaPods

I am getting the following error
[!] Unable to satisfy the following requirements:

RATreeView (~> 0.9.2) required by Podfile

Any ideas?

I think it should work. Keep in mind that there is newer version (above 1.0) and it should work correctly too - try with it.
Closing. Feel free to reopen.


dlopen: cannot load any more object with static TLS

Rasa Version      :         2.8.2
Minimum Compatible Version: 2.8.0
Rasa SDK Version  :         2.8.1
Rasa X Version    :         None
Python Version    :         3.6.8
Operating System  :         Linux-3.10.0-1062.el7.x86_64-x86_64-with-centos-7.7.1908-Core
Python Path       :         /root/.virtualenvs/rasa_all/bin/python

Issue:
I run pip3 install rasa to install rasa firstly.
I run rasa init, choose to train an initial model,  then got a fatal error.
Error (including full traceback):
(rasa_all) [root@localhost b]# rasa init
Welcome to Rasa!
To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.
Now let's start! ??

? Please enter a path where the project will be created [default: current directory]
Created project directory at '/root/code/prj_rasa/b'.
Finished creating project structure.
? Do you want to train an initial model? ?? Yes
Training an initial model...

Traceback (most recent call last):
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sklearn/__check_build/__init__.py", line 44, in <module>
    from ._check_build import check_build  # noqa
ImportError: dlopen: cannot load any more object with static TLS

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.virtualenvs/rasa_all/bin/rasa", line 8, in <module>
    sys.exit(main())
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/__main__.py", line 117, in main
    cmdline_arguments.func(cmdline_arguments)
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 235, in run
    init_project(args, path)
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 130, in init_project
    print_train_or_instructions(args, path)
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 69, in print_train_or_instructions
    training_result = rasa.train(domain, config, training_files, output)
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/api.py", line 106, in train
    from rasa.model_training import train_async
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/model_training.py", line 22, in <module>
    from rasa.nlu.model import Interpreter
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/nlu/model.py", line 14, in <module>
    from rasa.nlu import components, utils
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/nlu/components.py", line 7, in <module>
    import rasa.utils.train_utils
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/utils/train_utils.py", line 40, in <module>
    from rasa.utils.tensorflow.data_generator import RasaBatchDataGenerator
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/utils/tensorflow/data_generator.py", line 9, in <module>
    from rasa.utils.tensorflow.model_data import RasaModelData, Data, FeatureArray
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/rasa/utils/tensorflow/model_data.py", line 6, in <module>
    from sklearn.model_selection import train_test_split
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sklearn/__init__.py", line 81, in <module>
    from . import __check_build  # noqa: F401
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sklearn/__check_build/__init__.py", line 46, in <module>
    raise_build_error(e)
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sklearn/__check_build/__init__.py", line 41, in raise_build_error
    %s""" % (e, local_dir, ''.join(dir_content).strip(), msg))
ImportError: dlopen: cannot load any more object with static TLS
___________________________________________________________________________
Contents of /root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sklearn/__check_build:
setup.py                  _check_build.cpython-36m-x86_64-linux-gnu.so__init__.py
__pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
Segmentation fault
Exception ignored in: 'garbage collection'
SystemError: Objects/unicodeobject.c:2373: bad argument to internal function
Fatal Python error: unexpected exception during garbage collection

Thread 0x00007fd007623700 (most recent call first):
  File "/root/python36/lib/python3.6/threading.py", line 295 in wait
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sentry_sdk/_queue.py", line 180 in get
  File "/root/.virtualenvs/rasa_all/lib/python3.6/site-packages/sentry_sdk/worker.py", line 123 in _target
  File "/root/python36/lib/python3.6/threading.py", line 864 in run
  File "/root/python36/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/root/python36/lib/python3.6/threading.py", line 884 in _bootstrap

Current thread 0x00007fd018bbd700 (most recent call first):
Aborted

Command or request that led to error:
rasa init

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

Thanks for raising this issue, @erohmensing will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗


I would like to provide the zb-client-sharp my custom AccessTokenSupplier

Problem
Right now the zb-client-sharp AccessTokenSupplier is quite simple http client that fetches tokens and caches it to file. With high load and multithreaded usage its not performing well and is causing file locks and due to that errors in logs.
Solution
With zb-client-sharp there is possibility to provide custom token supplier in the client builder. The builder has to implement IAccessTokenSupplier interface which is included in the zb-client-sharp.
Idea is in the accelerator setup to check if there is a service implementing IAccessTokenSupplier registered in DI and if its there, it will be provided to the zb-client builder.
Possible fix is done in the PR: https://github.com/camunda-community-hub/zeebe-client-csharp-accelerator/pull/31
Describe alternatives you've considered
Alternate solution would be to update zb-client-sharp token supplier code - it would need more advanced token provider. But as there are already decent libraries that have those so no reason to build it in there. (ie Duende.AccessTokenManagement
Additional context
Explanation how to use custom provider is also under the zb-client-sharp discussions: https://github.com/camunda-community-hub/zeebe-client-csharp/discussions/666

@taneltinits:
Thanks again for your input. I just released version 2.1.8 including your suggested enhancement. 👍


NFC in-app Functionalities

Describe the enhancement you're suggesting.
When editing HEX dump in-app you cannot see the last bit (out of screen on the right corner).
Implement way to copy/paste whole block.
Suggest to implement "import dump from file" with following formats .mct/.json/.bin/.mdf/.dump/.eml .
Implement way to edit in-app (add or view) user keys (mf_classic_dict_user.nfc).
Anything else?
Trying to work on it.

In that case this issue belongs here.

@NikoCosmico01 please, provide phone model and also try reproduce bug again on newest app version

@NikoCosmico01 please, provide phone model and also try reproduce bug again on newest app version

Samsung Galaxy S23+. Bug is still present on latest version <IP_ADDRESS>1

Same here. Samsung Galaxy S21 Ultra, latest app version

.
Last bit not visible in NFC dump editor, but visible when opened through file explorer.


[Event Hubs] Fix sending Uint8Array

Packages impacted by this PR
@azure/event-hubs
Issues associated with this PR
Fixes https://github.com/Azure/azure-sdk-for-js/issues/21184
Describe the problem that is addressed by this PR
When sending a message with Uint8Array (which is not strictly a Buffer), the client will stringify the payload first, see the last branch in:
https://github.com/Azure/azure-sdk-for-js/blob/7926782dcb48b46cafe51cf1648d9c53b5320ec7/sdk/eventhub/event-hubs/src/dataTransformer.ts#L42-L67
This behavior forces the receiver on the other end to unnecessarily unstringify the payload first.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
The design proposed in this PR is to handle the Uint8Array case the same as Buffer but that is a breaking change.
This problem mainly affects sending avro-serialized payloads so alternatively, without introducing breaking changes, the message adapter can convert Uint8Array to a Buffer before handing it to the client for sending. This could work but will likely create confusion for customers who send Uint8Array payloads coming from both the serializer and other sources.
Are there test cases added in this PR? (If not, why?)
Will be added after approval.
Provide a list of related PRs (if any)
N/A
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check for @azure/schema-registry-avro
API changes are not detected in this pull request for @azure/schema-registry-avro

API change check for @azure/event-hubs
API changes are not detected in this pull request for @azure/event-hubs


[KYUUBI #3070][DOC] Add a doc of the Hudi connector for the Flink SQL Engine

Why are the changes needed?
Add a doc of the Hudi connector for the Flink SQL Engine
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #3140 (cce1a0a) into master (976af3d) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3140   +/-   ##
=========================================
  Coverage     51.30%   51.31%
  Complexity        6        6
=========================================
  Files           458      458
  Lines         25388    25388
  Branches       3536     3535    -1
=========================================
+ Hits          13026    13027    +1
- Misses        11116    11118    +2
+ Partials       1246     1243    -3

Impacted Files
Coverage Δ

...apache/kyuubi/engine/JpsApplicationOperation.scala
79.41% <0.00%> (-2.95%)
:arrow_down:

...ache/kyuubi/engine/spark/SparkProcessBuilder.scala
87.34% <0.00%> (ø)

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
83.75% <0.00%> (+0.62%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
82.19% <0.00%> (+1.36%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.

any updates @deadwind4

Thanks, merging to master


Sync with upstream

Needed a deploy as web-publisher looks at this branch (not googles) to support using the IDs before google merges them.


Siddhi App 56d572bd-caaa-41c5-928a-26813ae8bcd2 not stabilized for snapshot/restore, Active thread count is 1

Description:
not stabilized for snapshot/restore, Active thread count is 1
Affected Siddhi Version:
siddhi-core:5.1.7
OS, DB, other environment details and versions:
I use the jar package after the integration of Flink and siddhi (flink-siddhi.jar) to run in Hadoop.
https://github.com/haoch/flink-siddhi
Steps to reproduce:
exception information:
io.siddhi.core.exception.SiddhiAppRuntimeException: Siddhi App 47b2c172-51e7-45ff-b471-1ac16de23e5f not stabilized for snapshot/restore, Active thread count is 1
at io.siddhi.core.util.snapshot.SnapshotService.waitForSystemStabilization(SnapshotService.java:768)
at io.siddhi.core.util.snapshot.SnapshotService.fullSnapshot(SnapshotService.java:100)
at io.siddhi.core.SiddhiAppRuntimeImpl.snapshot(SiddhiAppRuntimeImpl.java:674)
at org.apache.flink.streaming.siddhi.operator.AbstractSiddhiOperator.checkpointSiddhiRuntimeState(AbstractSiddhiOperator.java:377)
at org.apache.flink.streaming.siddhi.operator.AbstractSiddhiOperator.processElement(AbstractSiddhiOperator.java:220)
at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:202)
at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:105)
at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:300)
at org.apache.flink.runtime.taskmanager.Task.run(Task.java:711)
at java.lang.Thread.run(Thread.java:745)
Related Issues:
What causes this problem and how to solve it? Thank you

This exception is thrown during Siddhi snapshot/restore process.
As per the exception context, it seems one thread from Siddhi thread pool, is in RUNNING state without going to BLOCKED state after completing its task.
I suspect It might be caught in a loop or somewhere interrupt mechanism is not correctly implemented within a custom extension.
Are you using any Siddhi custom extensions ?

Yes, I used string extension and regular extension, but I found that if I used the window.time()and window.timeBatch(), I would report an exception. If I didn't use the window.time()and window.timeBatch(), there would be no exception
siddhi-execution-string:5.0.7
siddhi-execution-regex:5.0.5

Are you using any Siddhi custom extensions ?
No, I used string extension and regular extension, but I found that if I used the window.time()and window.timeBatch(), I would report an exception. If I didn't use the window.time()and window.timeBatch(), there would be no exception

siddhi-execution-string:5.0.7
siddhi-execution-regex:5.0.5

Can you please provide few thread dumps at regular intervals(eg: 10s intervals) when this scenario is experienced

OK, I'll try. Thanks

Are you using any Siddhi custom extensions ?

No, I used string extension and regex extension, but I found that if I used the window.time()and window.timeBatch(), I would report an exception. If I didn't use the window.time()and window.timeBatch(), there would be no exception
siddhi-execution-string:5.0.7
siddhi-execution-regex:5.0.5

Furthermore,  siddhi-execution-string and siddhi-execution-regex are stateless processes. Hence, the Siddhi snapshot/restore tasks will not be triggered with the said extensions. Whereas, window operations are stateful processes which triggers Siddhi snapshot/restore tasks.

Can you please verify whether you tried with Siddhi v5.1.7 or v5.1.2?
Within https://github.com/haoch/flink-siddhi the Siddhi version used is v5.1.2

Can you please verify whether you tried with Siddhi v5.1.7 or v5.1.2?
Within https://github.com/haoch/flink-siddhi the Siddhi version used is v5.1.2

Flink-siddhi.jar requires user to load the siddhi.jar package. My version is 5.1.7

@guanyufen123 Were you able to capture the thread dumps as I requested?

ok,thanks


Add ability to add comments to a poem

Link comments to a poem by its id

I'm seeing some weirdness in the app. When adding a poem, id is a number; however, when reordering the poem list, poems.json has id as a string. At the moment, I'm not sure why this is. After re-ordering the poems, I'm seeing some warnings in the browser about failed prop types.

This looks good, except for the couple of small things I pointed out. But I want to wait until the poem POST bugs are resolved in #7 before merging.

#7 is merged, so as soon as comments (ha-ha) are addressed, and this branch is rebased on master, we should be good to merge.

Pushed a commit to address your comments, @michelmansour.

Pushed changes to encode poemId in the url prop for CommentBox.


Version change from 6.1.4 to 7.0.0

Changes

[x] Changed package version to 7.0.0.
[x] Minor cleanup - removed pp() duplicates in codebase.

Pending release references

#70

Regards.

Codecov Report

Merging #73 (5ca6ccc) into master (06306f0) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
+ Coverage   92.20%   92.24%   +0.04%
==========================================
  Files         244      244
  Lines        4988     4988
  Branches      795      794       -1
==========================================
+ Hits         4599     4601       +2
+ Misses        247      245       -2
  Partials      142      142

Impacted Files
Coverage Δ

src/bin/compile.ts
91.42% <ø> (-0.07%)
:arrow_down:

src/ast/definitions.ts
83.82% <100.00%> (+0.61%)
:arrow_up:

src/ast/sanity.ts
73.38% <100.00%> (+0.38%)
:arrow_up:

src/misc/pretty_printing.ts
92.85% <100.00%> (+0.35%)
:arrow_up:

Continue to review full report at Codecov.

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


Support scala3

@toString
@log
@builder
@json

These annotations may not need to be implemented.

@apply
@constructor

@feloxx

dotty not support annotation macro.
only method macro,  Close first.
https://contributors.scala-lang.org/t/sponsoring-work-on-scala-3-macro-annotations/5658/9


Update Doom 3 port to a new version based on dhewm3

Updated Port for Doom 3 - based on dhewm3 rather than d3wasm
URL: dhewm3 github
Doom 3
Instructions:
Place your pk4 files in doom3/base/
They should read as follows:
doom3/base/
- pak000.pk4
- pak001.pk4
- pak002.pk4
- pak003.pk4
- pak004.pk4
- pak005.pk4
- pak006.pk4
- pak007.pk4
- pak008.pk4

Notes: This update was provided by @brooksytech on discord
Tested on JELOS - Odroid Go Ultra - Panfrost build

First Port submission PR, so please be picky in your review.

PS I gave my blessing to post this. I was able compile this build to work with native gles and never got around to updating the port. I gave porsch the bin and said feel free to update portmaster with it.
Based on this form:
https://github.com/emileb/d3es-multithread
Might be worth building off a more recent commit but seems to work well overall. Much more playable then before on higher end devices.

@brooksytech I will attempt to get an Ubuntu docker container going and re-build at the latest commit. Any info you care to provide about your original build env / CMake options etc would be very helpful :-)


Add reset_state() and replace_coefficients() methods to the Biquad trait

Thanks for making this crate!
I added two simple nice-to-have features:

Resetting the state variables of a filter to 0.0 (without creating a whole new filter), can be useful for retriggering synths reliably etc.
Replacing the old coefficients and returning them instead of dropping them. This is useful if you're (like me) updating the coefficients in a real-time context and don't want to risk any deallocation on the audio thread.

Thanks for the PR, it looks good!
Could you add a line in the CHANGELOG with this update?
I'll release 0.4.1 once we have it all merged.

Done. That's great, thanks!


Return/Display Actual Reason Code messages? Customer gets no insight to reason for decline.

Is there a way (within Omnipay directives) to have Message\AIMResponse give meaningful error messages based on the return codes?
The reason this is coming us is that for some reason all of their error messages (errorText) just says The transaction has been declined but there's an additional errorCode that gives a clue as to why. The challenge is that all the customer sees when code uses $response->getMessage() is the decline, not the why. For example, here is their list of most common codes and what it means
https://support.authorize.net/authkb/index?page=content&id=A50

2	General decline by card issuing bank or by Merchant Service Provider
3	Referral to card issuing bank for verbal approval
4	Card reported lost or stolen; pick up card if physically available
27	Address Verification Service (AVS) mismatch; declined by account settings
44	Card Code decline by payment processor
45	AVS and Card Code mismatch; declined by account settings
65	Card Code mismatch; declined by account settings
250	Fraud Detection Suite (FDS) blocked IP address
251	FDS filter triggered--filter set to decline
254	FDS held for review; transaction declined after manual review

My thought would be to modify and replace/extend the getMessage function such that if a known error code is returned, display a readable message, otherwise, just show the errorText (and possibly the errorCode.
Or does this just have to be custom-coded to get the reasonCode and map it locally outside of Omnipay? (which would mean we'd have to add an additional response translation layer between all omnipay gateways and our code, instead of being able to hot swap em).
Not sure what the design directives would state here.

The getMessage() method should return the message supplied by the gateway. However, those messages are for logging and are generally not suitable for putting in front of a user. This is partly because some messages can be technical and confusing, and partly for security because you don't want to give away too many details of issues happening in the back end.
There is scope, I believe, in being able to map the internal error codes to more useful user-oriented error messages though. Maybe this can start off as a separate project to see how it can work, then evaluate how it could work in a generic way from there. For example, we may identify a dozen common messages that apply to all gateways, and could map them to "standard" core Omnipay result codes. Gateway drivers could supply mapping data as metadata. All of this would ideally be translatable too (remembering that some gateways will deliver all their messages in different languages anyway, depending on what language has been set in the API request).
So experiment and see what you come up with :-)

I think there was a discussion elsewhere (although I can't find it now) about offering an additional method getUserMessage which would return user-appropriate messages (where one was derivable).


SA1516: ElementsMustBeSeparatedByBlankLine

http://www.stylecop.com/docs/SA1516.html

grabbed

I implemented the diagnostic + code fix + tests, but Im waiting for #518. I used the mechanic to build the expected diagnostic result array I implemented in there. The more I use it the more I like it ;) It reduces the code to create the expected diagnostic array by about 90%


Pluggin use deprecated version of Android embedding

Kindly assist update this plugging to the current Android V2 embedding. I am enjoying your plugging it'll hurt me if Flutter removes it

I get the same error in "flutter 2.2.3" and "flutter 2.5" ...Is there anyone who can help us?

I'm facing same warning !

Could you create PR with the fix?

Could you create PR with  the package developer should update something to the V2 Android embedding.

I'm facing same warning !

Only the package developer can update it to the V2 Android embedding.