(GH-2910) Relativize  bolt paths

Use require_relative in place of require for Bolt performance improvements.
!no-release-note

I would love it if somebody builds this into a PE install and runs the orch tests against it. Given the issues we saw with puppet moving to relative_require i want to double check there wont be strange code loading issues.

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

Sweet, finally got a green run for this in the Orchestrator!


Fix error where pie/doughnut charts did not render correctly with multiple datasets

Addresses the issue presented in #3309. Pie and Doughnut charts will now render correctly when the corresponding component is clicked on the legend.
Here is an example before the changes: http://codepen.io/zachpanz88/pen/yaOzJV
Here is an example with the changes: http://codepen.io/zachpanz88/pen/mAEbdz

Thanks @simonbrunel, it works with your suggestion and is more efficient


Delegate vm ram_size to hardware

High level:
All aggressive_vcpus_recommended_change_pct use ram_size or cpu_total_cores (see #12911) for calculations.
This sets us up to have 2 of the 3 parameters sql friendly.
Low level:
ram_size (also called memory_mb and mem_cpu) is delegated from vms to hardware.
Currently this delegate is implemented in ruby, this change exposes it to use a delegator and to implement the arel.
Also, for ram_size there is a secondary parameter to look at vm#state. I could only ever find this method call from within the Vm class itself. Separating these methods apart allows us to simplify the calculation and use pure sql for ram_size.
related to #12733 and #12911
https://bugzilla.redhat.com/show_bug.cgi?id=1395743

@kbrock I'm seeing a
[----] F, [2016-12-13T13:36:03.477887 #13059:2ac2c1aadf08] FATAL -- : Error caught: [ActionView::Template::Error] undefined method `*' for nil:NilClass
/home/himdel/manageiq/app/models/hardware.rb:44:in `ram_size_in_bytes'
/home/himdel/manageiq/lib/extensions/ar_virtual.rb:93:in `ram_size_in_bytes'
/home/himdel/manageiq/app/models/vm_or_template.rb:1535:in `provisioned_storage'
/home/himdel/manageiq/app/models/vm_or_template.rb:1547:in `uncommitted_storage'
/home/himdel/manageiq/app/helpers/vm_helper/textual_summary.rb:644:in `textual_usage_overcommitted'
/home/himdel/manageiq/app/helpers/textual_summary_helper.rb:16:in `expand_textual_summary'
/home/himdel/manageiq/app/helpers/textual_summary_helper.rb:39:in `block in expand_textual_group'
/home/himdel/manageiq/app/helpers/textual_summary_helper.rb:39:in `map'
/home/himdel/manageiq/app/helpers/textual_summary_helper.rb:39:in `expand_textual_group'
/home/himdel/manageiq/app/views/shared/summary/_textual.html.haml:1:in `_app_views_shared_summary__textual_html_haml__2157153568822230949_70200233559440'

while trying to open a summary of a (openstack) template.
I'm thinking this could be related to 9e1a48188.. Do we need a (memory_mb || 0) * 1.megabyte?

When (if) backporting to euwe, please do together with https://github.com/ManageIQ/manageiq/pull/13125

Backported to Euwe via https://github.com/ManageIQ/manageiq/pull/14167


Mod/spr/us 566715

Should be merged as part of move to next version of react-sdk-components which includes a big authManager refactoring (and not before then)

These changes are now merged into mod/spr/23.1.10-Alpha so will be withdrawing this.


Query merging at top level

This PR (originally part of PR #266) implements query merging at the top level. It provides functions that can take multiple queries and place them under the same query while aliasing the names within the AST to prevent collisions. The point of doing this is to implement query batching without requiring any changes to the server (see issue #164).
The CHANGELOG has not been updated since this is not a user-facing change (yet).
TODO:

[ ] Update CHANGELOG.md with your change
[ ] Make sure all of the significant new logic is covered by tests
[ ] Rebase your changes on master so that they can be merged easily
[ ] Make sure all tests and linter rules pass

Are the changes in QueryManager.ts related to this PR? I was under the impression that the mangling should be completely managed by the network interface.
Also, related to the previous question, does this PR introduce the batching ability in Network Interface? If so how does it relate to the batching PR?
It looks like directives.ts got into this PR by accident, so maybe that's the case for the other stuff, too?
I think the only files that should be in there are queryMerging.ts and tests/queryMerging.ts, along with the necessary changes in tests.ts, right?

The changes in QueryManager.ts are needed for this PR because this PR needs the Request object to deal with Document instances rather than query strings. This PR adds a method that can turn a regular NetworkInterface into a BatchedNetworkInterface by introducing query composition. This can't be moved into the batching PR because it uses basically all of the functionality introduced in queryMerging.ts.
The directives.ts should not be part of this PR - I will get rid of that. Other than that, the files that have been changed should be part of this PR as far as I understand.

Would it be possible to make all the batching related changes in the batching PR, and then rebase this PR on top of that one? Or is the batching PR made on top of this one?

The batching PR is made on top of this one. If this one can is merged before the batching one, we can just apply the batching PR on top of this PR on master.

Removed src/directives.ts. The files now included are the ones that are relevant to query merging.

Ok, that's fine. I would have thought that logically this PR comes on top of the batching one (because it implements a particular way of batching), but it doesn't matter all that much, as long as the end-result is what we need.

@Poincare I think this is pretty close to mergeable. Most of my comments were stylistic of nature. Just fix those and then I think we'll merge it. Even if not everything is 100%, I believe it makes sense to check this off our list and move on to more important things. Ideally this is only a stop-gap solution anyway until we've implemented batching support on servers.

Alright, that all makes sense.
Thanks for making those changes so fast. It looks good to me now, except that a few things aren't covered by tests yet. After adding the couple of tests that are missing, we should be good to go!

🎉


My script code is correct but it doesn't work on codewars

The Java Script code I previously placed in code wars is correct on the test aspect in code wars. However when I click attempt, It shows an issue. Due to this issue I have rewritten my code multiple times using different methods but the problem persists.

String ends with?


source-map-explorer cannot generate report even with --only-mapped param

I tried to build a fresh create-react-app project, then wanted to generate reports for the built bundles with source-map-explorer. At first I got this error described in https://github.com/facebook/create-react-app/issues/8430. Passed in --only-mapped param and no luck either.
Environment
current version of create-react-app: 5.0.0
  running from /home/mohsen/.npm/_npx/2484/lib/node_modules/create-react-app

  System:
    OS: Linux 4.4 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  Binaries:
    Node: 14.18.3 - ~/.nvm/versions/node/v14.18.3/bin/node
    Yarn: 1.22.11 - /mnt/c/Users/Mohsen/AppData/Roaming/npm/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.3/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    react-scripts: 5.0.0 => 5.0.0
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

Create the project using npx create-react-app test
Try to build the project$ npm run build

><EMAIL_ADDRESS>build /mnt/c/wwwroot/test
> react-scripts build

Creating an optimized production build...
Compiled successfully.

File sizes after gzip:

  43.7 kB  build/static/js/main.c8f1f991.js
  1.77 kB  build/static/js/787.5cebbde9.chunk.js
  541 B    build/static/css/main.073c9b0a.css

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  npm install -g serve
  serve -s build

Find out more about deployment here:

  https://cra.link/deployment

Add this like to package.json -> scripts - Be sure to install source-map-explorer first:"analyze": "source-map-explorer 'build/static/js/*.js' --only-mapped"

Run analyze script:$ npm run analyze

><EMAIL_ADDRESS>analyze /mnt/c/wwwroot/test
> source-map-explorer 'build/static/js/*.js' --only-mapped

Expected behavior
npm run analyze should show open browser with the generated report or throw an error in the console.
Actual behavior
Browser is not opened and nothing is logged in console.

I tried the above steps. It is working as expected on Mac Os. Is this Linux specific issue?


Capture Color and Depth on Google Coral Dev Board

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux Mendel

Kernel Version (Linux Only)
4.14.98-imx

Platform
Google Coral Dev Board

SDK Version
v2.39.0

Language
python3 / -

Segment
others

Issue Description
I would like to capture depth and color frames with the D435 on the Google Coral Dev board. I sucessfully built librealsense from source, but i do not succeed in patching the kernel for the version 4.14.98. Is there any way of getting the camera to run on the board? My goal is to be able to interact with the camera using python3. Here is described that the camera should be able to run without the kernel patch. How can I achieve this?
Below you see the log output of modprobe ucvideo the Coral Dev Board:
mendel@orange-goose:~$ sudo modprobe ucvideo
modprobe: FATAL: Module ucvideo not found in directory /lib/modules/4.14.98-imx

I assume that this is where the problem is.

Hi @MinPopp   It is possible to build librealsense from source code with a method called RSUSB that is not dependent on Linux versions or kernel versions and does not require patching.  The link below has instructions for building librealsense and the Python wrapper from source at the same time using the RSUSB method.  Performing the method requires an internet connection.
https://github.com/IntelRealSense/librealsense/issues/6964#issuecomment-665650908
There are both advantages and disadvantages to using the RSUSB method.  For example, it enables quick setup and prototyping but may not be suited to a commercial project.   For more information, please visit the link below and scroll down through the linked-to comment to the section headed What are the advantages and disadvantages of using libuvc vs patched kernel modules?
https://github.com/IntelRealSense/librealsense/issues/5212#issuecomment-552184604

Thank you for your reply. I started make and will report back once i (hopefully) worked. It's pretty slow on the board so it might be a day or two

Thanks very much for the update - good luck, and I look forward to your report.

Thank you so much @MartyG-RealSense , that worked like a charm!
Because I spent quite some time figuring out how I get the D435 camera to run on the Coral Dev Board I share what worked for me, hoping it helps somebody else.
Step 0: prerequisites
Before you start, be sure to place the board somewhere it doesn't bother you even if the fan is spinning!
After the board runs as described here, install the following prerequisites. I am not sure if all of these are needed. It is what I installed, so it might not work if one of them is missing
sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev7
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install xorg-dev libglu1-mesa-dev
sudo apt-get install libssl-dev

Step 1: swapfile
The building process requires more than 1GB of ram. So you have to create a swapfile, as it is described here. I made mine 8G just to be sure it is big enough. I did not move my home folder on the sd-card.
Step 2: cmake
The cmake version on the coral board did not work for me and there was no newer version available with apt. So I had to build it myself:
wget https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4.tar.gz
tar -xf cmake-3.18.4.tar.gz
cd cmake-3.18.4/
./configure                       # takes a while
make                              # takes a while
sudo make install

Step 3: librealsense
Build realsense how it is described here, but with a few changes to the cmake command because I did not want the graphical examples and because cuda is not compatible with the board (i think?)
wget https://github.com/IntelRealSense/librealsense/archive/master.zip
unzip master.zip
cd librealsense-master
mkdir build
cd build
cmake ../ -DBUILD_PYTHON_BINDINGS:bool=true -DFORCE_RSUSB_BACKEND:bool=true -DBUILD_WITH_CUDA:bool=false -DBUILD_GRAPHICAL_EXAMPLES:bool=false
make -j4 #might take almost a day
sudo make install

For the python-stuff to work properly I had to copy the __init__.py  file from the git-repo to the python3-folder as follows. The first path depends on where you unpacked the git repo.
sudo cp ~/librealsense-master/wrappers/python/pyrealsense2/__init__.py /usr/lib/python3/dist-packages/pyrealsense2/

Step 4: opencv (optional)
OpenCV is in not required for this to work but I wanted to install it and it didn't work with pip, so here is how I did it. I followed mainly this article but without the virtual environment (not recommended) and minus some steps that were already done before:
wget -O opencv.tar.gz https://github.com/opencv/opencv/archive/4.4.0.tar.gz
wget -O opencv-contrib.tar.gz https://github.com/opencv/opencv_contrib/archive/4.4.0.tar.gz
tar -xf opencv.tar.gz
tar -xf opencv-contrib.tar.gz
cd opencv-4.4.0
mkdir build
cd build
 # OPENCV_EXTRA_MODULES_PATH has to be replaced with your download path!
cmake -D CMAKE_BUILD_TYPE=RELEASE \
 -D INSTALL_PYTHON_EXAMPLES=ON \
 -D INSTALL_C_EXAMPLES=OFF \
 -D OPENCV_ENABLE_NONFREE=ON \
 -D OPENCV_EXTRA_MODULES_PATH=/home/mendel/mnt/installation_cv2/opencv_contrib-4.4.0/modules \
 -D ENABLE_FAST_MATH=1 \
 -D ENABLE_NEON=ON -D WITH_LIBV4L=ON \
 -D WITH_V4L=ON \
 -D BUILD_EXAMPLES=ON ..
 make #takes >5h
 sudo make install
 sudo ldconfig

Thanks so much @MinPopp - guides such as these that are kindly contributed by RealSense community members are really helpful to others in future who are using the same equipment.   :)   It's great news that you were successful.


autoDispose is not working when the widget is disposed,and the same widget is registered again after the previous widget was disposed

Describe the bug
I have two screen contain the same widget and i register a listener by using ref.watch on that widget.
But when move from screen1 to screen2. Widget is disposed but provider don't.
To Reproduce
import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

void main() => runApp(const ProviderScope(child: TabBarApp()));

final countProvider = StateProvider.autoDispose<int>((ref) {
  debugPrint('countProvider initialized');
  ref.onDispose(() {
    debugPrint('countProvider disposed');
  });

  return 0;
});

class TabBarApp extends StatelessWidget {
  const TabBarApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(useMaterial3: true),
      home: const TabBarExample(),
    );
  }
}

