config: use cwd as project_dir

Closes https://github.com/inveniosoftware/invenio-cli/issues/121
Changes:

project_dir is calculated based on where the cli is called from. This would have implications on how the logs file is set. It is now a relative path and should be added the project_dir as base. However, as far as I can see the logging config is not being created.
Relaxes the dependency on click version. Invenio does not have it pin and it gave a pipenv collision with the new 7.1.1 released.

Tested:

local: Ok
containers: Ok

Question: Shall we follow the same approach with instance_path since it is caluclated for each case, is it worth having it written? I think we can just assume is the current env. Meaning, we keep calculating as till now, but we dont write it. It will be calculated on start up.

Coverage remained the same at 75.0% when pulling 5f54903c09c701e85f2953f4717bb84de6dba093 on ppanero:prorject_dir into 217a2cf6153b2aef5dd89a043e0225c6427bf122 on inveniosoftware:master.

I've made another commit fixing this blindspot. This problem was also going to affect the services' initial setup cache. I decided to have another file .invenio.private created that is not version controlled. This way we keep advantage of caching for some values. Goes with the added .gitignore PR https://github.com/inveniosoftware/cookiecutter-invenio-rdm/pull/65


Add documentation for the Drift DevTools Extension

I was looking through https://drift.simonbinder.eu/docs/ for documentation on the Drift DevTools Extension, but I did not find any. Including some guidance for how to use and access this tool would be great.

Good call, thanks for the suggestion! I've added a page in f21d20e699833609ab4f1937c92f8ef1f918cb9f. This will get published with the next drift release, a  preview is at https://66d8c8ad176d6949e24112e8--moor.netlify.app/docs/tools/devtools/


fix(connlib): remove outdated assertion due to possibility of network changes and drain events after refreshing allocations on reconnect

found while working on #4163

@conectado That seems to break the snownet tests as those are very strict on what gets emitted when. I reckon just remove it for now. We might remove those tests soon and I don't want to block this on it.
Also, your PR title needs to be updated to match the implementation of the PR.


Cache results in example_nav2

There is a common use case for tabs to hold their state when switching among them. In the example_nav2, when selecting a product, it redirects to the product details, but then when visiting another tab and returning to the products tab, the product details are not longer visible.
https://user-images.githubusercontent.com/77690617/128570427-3d917996-38fb-43ed-b938-263b47dbfecf.mov
Is there a simple solution to this?
I'm considering specifying different GetDelegates for each tab and using Offstage widgets to hide inactive tabs, but I imagine there is an easier way. And if the plugin were to solve the problem, how would you go about doing it?

@ahmednfwela do you have any thoughts on how this can be accomplished?

I kind of got it working by doing this:
https://user-images.githubusercontent.com/77690617/128708558-e15d0c7e-e7e5-441d-8808-0d0e9171345f.mov
class HomeController extends GetxController {
  final RxInt tabIndex = 0.obs;
}

class HomeView extends GetView<HomeController> {
  @override
  Widget build(BuildContext context) {
    return GetRouterOutlet.builder(
      builder: (context, delegate, currentRoute) {
        return Obx(() {
          return Scaffold(
            body: Stack(
              children: [
                Offstage(
                  offstage: controller.tabIndex() != 0,
                  child: GetRouterOutlet(
                    initialRoute: Routes.DASHBOARD,
                    anchorRoute: Routes.DASHBOARD,
                    key: Get.nestedKey(Routes.HOME),
                  ),
                ),
                Offstage(
                  offstage: controller.tabIndex() != 1,
                  child: GetRouterOutlet(
                    initialRoute: Routes.PROFILE,
                    anchorRoute: Routes.PROFILE,
                    key: Get.nestedKey(Routes.PROFILE),
                  ),
                ),
                Offstage(
                  offstage: controller.tabIndex() != 2,
                  child: GetRouterOutlet(
                    initialRoute: Routes.PRODUCTS,
                    anchorRoute: Routes.PRODUCTS,
                    key: Get.nestedKey(Routes.PRODUCTS),
                  ),
                ),
              ],
            ),
            bottomNavigationBar: BottomNavigationBar(
              currentIndex: controller.tabIndex(),
              onTap: (value) {
                switch (value) {
                  case 0:
                    if (controller.tabIndex() == 0) {
                      delegate.backUntil(Routes.HOME);
                    } else {
                      controller.tabIndex.value = 0;
                    }
                    break;
                  case 1:
                    if (controller.tabIndex() == 1) {
                      delegate.backUntil(Routes.PROFILE);
                    } else {
                      controller.tabIndex.value = 1;
                    }
                    break;
                  case 2:
                    if (controller.tabIndex() == 2) {
                      delegate.backUntil(Routes.PRODUCTS);
                    } else {
                      controller.tabIndex.value = 2;
                    }
                    break;
                  default:
                }
              },
              items: [
                // _Paths.HOME + [Empty]
                BottomNavigationBarItem(
                  icon: Icon(Icons.home),
                  label: 'Home',
                ),
                // _Paths.HOME + Routes.PROFILE
                BottomNavigationBarItem(
                  icon: Icon(Icons.account_box_rounded),
                  label: 'Profile',
                ),
                // _Paths.HOME + _Paths.PRODUCTS
                BottomNavigationBarItem(
                  icon: Icon(Icons.account_box_rounded),
                  label: 'Products',
                ),
              ],
            ),
          );
        });
      },
    );
  }
}

The primary issue is that the nav stack doesn't get updated when switching tabs (I'm still not sure how to update the history without forcing a reload, though I bet there is a way)

Do you see any glaring issues with this approach? Is this something worth baking into a GetBottomTabView?

The other issue I'm observing is that navigating to a new route on one tab will reset all other tabs back to their anchorRoutes

Actually the solution is much simpler than this, change the onTap logic here https://github.com/jonataslaw/getx/blob/master/example_nav2/lib/app/modules/home/views/home_view.dart#L37
to this:
case 2:
  final nearestEntryIndex = delegate.history.lastIndexWhere(
    (entry) =>
        entry.location?.contains(Routes.PRODUCTS) == true,
  );
  final nearestEntry = nearestEntryIndex >= 0
      ? delegate.history[nearestEntryIndex].location!
      : Routes.PRODUCTS;
  delegate.toNamed(nearestEntry);
  break;

Hi,
Any news about keeping states for bottom nav bar pages?
Im also facing with same issue.
@ahmednfwela Is there any easy way?

Get.put(MyController(), permanent: true);
permanent=true solved my problem.

I'm also using version 4.6.5 and have the same problem. It seems that this problem has always existed and has not been solved yet


Topics with replicated subscription are not deleted in GC

There is a topic with a replicated subscription.
If I delete the replicated subscription and all clients disconnect, the topic has no subscriptions or clients, but GC doesn't delete the topic.
I have to delete the topic manually with pulsar-admin command tool.
This cause seems to be related to marker messages(snapshot request and response).
Replicators in each cluster continue to publish marker messages.

@hrsakai do you set-retention for the namespace from the topic?

@congbobo184 I don't set retention.

is your what brokerDeleteInactiveTopicsEnabled = true in broker.conf?

How did you delete the replicated subscription by admin api? you forcefully delete the topic manually? I look at the code if you delete the replicated subscription and another cluster will not delete the replicated subscription. so i think the problem is here.

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


pytorch'sinstance_segmentation

Hello, I have this problem when I use Ubuntu 18 for training，Other packages are installed as required：module 'torch' has no attribute 'bool'，What's the reason？

Hi @dbAIStudio
Please provide log of error message, command that you run and output of pip3 show torch.

Yes,it was because torch 0.4.1 has no bool type.
You can replace 'torch.bool to torch.uint8' or try to use newer version.
Fix for this will be added soon.


BUG-The requirements.txt file of the Python project is not recognized

osv-scanner version: 1.1.0
commit: a6c6cd756e0cf4fd858398976208145cb23e707b
built at: 2023-01-12T03:38:42Z
when i run like this:
osv-scanner --lockfile 'requirements.txt:/Users/XXX/Desktop/requeriments.txt'
the error like:
could not determine parser for /Users/XXX/Desktop/requirements.txt:/Users/XXX/Desktop/requeriments.txt

This is because this feature was recently landed, and not yet released - I've opened #194 adding a note to the readme about this.


Gateway Routs URI without http:// prefic return code 200 with empty body