class TabBarExample extends StatelessWidget {
  const TabBarExample({super.key});

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      initialIndex: 0,
      length: 2,
      child: Scaffold(
        appBar: AppBar(
          title: const Text('TabBar Sample'),
          bottom: const TabBar(
            tabs: <Widget>[
              Tab(
                icon: Icon(Icons.cloud_outlined),
              ),
              Tab(
                icon: Icon(Icons.beach_access_sharp),
              ),
            ],
          ),
        ),
        body: const TabBarView(
          children: <Widget>[
            Tile(),
            Tile(),
          ],
        ),
        floatingActionButton: Consumer(builder: (context, ref, child) {
          return FloatingActionButton(
            onPressed: () {
              ref.read(countProvider.notifier).update((state) => ++state);
            },
            child: const Icon(Icons.add),
          );
        }),
      ),
    );
  }
}

class Tile extends ConsumerStatefulWidget {
  const Tile({super.key});

  @override
  ConsumerState<Tile> createState() => _TileState();
}

class _TileState extends ConsumerState<Tile> {
  late final Color color;

  @override
  void initState() {
    color = randomColor();
    super.initState();
  }

  @override
  void dispose() {
    debugPrint('Tile widget disposed');
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    final count = ref.watch(countProvider);
    return Container(
      color: color,
      alignment: Alignment.center,
      child: Text(
        count.toString(),
        style: const TextStyle(
          fontSize: 24,
          color: Colors.white,
          shadows: [
            Shadow(color: Colors.black, offset: Offset(1, 1), blurRadius: 1)
          ],
        ),
      ),
    );
  }
}

Color randomColor() {
  final random = Random();
  return Color.fromARGB(
    255,
    random.nextInt(256),
    random.nextInt(256),
    random.nextInt(256),
  );
}

Expected behavior
I think the provider should be dispose after previous widget is disposed and create a new provider in the next widget

It's just how TabBarView works. The new tile is built before the old tile is removed and thus the provider is being watched the whole time.

It's just how TabBarView works. The new tile is built before the old tile is removed and thus the provider is being watched the whole time.

import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

void main() => runApp(const ProviderScope(child: TabBarApp()));

final countProvider = StateProvider.autoDispose<int>((ref) {
  debugPrint('countProvider initialized');
  ref.onDispose(() {
    debugPrint('countProvider disposed');
  });

  return 0;
});

class TabBarApp extends StatelessWidget {
  const TabBarApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(useMaterial3: true),
      home: const TabBarExample(),
    );
  }
}

List<Widget> tabs = <Widget>[
  Tile(
    key: UniqueKey(),
  ),
  Tile(
    key: UniqueKey(),
  )
];

class TabBarExample extends StatefulWidget {
  const TabBarExample({super.key});

  @override
  State<TabBarExample> createState() => _TabBarExampleState();
}

class _TabBarExampleState extends State<TabBarExample> {
  int _currentIndex = 0;
  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      initialIndex: 0,
      length: 2,
      child: Scaffold(
        appBar: AppBar(
          title: const Text('TabBar Sample'),
          bottom: TabBar(
            tabs: const <Widget>[
              Tab(
                icon: Icon(Icons.cloud_outlined),
              ),
              Tab(
                icon: Icon(Icons.beach_access_sharp),
              ),
            ],
            onTap: (value) {
              setState(() {
                _currentIndex = value;
              });
            },
          ),
        ),
        body: tabs[_currentIndex],
        floatingActionButton: Consumer(builder: (context, ref, child) {
          return FloatingActionButton(
            onPressed: () {
              ref.read(countProvider.notifier).update((state) => ++state);
            },
            child: const Icon(Icons.add),
          );
        }),
      ),
    );
  }
}

class Tile extends ConsumerStatefulWidget {
  const Tile({super.key});

  @override
  ConsumerState<Tile> createState() => _TileState();
}

class _TileState extends ConsumerState<Tile> {
  late final Color color;

  @override
  void initState() {
    color = randomColor();
    super.initState();
  }

  @override
  void dispose() {
    debugPrint('Tile widget disposed');
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    final count = ref.watch(countProvider);
    return Container(
      color: color,
      alignment: Alignment.center,
      child: Text(
        count.toString(),
        style: const TextStyle(
          fontSize: 24,
          color: Colors.white,
          shadows: [
            Shadow(color: Colors.black, offset: Offset(1, 1), blurRadius: 1)
          ],
        ),
      ),
    );
  }
}

Color randomColor() {
  final random = Random();
  return Color.fromARGB(
    255,
    random.nextInt(256),
    random.nextInt(256),
    random.nextInt(256),
  );
}

I don't use TabBarView anymore but still not work as my expectation

Try adding a print statement inside the build method and you will notice that the disposal of the old widget happens after the creation of the new widget.

Try adding a print statement inside the build method and you will notice that the disposal of the old widget happens after the creation of the new widget.

So can you show me a way to achieve my my goal?

What's your use case? A simple workaround would be calling ref.invalidate when changing tabs.

What's your use case? A simple workaround would be calling ref.invalidate when changing tabs.
So autoDispose have no effect in my case? And i have to dispose it manualy. I can't use ref.invalidate in dispose() method

That's expected.
The provider is there in the widget tree when you switch between tabs.
To be disposed, it has to not exist in the widget tree for at least 1 frame, which doesn't happen in your case.
You can check ref.onCancel and ref.onResume to ensure it has correctly removed the last listener and then the provider is listened to again. Or, you can just check ref.onAddListener and ref.onRemoveListener.
If you need the provider to be a specific to a widget, you can use family provider and pass some cached key related to the widget. In that case, both widgets will be using a different version of the same provider.

That's expected.
The provider is there in the widget tree when you switch between tabs. To be disposed, it has to not exist in the widget tree for at least 1 frame, which doesn't happen in your case.
You can check ref.onCancel and ref.onResume to ensure it has correctly removed the last listener and then the provider is listened to again. Or, you can just check ref.onAddListener and ref.onRemoveListener.
If you need the provider to be specific to a widget, you can use family provider and pass some cached key related to the widget. In that case, both widgets will be using a different version of the same provider.

Thank you very much. Now i understand


Spotify installer fail with error: "Installer failed with exit code:<PHONE_NUMBER>"

Brief description of your issue
When running 'winget install spotify', winget is unable to verify the hash, even if I let winget to continue and try to install it, I'll get the following error: 'Installer failed with exit code:<PHONE_NUMBER>'
Steps to reproduce
Open Windows Terminal, then run 'winget install spotify', the app will download, fail to verify hash and the installation will fail
Expected behavior
winget would be able to verify the hash of the app for Spotify and then properly install it with or without verifying it
Actual behavior

Environment
[winget --info]
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.264
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Any other software?
Not applicable