Hi
Our Cloud Gateway not correctly proxying requests.
On any request matching to the specific rout predicate, it was returning code 200 and no response body, even for invalid or non-existing endpoints
Config example:
gateway:
      routes:
        - id: notification
          uri: some-our-notification-service.com
          predicates:
            - Path=/notification/**
          filters:
            - RewritePath=/notification(?<path>.*), /$\{path}

so any request to:
https://our-api-gateway.com/notification/any-valid-or-no-existing-endpoint
return code was 200 and the response body was blank.
After we added http:// prefix to route URI:
gateway:
      routes:
        - id: notification
          uri: http://some-our-notification-service.com
          predicates:
            - Path=/notification/**
          filters:
            - RewritePath=/notification(?<path>.*), /$\{path}

it fixed the issue.
Even though URI requires schema definition and it was our fault to skip it, I would imagine it should throw an exception stating that configured URI is wrong, or even better resolve missing http:// prefix automatically.
But not returning a valid response with code 200 and empty body, as such response very much misleading and confusing, especially other services which using Gateway and thinks that request was successful because of response code.

What version are you using? With Hoxton.SR5 I get the following error:
2020-06-08 14:01:20.018 ERROR 377184 --- [           main] o.s.c.gateway.route.CachingRouteLocator  : Refresh routes error !!!

reactor.core.Exceptions$ErrorCallbackNotImplemented: java.lang.IllegalArgumentException: The parameter [httpbin.org] format is incorrect, scheme can not be empty
Caused by: java.lang.IllegalArgumentException: The parameter [httpbin.org] format is incorrect, scheme can not be empty
	at org.springframework.util.Assert.hasText(Assert.java:284) ~[spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:

id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
set('springCloudVersion', "Hoxton.SR3")

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Just ran into this.  Running 3.0.1.
Not sure, but assuming the original submitter had the same issue: user error due to including a URI with no "http" scheme but  an explicit port:
i.e.
"localhost:8080/foo/bar".
In this instance, the scheme is actually "localhost" and the source is identified as being located at host "8080".
The assert won't throw because there IS in fact a scheme for the Uri object: "localhost".  For example,
`import java.net.URI;
public class Test {
static public void main(String args[]) {
	URI uri = URI.create("localhost:8081/my/url");
	System.out.println("Uri scheme is: "+uri.getScheme());
}

}
`
will output "Uri scheme is: localhost".

@spencergibb , still facing this issue on    Hoxton.SR8

org.springframework.cloud
spring-cloud-dependencies
Hoxton.SR8
pom
import

I am facing this issue too.


Bindings for Video Player

I want to add a Volume Slider into my World's Settings Menu so users don't have to be running onto the stage to do some basic Video Player Functions, I'd like to request that Bindings for the Video Player be made available.

Implemented in 8cbfaad64c094b7e0927fe8488397bbabebd8c9b


#include  is not available

Describe the bug
I'm trying to add blinky example using ETL library link and facing issue that ETL list.h include #include <new> and when building using official docker get this:
AILED: CMakeFiles/app.dir/src/main.cpp.obj
ccache /opt/toolchains/zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-g++  -DBUILD_VERSION=zephyr-v2.2.0-1533-g97a5ec0d4f3a -DHSE_VALUE=8000000 -DKERNEL -DSTM32F091xC -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/samples/etl/src/etl/include/etl -I/workdir/include -Izephyr/include/generated -I/workdir/soc/arm/st_stm32/stm32f0 -I/workdir/drivers -I/workdir/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/stm32/stm32cube/stm32f0xx/soc -I/workdir/modules/hal/stm32/stm32cube/stm32f0xx/drivers/include -I/workdir/modules/hal/stm32/stm32cube/stm32f0xx/drivers/include/Legacy -isystem /workdir/lib/libc/minimal/include -isystem /opt/toolchains/zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include -isystem /opt/toolchains/zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed -Os -fcheck-new -std=c++11 -Wno-register -fno-exceptions -fno-rtti -imacros/workdir/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m0 -mthumb -mabi=aapcs -march=armv6s-m -imacros/workdir/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-address-of-packed-member -Wpointer-arith -Wno-unused-but-set-variable -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/samples/etl=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -nostdinc -MD -MT CMakeFiles/app.dir/src/main.cpp.obj -MF CMakeFiles/app.dir/src/main.cpp.obj.d -o CMakeFiles/app.dir/src/main.cpp.obj -c /workdir/samples/etl/src/main.cpp
In file included from /workdir/samples/etl/src/main.cpp:8:
/workdir/samples/etl/src/etl/include/etl/list.h:36:10: fatal error: new: No such file or directory
   36 | #include <new>
      |          ^~~~~
compilation terminated.
[18/120] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/st_stm32/stm32f0/soc.c.obj

Tried to change to gcc toolchain by exporting variables but issue is the same. Tried also add path directly to include:
-I /opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1
but then it fails with other error:
FAILED: CMakeFiles/app.dir/src/main.cpp.obj
ccache /opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-g++  -DBUILD_VERSION=zephyr-v2.2.0-1533-g97a5ec0d4f3a -DHSE_VALUE=8000000 -DKERNEL -DSTM32F091xC -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/workdir/samples/etl/src/etl/include/etl -I/opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1 -I/workdir/include -Izephyr/include/generated -I/workdir/soc/arm/st_stm32/stm32f0 -I/workdir/drivers -I/workdir/modules/hal/cmsis/CMSIS/Core/Include -I/workdir/modules/hal/stm32/stm32cube/stm32f0xx/soc -I/workdir/modules/hal/stm32/stm32cube/stm32f0xx/drivers/include -I/workdir/modules/hal/stm32/stm32cube/stm32f0xx/drivers/include/Legacy -isystem /workdir/lib/libc/minimal/include -isystem /opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/include -isystem /opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed -Os -fcheck-new -std=c++11 -Wno-register -fno-exceptions -fno-rtti -imacros/workdir/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m0 -mthumb -mabi=aapcs -march=armv6s-m -imacros/workdir/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-address-of-packed-member -Wpointer-arith -Wno-unused-but-set-variable -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/samples/etl=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -nostdinc -MD -MT CMakeFiles/app.dir/src/main.cpp.obj -MF CMakeFiles/app.dir/src/main.cpp.obj.d -o CMakeFiles/app.dir/src/main.cpp.obj -c /workdir/samples/etl/src/main.cpp
In file included from /workdir/samples/etl/src/etl/include/etl/list.h:36,
                 from /workdir/samples/etl/src/main.cpp:8:
/opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/new:39:10: fatal error: bits/c++config.h: No such file or directory
   39 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=nucleo_f091rc
make
See error

Expected behavior
Application to be compiled
Impact
None
Screenshots or console output
Environment (please complete the following information):

OS: Linux (docker)
Toolchain: Zephyr + GCC
Commit:

Additional context
Add any other context about the problem here.

I use extensively ETL in my project and no problems so far.
I use Zephyr SDK 0.11.2 on Linux distro (no docker) and more or less present version of Zephyr and STM32WB55 target.
To be able to use ETL I added custom etl_profile.h file and entry in CMakeLists.txt in target_include_directories (path to ETL include directory).
The difference I see in gcc options is in "-I/workdir/samples/etl/src/etl/include/etl" - in my case include path to ETL is without trailing etl.

@r2r0 I have basically same
CMakeLists.txt:
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
project(cpp_synchronization)

target_include_directories(app PUBLIC ${CMAKE_SOURCE_DIR}/src/etl/include/etl)

target_sources(app PRIVATE src/main.cpp)

and main.cpp:
//***********************************************************************************
// A version of the Blink demo, but with delays stored in two instances of etl::list
//***********************************************************************************

#undef min
#undef max

#include <list.h>
#include <container.h>

/* The devicetree node identifier for the "led0" alias. */
#define LED0_NODE DT_ALIAS(led0)

#if DT_HAS_NODE(LED0_NODE)
#define LED0    DT_GPIO_LABEL(LED0_NODE, gpios)
#define PIN     DT_GPIO_PIN(LED0_NODE, gpios)
#if DT_PHA_HAS_CELL(LED0_NODE, gpios, flags)
#define FLAGS   DT_GPIO_FLAGS(LED0_NODE, gpios)
#endif
#else
/* A build error here means your board isn't set up to blink an LED. */
#error "Unsupported board: led0 devicetree alias is not defined"
#define LED0    ""
#define PIN     0
#endif

struct device* led_pin_setup()
{
	struct device *dev;
        bool led_is_on = true;
	int ret;

	dev = device_get_binding(LED0);
	if (dev == NULL) {
	     return NULL;
	}

	ret = gpio_pin_configure(dev, PIN, GPIO_OUTPUT_ACTIVE | FLAGS);
	if (ret < 0) {
		return NULL;
	}
}

void iterate(const etl::ilist<int>& delays, struct device *dev)
{
    struct device *dev = led_pin_setup()
    etl::ilist<int>::const_iterator itr;

    // Iterate through the list.
    itr = delays.begin();

    while (itr != delays.end())
    {
	    gpio_pin_set(dev, PIN, 1);
	    k_msleep(100);
	    gpio_pin_set(dev, PIN, 0);
	    k_msleep(*itr++);
    }
}

void main()
{
  int delay_times1[] = { 900, 800, 700, 600, 500, 400, 300, 200, 100 };
  int delay_times2[] = { 400, 300, 200, 100 };

  // Fill the first delay list, then reverse it.
  // Notice how we don't have to know the size of the array!
  const size_t size1 = sizeof(etl::array_size(delay_times1));
  etl::list<int, size1> delays1(etl::begin(delay_times1), etl::end(delay_times1));
  delays1.reverse();

  // Fill the second delay list,
  const size_t size2 = sizeof(etl::array_size(delay_times2));
  etl::list<int, size2> delays2(etl::begin(delay_times2), etl::end(delay_times2));

  while (true)
  {
    iterate(delays1, dev);
    iterate(delays2, dev);
  }
}

and getting this issue.

There are a few (syntax and logical) errors in your code but they do not have nothing in common with ETL nor with Zephyr.
After small changes this code compiles without problems.
BTW> I strongly suggest to not use full path for ETL headers and use <etl/something.h> in your code.
Otherwise you wil get (sooner or later) header names conflicts.

Yes there could be error as I didn't compile it yet. Basically it's copy'n'paste of this: https://github.com/ETLCPP/etl/blob/master/examples/BlinkList/BlinkList.ino
I'll use etl prefix for etl headers, thanks for suggestions.

@pabigot could you comment on this one?

While Zephyr's self-contained minimal libc has some C++ support, <new> is part of libcxx so you need to be using newlib.  Including that file works for me with tests/application_development/libcxx which enables these options:
CONFIG_NEWLIB_LIBC=y
CONFIG_LIB_CPLUSPLUS=y

It produces the error you show when the include directive is added to tests/application_development/cpp which lacks those options.

@pabigot thanks this did the trick. :+1:


ASIM Generic CEF parser

Required items, please complete
Change(s):

Added Asim Nw Generic CEF
Let's discuss

@YaronFruchtmann  Please resolve conflicts and update the requested changes. thanks!!!

@YaronFruchtmann Please resolve conflicts and update the requested changes. thanks!!!

Hi @oshezaf
Can we close this and reopen whenever required as you have labelled it as differed.
Thanks