@denelon This also happens when using the direct installer:
Id: Spotify.Spotify
Version: <IP_ADDRESS>4
Name: Spotify
Publisher: Spotify
License: Copyright © 2012 Spotify AB. All rights reserved.
LicenseUrl: https://www.spotify.com/us/legal/end-user-agreement/
AppMoniker: spotify
Description: Spotify music player
Homepage: https://www.spotify.com/
Installers:
  - Arch: x86
    Url: https://upgrade.scdn.co/upgrade/client/win32-x86/spotify_installer-<IP_ADDRESS>4.gac68a2b3-15.exe
    Sha256: 35CE7176234B5A050472F00E102FC50AB64AD8E96D53EFF66F30F2217938723D
    InstallerType: exe
    Switches:
        Silent: /Silent
        SilentWithProgress: /Silent

https://community.spotify.com/t5/Spotify-for-Developers/Is-there-a-version-specific-URL-that-can-be-used-for-Spotify/m-p/4969814#M347

the same with PowerToys
PS C:\Users\bonda> WinGet install powertoys
Found PowerToys [Microsoft.PowerToys]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/microsoft/PowerToys/releases/download/v0.20.0/PowerToysSetup-0.20.0-x64.exe
  ██████████████████████████████  20.4 MB / 20.4 MB
Successfully verified installer hash
Starting package install...
Installer failed with exit code:<PHONE_NUMBER>

win 19041.388

I get the same with PowerToys as above ^

I get the same with PowerToys as above ^
Edit: Worked fine today!

So you did nothing and just worked that day? I'm having the same problem with PowerToys
PS C:\Users\user> winget install powertoys Found PowerToys [Microsoft.PowerToys] This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/microsoft/PowerToys/releases/download/v0.21.1/PowerToysSetup-0.21.1-x64.exe   ██████████████████████████████  20.5 MB / 20.5 MB Successfully verified installer hash Starting package install... Installer failed with exit code: 1

I was able to install Spotify, cpu-z, and PowerToys. Have these issue all been resolved?

Still the same for days:
winget install spotify
Found Spotify [Spotify.Spotify]
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Downloading https://download.scdn.co/SpotifySetup.exe
  ██████████████████████████████   871 KB /  871 KB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Installer failed with exit code:<PHONE_NUMBER>

Winget Info
winget --info
Windows Package Manager v0.2.2941 Vorschau
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19041.610
Paket: Microsoft.DesktopAppInstaller v1.11.2941.0

@crimsonclyde No issues here:

We now have automation to update installers that point to a vanity URL. I'll leave this issue open for a few more days before closing as resolved.

We now have automation to update installers that point to a vanity URL. I'll leave this issue open for a few more days before closing as resolved.

Hello, I'm still running into the same error code:

This is the version of Winget I have installed on my machine, I checked the Microsoft Store for updates and there's no updates for the AppInstaller package for me:
Windows Package Manager v0.2.3162 Preview
Package: Microsoft.DesktopAppInstaller v1.11.3162.0

Hello, I'm still running into the same error code:

This is the version of Winget I have installed on my machine, I checked the Microsoft Store for updates and there's no updates for the AppInstaller package for me:
Windows Package Manager v0.2.3162 Preview
Package: Microsoft.DesktopAppInstaller v1.11.3162.0

Update:
I did some troubleshooting, I had to reset the configuration for the AppInstaller app on Settings -> Apps -> AppInstaller -> Advanced Options and finally clicked on Reset, after doing that I tried to install Spotify and it went smooth as butter.
Since it is working fine now I'll close this issue.

Update:
I did some troubleshooting, I had to reset the configuration for the AppInstaller app on Settings -> Apps -> AppInstaller -> Advanced Options and finally clicked on Reset, after doing that I tried to install Spotify and it went smooth as butter.
Since it is working fine now I'll close this issue.

@TheRndCoder
I can confirm!
Did the same but ended up with "Installer Hash mismatch".
But there's a simple fix, just add the "--force" to the end of:
winget install spotify --force
and voilà - done. Thx for this hint!

@TheRndCoder
I can confirm!
Did the same but ended up with "Installer Hash mismatch".
But there's a simple fix, just add the "--force" to the end of:
winget install spotify --force
and voilà - done. Thx for this hint!


Parse validator aliases

Thanks for this package, and validator tag features.
A new feature that could be very good, add support of validator name aliases.
For example i add aliases for my "oneof: .... ...." and now swag do not read it.

Can you be more specific about the feature request?
If you think this is important to you, please feel free to contribute via PR, and we will be more than happy to assist you with a code review.

Can you be more specific about the feature request?
If you think this is important to you, please feel free to contribute via PR, and we will be more than happy to assist you with a code review.


Add generic support for ProjectForm so we can use it in the ProjectEditView later

Current dependencies on/for this PR:

main

PR #1852

PR #1853

PR #1854

PR #1855

PR #1856

PR #1857

PR #1858

PR #1859

Merge activity

Dec 6, 6:29 PM: @@nickgraz started a stack merge that includes this pull request via Graphite.


CloudEvents/sdk-go - does Github support CloudEvents

I was hoping to be able to use CloudEvents using Github Webhooks.
I am using the sdk-go but nothing comes through, maybe it does not work with Github?
func receive(event cloudevents.Event) {
	// do something with event.
    fmt.Printf("%s", event)
}

func main() {
	// The default client is HTTP.
	c, err := cloudevents.NewClientHTTP()
	if err != nil {
		log.Fatalf("failed to create client, %v", err)
	}
	log.Fatal(c.StartReceiver(context.Background(), receive));
}

Right, I did look at the knative github-source and found image source for
gcr.io/knative-releases/knative.dev/eventing/cmd/event_display here https://github.com/knative/eventing-contrib/blob/main/cmd/event_display/main.go`
I don't see any errors, and I have something working using application/json as content type and using a Type struct from https://github.com/google/go-github
But I would prefer using CloudEvents, but maybe Github does not support CloudEvents - I can only select application/json or application/x-www-form-urlencoded


Add files via upload

New description for DLR Docker: wsf-urban-delineation-dlr

Closing in favor of #322


README examples link is dead

Not sure where this moved to or if it is in the docs at all anymore.
https://id.worldcoin.org/examples <- 404

All of the links that reference the docs have the wrong subdomain as well:
id.worldcoin.org -> docs.worldcoin.org


doc(readme.md): update

Elaborate on packer requirements (per this comment), small improvements

Thank you, merged! :)


transport-manager: Unknown connection opened

Investigate the following errors:
    "2024-07-06 04:53:54.449  WARN tokio-runtime-worker litep2p::transport-manager: unknown connection opened as secondary connection, discarding peer=PeerId(\"12D3KooWB9DVNyi6TQUhHeyq4LyBLVykybXUmcNmEUD9tcKEaYq1\") connection_id=ConnectionId(246958) address=\"/ip6/*/tcp/51326/ws/p2p/12D3KooWB9DVNyi6TQUhHeyq4LyBLVykybXUmcNmEUD9tcKEaYq1\" dial_record=AddressRecord { score: 100, address: \"/ip4/1*/tcp/31334/ws/p2p/12D3KooWB9DVNyi6TQUhHeyq4LyBLVykybXUmcNmEUD9tcKEaYq1\", connection_id: Some(ConnectionId(246946)) }",
    "2024-07-06 04:53:54.450  WARN tokio-runtime-worker litep2p::transport-manager: non-primary connection was closed but secondary connection doesn't exist peer=PeerId(\"12D3KooWB9DVNyi6TQUhHeyq4LyBLVykybXUmcNmEUD9tcKEaYq1\") connection_id=ConnectionId(246958)",
    "2024-07-06 04:53:54.450 ERROR tokio-runtime-worker litep2p::transport-manager: failed to handle closed connection error=InvalidState",
    "2024-07-06 04:54:04.058  WARN tokio-runtime-worker litep2p::transport-manager: non-primary connection was closed but secondary connection doesn't exist peer=PeerId(\"12D3KooWB9DVNyi6TQUhHeyq4LyBLVykybXUmcNmEUD9tcKEaYq1\") connection_id=ConnectionId(246953)",
    "2024-07-06 04:54:04.058 ERROR tokio-runtime-worker litep2p::transport-manager: failed to handle closed connection error=InvalidState",

Data collected from a long running litep2p substrate node in kusama

The issue could be that after receiving an unknown unknown connection, TransportManager wants to discard it: https://github.com/paritytech/litep2p/blob/a27d0072913be67cce904e2e8c465cc37ec5223a/src/transport/manager/mod.rs#L980-L987
but that branch actually doesn't return early with ConnectionEstablishedResult::Reject but instead drops down to the default case at the end of the function which returns ConnectionEstablishedResult::Accept for all cases. This would explain why later on when the connection is closed, TransportManager doesn't recognize it.

Its been a tricky edge-case, will keep an eye for triaging since we might have other minor gaps causing this state reset
Detailed repro case

T0: Dial address A connection ID 1 -> State : Dialing { in-flight-1 }
T1: Connection is established by remote address C connection ID 3 -> State : Connected {  in-flight-dial  1 }
T2: Closed connection established in T2 -> State : Disconnected { in-flight-dial 1}

// This is where the state was wrongfully overwritten

T3: Dial address B connection ID 2 -> State: Dialing { in-flight-2 }

T4: Connection is established by remote address C connection ID 3 -> State : Connected {  in-flight-dial  2 }

// The issue was detected here

T5: Dial from T0 receives a response however it expects in-flight-dial 1 and the state has in-flight-dial 2


Avoid deleting all endpoints when a watch fails

Description
Currently, whenever a watch fails, a new snapshot is loaded and we want to check if the endpoint ids in the old snapshot still exist in the new snapshot. But instead of looking up each endpoint id, this line of code looks up the set of endpoint ids, which will never work. Hence this bug fix.

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

 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.  Note: In case you are already a member of bloomberg, there is no need to sign the CLA again because bloomberg has already signed the (Corporate) CLA, hence just make sure that your membership is public. If you are not a member of bloomberg then you need to accept our CLA. You have signed the CLA already but the status is still pending? Let us recheck it.

@neiljerram would you be able to do a quick review of this one?

/sem-approve


GCSW drumkit bugs

Corrected a bug with sfz v1 velcurve. I made it use the Curve facilities now.
When you encounter something like key=64Garbage, it seems that ARIA actually reads key=64 and ignores the Garbage.

When you encounter something like key=64Garbage, it seems that ARIA actually reads key=64 and ignores the Garbage.

Confirmed yes, I was able to make similar observations and it was a reason for disabling the following unit test cases.
https://github.com/sfztools/sfizz/blob/60436277ebc067a1cf6ed679798c2b5011320010/tests/FilesT.cpp#L349-L356
It's quite possible that ARIA uses stdlib.h conversions internally, but I suspect there is more than that.
I recall this from experimentation with CW, when setting an invalid value for a numeric opcode, it's still going to override the value with something (a default?). That's contrary to sfizz which would just ignore the value.
In relation to this, and #235, I'll like to verify, for instance, what happens if value is not only "-1" but also funny things like "-0.1", "-3.14", "foo".

In this particular case Sforzando read it as 52 doesn't it? At least it seemed so in my test. The issue is that in such cases sfizz does ignore it. The proper test should thus be
    //       It is the shorter matching $-variable which matches among both.
    //       The rest of the variable name creates some trailing junk text
    //       which Sforzando accepts without warning. (eg. `key=57Edge`)
    REQUIRE( synth.getRegionView(0)->keyRange.getStart() == 57 );
    REQUIRE( synth.getRegionView(0)->keyRange.getEnd() == 57 );

This was a crash cymbal that was suppose to be on note 52. The key opcode being ignored, by default, the sound will play on all the keyboard and be pitch shifted accordingly. Coupled with the above velocity bug that output 0.0f gain in some cases, you had a veeeeeeeeeeeeery long silent sample.

On the test yes, I recall it's something like that.
The reason that I disabled it, instead of correcting, it's because this changed what the test what meant to illustrate and made it confusing. (the test case was erroneous to start)


Backporting CheckboxSetField MultiEnum fix to older 4.x minor releases

Affected Version
4.3.0
Description
The MultiEnum data type is broken. The default CheckboxSetField generated by the MultiEnum data type doesn't save its data to the DB.
Using a CheckboxSetField that saves to a MultiEnum data type throws the following warning:
E_WARNING: strlen() expects parameter 1 to be string, array given {“code”:2,“message”:“strlen() expects parameter 1 to be string, array given”,“file”:“/vendor/silverstripe/framework/src/ORM/FieldType/DBString.php”,“line”:97
Steps to Reproduce
Add a MultiEnum field to a DataObject.
private static $db = [
'MyMultiEnum' => "MultiEnum('Val1, Val2, Val3')"
];
This produces a default CheckboxSet field with those options, but when you check any of them and attempt to save, nothing happens.

That got fixed by https://github.com/silverstripe/silverstripe-framework/pull/8499. It will be fixed in 4.4.0. It hasn't been back ported to 4.3 however.

Let's focus on releasing 4.4 instead I think.


Add "CRUD operations" and "Understanding FerretDB" sections

Description
Closes #1215.
Closes #1216.
Added documentation for all the basic CRUD commands, and explainer on FerretDB documents, collections, and data model

Readiness checklist

[ ] I added tests for new functionality or bugfixes.
[ ] I ran task all, and it passed.
[ ] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] I ensured that the title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@Fashander I like the docs very much! I left some comments about things I didn't understand or about some typos or open questions. If you need help with data/details/anything else, feel free to ping me or schedule a pairing session, so we can go through those things together.


How to filter for example orders?

Hi, as far as I understood there is no way of requesting only orders of a given status. It would be great if you could add filtering.

Will add it.

Should be implemented now in v1.1.0
You can now pass parameters to the getOrders(params) method.
Checkout the Shopware docs how the filters should look like. So you can build your own filtering and pass the parameters to getOrders().
However I could not test it well, because my testshop frontend is broken right now, so I can only interact over the api. So I could not create some sample orders to test it.


New File to SQL language mode ran and froze

Azure Data Studio Version:
Version: 1.21.0 (user setup)
Commit: 2413919f186f780f0193d047da3d90bb3c1e9bf6
Date: 2020-08-11T20:52:47.502Z
VS Code: 1.48.0
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

(Note: same issue in 1.22.0 Insiders)
Steps to Reproduce:

Go to File > New File.
Change the language mode to SQL.
Connect to your favorite database.
Type a query.
Run it.

What happens:

It looks like it's running because the Run button is grayed out. But you cannot click Cancel. If you do then it will stay stuck.
It shows the duration and the number of rows returned. But you can't see anything in the resultset.

What is expected:

This will convert to a SQL query somehow.

Does this seem to be limited to when changing the language? @gupta1 could this be related to your changes in this area?

Investigating


Update nf-d3d12-id3d12graphicscommandlist-cleardepthstencilview.md

This call can not be used by copy engine or compute queues.  Debug layer will validate this giving:
D3D12 ERROR: ID3D12GraphicsCommandList::ClearDepthStencilView: Invalid API called.  This method is not valid for D3D12_COMMAND_LIST_TYPE_COMPUTE or D3D12_COMMAND_LIST_TYPE_COPY. [ EXECUTION ERROR #932: NO_GRAPHICS_API_SUPPORT].

Hi Steve.  This is Bart House over at Intel.  Like our ability to edit the docs!  Hope things are well.


No FileSystem for scheme: dbfs

I compile the source code of mmlspark-0.15, i install  'mmlspark-0.15-py2.py3-none-any.whl' package  to my ubuntu16.04 envrionment, and copy the 'mmlspark_2.11-0.15.jar' and 'mmlspark_2.11-0.15.jar' to the $SPARK_HOME/jars directory.
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export JRE_HOME=$JAVA_HOME/lib
export CLASS_PATH=$CLASS_PATH:$JAVA_HOME/lib:$JRE_HOME/lib
export SPARK_HOME=/opt/spark
export SPARK_CLASSPATH=$SPARK_HOME/jars
export HADOOP_HOME=/usr/local/hadoop
export PYSPARK_PYTHON=/usr/bin/python3
export PYTHONPATH=${SPARK_HOME}/python/:$(echo ${SPARK_HOME}/python/lib/py4j-*-src.zip):${PYTHONPATH}
export PYSPARK_DRIVER_PYTHON="jupyter"
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
export PATH=$HADOOP_HOME/bin:$SPARK_HOME/bin:$JAVA_HOME/bin:$PATH
when i run the jupyter example of
'304 - Medical Entity Extraction with a BiLSTM'
modelName = "BiLSTM"
modelDir = "models"
if not os.path.exists(modelDir): os.makedirs(modelDir)
d = ModelDownloader(spark, "dbfs:///" + modelDir)
modelSchema = d.downloadByName(modelName)
nltk.download("punkt", "/dbfs/nltkdata")
nltk.data.path.append("/dbfs/nltkdata")
It arise the following error,  I don't know why it happen?
Py4JJavaError                             Traceback (most recent call last)
 in
2 modelDir = "models"
3 if not os.path.exists(modelDir): os.makedirs(modelDir)
----> 4 d = ModelDownloader(spark, "dbfs:///" + modelDir)
5 modelSchema = d.downloadByName(modelName)
6 nltk.download("punkt", "/dbfs/nltkdata")
/usr/local/lib/python3.5/dist-packages/mmlspark/ModelDownloader.py in init(self, sparkSession, localPath, serverURL)
80         self._ctx = sparkSession.sparkContext
81         self._model_downloader = self._ctx._jvm.com.microsoft.ml.spark.ModelDownloader(
---> 82             sparkSession._jsparkSession, localPath, serverURL)
83
84     def _wrap(self, iter):
/opt/spark/python/lib/py4j-0.10.7-src.zip/py4j/java_gateway.py in call(self, *args)
1523         answer = self._gateway_client.send_command(command)
1524         return_value = get_return_value(
-> 1525             answer, self._gateway_client, None, self._fqn)
1526
1527         for temp_arg in temp_args:
/opt/spark/python/pyspark/sql/utils.py in deco(*a, **kw)
61     def deco(*a, **kw):
62         try:
---> 63             return f(*a, **kw)
64         except py4j.protocol.Py4JJavaError as e:
65             s = e.java_exception.toString()
/opt/spark/python/lib/py4j-0.10.7-src.zip/py4j/protocol.py in get_return_value(answer, gateway_client, target_id, name)
326                 raise Py4JJavaError(
327                     "An error occurred while calling {0}{1}{2}.\n".
--> 328                     format(target_id, ".", name), value)
329             else:
330                 raise Py4JError(
Py4JJavaError: An error occurred while calling None.com.microsoft.ml.spark.ModelDownloader.
: java.io.IOException: No FileSystem for scheme: dbfs
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2660)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2667)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:373)
at com.microsoft.ml.spark.HDFSRepo.(ModelDownloader.scala:60)
at com.microsoft.ml.spark.ModelDownloader.(ModelDownloader.scala:219)
at com.microsoft.ml.spark.ModelDownloader.(ModelDownloader.scala:216)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:247)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
at py4j.Gateway.invoke(Gateway.java:238)
at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:748)

@vinglogn we have two sets of notebooks, one for HDI cluster compute and the other for local compute - they are generated from one set of notebooks during build time.  I think you are running the HDI cluster notebook locally which is causing the problem.  It looks like you don't have dbfs available in the environment you are running the notebook from.

@imatiach-msft   Is there a 'dbfs' jar package for me to deal with this losing dependency package at my local computer envrionment ? and what is 'dbfs', do you have some wiki?

@imatiach-msft I am very appreciated for your reply! you tell me there are two two sets of notebooks, HDI cluster compute and local compute environment, and my problem is with the latter。Actually， I pull a docker image of mmlspark from official docker hub, and all the notebooks run well，I want to know the difference between the two of docker env and my own local compute？ if i want to build a docker env of mmlspark， wish all the notebooks run well just likes the official image，How can I achieve this goal? any wiki or help doc for me？

hi @vinglogn "HDI cluster compute and local compute environment, and my problem is with the latter."
maybe there is some misunderstanding - there are two sets of notebooks, cluster and local, and it looks like you are running the cluster notebooks locally whereas you should be running the local notebooks instead.  When you build the code by running ./runme, the local notebooks should be in the folder:
/mmlspark/BuildArtifacts/notebooks/local
There will be many .ipynb notebooks here that you can run.
I'm guessing you are running the notebooks under here instead:
/mmlspark/BuildArtifacts/notebooks/hdinsight
The docker image uses the local notebooks.

I got it, thanks! @imatiach-msft


Fails to build with target thumbv7neon-linux-androideabi

error: failed to run custom build command for `target-lexicon v0.2.0 (/tmp/target-lexicon)`
process didn't exit successfully: `/tmp/target-lexicon/target/debug/build/target-lexicon-b09bc95d372d7e69/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'can't find custom target thumbv7neon-linux-androideabi', build.rs:99:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