Hi @oshezaf
Could you please provide update on this PR.
Thanks

I plan to revisit this project in the near future, so keeping this open.

This PR is in draft since quite a long. Please let us know if you need any help on this. Thanks!

We wanted to check on the status of PR https://github.com/Azure/Azure-Sentinel/pull/4157 . PR is pending for more than expected days. Please let us know if you need any assistance to review this PR. Per our standard operating procedures if no response is received in the next 7 business days, we will close this PR. Thank you for your cooperation

Since we have not received a response in the last 7 days, we are closing your PR #4157 per our standard operating procedures. If you still need support for this issue, you can re-open the PR at any time.
If you do re-open, we simply request that you ensure the PR has response to the last request. Thank you for your cooperation


ios 14 error

Library used for @macfja/svelte-persistent-store as a dependency.
If we launch it at safari on ios 14 got error like that.

Because BigInt64Array is not present in such an old Safari. Probably we should check BigInt64Array existence, before trying to get access to it.

I just push the version 1.1.3 that should fix the issue.
Sorry for the very long delay on this

great, will update and test. Actually we were living with some polifills because of that :)


Failed to update VSCode insider correctly

VSCode Version: Insider
OS Version: Win 10

Steps to Reproduce:

check for updates (and totally forget you did it ...)
put the computer to sleep several times with VSCode still running (maybe not related)
close VSCode
restart the computer

After the restart, I had no VSCode installed. I had to reinstall it completely.

@pellea Was the C:\Program Files\Microsoft VS Code Insiders folder completely gone?

I don't know. I pinned VSCode to the taskbar and when I clicked on the shortcut; it was invalid.

OK. If it happens again, let me know.

It happened again (though I forced it a little bit).
Here are the only remaining files in the VSCode folder:
resources
tools
_
snapshot_blob.bin
ucrtbase.dll
ui_resources_200_percent.pak
unins000.dat
unins000.exe
vcruntime140.dll
views_resources_200_percent.pak

How did you force it a little bit?

I restarted my computer quickly after having closed vscode.
There is the screen where Windows tells us a process  is blocking the restart but it has still restarted without delay and without giving me the possibility to cancel the restart.

@pellea Awesome that you test this so nicely! I've pushed some changes which should prevent Windows from forcefully shutting down our updater tool:
https://github.com/Microsoft/inno-updater/compare/143ec7d1047fecc9c723995efbf7b2902be9450a...bfbe0447bc937a2a44b1280d12dc572899b62823

Verified that windows now warns you if you try to shut down while the installer is running


Dependencies Update Workflow

Feature description
New workflow to automatically update the repository dependencies (requirements.txt).
Other details

Include in the workflow a Shell part based on this: From conda create requirements.txt for pip3.

First try the mentionned pull requests.

Dependabot has been implemented instead to manage directory dependencies.


Assigning to X after initializing as NoneType

Please describe your wishes and possible alternatives to achieve the desired result.
This issue is likely related to #464.
So the current functionality allows for a NoneType assignment to X on initialization, e.g.,
import anndata
adata = anndata.AnnData(X=None)

But it seems there's no ability to re-assign a matrix to X, or any multi-dimensional attribute like obsm, once the AnnData object is initialized.
adata.X = np.ones((3,1))

ValueError: Data matrix has wrong shape (3, 1), need to be (0, 0).

Is no reassignment to multi-dimensional parts of the AnnData object the expected functionality or am I missing a specific method to allow for assigning a new matrix to an AnnData object initialized with X = None? This would be useful for me because I am trying to store some multi-dimensional variables in AnnData.obsm prior to adding any matrix.

Thanks for the feature request!
Interesting proposal.
So, what's happening here is: We set the size of each dimension based on the first elements assigned there, and we always have an obs, var. If there's nothing else to guide the size of these dataframes, they have 0 rows.
But I think what you're asking for is basically to say that those dimensions are "uninitialized" instead of having length 0. So adding elements after initialization expands them. I think @LuckyMD suggested something similar once.
This may be a little complicated to do. But I do see how AnnData() is a bit of a useless object at the moment.
Could you tell us a bit more about why you want this? Why don't you have any values to assign when you're creating the object?

Could you tell us a bit more about why you want this?

So to keep it general, I am working on some tools that analyze some multi-dimensional data D. Basically,

The data D may or may not be associated with sequencing data --- which means a subset of users might not require the main data matrix X whereas others who have sequencing data will require the data matrix X.
Additionally, some users might be loading data that is upstream from the multi-dimensional data D type and would therefore want to initialize the AnnData object with a custom attribute before creating data D. In this case, no values are assigned to any of obsm, obs, var, varm, etc. except for uns.

Why don't you have any values to assign when you're creating the object?

Point 2 addresses this question. AnnData initialized with custom attributes plus important meta information stored in uns.
Current hack
Right now I can get around this issue by re-assigning all the existing attributes and keys in uns to a new AnnData object. This just seems kind of hacky though since one would expect that an AnnData object instantiated with X=None should have no shape yet. And since the shape attribute has no getter I can't really hack it.


Custom 'cancel' button calls Cancel(id) method, but upload process won't skip to next file

This is in reference to http://stackoverflow.com/questions/32913006/fine-uploader-when-cancelling-an-in-progress-file-any-other-queued-files-remai
I've changed our implementation from what was listed at SO, and we're now using qq.FineUploader with a template. However for various design reasons, we tried to implement our own Cancel button. We removed the template one, and instead, in a javascript click event, called
var id = $container.attr("qq-file-id");
uploader.cancel(id);

instead. This worked fine in terms of cancelling in-progress files, or files awaiting uploading. But if we cancelled an in-progress upload, any other files awaiting upload sit in the queue, but the queue won't be processed. In fact the only way to get awaiting files uploaded is to add a new file to the queue. That new file gets uploaded first, and then any awaiting files get uploaded until the queue is empty.
We were only testing locally, so I should point out that although we use chunking and multiple uploads, the cancelled in-progress file was a 150MB video to give us time to cancel. So all available chunks and calls are being made on behalf of the one cancelled file.

As in the SO question you referenced, I am unable to reproduce this issue. Were this a Fine Uploader issue, I would have expected other reports by now, as this is a fairly significant one. The code in your SO question was a bit hard to follow and overly complex, so I suggested you start over and gradually re-introduce that complexity (when necessary) until you are able to reproduce the issue. Once you are at that point and are able to provide a concise set of code and steps to reproduce, I'd be happy to re-open and look further.

Yeah, I said on SO and in the first comment above that we're not using the code you saw any more. I'm using the UI with templating. I can repeat it with pretty much vanilla code, adding in only my own click handler. I've left Fine Uploader's button in the following template, which works fine.  Fine Uploader DOM Element
====================================================================== -->

This is what I'm testing. If I have a large file as file id 0, and a second file queued up to go, and then cancel file 0 while it's in progress, file 1 never starts. If I drag a new image into the drag box, file 2 will upload, and when it's finished, file 1 will start uploading.

The problem is in your code. The cancel method, as the documentation states, requires an Number/Integer parameter to be passed in as the file ID. You are passing a string. You can have avoided this by making use of Fine Uploader's API to get the file ID, instead of sniffing DOM attributes.
For example, your click handler could be rewritten as:
$("body").on("click", ".customcancel", function () {
   var $li = $(this).closest("li"),
         id = manualUploader.getId($li[0]);
   manualUploader.cancel(id);
   $li.fadeOut();
});

OK, I can confirm this does fix it. The weird thing is, though, that it does actually cancel. It just doesn't carry on.

yes, this is not the first time someone has tried to pass a string as an ID and experienced strange results.


Assorted fixes

This PR includes:

Remove items from .gitattributes
Remove WHITEIP from ARM HWID list (it's Intel Apollo Lake)
Fix wrong URL in setup.py

:roll_eyes: Fixed.


Release: 2.13.1

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


[Snyk] Upgrade org.bouncycastle:bcprov-jdk15on from 1.69 to 1.70

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade org.bouncycastle:bcprov-jdk15on from 1.69 to 1.70.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 6 months ago, on 2021-12-01.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Resolved in commit 70168de532a0f16a049f79979607dff0d6ab0bce.


@Interleaved(lazy=false) should use Joins for Spanner

Spanner Template always retries an interleaved properties of an entity by an additional query per each row instead of using joins. It causes huge query performance degradation and makes "@Interleaved(lazy=false)" useless - it actually always "more or less lazy" now.

Indeed, this is a useful feature request for eagerly loaded relationships.
One way around it is to create a separate repository for the child entity and query them by parent ID.
Alternatively, this is a feature already supported in Hibernate. See: https://github.com/GoogleCloudPlatform/google-cloud-spanner-hibernate.

A separate child-repository did not help too much when we querying for a collection.
Well, the Spring Data for Spanner is basically enough. But this "permanent lazy loading" with the method "queryAndResolveChildren" dramatically affects find-methods of the SpannerRepository implementation together with custom @Queries. It forced us to use directly template#query(Function<Struct, A>, Statement, options) instead and to write dozens of weird lines of code.

It can be implemented to execute queries like this in case when lazy=false
SELECT Singerid, Name, ARRAY(SELECT AS STRUCT * FROM ALBUMS WHERE Singerid = Singerid) FROM Singers

That is how we are doing now. But I'm not sure about the performance of it compare to JOIN. Which way is preferable?

That's something we would have to test. From the implementation viewpoint it is much better to use this query then JOIN, but only makes sense if the performance is about the same. I will post results when I have them.


The Meltdown: Migrating to PureScript 0.7

I wanted to try using virtual-dom from PureScript and I found that this library hasn't been updated for PureScript 0.7, so here is my attempt at doing that.
Since this library does not seem to be used any more, would you know what is currently the preferred way to traverse and manipulate the DOM as an immutable data structure from PureScript?

I haven't given up on this library, just not had time to look at it of late as I've been concentrating on Halogen, which has its own implementation of the virtual-dom functions. I'd like to unify the two at some point, having this as a super simple wrapper around the FFI types.
I'll try and make some time to review this tomorrow.

Since I made the mkEff commit before reading the FFI documentation on the PureScript website and in the book, I tested it to make sure I understood the correspondence between PureScript types and the JavaScript values. patch was the only function affected and it seems to work.
https://gist.github.com/jirkamarsik/64a64b47ca2d3d4f4ebe

Thanks, sorry I've not been back to this yet. At a glance I think some of the other functions may need updating for the latest virtual-dom: I think thunk, hook and widget may need to be constructed slightly differently now.

Hello! What's the fate of this PR? Is it on stall now due to the need of updating of thunk, hook and widget?


Cassandra Triggers - Transaction Events

Codecov Report

Merging #487 into release-2.2.0 will decrease coverage by 0.01%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             release-2.2.0     #487      +/-   ##
===================================================
- Coverage            31.99%   31.97%   -0.02%
  Complexity            1210     1210
===================================================
  Files                  172      172
  Lines                15116    15116
  Branches              2396     2396
===================================================
- Hits                  4836     4834       -2
- Misses                9557     9559       +2
  Partials               723      723

Impacted Files
Coverage Δ
Complexity Δ

...org/ekstep/graph/engine/router/ActorBootstrap.java
56.29% <0%> (-1.33%)
16% <0%> (ø)

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 222c653...dfd2d75. Read the comment docs.


[Weapons] C4 page reads numeric values from claymore page

Good catch; I've identified the issue and will be deploying a fix today. Thanks!

Thanks, looking forward to the next release.


Facebook Plugin Does Not Retain Session on App Reopen

I have verified this on the latest scanner using the addons-kitcken-sink (https://github.com/AppGyver/addons-kitchensink).
Here is the repro steps:
1.) Open app and navigate to Facebook App page
2.) Login with Facebook, verify login status is true
3.) Close app and reopen
4.) Navigate to Facebook App page, verify login status is true
5.) Close app and reopen
6.) Navigate to Facebook App page, verify login status is false.
I've also noticed that dismissing a view after successfully logging a user in with Facebook also invalidates the session on app close/reopen.
Is anybody experiencing the same issues?

Discussion in the official FB plugn issue tracker: https://github.com/Wizcorp/phonegap-facebook-plugin/issues/977

This should be fixed after https://github.com/AppGyver/phonegap-facebook-plugin/pull/2 was merged. Please comment if issue is still there!


⚠ SceneTime has degraded performance

In 6ec490c, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3304 ms

Resolved: SceneTime performance has improved in 2c0f55c after 6 minutes.


fix genesis allocation UTXO lookup logic during block parsing

This PR fixes a regression introduced during recent refactors to P-chain logic related to dependency transaction lookup on block parsing where the genesis allocation utxos were indexed using an incorrect transaction id.
Testing

Ran Fuji data validation
Queried /block endpoint with height 4771889 which consumes UTXOs from genesis allocation

{
    "block": {
        "block_identifier": {
            "index": 4771889,
            "hash": "2oD1vjLUuH1TMi8MgAe9PmFE8bbybh6YthDjKKkbTSnyLsnzZV"
        },
        "parent_block_identifier": {
            "index": 4771888,
            "hash": "M8y1ZFeVXeLc9DkpyxF8m3E3KLdsW9qc5RHQeELgAWaSco11b"
        },
        "timestamp":<PHONE_NUMBER>000,
        "transactions": [
            {
                "transaction_identifier": {
                    "hash": "24w1sg4fjTv1sDhjf1rDUQG7HcpFKEPyKhawJRDhzYraQFhpoP"
                },
                "operations": [
                    {
                        "operation_identifier": {
                            "index": 0
                        },
                        "type": "EXPORT_AVAX",
                        "status": "SUCCESS",
                        "account": {
                            "address": "P-avax162w98xqkcwnhtz3la2f9l3nn5rcu99q4pcee5q"
                        },
                        "amount": {
                            "value": "-11250000000",
                            "currency": {
                                "symbol": "AVAX",
                                "decimals": 9
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "11111111111111111111111111111111LpoYY:10536"
                            },
                            "coin_action": "coin_spent"
                        },
                        "metadata": {
                            "locktime": 0,
                            "sig_indices": [
                                0
                            ],
                            "type": "INPUT"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 1
                        },
                        "type": "EXPORT_AVAX",
                        "status": "SUCCESS",
                        "account": {
                            "address": "P-avax162w98xqkcwnhtz3la2f9l3nn5rcu99q4pcee5q"
                        },
                        "amount": {
                            "value": "-11250000000",
                            "currency": {
                                "symbol": "AVAX",
                                "decimals": 9
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "11111111111111111111111111111111LpoYY:10537"
                            },
                            "coin_action": "coin_spent"
                        },
                        "metadata": {
                            "locktime": 0,
                            "sig_indices": [
                                0
                            ],
                            "type": "INPUT"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 2
                        },
                        "type": "EXPORT_AVAX",
                        "status": "SUCCESS",
                        "account": {
                            "address": "P-avax162w98xqkcwnhtz3la2f9l3nn5rcu99q4pcee5q"
                        },
                        "amount": {
                            "value": "-11250000000",
                            "currency": {
                                "symbol": "AVAX",
                                "decimals": 9
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "11111111111111111111111111111111LpoYY:10538"
                            },
                            "coin_action": "coin_spent"
                        },
                        "metadata": {
                            "locktime": 0,
                            "sig_indices": [
                                0
                            ],
                            "type": "INPUT"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 3
                        },
                        "type": "EXPORT_AVAX",
                        "status": "SUCCESS",
                        "account": {
                            "address": "P-avax162w98xqkcwnhtz3la2f9l3nn5rcu99q4pcee5q"
                        },
                        "amount": {
                            "value": "-11250000000",
                            "currency": {
                                "symbol": "AVAX",
                                "decimals": 9
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "11111111111111111111111111111111LpoYY:10539"
                            },
                            "coin_action": "coin_spent"
                        },
                        "metadata": {
                            "locktime": 0,
                            "sig_indices": [
                                0
                            ],
                            "type": "INPUT"
                        }
                    }
                ],
                "metadata": {
                    "exported_outputs": [
                        {
                            "operation_identifier": {
                                "index": 4
                            },
                            "type": "EXPORT_AVAX",
                            "status": "SUCCESS",
                            "account": {
                                "address": "X-avax1rnxsthfzyu2v8smzrtdrg8xwkshk6m3ckrf3ke"
                            },
                            "amount": {
                                "value": "44999000000",
                                "currency": {
                                    "symbol": "AVAX",
                                    "decimals": 9
                                }
                            },
                            "coin_change": {
                                "coin_identifier": {
                                    "identifier": "24w1sg4fjTv1sDhjf1rDUQG7HcpFKEPyKhawJRDhzYraQFhpoP:0"
                                },
                                "coin_action": "coin_created"
                            },
                            "metadata": {
                                "locktime": 0,
                                "threshold": 1,
                                "type": "EXPORT"
                            }
                        }
                    ],
                    "tx_type": "EXPORT_AVAX"
                }
            }
        ]
    }
}

This PR tries to fix a regression introduced with my refactoring for P-chain support.
The bug is in buildGenesisAllocationTx.
4408808 is the latest commit before I started to look at P-chain support.
At such commit, buildGenesisAllocationTx did not initialize the importxTx we use to represent genesis UTXOs.
This choice allows importTx.ID() == ids.EmptyID, which in Rosetta represent a genesis UTXO.
I introduced signing of the importTx as a way to "properly initialized" the transaction, which changed the ID and introduced the bug.
I don't think that introducing the SingleTxDependency.IsGenesisAllocationTx boolean is a proper way to solve the regression.
The reason is that the txs.Tx contained in the SingleTxDependency is signed and has a non-empty txID. So any code using the txs.Tx content instead of the full SingleTxDependency is bound to use the wrong txID
Probably the best band-aid is to go back to not initializing "genesis transactions", as we did originally.
A more long term solution would be to break away from the idea that each transaction depends on another transaction. This is not true for genesis.
We should instead create a proper data structure containing all the relevant data and just pass it up.


being able to store artifacts separately in a specific directory

Hi,
It would be great if I could store the generated provider artifacts to a specific directory other than the current working directory without having to bundling them into a single file (which  kompose convert -o ...  currently does.
So, when kompose convert -o artifacts is run, if artifacts is a directory, then kompose should store all the resulting files inside it, and if it's not, then it should store the artifacts in a single file.
Thoughts?

I totally could use this bit. @surajssd  and I were discussing earlier this week about exactly this.

I think this makes sense +1 from me.

@containscafeine I would like to work on it, if no one else is working on it.

@procrypt I just assigned this to you and put it for v0.3 release.
this has been requested at least by one user.

Hey @sebgoa, I think @containscafeine is already working on the issue.


trealla: 1.12.0 -> 1.20.31

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/trealla/versions.
meta.description for trealla is: "A compact, efficient Prolog interpreter written in ANSI C"
meta.homepage for trealla is: "https://github.com/infradig/trealla"
meta.changelog for trealla is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/bfrpfgnbgkk2xvgh426rxm4g09q4y61d-trealla-1.20.31/bin/tpl had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.20.31 with grep in /nix/store/bfrpfgnbgkk2xvgh426rxm4g09q4y61d-trealla-1.20.31
found 1.20.31 in filename of file in /nix/store/bfrpfgnbgkk2xvgh426rxm4g09q4y61d-trealla-1.20.31

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
trealla

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bfrpfgnbgkk2xvgh426rxm4g09q4y61d-trealla-1.20.31 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A trealla https://github.com/r-ryantm/nixpkgs/archive/ac7b6283ed64c6ce15649f66c53fa581e2a7fc77.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bfrpfgnbgkk2xvgh426rxm4g09q4y61d-trealla-1.20.31
ls -la /nix/store/bfrpfgnbgkk2xvgh426rxm4g09q4y61d-trealla-1.20.31/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

trealla

Maintainer pings
cc @siraben for testing.

Result of nixpkgs-review pr 157706 run on aarch64-darwin 1

1 package built:

trealla


accommodate gcc's interpretation of friendship rules

Also:

implement concept sender_of
add __mzip_with2 metafunction
add __m[make_]index_sequence[_for]

Having seen this, I removed -Wno-non-template-friend from my Makefile, but there still seems to be an issue. Given the following code:
#include <execution.hpp>

I see
/usr/local/gcc/bin/g++  -O2 -fPIE -g -Werror -std=c++20     -I/usr/src/local/wg21_p2300_std_execution/include -I/usr/src/local/wg21_p2300_std_execution/examples  -c    para.cc
In file included from para.cc:1:
/usr/src/local/wg21_p2300_std_execution/include/execution.hpp:969:66: error: friend declaration ‘void std::execution::__connect::tag_invoke(_Tag, __completion<_Tag(_Args ...)>&&, _Args&& ...)’ declares a non-template function [-Werror=non-template-friend]
  969 |         friend void tag_invoke(_Tag, __completion&&, _Args&&...) noexcept;
      |                                                                  ^~~~~~~~
/usr/src/local/wg21_p2300_std_execution/include/execution.hpp:969:66: note: (if this is not what you intended, make sure the function template has already been declared and add ‘<>’ after the function name here)
/usr/src/local/wg21_p2300_std_execution/include/execution.hpp:978:76: error: friend declaration ‘std::execution::__connect::__debug_env_t<_Env> std::execution::__connect::tag_invoke(std::execution::__env::get_env_t, __debug_receiver<_Env, std::execution::completion_signatures<_Sigs ...> >)’ declares a non-template function [-Werror=non-template-friend]
  978 |         friend __debug_env_t<_Env> tag_invoke(get_env_t, __debug_receiver) noexcept;
      |                                                                            ^~~~~~~~
/usr/src/local/wg21_p2300_std_execution/include/execution.hpp:985:71: error: friend declaration ‘void std::execution::__connect::tag_invoke(std::execution::__receivers::set_stopped_t, __any_debug_receiver<_Env>&&)’ declares a non-template function [-Werror=non-template-friend]
  985 |         friend void tag_invoke(set_stopped_t, __any_debug_receiver&&) noexcept;
      |                                                                       ^~~~~~~~
/usr/src/local/wg21_p2300_std_execution/include/execution.hpp:986:80: error: friend declaration ‘std::execution::__connect::__debug_env_t<_Env> std::execution::__connect::tag_invoke(std::execution::__env::get_env_t, __any_debug_receiver<_Env>)’ declares a non-template function [-Werror=non-template-friend]
  986 |         friend __debug_env_t<_Env> tag_invoke(get_env_t, __any_debug_receiver) noexcept;
      |                                                                                ^~~~~~~~
cc1plus: all warnings being treated as errors

with
commit 7ef862daaf2b7529f2e0ed9aa067bbc5b3b48a3a (HEAD -> main, origin/main, origin/HEAD)

and, just in case, using today's g++ (GCC) 12.0.1 20220330 (experimental) (commit d32a5f4b52aa1f845c4fb56d4e849d4386299100)

There is nothing wrong with non-template friends. This warning is bogus.

From the MR title and commit message, I anticipated a work around for the bogus warning, but nevermind!


Master

1. Why is this change necessary?
This update is necessary to fix a bug in the product schema markup where the current date was always displayed as the release date if no specific "release date" was set for a product. This behavior could mislead users and search engines, affecting the accuracy of the structured data used for indexing.
2. What does this change do, exactly?
The fix adds a conditional check to ensure that the "release date" is only displayed in the schema definition if it is explicitly set. If no release date is defined, no date will be output instead of incorrectly defaulting to the current date. This change modifies the buy-widget.html.twig template file and improves the accuracy of schema data.
3. Describe each step to reproduce the issue or behaviour.

Open the Shopware frontend and navigate to a product without a defined "release date."
Inspect the HTML schema markup on the product page.
Observe that the current date is displayed as the releaseDate in the schema, despite no release date being set for the product.
This issue occurs because the template does not check for the existence of a release date before outputting it in the schema data.

4. Please link to the relevant issues (if any).
GitHub Issue: shopware/shopware#5324
5. Checklist

[X ] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[X ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X ] I have read the contribution requirements and fulfill them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Stefan Pilz seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Just a quick note: I ended up with the same commit message twice because I committed the changelog and the modified file separately. This results in two commits with identical messages, but each one focuses on a different part to keep things organized.

hey @StefanPilzLtd
thanks for your contribution. please sign the CLA.
the commits of you are squashed during import, so no need to separate them. also it is not really necessary on such small change :wink:

@mitelg
I had already signed the CLA on November 3rd. On November 4th, the status here still showed "Pending — Contributor License Agreement is not signed yet." I tried signing it again, but the status remains "Pending." Before that, I clicked the "recheck" link multiple times, but nothing happened.

@StefanPilzLtd  it seems that the GitHub user is not connected to the git user, you made the commits with

Hi @StefanPilzLtd, your changes were merged to trunk: https://github.com/shopware/shopware/commit/5974ca9f57aee162aff865761ba62db7a99f1c02
Thank you for your contribution. 🎉


[youtube.com] "--match-filter '!live_status'" stopped working as expected.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Poland
Provide a description that is worded well enough to be understood
After the latest update of youtube.com, which broke a few things in yt-dlp, I also noticed that the live_status filter stopped working as expected.
I used the --match-filter '!live_status' option on the server to backup videos from channels, excluding ongoing and archived livestreams. I noticed that for the past few days, this option has been filtering out random videos that were never livestreams.
Here are a few examples:
yt-dlp --match-filter '!live_status' 'https://www.youtube.com/watch?v=i1J_Sd7gtSM'
yt-dlp --match-filter '!live_status' 'https://www.youtube.com/watch?v=WH03ht2fVqI'
yt-dlp --match-filter '!live_status' 'https://www.youtube.com/watch?v=jD7zJDF-kac'

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--match-filter', '!live_status', 'https://www.youtube.com/watch?v=i1J_Sd7gtSM']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (debian*)
[debug] Python 3.10.6 (CPython x86_64 64bit) - Linux-5.19.0-28-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, secretstorage-3.3.1, sqlite3-2.6.0, websockets-9.1
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/watch?v=i1J_Sd7gtSM
[youtube] i1J_Sd7gtSM: Downloading webpage
[youtube] i1J_Sd7gtSM: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[download] The Vintage Barbie Camcorder does not pass filter (!live_status), skipping ..

@pukkandan  Ok, I see and probably understand why this isn't working. This !live_status will always be false because if a video is not a livestream, live_status returns the string "not_live".
I am confused because this was working for me for a few months. I can't share the logs now, but for example, this was working on the 2023.01.06 version.
I have checked the solution you provided and it works correctly. Thank you for your help, I am closing the issue.


[AutoPR devtestlabs/resource-manager] typo: Microsoft.DevTestLab

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4685

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/3536


GUI Programs in Java

The documentation does include a guide to program GUI applications using Java but there are not enough examples.
I would like to work on this issue and add a few examples of GUI applications using Java Swing

@tangorishi Please assign me


Fix Querying the mapped value of provider(interface java.util.Set) before task ':base-services:jar' in our build

When running a test on the gradle/gradle build, you'll get the deprecation message:
Querying the mapped value of provider(interface java.util.Set) before task ':base-services:jar' has completed has been deprecated.

See this build scan: https://ge.gradle.org/s/4airqqojomgkq/deprecations#26
We need to fix this problem in our build if we want to fail on this behaviour in Gradle 7.0.

Note that this happens only when the configuration cache is enabled and storing the configuration cache

scan with configuration cache off https://ge.gradle.org/s/iogvgn5agsb5c/deprecations
scan with configuration cache on, storing https://ge.gradle.org/s/fvpxaqttr5a7g/deprecations
no scan with configuration cache on, reusing

It seems the remaining offender is now the ktlint plugin
https://ge.gradle.org/s/7jyfffomjk43u/deprecations

Fixed by https://github.com/gradle/gradle/issues/16376

Strange, I still get this with Gradle 7.1-rc2 and newest ktlint

I am currently running gradle distribution of 7.1 and i am still seeing this issue while running test cases. Attaching screen shot
<img width="1792" alt="Screenshot 2021-09-22 at 9 53 28 PM" src="https://user-images.githubusercontent.com/70739057/134383519-0dd8f936-76c8-40f1-920c-ff831eb7def1.png">

how can we workaround this?

I had a similar error but for app:processDebugGoogleServices. I have AGP 7.3.0-alpha07.
Reverting com.google.gms:google-services to 4.3.5 helped as a temporary workaround.

Updating gms and crashlytics version to 2.9.2 fixed that issue for me:


[disabled]: not-allowed cursor in text-filed, area and numberfield

https://github.com/Vonage/vivid-3/pull/802#issuecomment-1308505963

Not related to your changes but in scope of appearance consistency:

number/text fields & text-area lack the not-allowed cursor in disabled state
the readonly state for checkbox/radio/switch should probably not keep the pointer cursor

me and @olaf-k discussed opening an issue as the question whether read-only should exist in checkbox arise

The attribute is not supported or relevant to  or input types that are already not mutable, such as checkbox and radio or cannot, by definition, start with a value, such as the file input type. range and color, as both have default values. It is also not supported on hidden as it can not be expected that a user to fill out a form that is hidden. Nor is it supported on any of the button types, including image.

https://jira.vonage.com/browse/VIV-999


Code style

Summary
Enforce code style everywhere

Related issue : #165

@orviz, it seems the Dockerfile.build approach has issues in Jenkins:
<EMAIL_ADDRESS>line 1: docker: command not found

@enolfc it was not defaulting to a slave with docker, working on the weird new error

@enolfc working now

Dismiss this one


Issues with high contrast themes

"Classic (Dark)" and "High Contrast (Dark)" have the same colors.
Classic:

High Contrast:

Classic (Dark) and High Contrast (Dark):

Also, the "high contrast" colors aren't exactly high contrast… 18.03 and 11.001 are almost the same color here.

hey! i would love to fix this:)