In fact, it fails for any (new) target that is not listed in src/targets.rs.

It feels like src/targets.rs should be build-time-generated from the output of rustc --print target-list.

It feels like src/targets.rs should be build-time-generated from the output of rustc --print target-list.

It's strange that the fallback path that searches for json target descriptors in the RUST_TARGET_PATH directory didn't work. That being said, if it didn't work, how could we figure out endianness / pointer width by looking at the output of rustc --print target-list? Now trying to see if rustc provides this information somewhere in a different command, or where it looks to find it.

So rustc has access to all this information, for instance for your target. There's also a function that returns a Target from the string, as this crate does, with the same RUST_TARGET_PATH dance.
rustc --print cfg or rustc +nightly --print target-spec-json -Z unstable-options only print the options for the current target. Rustc could be improved so we can request the target description for any target (not only the current one) and then we could use this. Or librustc_target could be a build dependency of this crate and then we could use the search function (but that sounds a bit overwhelming for this use case).

Actually, we can just do rustc --print cfg --target $TARGET_NAME and get this information, so there might be a way.

I'm a little nervous about auto-generating the target list, as triple parsing involves several special cases, and they change over time. I've now updated the target list to the full list from Rust 1.33, and for example, x86_64-unknown-fuchsia arbitrarily changed to x86_64-fuchsia, requiring new special-case logic. As another, we now have triples like riscv32imc-unknown-none-elf, which include the "unknown" vendor, which broke the the old special-case rule to omit the "unknown" vendor for triples like thumbv6m-none-eabi. We now have a new special-case rule, which handles the new set of known triples, but I expect we'll need more changes in the future.
Also, the sets of known architectures and other things are part of the API, and it's easier on downstream packages if target-lexicon's API doesn't change depending on what version and configuration of rustc it's compiled with. So while I acknowledge that it's inconvenient that these things aren't auto-updated, for now it seems best to continue to manually update them.


Sync published with master

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 07a089f27dd9879186190527c74004c8e59160d4
https://deploy-preview-8778--docsdocker.netlify.com


test-branch/execute-job/quoted-authorization/31bed7e4-e398-42c4-9339-a4691b07c644

PR for testing 221857e2bea977ca5d10d56a93d656f4ea3469f4

/canonical/self-hosted-runners/run-workflows 221857e2bea977ca5d10d56a93d656f4ea3469f4


Looking for a new maintainer / merge into sentry-sdk or dramatiq

Having just become a father in addition to working 100% full time I'm basically unable to maintain this package in a way that's beneficial to the community.
Preferably I think this code would do best to live in sentry-python or dramatiq.
@untitaker @Bogdanp what do you think?

I can help co-maintain but I don't think it's popular enough to merge into the SDK

@untitaker Perfect. I've added you as a collaborator. What's your PyPI username?

I can help as well if needed.

Great @ramonsaraiva! What’s your PyPI username?

@jmagnusson ramonsaraiva :-)

@ramonsaraiva done!

Thank @untitaker and @ramonsaraiva for stepping up! I think three maintainers should be enough to ensure the project’s longevity so I’ll go ahead and close this now.


Enhance About Us section in Start Writing page so that font and icons will be properly visible in Dark mode.

Describe the bug
The font color in the About Us section does not match Dark mode.
Along with social media, icons are not properly visible in Dark mode.
To Reproduce
I will modify the font color to ensure the text is readable in dark mode and also adjust the color of icons accordingly.
Benefits
The page will look interactive in Dark mode.
Screenshots

Additional context
Add the labels:
Gssoc-extd. | hacktoberfest-accepted | levels as per your convenience.
Please assign me this task so that I will make these changes.

Please Assign me this issue .

they are already visible , its WHITE


Notes not included in .bib file during bulk or collection exports

Debug log ID
KV2UEWCI-refs-euc/6.7.256-7
What happened?
I am experiencing an issue with Better BibTeX in Zotero. When I export a single item using Better BibLaTeX, the note field is correctly included in the .bib file, and the notes display as expected. However, when I export my entire library or even smaller collections, the note field is missing for all entries in the resulting .bib file.
I have verified that:
Notes are attached directly to the Zotero items.
The Export notes option is checked during the export.
I am using the latest versions of Zotero and Better BibTeX.
This issue occurs regardless of the library size (even with very small collections).
Environment:
I recently installed Zotero and Better BibTeX, so they are the latest available versions as of 11/25/2024.
(sorry if the issue is trivial, I don't have the highest proficiency with this stuff yet, and this is my first ever bug report)
(ChatGPT could not help me)

I don't know if this could help, but most references in my library don't have notes for now. The item I have been using for single item export, and for checking if notes were being exported after the bulk export is the article titled "A shift in the mechanisms controlling hippocampal engram formation during brain maturation"

This is not a fix, it will just get me more logging. Can you make a new log from that please, recreating the problem?

I feel a bit embarrassed, and I'm sorry for wasting your time, but I thought I had checked that everything was up to date. I've updated Zotero and now everything works fine. In any case, thanks for your availability, and have a great rest of your day :)


Automated Remediation