Enable instrumentation.thread.tracing by default

Before contributing, please read our contributing guidelines and code of conduct.
Overview
Enabled the config option instrumentation.thread.tracing in the default config.
Updates tests that aren't expecting this config to be enabled.
closes https://github.com/newrelic/newrelic-ruby-agent/issues/1089
Submitter Checklist:

[ ] Include a link to the related GitHub issue, if applicable
[ ] Include a security review link, if applicable

Testing
The agent includes a suite of unit and functional tests which should be used to
verify your changes don't break existing functionality. These tests will run with
GitHub Actions when a pull request is made. More details on running the tests locally can be found
here for our unit tests,
and here for our functional tests.
For most contributions it is strongly recommended to add additional tests which
exercise your changes.
Reviewer Checklist

[ ] Perform code review
[ ] Add performance label
[ ] Perform appropriate level of performance testing
[ ] Confirm all checks passed
[ ] Add version label prior to acceptance

This is so exciting, Tanna! Could you run a workflow dispatch on JRuby and/or earlier Ruby versions? I feel like JRuby especially may reveal something to us, but I don't think it has the workflow dispatch set up yet.

Jruby does have it set up! 🎉  I included it when I first set it up because I figured there'd be situations like this that come up. They are both running right now
jruby ci
all ci

all ci
jruby


Per-Function Individually:true generates 2 zip files

Folder Structure
- function1/
---- function1.py
- function2/
---- function2.py
---- requirements.txt
- app_function2.py
- app_function1.py
- serverless.yml
- requirements.txt

serverless.yml
service: service-api
package:
  individually: true
  exclude:
    - "*/**"
    - "**"
custom:
  pythonRequirements:
    dockerizePip: non-linux
    noDeploy: []
    slim: false
    useDownloadCache: false
    useStaticCache: false
    usePipenv: false
  env: ${file(env.yml):${self:provider.stage}}
provider:
  name: aws
  stage: ${opt:stage, 'dev'}
  region: ${opt:region, 'ap-southeast-1'}
  runtime: python3.7
  memorySize: 128
  endpointType: regional
  vpc:
    subnetIds:
      - ${self:custom.env.SUBNET_1}
      - ${self:custom.env.SUBNET_2}
  role: ${self:custom.env.ROLE}
  environment:
    API_SERVER: "${self:custom.env.API_SERVER}"
    API_PORT: "${self:custom.env.API_PORT}"
    DEBUG: "${self:custom.env.DEBUG}"
    S3_BUCKET: "${self:custom.env.S3_BUCKET}"
  resourcePolicy:
    - Effect: Allow
      Principal: "*"
      Action: execute-api:Invoke
      Resource:
        - execute-api:/*/*/*
plugins:
  - serverless-python-requirements
  - serverless-offline
functions:
  function1:
    package:
      include:
        - ./function1/**
        - ./app_function1.py
    handler: app_function1.handler
  function2:
    module: ./function2
    package:
      include:
        - ./function2/**
        - ./app_function2.py
    handler: app_function2.handler

It generates 2 zips for function2 in the .serverless folder (one with the source code and the other with all the requirements.txt files) but when tested the Lambda function, it states "Import Error: No function2.py found.".

Come across a similar issue while trying to setup packaging per-function. Instead of two zip files, serverless package results in:
function.zip  # contains code but no dependencies
function/     # contains the dependencies in a requirements/ folder, but nothing else

I've had to perform an extra zip step to obtain a working function.zip:
DIR=$PWD
(cd .serverless/anatomy/requirements && zip -gr $DIR/.serverless/anatomy.zip .)

Hello @ahmedaljawahiry :wave: Do you by any chance have the reproducible example?


Feature: Add autorefresh

Should be optional.

Resolved in 7ff07743659b68397e0ce27ad49b87b5bb8ce003
Runs last used query every 60 seconds.


DSND-3109: Update private sdk version

Describe the changes
This PR updates the private sdk version to bring in private spec changes.
Related Jira tickets
DSND-3109
Developer check list
General

[ ] Is the PR as small as it can be?
[ ] Has the Jira ticket been updated with any relevant comments?
[ ] Is the README up to date?
[ ] Has the POM been updated for the latest versions of dependencies?
[ ] Has the code been double-checked against main?
[ ] Does the code adhere standards in this repository, including SonarQube checks?

Testing

[ ] Do the code changes have unit and integration tests with code coverage > 80%?
[ ] Has the code been tested locally and/or passed the API Karate tests on Tilt?
[ ] Have mandatory manual test cases been run?
[ ] Are extra Karate tests required?
[ ] Are all the test data resources up to date?

Release preparation
Where possible, add links to the respective Jira tickets when an item is checked

[ ] Have these changes been included in a release ticket?
[ ] Are changes required to the docker-chs-development deployment or test data?
[ ] Are any changes required to the environment added to chs-configs?

Notes to the tester
Add any testing hints or instructions here.

CI: No security warnings found


How to delete a backup

I scheduled to backup every midnight. I would like to keep only 3 latest backups in my dropbox. So how can i delete old copies?

//write some code to check that more than 3 backups exist
if (Storage::delete($path)) {
echo "deleted";
}

https://laravel.com/docs/8.x/filesystem#retrieving-files
https://laravel.com/docs/8.x/filesystem#directories


Fix C compiler environment variables

Setting CC breaks build dependencies when cross compiling. cc-rs also supports reading TARGET_ variables, and falls back to the default compiler (and include paths) when compiling for the host.
Fixes #10

Thanks for picking up this! Will merge as soon as Travis passes.

I guess we need to add CC=$TARGET_CC env to https://github.com/messense/rust-musl-cross/blob/f09d9b16924d8d82adcdf207d9ed82c6842b2150/Dockerfile#L67 and https://github.com/messense/rust-musl-cross/blob/f09d9b16924d8d82adcdf207d9ed82c6842b2150/Dockerfile#L74
maybe add C_INCLUDE_PATH=$TARGET_C_INCLUDE_PATH env to https://github.com/messense/rust-musl-cross/blob/f09d9b16924d8d82adcdf207d9ed82c6842b2150/Dockerfile#L75

I was thinking to just:
RUN CC=$TARGET_CC \
    C_INCLUDE_PATH=$TARGET_C_INCLUDE_PATH \
    echo "Building zlib" && \

But either way should work

Yes, I think so.

Any preference?

Let's go with
RUN CC=$TARGET_CC && \
    C_INCLUDE_PATH=$TARGET_C_INCLUDE_PATH && \
    echo "Building zlib" && \

It looks shorter and cleaner.

🤞

Building OpenSSL
Configuring for linux-x86_64
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-libunbound   [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
    no-shared       [default]
    no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
    no-ssl2         [default]  OPENSSL_NO_SSL2 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
    no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
    no-zlib         [default]
    no-zlib-dynamic [default]
IsMK1MF=0
CC            =gcc

Looks like it's still using host gcc to compile OpenSSL.

Silly me, that should do now...


Feature suggestion - easy add to favourites

Hi @CDrummond thank you for your endeavors in developing this outstanding web UI for LMS. Your efforts are greatly appreciated :-D
Just a suggestion for consideration... Squeezebox has never been good for a '1 click/touch' to add a song to favorites/playlist. Similar to liking an Instagram post (and Spotify), it would be great to see a heart icon on the "playing" view so the user can quickly add the current song to favorites. Instagram app also has a feature that allows you to double click on an image to 'like'... this might also be considered.
Once you have your favorites compiled over time, you could spend time then organising them into playlists, etc.
Would appreciate your views on this. Thanks and keep up the good work! R

Not sure I see the point of adding a song to favourites, as you'd quickly have too many. I personally only use favourites for radio stations. This seems like a feature that would be better served by using one of the ratings plugins (TrackStat or RatingsLight).

Thanks for response. I guess my thinking around it was if you were passively listening, and a song you enjoyed came on, you could quickly grab the phone and favorite it. Then when you've got free time to organise things, you would go through the favorites and potentially split them out into playlists.
For example, if I was listening to Spotify on random and favoring songs as I heard them, I might come back to the favorites at the end of the year and create a "sounds of 2021" playlist. Hope this makes sense!
Maybe its just my way of thinking! Either way, thanks for considering. I haven't come across RatingsLight so will be sure to check it out. Thanks @CDrummond  👍

2.4.5 Will have "Add to favourites" / "Remove from favourites" in the now-playing context menu - accessible via right (or long) click on the now-playing cover-art.

Greatly appreciated @CDrummond look forward to trying it out 😊


syntax](/articles/understanding-the-search-syntax)

searching on {% data variables.product.company_short %}]

Why:

What's being changed:

Check off the following:

[x] All of the tests are passing.
[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

searching on {% data variables.product.company_short %}]

https://github.com/mhenggay21/docs


feat: enhances S3Download to filter by traced table names

This PR updates the S3Download implementation to allow specifying the names of the traced tables when downloading from an S3 bucket. This enhancement enables file filtering and reduces the amount of data downloaded. It is a desirable feature when interacting with the traced data of large network tests. If no table name is provided, then S3Download downloads all the traced tables.

The govulncheck error will be resolved by #1377


Maintenance Solution retention time check issues

Bug Report
General Troubleshooting steps

[X ] Verified running the latest release of dbachecks?

2.0.9

[ X] Verified errors are not related to permissions?
[X] Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Version Information

Operating System : Windows Server 2016 / Windows 10
PowerShell Version: 5.1
SQL Server (Edition|Version): EE/2017

Steps to Reproduce
When policy.ola.DeleteBackupHistoryCleanUp value is over 2 digits the check is failing.
Let's say I want to keep more 2 years of backup history (~730days) , the check is designed to keep only 2 digits -> 73

[X ] Attach any screenshots (if possible/allowed)

[ ] Attach output from PowerShell console (if possible/allowed)

Description of Bug
The description of the parameter doesn't suggest any limits for days

but the related check code is limited to 2 digits
$days = [regex]::matches($jobsteps.Command, "dd,-(\d\d)").groups[1].value
We could improve the code as follows to make detection more dynamic:
$days = [regex]::matches($jobsteps.Command, "dd,-(\d*)").groups[1].value
The same applies for

File Job Cleanup Time
Delete Backup History Cleanup Time
Delete Purge History Cleanup Time

Closed with 35bb7873444c0012d33cdf992d74a3619aaf99c2


[v0.44.x] conversion can fail if the PipelineRun is too big with embedded-status set to both (or full)

Expected Behavior
Using pipeline 0.44 and embedded-status set to both or full, it should be possible to list PipelineRun with v1 and not runing into issues.
Actual Behavior
Depending on the size of the PipelineRun (and mainly taskruns.status), it can/will fail.
tkn pr ls
Failed to list objects from pipelines-ci namespace
Error: failed to list PipelineRuns from namespace pipelines-ci: conversion webhook for tekton.dev/v1beta1, Kind=PipelineRun returned invalid metadata: metadata.annotation: Too long: must have at most 262144 bytes

This shows it fail using tkn (which uses v1 API in that case) but it would fail using kubectl get as well, as the problem is happening in the conversion webhook.
Steps to Reproduce the Problem

Install v0.44.x and set embedded-status to both (or full)
Create a big PipelineRun and wait for it to finish
kubectl get pipelinerun my-pipelinerun to see it fail
kubectl get pipelinerun.v1beta1.tekton.dev my-pipelinerun would succeed

Additional Info

Kubernetes version:

Any that runs Pipeline 0.44.x

Tekton Pipeline version:

v0.44.x

Reasons and possible solutions
This happens because we are using annotations to convert from v1beta1 to v1 for fields that do not exists. We can run into a case where the size of the field "marshalled" in that annotation will be too big to be "stored" in an annotation.
Possible fix: compress and encode in base64 the marshalled field in the annotations to make them take less places. It should be "fine" to not support the current way as, the source-of-truth (aka the store version) is v1beta1 and still has the field.
/cc @JeromeJu @lbernick

/assign @concaf
spoke with @vdemeester offline to collaborate on this 😇

cc @tektoncd/core-maintainers

I am going to go ahead and close this. 0.44.x is an old version, and the issue discussed shouldn't arise anymore.


Fixed button wrapping behavior on mobile

Motivation
Fixes #918
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

Visit any doc page where lengthy text on the previous and next buttons caused the buttons to wrap and stack with no space in between (eg https://docusaurus.io/docs/en/navigation)
Check that it no longer stacks when the window is <735px. There should be ample space in between and the both buttons should float left.

It should look like this:

Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

I like the 'before' look as well for shorter text.
Ideally, it would keep both inline until such time that one of the buttons wrap, at which point if floats both buttons left. The problem is I don't think there's a way in CSS to toggle the styling based on whether or not the elements are wrapped. The 'after' styling just toggles automatically at screen width < 735px, floating both buttons left.
If you feel strongly about keeping both buttons inline, we could do Option 1 instead of Option 2. Then both buttons would have equal widths, and any lengthy text would wrap.

It's possible I'm missing something - if there's a CSS trick out there that could do that, let me know.

Fixed the conflicts - let me know if this does the trick.

That was my bad - it's now fixed and is using idx.


additional docs fixes

Hi,
this PR contains a bunch of boring changes (see below). However there's a semantic change which needs your attention, just to be sure it's correct. I renamed NetworkObject into NetworkBehavior in a few locations of the docs (dropped comments at the specific lines below).

fix some typos
fix/add more links across documentation
remove orphaned redundant files

👍

My comments were fixed by this commit:  https://github.com/BeardedManStudios/ForgeNetworkingRemastered/commit/fea13baea292d8d8ccb6886ed3c5b42c4fd09324


[improve][proxy] Reuse authentication instance in pulsar-proxy

Motivation
In https://github.com/apache/pulsar/pull/12245 , try to remove redundant authentication instances and reuse it. However, in https://github.com/apache/pulsar/pull/15824 , the creation of authentication instances per DirectProxyHandler was reintroduced.
In https://github.com/apache/pulsar/pull/13836 , PulsarClient was removed from pulsar-proxy. As a result, this section (close of authentication instance) is no longer executed in pulsar-proxy. So, there is no need to create these instances per Client connections.
https://github.com/apache/pulsar/blob/92bcd077c01058597fb910a49cbe01dffea41b36/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java#L911-L918
Modifications

Create an authentication instance at ProxyServiceStarter
Use this instance in ProxyService and WebServer

Verifying this change

[x] Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

Add tests for org.apache.pulsar.proxy.server.ProxyServiceStarter#start

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/equanz/pulsar/pull/8

Codecov Report
Attention: Patch coverage is 61.53846% with 10 lines in your changes missing coverage. Please review.

Project coverage is 73.45%. Comparing base (bbc6224) to head (04df95b).
Report is 493 commits behind head on master.

Files
Patch %
Lines

...pache/pulsar/proxy/server/ProxyServiceStarter.java
50.00%
10 Missing :warning:

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23113      +/-   ##
============================================
- Coverage     73.57%   73.45%   -0.12%
- Complexity    32624    33236     +612
============================================
  Files          1877     1919      +42
  Lines        139502   144110    +4608
  Branches      15299    15747     +448
============================================
+ Hits         102638   105858    +3220
- Misses        28908    30141    +1233
- Partials       7956     8111     +155

Flag
Coverage Δ

inttests
27.47% <61.53%> (+2.89%)
:arrow_up:

systests
24.76% <30.76%> (+0.44%)
:arrow_up:

unittests
72.53% <15.38%> (-0.32%)
:arrow_down:

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

Files
Coverage Δ

.../apache/pulsar/proxy/server/AdminProxyHandler.java
63.92% <100.00%> (-10.18%)
:arrow_down:

...apache/pulsar/proxy/server/DirectProxyHandler.java
48.52% <100.00%> (-24.59%)
:arrow_down:

...a/org/apache/pulsar/proxy/server/ProxyService.java
59.54% <100.00%> (-19.63%)
:arrow_down:

...pache/pulsar/proxy/server/ProxyServiceStarter.java
46.41% <50.00%> (-24.28%)
:arrow_down:

... and 513 files with indirect coverage changes


replication: add webhook for volumereplicationclass

Add webhook for VolumeReplicationClass to validate create and update CR.
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

I have tested both yaml-based and bundle-based deployments both work as expected.


Improve implementation of 'instrumentation' job spec field

This is basically to allow this:
workloads:
- name: foo     # Run a few iterations with ftrace enabled, for deep debugging
  iterations: 3
- name: foo     # Run a load more iterations with ftrace disabled, so we don't fill up our filers
  iterations: 30
  instrumentation: [~trace-cmd]

I'm not sure if this implementation is quite right, in particular it doesn't allow enabling an instrument specifically for a job spec (that currently ends up enabling it for them all) and I'm not sure the cleanest way to do that.. so feedback welcome.

Closing as this functionality is now supported on next


An example on MobileViT

This PR adds the MobileViT model, a mobile-friendly general-purpose architecture for various image recognition tasks such as classification, detection, and segmentation.
Colab Notebook: https://drive.google.com/file/d/1_s1O8787UX4OKopj9DxvO9z67pAtMuMk/view?usp=sharing (originally run on a GCP VM machine to speed up training time).

@sayakpaul I guess it would be great if we make inferences of the test set on both save_model as well as the tflite model to get the accuracy as a benchmark.
Any thoughts on this? I would like to help if that can be done 🚀

@fchollet thanks for the review and I have addressed your comments.


Not working well with the new android L

hide event not firing
height is wrong

Dup of https://github.com/driftyco/ionic-plugins-keyboard/issues/47.


Made 'title' field default for 'folder'-type items

Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Closes #279
What's this PR do?
Makes the 'title' field a default for "folder"-type config items. If a "title" field is not included in the config item, it will be added in the front end. If a "title" field is included, it will be validated to make sure it is set to required and has the correct widget type
How should this be manually tested?

Edit a content object for a "file"-type config item with no "title" field. You should see no "title" form field.
Edit a content object for a "folder"-type config item with no "title" field. You should see the "title" field in the form, and is should save/load correctly
Edit a content object for a "folder"-type config item with a "title" field. You should see the "title" field in the form just like the previous example
Save a site config with a "folder"-type config item that includes a "title" field with required: false or widget: text and try to save. You should see a validation error.

Codecov Report

Merging #305 (bb59350) into master (e083980) will increase coverage by 4.58%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #305      +/-   ##
==========================================
+ Coverage   87.96%   92.55%   +4.58%
==========================================
  Files         122       60      -62
  Lines        3498     1329    -2169
  Branches      533      304     -229
==========================================
- Hits         3077     1230    -1847
+ Misses        383       98     -285
+ Partials       38        1      -37

Impacted Files
Coverage Δ

static/js/components/forms/SiteContentForm.tsx
100.00% <100.00%> (ø)

static/js/components/forms/validation.ts
100.00% <100.00%> (ø)

static/js/lib/site_content.ts
89.39% <100.00%> (+0.50%)
:arrow_up:

news/views.py

websites/urls.py

users/factories.py

content_sync/backends/base.py

main/constants.py

main/utils.py

content_sync/apps.py

... and 52 more

Continue to review full report at Codecov.

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


Performance of encoder when updating a document with relevant size

Before i start, great work! I enjoy using beanie with MongoDB.
I just migrated one project from ArangoDB to MongoDB, mostly for query and search performance.
Projections are a great relief.
I update documents while they run through a kind of pipeline triggered by User interaction.
Mostly we extend a List, Dict or Pydantic Object stored in such a field. There are thousands of entrys in a json structure per field.
Profiling with cProfile/pstats showed that the encoder of beanie sometimes takes 7 to 15 seconds for such an update.
Tested on 8 core 32GB and 16core 128GB Intel and AMD HW. Ubuntu >= 20.10. Python 3.9.
This was not an issue before i switched to Mongo/beanie. I do the update now in a background task but still want to solve the issue.
Looping through each and every single entry in the encoder class, seems to be a little massiv.
Any hint, tips or advice for optimization?
Would be very appreciated

Hey @swelcker ,
Thank you.
Yes, beanie's performance is not very good for the cases with huge docs or with a big amount of them, as it uses python decoder/encoder. And python is not the fastest tool for this. I'm working on this problem.
I'd suggest using update queries everywhere, where it is possible to avoid fetching documents. For example:
Slow:
class Sample(Document):
    num: int
    color: str
    tags: List[str]

async def update_color():
    docs = await Sample.find(Sample.num > 10).to_list()
    for doc in docs:
        doc.color = "Red"
        await doc.replace()

Fast:
class Sample(Document):
    num: int
    color: str
    tags: List[str]

async def update_color():
    docs = await Sample.find(Sample.num > 10).update(Set({Sample.color: "Red"}))

If it will not help, you can share your code and I'll try to help with the optimization

Very helpful, indeed update/set is much much faster and works very well also with huge json structures/objects.
Esp. if you update a field which is a pydantic object.
Keep up the great work!
Thank you very much!


Update to OpenTK 2.0-0

All builds that worked before the update still seem to work after. There are way more updates than are being listed in the changelog, but no breaking changes despite it being a major release.

Done


Remove Navalia from OpenSource Testing

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[x] I am not the sole author or employee of a company who created the topic or collection I'm changing.

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[x] Content (and my changes are in index.md)

https://github.com/joelgriffith/navalia:

DEPRECATION WARNING: Unfortunately it's time for me to deprecate this library as I cannot give it the time it needs.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

While this repository is indeed archived, we aren't currently removing it because it remains a valid resource. If that should change in the future, or if the repository is deleted/removed/privatized, we will remove it from this list.
Thank you!


Create Heapsort.c

Program of sorting through heapsort.

congratulations on your hactoberfest contribution. if you like this repo then give it a star. Happy hacking..


Rename to Microsoft.NET.Build.Containers

This is more consistent with the naming convention of the .NET SDK, which we'll eventually integrate into.

Package output looks good after the rename, tests pass. Merging!


Note Expands in Size when reloading page

If you change the size of a note, and then reload the page, the note will get a little bit bigger.
This is not a feature, it is a bug.

Closing as fixed in some future version


Adding the ability to set a timeout for connection with the Pivotal Tracker API

@afn done. sorry for the long delay.

Better late than never!  Thanks!


19.03.0-rc2 SHA256 Mismatch

I'm attempting to install Docker 19.03.0-rc2 on Window Server 2019 using:
Install-Package -Name docker -ProviderName DockerProvider -Verbose -RequiredVersion 19.03.0-rc2
This gives me an error:
WARNING: Cannot verify the file SHA256. Deleting the file.
I've downloaded the index file and can see the following:
 "19.03.0-rc2": {
            "date": "2019-06-06T22:48:55.696682",
            "notes": "Docker for Windows Server 2016",
            "sha256": "254378f7ac8c9277bce60952d61ea2714829331c2e73ab0abd9d962fda98ee7d",
            "size": 130197728,
            "url": "https://download.docker.com/components/engine/windows-server/19.03/docker-19.03.0-rc2.zip"
}

Following similar GitHub issues I did a BITS transfer:
Start-BitsTransfer https://download.docker.com/components/engine/windows-server/19.03/docker-19.03.0-rc2.zip -Destination C:\Source\
I then check the hash on the file and can see that it's different:
Get-FileHash -Path C:\source\docker-19.03.0-rc2.zip | Format-List

Algorithm : SHA256
Hash      : 572D7E7DC68044A85C13C46D3A5F81E7B677CC24C97524AE78F13BB03E86EC77
Path      : C:\source\docker-19.03.0-rc2.zip

I've tried copying the file into the Temp folders and installing but I get the same problem (which I expect):
Install-Package -Name docker -ProviderName DockerProvider -Verbose -RequiredVersion 19.03.0-rc2
VERBOSE: Using the provider 'DockerProvider' for searching packages.
VERBOSE: Download size: 0.04MB
VERBOSE: Free space on the drive: 40603.29MB
VERBOSE: Downloading https://download.docker.com/components/engine/windows-server/index.json to C:\Users\XXX\AppData\Local\Temp\DockerProvider\Docker_DockerSearchIndex.json
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 0 seconds.
VERBOSE: Performing the operation "Install Package" on target "Package 'Docker' version '19.03.0-rc2' from 'Docker'.".

The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from 'Docker'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A
VERBOSE: Containers feature is already installed. Skipping the install.
VERBOSE: C:\Users\XXX\AppData\Local\Temp\DockerProvider\Docker-19-03-0-rc2.zip already exists. Skipping save. Use -Force to overwrite.
VERBOSE: Verifying Hash of the downloaded file.
WARNING: Cannot verify the file SHA256. Deleting the file.
VERBOSE: Hash verified!
WARNING: C:\Users\XXX\AppData\Local\Temp\DockerProvider\Docker-19-03-0-rc2.zip does not exist

Should be fixed now. BTW: Docker 19.03.0 has been released today, so you can use the DockerMsftProvider again.

@StefanScherer Just tried this and still get the error. Server 2016 (not that it should matter).
Can confirm the version is 19.03.0

I've tried the steps shown in https://docs.docker.com/install/windows/docker-ee/ (using the DockerMsftProvider) on a fresh Windows Server 2016 and there was no checksum mismatch. A docker info shows me the engine version 19.03.0
These are the steps I did:
PS C:\> Install-WindowsFeature Containers
PS C:\> Restart-Computer

then after the reboot
PS C:\> Install-Module DockerMsftProvider -Force
PS C:\> Find-Package docker -ProviderName DockerMsftProvider

Name                           Version          Source           Summary
----                           -------          ------           -------
Docker                         19.03.0          DockerDefault    Contains Docker EE for use with Windows Server.

PS C:\> Install-Package docker -ProviderName DockerMsftProvider
PS C:\> Start-Service docker
PS C:\> docker version
Client: Docker Engine - Enterprise
 Version:           19.03.0
 ...
Server: Docker Engine - Enterprise
 Engine:
  Version:          19.03.0
  ...

Tried also with -force and unfortunately it's a no go. Server is new with no GPO's applied yet.docker version

@StefanScherer thanks for looking into this but unfortunately not working for me. Anyone else confirm?
Server is brand new Core OS which hasn't been hardened yet.

same issue here on windows 2019:

Well, I don't know all the details of the DockerMsftProvider, but it looks like it hasn't downloaded the zip file. When I run it with -Verbose I see the URL of the Docker-19-03-0.zip file.
Can you check the version of the package provider with Get-PackageProvider DockerMsftProvider ? I have <IP_ADDRESS> installed. If yours is older, try to update it.
You might check temporary files in `$env:TEMP\DockerMsftProvider" folder. Maybe there is a corrupt Docker-19-03-0.zip file in there.
Maybe adding -Force might help to force to download the zip again and then install it.

@StefanScherer I had the same issue on Windows Server 2016, and it does look like there is a corrupt file with a different SHA256 signature that's being downloaded even when using the DockerMsftProvider. The workaround I found was to:

Manually download the 19.03.0 version using Start-BitsTransfer -Source https://dockermsft.blob.core.windows.net/dockercontainer/docker-19-03-0.zip ( I found the url in the DockerDefault_DockerSearchIndex.json file).

I then checked it had the correct SHA256 signature using Get-FileHash -Path /docker-19-03-0.zip -Algorithm SHA256.

Next, I copied it in the C:\Users\YourUserName\AppData\Local\Temp\DockerMsftProvider folder, and renamed it to Docker-19-03-0.zip (It didn't worked with the lowercase d).

Finally, I ran the installation using Install-Package -Name docker -ProviderName DockerMsftProvider, and it was installed !
I hope this works for you 😄

Thanks @Deweytle for that detail.
This reminds me that I have to use Invoke-WebRequest -UseBasicParsing ... parameter to download files in provision scripts, containers, ...
Without this parameter Invoke-WebRequest sometimes complains with a warning and does not download the file.
So, maybe https://github.com/OneGet/MicrosoftDockerProvider/blob/developer/DockerMsftProvider.psm1#L1577 also needs this parameter?
Are you able to reproduce the problem after uninstalling the package again? Could you adjust C:\Program Files\WindowsPowerShell\Modules\DockerMsftProvider\<IP_ADDRESS>\DockerMsftProvider.psm1 and add -UseBasicParsing after Invoke-WebRequest? That would help to find a fix for the problem that many others have.

@StefanScherer Many thanks for this.  I'll give your modified DockerMsftProvider a go shortly and report back.

@StefanScherer The install worked for us using <IP_ADDRESS> without the need for any modification.

That's good to know @rcaunt
So the general fix is to update the package provider to the latest version available.
This can be done with this command:
Find-PackageProvider DockerMsftProvider | Install-PackageProvider

Closing now that 19.03 is GA.