From the epic (#1589 )

This may be a nice-to-have feature if we're able to get to it, but we'd need to give a lot more thought to how/where this would fit into the workflow, how it would be triggered and by whom (curator, depositor, or either?), and whether or not the result could be used without passing some kind of manual review first.

Investigate ABBYY FineReader.
Part of #1589

Another potential remediation tool: https://developer.adobe.com/document-services/docs/overview/pdf-accessibility-auto-tag-api/


LL-3449 (Swap/History) Add warning about swaps not being synced

Type
Feature
Context
https://ledgerhq.atlassian.net/browse/LL-3449
Parts of the app affected / Test plan

Launch LLM on data that does have swap history, compare to the screenshot.
It should not show if there are no operations.

Good catch @Arnaud97234 I will make it only visible when we have swaps, like on LLD

Ready for you @Arnaud97234


Falco pods failing in RHEL 8.10

We have been trying to install falco helm chart on RHEL 8.10. After a few seconds the pod go into init error and then they are not visible in any of the namespaces. Following is the configuration on which we were trying to install the falco charts.
Error:
Defaulted container "falco" out of falco, falcoctl-artifact-follow, faclo-driver-loader (init), falco-artifact-install (init)
Error from server (Bad request) container "faclo" in pod "xxxx-falco-zw3rr" is waiting to start: PodInitializing
Event Details:
Type             Reason                  Age           From.                                      Message
Warning       Backoff                  80s           kubelet                 Back-off restarting failed container falco-driver-loader in pod (some_pod)
OS Details:
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
Kernel Version:  4.18.0-553.5.1.el8_10.x86_64
Kubernetes Version: 1.29.3
CPU: 8 cores
Memory: 16 GiB

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


About the calculation of loss

Hello, I would like to ask about the calculation of loss. The code:

for pred in preds: l_pix += self.cri_pix(pred, self.gt)

is used to calculate the pixel loss between each pair of images.
On the other hand, is it correct to say that l_fft = self.cri_fft(preds[-1], self.gt) is used to calculate the FFT loss between only the last pair of images within each batch size?

Hello, "preds" is a list with a length of 1, so the code is taking the value at index -1 of the list using "preds[-1]".

Thank you for your reply, you have been a great help to me and I really appreciate it.

Have you used the L1 loss and FFT loss with both weights set to 1 in your model? Do I understand correctly? Thank you!
codes in image_restoration_model.py:
if self.cri_pix:
l_pix = 0.
for pred in preds:
l_pix += self.cri_pix(pred, self.gt)
        # print('l pix ... ', l_pix)
        l_total += l_pix
        loss_dict['l_pix'] = l_pix

    # fft loss
    if self.cri_fft:
        l_fft = self.cri_fft(preds[-1], self.gt)
        l_total += l_fft
        loss_dict['l_fft'] = l_fft

The weight of FFT loss is 0.1,

Have you used the L1 loss and FFT loss with both weights set to 1 in your model? Do I understand correctly? Thank you!
codes in image_restoration_model.py: if self.cri_pix: l_pix = 0. for pred in preds: l_pix += self.cri_pix(pred, self.gt)
        # print('l pix ... ', l_pix)
        l_total += l_pix
        loss_dict['l_pix'] = l_pix

    # fft loss
    if self.cri_fft:
        l_fft = self.cri_fft(preds[-1], self.gt)
        l_total += l_fft
        loss_dict['l_fft'] = l_fft

The weight of the L1 loss is 1, and the weight of the FFT loss is 0.1. You can check more details about the losses in the file basicsr/models/losses/losses.py.


点击run以后没有生成结果图片，一直在loading,  没有日志更新

控制台

界面

same question. Did you get any solution??

This happens when you are using pytorch 1.13.1 as frozen in requirements.txt in repo and I had the same issue. However I tried deleting all versions and install all packages at latest version and it works. (PyTorch 2.1 with compatible xformers installed via conda)

This happens when you are using pytorch 1.13.1 as frozen in requirements.txt in repo and I had the same issue. However I tried deleting all versions and install all packages at latest version and it works. (PyTorch 2.1 with compatible xformers installed via conda)

Do not work for me. After making the changes, it could not even start. python 3.10

遇到一个新问题
Error while sending telemetry: HTTPSConnectionPool(host='api.gradio.app', port=443): Max retries exceeded with url: /gradio-launched-telemetry/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

same question. Did you get any solution??

not yet

我也是这个问题，重新装了也不行~，有谁解决了吗？


Test and merge plugin-based template project

Hi,
I have focused on the gradle plugin today. I have rewritten it to Groovy and it seems to work well. It can now be tested on the plugined branch of the template project (PR here).
Directly related to https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/632.
Allows for easier https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/606.
Fixes https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/576 because now newest Gradle can be used.
Cheers,
Jakub

Fixes #576 because now newest Gradle can be used.

At least on template project Gradle 5.0 works, although I have seen once or twice a freeze after a remote command completed. I will have to catch that and identify what is wrong. The crash might be caused by a different dependency of the main project.

Hmm, this is the issue that was problematic due to too new Gradle version:
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/529

It is better, if we put the focus on the plugin only @JakubVanek  and maintain in the current way.
Maybe other users don't have the latest Gradle version. Current implementation is stable.

There shouldn't be any problems with using old Gradle versions.
I think that not everyone will use IntelliJ. There are some people using Eclipse or a different IDE. I'm often using Geany and I build the project in terminal in a separate window. These use cases are handled even now, but this unifies the build code.


Add Node.js streams .destroy() as prior art

.destroy(err) is something every close to the spirit of this. We also have finished(stream, cb) to be notified once a stream is "done", and pipeline(..streams, cb) to make sure all streams are teared down correctly.
All of this is relevant prior art, and I think streams would benefit greatly from this addition. I'm happy to test/verify it would all work well with node streams as soon as there is transpilation support.

I've added a section to the explainer detailing how this would apply to the NodeJS APIs, but not as a specific reference in Prior Art as stream disposal is a fairly common characteristic across numerous languages and runtimes.


[master] Address selinux denials

Fixes:

mediaserver
priv_app

Implementation:

netmgrd
powerhal

this work is based on kagura logs.


Move to Relay.Environment-based API

This includes the changes in https://github.com/edvinerikson/relay-subscriptions/pull/11.
I clicked around the examples for a bit, and they worked. Adding real tests is going to be quite difficult though.

Rebased.


Reloading sections without updating content offset.

This may be an issue with UICollectionView.
If my collection view is content is offset & then I reload, the content offset is reset to CGPointZero

Please provide more info from this? We are using FlowLayout with reloadData and reloadSection, but it doesn't seemed to have your issue.


click preview map to invoke navigation

What do you think about showing the navigation menu when clicking the preview map? I'm not sure, but I think it was that way in the old version, too.

Where is this preview map coming from.....it was not there anymore before and I dont missed it. Is it really needed ?

It seems that many people used this. It is only loaded, if you have enabled "Store offline maps" setting.

I also find it very useful. If you get a mail notification about a published cache, you see in the mail "4 km SW", but after importing I still need to look at the map to get an idea where exactly that is. With the preview map I know it without opening the map, because I often recognize the area (for caches in my home zone).

Ok, I understand your points. At least it is now at the bottom of the details-page, so its not disturbing the availability of the cache-details on screen.
What about putting it on a new "tab", which is only enabled if you have selected the option mentioned above (Store offline maps) ?
In this case it would keep the details without need to scroll (most of the times) and could be made available in even more resolution (for example at the very left, left of waypoints). What do you think ?

I have to scroll almost always, also without the map.

I'm not exactly sure about the suggestion with a additional tab. I see that we could use an even larger map then (which is good), but that map would still be away 2 swipes, which is not as much as menu, navigate, static maps, but much more than doing nothing at all.

Moving it to a new tab would make it useless for me personally. Most of the time the Details do not completely fit on screen on my phone even in portrait mode (320 X 480, still fairly standard I think).

What about having a new tab for the static map and leave the preview as it is ?
The click on preview could then straight go to the new tab.
But this is only some brainstorming right now....but thinking about it: Users could use the preview and the static map more prominently than before and without starting the navigation activity. For myself the static map is no real navigation as it is not interactive anyway.
So for the usability it would be only consequent if you provide a map in cache-details also to provide the static map (which is anyway saved if the user wants it) more prominently.


Update docker-toolbelt to v3.0.1 and add a basic test suite

We update docker-toolbelt to v3, which removes promisified *Async functions
and instead uses dockerode's promise support.
We add basic tests that rely on a Dockerfile.test for docker-in-docker,
which gives us an environment where we can create and apply deltas without polluting the host.
The tests create and apply a delta for a simple pair of images.
Change-Type: patch
Signed-off-by: Pablo Carranza Velez<EMAIL_ADDRESS>

@brownjohnf are these tests something that can be easily run on Circle? (they rely on docker-in-docker)

So it looks like there's no way to properly run these tests on Circle, since they require either running docker-in-docker (which doesn't work at all on Circle - I tried a thousand different configurations) or having access to /var/lib/docker (which doesn't work on Circle either, they use a weird modified docker with btrfs that has nothing at /var/lib/docker/btrfs/subvolumes).
I've made it so that the tests run fine on Jenkins, and Circle only does linting - we can leave it if we want a quick failure if the linting is wrong.

I thought you could run docker-in-docker on circle. Don't some of our tests in other repos do that? Maybe the builder?

Here's an example repo I made of how it ought to work: https://github.com/brownjohnf/docker-in-docker-circleci
Not sure if you're doing something that breaks this though.

Thanks to @brownjohnf now it works on Circle :D


Need help in parsing JSON

What if I try to use classes in hierarchy. Lets say I got a response from server. Now the response model is based on parent, child model. Hence there would a BaseResponse class. And one feature specific response class which would be extending BaseResponse class. Now I would like to parse this json manually. Like toJson () and fromJson() pattern. (like this - https://flutter.dev/docs/cookbook/networking/background-parsing#convert-the-response-into-a-list-of-photos). Can some one help me with that

See https://flutter.dev/community for general help resources; the issue tracker is specifically for bug reports and feature requests.


Code for running the herding baselines

I am trying to run the baseline for herding, but I see that the codebase pulls preprocessed versions of the dataset from google drive. Could you share the scripts used to run the herding algorithm?

Hi, this is the pseudocode for herding algorithm. You need to run it class by class.
mean = torch.mean(features, dim=0, keepdim=True)
idx_selected = []
idx_left = np.arange(features.shape[0]).tolist()
for i in range(num):
    det = mean*(i+1) - torch.sum(features[idx_selected], dim=0)
    dis = distance(det, features[idx_left])
    idx = torch.argmin(dis)
    idx_selected.append(idx_left[idx])
    del idx_left[idx]


Universal binding

There are a few approaches to universal binding (agreeing on the granularity of results):

Group edges as much as possible into the same result
Split edges as much as possible into different results
something inbetween... but it's hard to make an inbetween thing precise.

This PR chooses (1).

Thanks @edeutsch .  Here are some slides that explain more fully what I mean.

I agree on the concept. I like it. I just don't think the PR text captures what we want to require. I suspect it will be especially confusing for those that don't already understand the concept.

For a given set of node bindings, there can be only a single result.

I think I understand what you're trying to say, but I don't think this says it. This says that there shouldn't be two identical results with exactly the same node bindings, which is true and obvious.

It may be true, but it's not obvious in the sense that not everybody is doing it that way :)

If a query has a clear essence query node (e.g., "drugs" in "which drugs treat disease X"), then
within a set of results, each essence knowledge graph node MUST only appear in a single result,
and all stated paths to that node MUST be included within that result.

I don't like the idea of an essence node unless we define it in trapi.  Also, I think that the effect of this statement is the same as "For a given set of node bindings, there can be only a single result." as long as we understand node bindings to be to the original qnodes.  So I don't think it's necessary to introduce that concept?

I don't think this should be within the same enumerated point, because this is an entirely different concept than the above. This should be a subsequent point number 3 if there is a consensus on this.

Agreed.  Part of the goal of this PR is to get consensus on this point in one way or the other...

I agree that there shouldn't be two results with the same set of node bindings, so I agree on "An ARA result is defined by the bindings of knowledge graph nodes to query graph nodes.  For a given set of node bindings, there can be only a single result."
As for the last sentence -- whether there can be extra node bindings beyond nodes in the query_graph -- perhaps we need three knowledge_types on queries?

strict mode where no extra node bindings are allowed and all results conform to the explicitly stated query topology
permissive mode where extra node bindings are permitted to support a result that conforms to the explicitly stated query topology
creative/inferred mode where the query topology is explicitly one-hop, and results can be of any query topology

But such a solution would clearly need more discussion on one of our calls.  As to the PR as it's written (where "strict mode" and "permissive mode" are indistinguishable), I agree with @edeutsch that this will be confusing to downstream clients.

OK, I've removed the controversial section until we can have further discussion.  As a preview, here are some slides that lay out a few options.
It sounds like there's no pushback on the basic idea of agreeing to everybody binding in the same way (universal binding) at the level of original qgraph node bindings, so please review the modified text.

I've added Eric's suggestion as well.


Update paket to address TLS deprecation

:wave: GitHub disabled TLS 1.0 and TLS 1.1 on February 22nd, which affected Paket's bootstrapper. It needs to be updated to 5.142 or later.
You can read more about this on the GitHub Engineering blog.
The update to Paket is explained here: https://github.com/fsprojects/Paket/pull/3066
This is an automated pull request sent to all projects on Github that use Paket.
The work to update Paket in the wild is occurring here: https://github.com/fsprojects/Paket/issues/3068

Looking for some more information on how to verify this. I downloaded https://github.com/fsprojects/Paket/releases/tag/5.148.0 bootstrapper and the sha1 appear to be different. I also tried 5.142.0 which also has a different signature.

The hash should match 142. But it's not wrong to reject this pr and replace the bootstrapper with 148. They are functional identical and if that increases your trust then please do it like that. Cheers


[Bug] Hoist page objects to journey level in the synthetics generator

Bug summary
When multiple page objects are created in the recorder session either by

clicking on links that moves from a.com to b.com
Opening popups from a.com to b.com

Playwright creates page objects for each of those pages, The Synthetics JS generator then creates the necessary code to express those sessions. Take an example below
step('Go to https://vigneshh.in/', async () => {
  await page.goto('https://vigneshh.in/');
});
step('Click text=Tailor', async () => {
  const [page1] = await Promise.all([
    page.waitForEvent('popup'),
    page.click('text=Tailor')
  ]);
  await page1.click('text=Packages 0');
  expect(page1.url()).toBe('https://github.com/orgs/zalando/packages?repo_name=tailor');
  await page1.close();
});
step('Click text=Babel Minify', async () => {
  const [page2] = await Promise.all([
    page.waitForEvent('popup'),
    page.click('text=Babel Minify')
  ]);
  await page2.close();
});

The problem here is we want the variable declaration for page1 and page2 and their close method to be on their dedicated steps or grouped on a single step. This issue was mitigated before as we controlled the time when steps gets created which was only on clicks that triggered new navigations.
But with the introduction of Step divider UI, Its way easier for our users to create steps for each action and run in to the variable not being defined issue. Creating step before page1 close would yield this code.
step('Go to https://vigneshh.in/', async () => {
  await page.goto('https://vigneshh.in/');
});
step('Click text=Tailor', async () => {
  const [page1] = await Promise.all([
    page.waitForEvent('popup'),
    page.click('text=Tailor')
  ]);
  await page1.click('text=Packages 0');
  expect(page1.url()).toBe('https://github.com/orgs/zalando/packages?repo_name=tailor');
});
step('Close page', async () => {
  await page1.close();
});
step('Click text=Babel Minify', async () => {
  const [page2] = await Promise.all([
    page.waitForEvent('popup'),
    page.click('text=Babel Minify')
  ]);
  await page2.close();
});

Recorder Version
main branch
Steps to reproduce

Start the recorder and type any page url.
Taking www.vigneshh.in for now as the test was performed on that page.
Click on a links that opens new page objects.
Try creating step dividers and run Test button.

Expected behavior

Synthetics tests should run without any JS errors.

Additional information
The easiest way to solve this would be to hoist the page variables before the step function declaration and adds guards when functions are invoked on them.
let page1;
step('Click text=Tailor', async () => {
  page1 = await Promise.all([
    page.waitForEvent('popup'),
    page.click('text=Tailor')
  ]);
  await page1.click('text=Packages 0');
  expect(page1.url()).toBe('https://github.com/orgs/zalando/packages?repo_name=tailor');
});
step('Close page', async () => {
  await page1.close();
});

Another approaches, Google chrome recorder tries to create separate blocks for each of the step, but requires you to be on the recorder page to work correctly.
{
    const targetPage = page;
    const element = await waitForSelectors([["aria/Tailor"],["body > div > div.profile > div.content.left > p:nth-child(5) > a:nth-child(1)"]], targetPage, { timeout, visible: true });
    await scrollIntoViewIfNeeded(element, timeout);
    await element.click({ offset: { x: 32.0390625, y: 8.90625} });
}
{
    const target = await browser.waitForTarget(t => t.url() === "https://github.com/zalando/tailor", { timeout });
    const targetPage = await target.page();
    targetPage.setDefaultTimeout(timeout);
    await targetPage.keyboard.down("Meta");
}

Open to new ideas as well, If anyone wants to tackle, I am more than happy to pair on this one.

@justinkambic I dont think so, For now if we can educate people about this edge case that should be good enough while we figure out a fix on the generator side.

POST FF Testing LGTM
Works as expected with following example

let page1;
step('Go to https://vigneshh.in/', async () => {
  await page.goto('https://vigneshh.in/');
  await page.click('text=Blogs & Talks');
  await page.click('html');
  await page.press('body:has-text("Vignesh Shanmugam Web Performance, JavaScript Fanatic, Front End Enthusiast, Moz")', 'Meta+f');
});
step('Click text=Tailor', async () => {
  [page1] = await Promise.all([
    page.waitForEvent('popup'),
    page.click('text=Tailor')
  ]);
  await page1.click('summary:has-text("Code")');
  await page1.click('text=GitHub CLI');
  await page1.click(':nth-match([aria-label="Copy to clipboard"], 2)');
  await page1.click('summary:has-text("Code")');
  await Promise.all([
    page1.waitForNavigation(/*{ url: 'https://github.com/zalando/tailor/pulls' }*/),
    page1.click('text=Pull requests 12')
  ]);
});


RGB-D pretrained weights?

I use your code evaluate.py and your pretrained weights to test my custom data. When I only use RGB data, it works well. However when I use RGB-D data, I came across this error:

when I add depth information, it should be 4 channels. So would you release the pretrained weights trained with depth information? Looking forward to your reply.

Hi @elenacliu,
Apologies for the delayed response; I've been on vacation recently. Regarding your query about the Grasp-Anything dataset: it is indeed an RGB-only dataset and, as such, does not include depth images. We acknowledge this limitation in the 'Discussion' section of our paper, particularly on page 6

Second, our dataset currently lacks 3D point clouds.

As a result, it is not feasible to train a model that relies on depth modality using the Grasp-Anything dataset. I hope this clarifies your question, and I'm here for any further inquiries you might have.
Best regards,
An Vuong

Hi @elenacliu,
Apologies for the delayed response; I've been on vacation recently. Regarding your query about the Grasp-Anything dataset: it is indeed an RGB-only dataset and, as such, does not include depth images. We acknowledge this limitation in the 'Discussion' section of our paper, particularly on page 6

Second, our dataset currently lacks 3D point clouds.

As a result, it is not feasible to train a model that relies on depth modality using the Grasp-Anything dataset. I hope this clarifies your question, and I'm here for any further inquiries you might have.
Best regards,
An Vuong

Closed due to inactivity,


Highlight graph links programmatically

What problem does this feature solve?
I want to be able to highlight a custom path in a complex graph to showcase only the specific insights my customers are interested in. I want to be able to transitively highlight all connected links and nodes from the currently highlighted element (link or node), like a complete path. The current focus: 'adjacency' option only goes to a single level and without an option to filter which links to highlight. I didn't find any way to programmatically highlight links. The dispatchAction method only allows to highlight nodes in the graph chart type through the dataIndex or name fields. The links have names as well: [id1] > [id2] but these are not recognized in the method.
What does the proposed API look like?
Either provide a linkIndex?: number | number[] field in the dispatchAction method and/or make it recognize link names and/or offer the option to use itemStyle or lineStyle config on the individual link objects in the links field of a series so a new setOptions call would be enough to update the style of the links. Please let me know if there is a way to solve this that I missed. Either way, thanks for the great lib!

when this will be fixed? is there any updates ?


how to fix the qp value of each frame?

I want to fix each frame ( at least frame P) to 25. So I use --qp 25 --qpa 0 and --qp25 --qpa 1, both times I find QP cannot be fixed when encoding yuv to h266.

I'd appreciate some help.

You would need to edit the QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor entries of the FrameN (N in [1-32]) parameters and basically set them either to 0 or to 1.0, as well as set IntraQPOffset to 0. Please just mind that you are breaking the encoder and your results will be bad and not representative of either VVC or VVenC.

Thanks very much.
You mean edit FrameN in the vvenc/randomaccess_faster.cfg(if I use -preset faster), and then rebuild vvenc?
After that, use the following command?
vvencFFapp --preset faster --InputFile example.yuv -s 2560x1440 -fr 25 --QP 30 --LambdaFromQpEnable 1  --IntraQPOffset 0 --CbQpOffset 0 --CrQpOffset 0  -b example.h266

Yes, first edit the randomaccess_faster.cfg file.
Than no, you don't have to recompile, rather you'd have to use the FFapp, and use the -c rancomaccess_faster.cfg parameter to set the preset options.
The config files are parsed at runtime if specified using the -c option of the FF-app.


add google authenticate

add Google auth on the sign-in page and when auth is successful show the profile in the account area (in the blue arrow detected area).

I have gone through your readme.md file, and i would like to contribute in this repository, please assign this issue to me @samratghosh291  .

Ok...assigned  !!
Happy Coding 🚀

Hello, I'd like to work on this if the other assignee @Ayush-gupta-dev isn't available.


[Fix-8744][standalone-server] start standalone server failed

Purpose of the pull request
This pr will close #8744

Codecov Report

Merging #8745 (3b3d5ab) into dev (aa53925) will decrease coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head 3b3d5ab differs from pull request most recent head 36e65cd. Consider uploading reports for the commit 36e65cd to get more accurate results

@@             Coverage Diff              @@
##                dev    #8745      +/-   ##
============================================
- Coverage     45.32%   45.30%   -0.02%
+ Complexity     4078     4077       -1
============================================
  Files           702      702
  Lines         27112    27112
  Branches       2897     2897
============================================
- Hits          12289    12284       -5
- Misses        13667    13676       +9
+ Partials       1156     1152       -4

Impacted Files
Coverage Δ

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
:arrow_down:

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
53.52% <0.00%> (+2.81%)
:arrow_up:

Continue to review full report at Codecov.

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


0.2.10 calls prettyPrint in deserialization path

This is leaking secrets defined in the TOML to stdout.
Offending calls seem to be
https://github.com/akuleshov7/ktoml/blob/0ef414b3c7044a62452e8c97beee9e1c92508153/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/tree/TomlInlineTable.kt?q=prettyPrint#L77
and
https://github.com/akuleshov7/ktoml/blob/0ef414b3c7044a62452e8c97beee9e1c92508153/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/parsers/TomlParser.kt?q=prettyPrint#L98

Thank you! Will be fixed asap today and released in 0.2.11


5.736 no signs of life on Android 10 - huawei

Installed 5.736 from GH apk download in secondary user account.  No error while installing.
Launching K-9 Mail doesn;t give any feedback - no error, no action at all.
Environment (please complete the following information):

K-9 Mail version: 5.736
Android version: <IP_ADDRESS>
Device: Huawei Mate Pad pro (MRX-W09)
Account type: n/a

Please record a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors
Skip the filtering by PID and just do adb logcat -d > k9-log.txt


[docs] sub-pages should link back to the main page.

All the pages like http://docs.weave.works/weave/latest_release/troubleshooting.html should have a link back to the main documentation page (http://docs.weave.works/weave/latest_release/index.html)

They kinda do now, since we have a header & footer with a "Docs" link that goes to the main documentation page.
@bboreham can we close this?


Bugfix/513

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 91.921%

Totals

Change from base Build<PHONE_NUMBER>9:
0.01%

Covered Lines:
6421

Relevant Lines:
6883

💛  - Coveralls


Infra view organisations and projects mapping

:nut_and_bolt: Description: What code changed, and why?
Introduced infra view organisations and projects mapping. There were some chages which are related to #3732

:chains: Related Resources
Fixes: #3097
:+1: Definition of Done
Infra view organisations and projects mapping.

Organisation and projects mapped on create organisation.
Updated organisation list view table (Projects column shown).
Organisation and projects mapped on edit organisation.

:athletic_shoe: How to Build and Test the Change

git fetch origin  Sachin/infra-project-org-mapping
build components/automate-ui
To add data https://github.com/chef/automate/blob/master/dev-docs/adding-data/adding_test_data.md#adding-data-to-infra-views
Go to Infrastructure tab >> Chef Servers its under Chef-Server feature flag.
Click on Server list >> Add Chef Organisation

:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[x] Tests added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

@susanev @jonong1972 after giving 30px of space between inputs modal window getting expand out side the window.

So I am thinking of creating a separate page for Create Organization just like Create Rule. Please can you share your view on this?

@sachin-msys can you make it scrollable instead?

@sachin-msys can you make it scrollable instead?

yes sure :+1:

cool, thx. i updated my comment with a little more detail.

I am getting this rendering where the content is squeezed between too-wide margins:

@sachin-msys  the projects dropdown should have the highest z-value, and its fine for it to extend outside of the modal.

@sachin-msys the projects dropdown should have the highest z-value, and its fine for it to extend outside of the modal when its open.

@susanev some how z-index not working for the drop-down panel i guess due to overlay-y scroll. Happy to have discussion on the same.

@sachin-msys alright lets move the projects up, it should have prolly been right after id anyway, so lets display name, id, projects, admin user, admin key, in that order

also, can we get an always present scroll bar so folks no there's more to complete

I noticed after I approved that the modal is now 100vh and flexes to the size of the screen.  Not sure if @susanev requested this but thats not standard across our other modals.

Sure @susanev thankyou!


Floating labels aren't very customizable

I really love floating labels but:

I can't append or prepend things like normal Input groups.
Use different label and placeholder.

This probably should be two tickets. Could you elaborate on the first issue?

When using normal input-groups you can use input-group-prepend and input-group-append classes to easily append and prepend other inputs to your input.
For floating labels according to documentation you should use standard bootstrap row and col classes to have more inputs in one row, but the effect isn't the same.

I don't understand. What are you doing different than this
https://jsfiddle.net/mvp3yL0r/


Try replace/replace_view again on MSVC in C++17 mode.

The recent fixes there might have fixed these.

Nope.


couchdb link to doc is broken

the link in the settings is broken and points a doc that is not available.
https://imgur.com/a/2yNEH
https://github.com/benweet/stackedit/blob/master/doc/couchdb-setup.md

It's still there on the v4 branch. The link should probably point here at the moment: https://github.com/benweet/stackedit/blob/v4/doc/couchdb-setup.md


Uncaught TypeError: Cannot read property 'create' of undefined (StyleSheet)

react-native 版本号为 0.30;
react-web bundle 之后,打开index.html页面, 提示错误, StyleSheet找不到这个模块??

import {
AppRegistry,
StyleSheet,
Text,
View,
TouchableHighlight,
// Navigator,
TouchableOpacity
} from 'react-native';
所有的react-native中的模块都为 undefined, 是不是webpack配置问题, 我已经将配置中 react-native的别名设置成react-web了, 还是无法解决

尝试把react-native改为React-web是否生效？

在win平台上没有问题, 在mac上出问题, node版本号相同, 不知道这么回事

@yuanyan I'm having this problem as well, and didn't understand what was the fix or why the issue was closed, Google translate didn't help much as well. I'm using the react-native-meteor package and it says that StyleSheet is undefined, despite the import. I've created the alias to react-web on the webpack.config file


Add iBeacon example for ESP32

Adds new ESP32 example that advertises as an iBeacon in addition to its name and address.
Also adds some Swift wrappers for the ESP32 SDK and NimBLE.

@colemancda In my opinion, blink example should be left to just blink, as intended by its nature. You could consider creating a separate Bluetooth example.

@erhankur I moved the example to its own and removed the blink code.

@colemancda Thank you for the nice work!
I didn't play with bluetooth examples before. Just wanted to build to see if there is an issue.
Warnings regarding macro redefinitions ;
 warning: 'MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME' macro redefined
 warning: 'MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM' macro redefined
 ...

Probably you will need to cleanup BringingHeader.h .Removing #include "esp_nimble_cfg.h" fixes the warnings.
And error;
esp32-ibeacon-sdk/main/String.swift:12:15: error: could not find module 'Darwin' for target 'riscv32-none-none-eabi'; found: arm64-apple-macos, arm64e-apple-macos, x86_64-apple-macos, at: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2024-09-11-a.xctoolchain/usr/lib/swift/embedded/Darwin.swiftmodule
10 | //===----------------------------------------------------------------------===//
11 |
12 | #if canImport(Darwin)
  |               `- error: could not find module 'Darwin' for target 'riscv32-none-none-eabi'; found: arm64-apple-macos, arm64e-apple-macos, x86_64-apple-macos, at: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2024-09-11-a.xctoolchain/usr/lib/swift/embedded/Darwin.swiftmodule
13 | import Darwin
14 | #endif

@erhankur That's odd, I did not get that error with toolchain swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a, I will download the latest and try again.


Document pre-requisites for local development

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

/CC @joelsmith


On-demand revalidation not working on my site

I'm trying to use the following feature: https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration#on-demand-revalidation. The revalidation of ISR routes, by means on manual on-demand API call that re renders some routes. Is this something that's supposed to work or a known missing feature?
By not working I mean, I do an API call that internally calls res.revalidate(...) on several routes, the API runs fine, no errors, but then when I go to the page and refresh I still see the old data, the same page that was initially deployed. What I was expecting to see was updated data.
This works well for me locally if I run the application using npm run build && npm run start, I can correctly see updated data after running the revalidate API call, so I seem to have implemented this correctly.
This is the revalidate API code in case it helps, this API call runs fine without errors but it doesn't seem to be doing anything:
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
  // Check for secret to confirm this is a valid request
  if (req.query.secret !== process.env.REVALIDATION_SECRET) {
    return res.status(401).json({ message: "Invalid secret" });
  }

  try {
    await res.revalidate("/products");

    let productPages = await getProductsPages();
    for (let i of range(productPages.pageCount)) {
      await res.revalidate(`/products/${i + 1}`);
    }
    return res.json({ revalidated: true });
  } catch (err) {
    return res.status(500).send({ msg: "Error revalidating", err });
  }
}

I've tried diagnosing the problem on AWS, but I'm not sure exactly where to look. There's a siteServerFunction that's logging but not showing any errors. There's also a siteRevalidationFunction but it doesn't seem to have logs or cloudwatch setup. If I click on "View CloudWatch Logs" then it shows an error: "The specific log group: /aws/lambda/prod-.... does not exist in this account or region", so I can't tell if this is not working or running at all.
There's also a siteRevalidationQueue in SQS, looking in the monitor tab the only one going above 0 is "Number Of Empty Receives":

I'm running<EMAIL_ADDRESS>I've already tried removed the whole stage from AWS and redeploying from scratch, but no changes. Let me know if there's any other info I can provide, thanks.

Ah you're right. I can see the updated data on S3's _cache, I'm going to go ahead and do the CF invalidation as well, thanks for the info. BTW, why wasn't this incorporated within the "res.revalidate()" call? Isn't the idea of SST/open-next to be transparent and simply work the same way as if running from Vercel?

This should be resolved in 2.1.2, please open new bug if you can't get it to work.
ref: https://discord.com/channels/983865673656705025/1147498646032617613


build!: Update JVM build target to 11

build!: Update JVM build target to 11

This change is

Rolled back in #1776


doc(cli) Generate valid MD links & improve docs

Proposed changes
Changed some descriptions, log messages, and error messages.

DOC-9433

@fbeaudoincoveo If you can run npm run prettier:fix, this should fix some build problems. TY !

@fbeaudoincoveo If you can run npm run prettier:fix, this should fix some build problems. TY !

Will do!


How to use wheelzoom in colorbox

Is there a simpler way to use wheelzoom with colorbox?

$(document).bind('cbox_complete', function() {
    $(".cboxPhoto").wheelzoom();
});


Specify InfluxDB password

Hi,
i am trying to achieve a setup where prometheus stores long-term data in an InfluxDB or something. I know about the CLI flags -storage.remote.influxdb-url, -storage.remote.influxdb.database and -storage.remote.influxdb.username, since they show up in the -h output. But where should one specify the password of the influxdb user?
Either it isn't implemented, or the -h output is incomplete, so i'm opening this issue.
Thanks.

It's the INFLUXDB_PW environment variable.

This issue has a great point - this env variable is not documented anywhere. Since the other InfluxDB settings are currently flags, I think it'd be best to document this in the storage.remote.influxdb.username flag` - I'll send a fix.


M1 - Solution architecture finalised

Definition of Done

Agreed solution architecture for assessment & website
Revised website user journeys
eLearning tool identified
Video production partner identified
We have a strategy for 2024 that covers the current course, certification, the GSF, the LF and wider eco-system
Communication strategy in place

Constraints

Any costs cannot scale per user
Tools must be not require a high level of expertise
Ideally assessment tool is a Wordpress plug-in
Final quiz content stored in a private GitHub repository as Markdown
SCORM compatibility

KPIs

Issues # Open / # Closed
Platform cost: $6500/year

Tasks
Inception

[x] Set OKRs & KPIs
[x] Setup GDrive folder
[x] RAID log

Solution Architecture

[x] #8
[x] #10
[x] #9
[x] #15
[x] #12
[x] #22

Video production

[x] #17

Strategy

[x] #21

Identified candidates in 3 different categories - Assessment tools, Learning Management Systems & Community Platforms.
Gathering pricing and putting together one-pager for top candidate in each category.

Details of the new architecture:

https://www.notion.so/grnsft/Learn-Platform-options-a19727040ca84397bc08f7af600703ef?pvs=4
https://miro.com/app/board/uXjVKP8XeYw=/?moveToWidget=3458764588764681036&cot=14


Player controls not visible in IE10 browser

I noticed a new issue with ME version 2.13.2 as well as 2.14.0 on IE10.
 player controls are not visible on player area neither in normal embed screen nor when maximized but they are functional when I click on its area.
Also, one more stange issue when updated the flash version for IE10 (using MS patch upgrade) - running IE10 with document compat. for IE8.
Some video play with black screen and only Audio is working. Same videos play fine on IE8 browser. When maximized, video starts working and it then works even when restored to original state.

@Mayank-J Closing old issues. If you'd like to reopen this, let us know. Thanks!


Add support for multiple types during each step

It would be useful to allow the user to specify a list when calling out which function to use for each step.
One example would be SAST for python. Mypy and bandit are both considered SAST, but under the current framework we cannot run both tools. This should be a fairly easy change. We would simply build up a list (or specify a list directly in the vars) and then iterate that list under each command

Hmm. I can see the benefit. Would the parameter always be a list then? And would all the parameter names be plural (i.e. "linters" vs "linter") for consistency?

I think that would probably be the cleanest way to handle it. That should allow for expansion in the future for other weird scenarios where one language has multiple used SAST tools or build tools, or whatever else

Not applicable anymore