Problem
You might want to add changelog from GitHub to be automatically use for both changelog field (drop-down) on Nexus Mods, and as file description as well. Eg. Plugin info is 10 minor builds behind in changelog, and file descriptions just point to automatic Odin update.
Solution
It would be way more helpful for average user to see something like "v1.4.16
Automated NuGet Dependency Updates"
(even if they don't get what is NuGet)
Alternatives
Going manually to git releases and checking there, not many people would do that
Screenshots
No response
Relevant log output
No response
Code of Conduct

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

That is a good idea.

Updated documentation on Nexus. I'll try to keep it up today.


Unable update user info with PostgreSQL driver

Describe the bug
Browser console print error:
Setting-2708cb7a.js:2 ClientError: /memos.api.v2.UserService/UpdateUser INTERNAL: failed to update user: pq: column "updated_ts" is of type bigint but expression is of type timestamp with time zone

Steps to reproduce
Try update the user nickname
Screenshots or additional context
No response

Fixed in https://github.com/usememos/memos/commit/7eb5be0a4e2357d1866ada0dca84f3d527982187. Thanks for your reporting.


Window panes not visible

Window panes not visible in most / all (?) models.
Creating an issue here, but this may not be a bug in kscope, as I don't see panes/frames in most models
in reservoir, with a handful of exceptions, like https://re.city/r/model/10/1

This is NOT a bug in kscope since we did see buildings with multiple panes there. Just add detailed logs in the 3D reconstruction pipeline for a few typical images. Everything works well there too. The reason to see fewer windows with multiple panes is due to the the classification outputs, among which 1-pane window are the majority ones.


Investigate oc new-app

On OpenShift 3.6, with
oc new-app wildflyext/example-camel-rest

the pod was stuck in state pending for more than 5min. Then, after 13min it magically started running. We may want to use a template for more predictable behaviour.
Ideally, user experience should not suffer.

Running oc new-app wildflyext/example-camel-rest against a cluster that does not have the image cached may indeed result in a few minutes delay between the pod scheduling and its reaching the "up" state. The wildflyext/example-camel-rest image is as big as ~1G and pulling it simply takes some time.
I'd say this is normal and I do not see how a template might help. @tdiesler do you have any specific idea how a template could help here?
I think the only thing we can do is to note in the documentation that pulling may take a few minutes. We could perhaps also describe a way to check that the image is really being pulled so that users can be sure that there is no other problem.
https://github.com/kubernetes/kubernetes/issues/19077 says that image pulling state can be seen in the output of oc get events
oc get events                                                                                Thu Mar 15 14:41:50 2018

LASTSEEN   FIRSTSEEN   COUNT     NAME                          KIND                    SUBOBJECT                             TYPE      REASON                  SOURCE                        MESSAGE
26s        26s         1         example-camel-rest-1-66fg9    Pod                                                           Normal    Scheduled               default-scheduler             Successfully assigned example-camel-rest-1-66fg9 to localhost
26s        26s         1         example-camel-rest-1-66fg9    Pod                                                           Normal    SuccessfulMountVolume   kubelet, localhost            MountVolume.SetUp succeeded for volume "default-token-fxfx7"
25s        25s         1         example-camel-rest-1-66fg9    Pod                     spec.containers{example-camel-rest}   Normal    Pulling                 kubelet, localhost            pulling image "wildflyext/example-camel-rest@sha256:7ece79d64298c34dd
2b0212f8ea137fb8788463434796b46bbcac75837c6b127"
1m         1m          1         example-camel-rest-1-deploy   Pod                                                           Normal    Scheduled               default-scheduler             Successfully assigned example-camel-rest-1-deploy to localhost
1m         1m          1         example-camel-rest-1-deploy   Pod                                                           Normal    SuccessfulMountVolume   kubelet, localhost            MountVolume.SetUp succeeded for volume "deployer-token-5nmsv"
1m         1m          1         example-camel-rest-1-deploy   Pod                     spec.containers{deployment}           Normal    Pulling                 kubelet, localhost            pulling image "openshift/origin-deployer:v3.7.1"
33s        33s         1         example-camel-rest-1-deploy   Pod                     spec.containers{deployment}           Normal    Pulled                  kubelet, localhost            Successfully pulled image "openshift/origin-deployer:v3.7.1"
33s        33s         1         example-camel-rest-1-deploy   Pod                     spec.containers{deployment}           Normal    Created                 kubelet, localhost            Created container
32s        32s         1         example-camel-rest-1-deploy   Pod                     spec.containers{deployment}           Normal    Started                 kubelet, localhost            Started container
29s        29s         1         example-camel-rest-1          ReplicationController                                         Normal    SuccessfulCreate        replication-controller        Created pod: example-camel-rest-1-66fg9
1m         1m          1         example-camel-rest            DeploymentConfig                                              Normal    DeploymentCreated       deploymentconfig-controller   Created new replication controller "example-camel-rest-1" for version
 1

Note the pulling image "wildflyext/example-camel-rest@sha256:7ece79d64298c34dd in the above output.

I think the original purpose of having this issue was to address #1392.
By default, there are no liveness / readiness probes configured so OpenShift has no concrete means of knowing whether the pod should be considered up and ready.
It may be that my work in https://github.com/wildfly-extras/wildfly-camel/commit/7c9c67362b324043f6ad95e4233330c2d160e9c3 is enough to satisfy this.
Although, having a template would mean that we could define probes without the user having to do it manually.

OK, let me prepare a template with health checks


semantic UI react 0.88.2 Menu & Button

"semantic-ui-react": "^0.88.2" has this warning with Menu & Button
Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.
Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
Please update the following components: Menu
index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of RefFindNode which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
in button (created by Button)
in RefFindNode (created by Ref)
in Ref (created by Button)
in Button (at NavBar.tsx:17)
in div (created by MenuItem)
in MenuItem (at NavBar.tsx:16)
in div (created by Container)
in Container (at NavBar.tsx:10)
in div (created by Menu)
in Menu (at NavBar.tsx:9)
in NavBar (at App.tsx:35)
in div (at App.tsx:34)
in App (at src/index.tsx:9)
in StrictMode (at src/index.tsx:8)

its bug

its a bug

i just install latest version and then all the warning goes away , at the moment i was use "semantic-ui-react": "^0.88.2" and after i install like this:  npm i semantic-ui-react@latest
package.json didn`t change at all but all the warning goes away

Also getting this issue on v1.0.0

Warning: Using UNSAFE_componentWillReceiveProps

This was solved

Warning: findDOMNode is deprecated in StrictMode

This will be solved later in #3915.


additional info for these entries

The following ChEBI identifiers are used in WikiPathways but do not have SMILES currently:

CHEBI:138601
CHEBI:138602
CHEBI:138490
CHEBI:138640
CHEBI:138613
CHEBI:138612
CHEBI:138674

These are 2-star entries which have been submitted by someone. Unfortunately the individual who submitted these entries hasn't provided any structure. I will try and add a structure to these entries in the next week or so.

@amalik01, ok, hang on. Let me see how much I can dig up from the use in WikiPathways. cc @DeniseSl22

From the download page I can see: "Flat file and tab delimited
ChEBI is stored in a relational database and we currently provide all-star and 3-star ChEBI table in a flat-file tab delimited format. There are various spreadsheet tools available to import this into a relational database. The files are stored in the same structure as the relational database."
So, we can assume that everything that is not part of that download file, is less then 3 stars @amalik01 ? Would be nice for us to add a test for these types of IDs, and later to give users a "warning" if they want to use such an ID @egonw

Files which are labelled 3star.tsv only contain 3-star entries which have been annotated and checked by a ChEBI curator. The other files contain all entries which can be 1-star, 2-star and 3-star entries.
A 1-star entry is a preliminary entry which is awaiting curation and a 2-star entry means that it has been annotated by a third party (normally the submitter).


Strange Hit Testing when Flutter Semantics enabled.

Steps to reproduce

Click Enable Semantics.
Over over the dropdown and click Option 1.

Expected results
You should see "Option 1 pressed!" in the console.
Actual results
You see "Submit Button pressed!" in the console, indicating that the submit button underneath the "Option 1" menu item was clicked instead of Option 1 itself.
Code sample
Code sample
// This dart file reproduces a bug with Flutter Semantics. In certain
// situations, clicking a dropdown menu item with semantics enabled will hit
// the element under it.

import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:mobile.flutter.google_material.material2/google_material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: GoogleMaterial.theme(colors: GoogleColorScheme.light),
      darkTheme: GoogleMaterial.theme(colors: GoogleColorScheme.dark),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String dropdownValue = 'Option 1';
  SemanticsHandle? _semanticsHandle;

  final _options = ['Option 1', 'Option 2', 'Option 3', 'Option 4'];

  @override
  Widget build(BuildContext context) {
    final row = Row(
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        Expanded(
            child: ClipRect(
          child: Column(
              mainAxisSize: MainAxisSize.min,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                SizedBox(
                  // First option covers the button underneath it.
                  // When clicked, users should see "Option x pressed" in the
                  // Chrome console.
                  child: Semantics(
                      container: true,
                      child: SubmenuButton(
                        menuChildren: _options
                            .map((option) => MenuItemButton(
                                  onPressed: () {
                                    print('$option pressed');
                                  },
                                  child: Text(option),
                                ))
                            .toList(),
                        child: MenuAcceleratorLabel('Dropdown'),
                      )),
                ),
                Padding(
                  padding: EdgeInsetsDirectional.zero,
                  child: Row(
                    crossAxisAlignment: CrossAxisAlignment.center,
                    children: [
                      // To reproduce this bug:
                      //  1. Enable semantics
                      //  2. Try hitting the first option on the dropdown above
                      //
                      // You should see "Option 1 pressed" in the console.
                      // If instead you see "Submit Button pressed!", the
                      // semantics bug has been triggered.
                      Semantics(
                        container: true,
                        child: Container(
                          child: ElevatedButton(
                            onPressed: () {
                              print('Submit Button pressed!');
                            },
                            child: Text('Submit'),
                          ),
                        ),
                      ),
                      // Toggle Button
                      SizedBox(height: 20),
                      Semantics(
                        container: true,
                        child: ElevatedButton(
                          onPressed: () {
                            setState(() {
                              if (_semanticsHandle == null) {
                                _semanticsHandle =
                                    RendererBinding.instance.ensureSemantics();

                                print('Semantics enabled');
                              } else {
                                _semanticsHandle!.dispose();
                                _semanticsHandle = null;

                                print('Semantics disabled');
                              }
                            });
                          },
                          child: Text(_semanticsHandle != null
                              ? 'Disable Semantics'
                              : 'Enable Semantics'),
                        ),
                      ),
                    ],
                  ),
                )
              ]),
        )),
      ],
    );

    return AnnotatedRegion(
      value: SystemUiOverlayStyle.light,
      child: row,
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://youtu.be/uqgGJ2aMyaU

Logs
Logs
N/A

Flutter Doctor output
Doctor output
[   +4 ms] ProcessManager.runSync('which java')
[   +8 ms] executing: /usr/local/buildtools/java/jdk/bin/java --version
[   +1 ms] ProcessManager.runSync('/usr/local/buildtools/java/jdk/bin/java --version')
[ +314 ms] Exit code 0 from: /usr/local/buildtools/java/jdk/bin/java --version
[   +2 ms] openjdk <IP_ADDRESS> 2024-01-05
           OpenJDK Runtime Environment (build <IP_ADDRESS>+1-google-release-596018471)
           OpenJDK 64-Bit Server VM (build <IP_ADDRESS>+1-google-release-596018471, mixed mode, sharing)
[   +1 ms] executing: /usr/bin/adb devices -l
[   +1 ms] ProcessManager.run('/usr/bin/adb devices -l')
[   +1 ms] Flag --fuchsia not found, Fuchsia device discovery disabled.
[   +1 ms] Gallium device polling: connecting to galliumd.
[   +2 ms] [✓] Flutter (Channel google3, on Debian GNU/Linux rodete 6.5.13-1rodete2-amd64, locale en_US.UTF-8)
[   +1 ms]     • Framework revision 345857712f (12 days ago), 2024-02-08T00:00:00.000
[   +1 ms]     • Engine revision f9a169e0e0
[   +1 ms]     • Dart version 452dd17120
[   +1 ms] [✓] Android toolchain - develop for Android devices (Android SDK version Stable)
[   +1 ms]     • Android SDK at google3
[   +1 ms]     • Platform Stable, build-tools Stable
[   +1 ms]     • Java binary at: /usr/local/buildtools/java/jdk/bin/java
[   +1 ms]     • Java version OpenJDK Runtime Environment (build <IP_ADDRESS>+1-google-release-596018471)
[   +1 ms] [✓] VS Code (version 1.85.1)
[   +1 ms]     • VS Code at /usr/share/code
[   +1 ms]     • Flutter extension can be installed from:
[   +1 ms]       🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[  +73 ms] List of devices attached
[   +2 ms] Gallium device polling failed to connect to galliumd: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111),
address = localhost, port = 43824, details: null, rawResponse: null, trailers: {})
[   +1 ms] executing: uname -m
[   +1 ms] ProcessManager.runSync('uname -m')
[   +3 ms] Exit code 0 from: uname -m
[   +1 ms] x86_64
[   +1 ms] executing: /usr/bin/adb devices -l
[   +1 ms] ProcessManager.run('/usr/bin/adb devices -l')
[   +5 ms] List of devices attached
[   +1 ms] [✓] Connected device (1 available)
[   +1 ms]     • Linux (desktop) • linux • linux-x64 • Debian GNU/Linux rodete 6.5.13-1rodete2-amd64
[   +1 ms] [✓] Google3 (on linux)
[   +1 ms]     • KVM enabled
[   +1 ms] • No issues found!
[   +1 ms] "flutter doctor" took 454ms.
[+1094 ms] ensureAnalyticsSent: 1092ms
[   +2 ms] Running 0 shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +1 ms] exiting with code 0

what's this import?
import 'package:mobile.flutter.google_material.material2/google_material.dart';

does the issue reproduces without it?

This import contains Widgets, Buttons, Dropdown Menus, etc. I can still reproduce the bug when using import 'package:flutter/material.dart'; instead.

Thanks for the report @dsanagustin
I verified using latest stable and master versions by running the code sample on mobile and desktop (macos) on which I observed expected behavior, ie, it prints option 1 pressed after enabling semantics:
https://github.com/flutter/flutter/assets/67046386/77e6f6a4-4a00-4c77-857c-d4ffd64b461c
Can you provide your flutter version and platform you are seeing the reported behavior on ?

My version of flutter is from a master commit from within the last few days. The closest version would be 3.19.0-2.0.pre, although it's not exact.

Thanks for the update. I was able to replicate it on web and per my earlier verification, the issue only occurs on web and not on mobile or desktop platforms.
Interestingly, if we run the app for first time and tap on option 1 item from menu without enabling semantics, it prints it option 1 pressed properly, but if we enable semantics and disable it again and try to select option 1, then it still prints submit button pressed.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (2 days ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.20.0-11.0.pre.80, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.20.0-11.0.pre.80 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efee280cfa (3 hours ago), 2024-02-21 21:44:25 -0500
    • Engine revision 7eeb697687
    • Dart version 3.4.0 (build 3.4.0-163.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


[CompileError] Typo with module names

I started sketching some code to use PostgreSQL and if try to compile you'll get a compile error. That seems caused by the last commit.
https://github.com/jhartwell/Plsm/commit/ed70d2372fffc128b680bbb1cc17ecb144408b4b
** (CompileError) lib/plsm.ex:14: Plsm.Database.MySql.__struct__/1 is undefined, cannot expand struct Plsm.Database.MySql

@luizvarela I will fix this today. I changed the name of the project to Plsm to differentiate from the other Elixir libraries of the same name. I have a commit to remove odbc use coming in today and that will fix it

@jhartwell Great, I will wait for the changes.

@luizvarela have you made any code changes yet? I have a fix that will change the way the program is coded but I don't want to make you re-write stuff so I can wait for your change to go in before I make my breaking changes if you've started

Not yet, you can send your changes :)

@luizvarela I have fixed the module name issue. If you decide to go the route of adding postgres support, I suggest you use a library instead of ODBC as I'm working on removing ODBC code. Also, note that the protocol for Database may change shortly

@luizvarela MySql changes have been made and everything seems to be working. Feel free to add Postgres support!


Does youtube-viewer execute any JavaScript?

Hello,
I have just found this interesting software and I am willing to try it on openSUSE Leap 42.3.
However I am concerned about the Spectre and Meltdown vulnerabilities and the possibility for mischief they create for JavaScript coming from websites. So I am browsing the web with JS completely disabled. Still I have been looking for a way to search/watch youtube videos without JS. I have been using mps-youtube but just a text interface is not enough as it seems.
My question is: Does youtube-viewer execute any JavaScript? (i.e. is it safe for what I am looking for) Also does it store any cookies (I don't want to be tracked through cookies)
Forgive me for asking here but I couldn't find any forum or mailing list. If there is a more appropriate page to ask this, please share a link to it. Thanks!

Hello,
As long as you youtube-dl is not installed (which youtube-viewer uses to play videos with encrypted signatures), no JavaScript code is executed.
Regarding the storage of cookies, youtube-viewer does not use cookies. However, if you connect to your YouTube account through OAuth 2.0, you can be tracked by Google, as any request is directly connected to your YouTube/Google account.
Google may use other ways for tracking users. One obvious way is by IP address.
See also: https://github.com/trizen/youtube-viewer/issues/184

Thank you @tritzen. Yes, I am aware of the filter bubble and the other privacy issues, thanks for sharing anyway.
I have just uninstalled youtube-dl from YasT. However I see another youtube-dl available through pip:
[~]: pip list --format=columns | grep youtube
mps-youtube      <IP_ADDRESS>
youtube-dl       2018.1.21

Do I need to get rid of that too?
For downloading videos so far I have been using avideo. I also have mpv, mplayer, vlc and smplayer installed. Do these work in conjunction youtube-viewer? Or are you aware of any JS/cookie issues related to them?

Do I need to get rid of that too?

Yes, I think you have to remove youtube-dl from the pip list as well. To check if youtube-dl has been successfully uninstalled, the output of:
which youtube-dl

should be:
youtube-dl not found

[...] mpv, mplayer, vlc and smplayer installed. Do these work in conjunction youtube-viewer?

Yes, all this players are supported by youtube-viewer, but mpv is probably the one that is preferred more in conjunction with youtube-viewer.

[...] are you aware of any JS/cookie issues related to them?

It is known that mpv uses youtube-dl to stream videos from various websites, so you should be aware of that.
By default, youtube-viewer executes mpv with the --no-ytdl argument, which disables the youtube-dl preprocessing.
Not sure about the other players nor if they use cookies or not.

Thank you. I have uninstalled youtube-dl from pip too.
Can youtube-viewer be configured to use avideo in place of youtube-dl?
BTW I sent an email to smplayer's developer and he answered:

SMPlayer does run a little piece of javascript code in order to play YouTube videos. If you don't want use use javascript then you can go to Preferences -> Network and set the option "support for video sites" to "mpv + youtube-dl". In that case SMPlayer will use an external application (youtube-dl) to get the video address. I think that external application doesn't use javascript.
SMPlayer doesn't use cookies.

No problem.

Can youtube-viewer be configured to use avideo in place of youtube-dl?

If avideo is compatible with youtube-dl, you should be able to link youtube-dl to avideo.
Example:
sudo ln -s /usr/bin/avideo /usr/bin/youtube-dl

I tried what you suggest as a link but it gives an error and the video doesn't play:
[~]: youtube-viewer "https://www.youtube.com/watch?v=LatorN4P9aA"
2017.9.27
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/avideo/extractor/youtube.py", line 1183, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python3.4/site-packages/avideo/extractor/youtube.py", line 1114, in _extract_signature_function
    raise ExtractorError("Youtube's DRM has prevented this software from obtaining the video URL", expected=True)
avideo.utils.ExtractorError: Youtube's DRM has prevented this software from obtaining the video URL
 (caused by ExtractorError("Youtube's DRM has prevented this software from obtaining the video URL",)); please report this issue on https://notabug.org/GPast/avideo/wiki/bug . Make sure you are using the latest version; see  https://notabug.org/GPast/avideo/wiki/update  on how to update. Be sure to call avideo with the --verbose flag and include its complete output.

=>> Description
... // shortened by me
-> Views     : 43,318,025
-> Published : 26 Feb 2010
------------------------------------------------------------------------------------------------------------------------------------------------------------
do_connect: could not connect to socket
connect: No such file or directory

=>> Search for YouTube videos (:h for help)
>

It seems related to:
https://notabug.org/GPast/avideo/issues/5

Youtube's DRM has prevented this software from obtaining the video URL

As the maintainer of avideo says here, the error is intentional.

As a consequence, it's currently impossible to download those videos with DRM using avideo.

Yes, exactly.
Thank you for your help!


Update quarkus/operator-sdk dependencies

Insert JIRA Issue number and update link
Please make sure that your PR meets the following requirements:

[ ] Your code is properly formatted according to this configuration
[ ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] All new functionality is tested
[ ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

@r00ta This upgrade should allow us to use the Amazon Services extension in Quarkus 2.6, which brings support for Secrets Manager. Should help us with #219


nodes/{nid}/children endpoint should not return pointers

Currently, the children endpoint returns both child nodes and pointers. It should not return pointers.

get_node_count should also not include pointers.


Using Redshift isomorphically.

Hi Matt, Thanks for telling about the svg path route fix. Before checking on that, right now I'm trying to integrate Redshift wir Cycle.js (which is using virtual-dom itself) -> https://github.com/staltz/cycle.
The goal is to get an implemenation based on the isomorphic Cycle example -> https://github.com/staltz/cycle/tree/master/examples/isomorphic
Isomorphic here just means the app can render both, from the client and the server.
As Redshift is coupled with the window object because of the dom, it throws an error server side and I wonder, if there is a way to entirely decouple Redshift from the Dom so Redshift could be used also as a NPM module with isomorphic abilities?

To clarify, of course the server should not render animations, it's just about the "incompatibility" of both environments. And as you need the window object in Redshift to ask for window.requestAnimationFrame, I guess, the only way to handle it is to wrap Redshift code like this?
if (typeof window !== "undefined") {
    var redshift = require('redshift');
    var renderAction = redshift.newAction();
    renderAction.play({
         ...
    });
}

Hey man. Node support was actually a design goal at one point, I'd just forgotten about it recently. Redshift can be used for all sorts of number tweening, like eased iterating over an array, which could be useful for powering Arduino hardware.
So thanks for reminding me - if you update to 1.2.0 or download the latest redshift.global.min.js, this should work with Node now.

Node support, very nice, thank you! :) Yep, after playing around with Redshift, it got clear, that receiving the tweening data itself is environment independent and useful to have everywhere.
Cycle (the links I posted above) is mainly working with RxJS streams (https://github.com/Reactive-Extensions/RxJS), they even published a small utility for tweening via RxJS yesterday -> https://github.com/staltz/rxtween
Now when thinking about it, streams (RxJS) and Redshift are, of course, a perfect match, because Redshift delivers "data over time". So my next try will be to create RxJS observables from Redshift data, which then should integrate nicely into the Cycle philosophy of "everything is a stream".
Let's see, how that'll work out ;)


Port to Chisel 6.x

This PR contains 2 separate changes:

Upgrade to Chisel 6.0.0
Port build system from sbt to mill

I have only done very limited simulation test on the changes. I don't think the changes (including port to chisel 6) are likely to break the functionality but nevertheless more extensive testing is recommended.
I understand that the changes should preferably be split into two PRs and that the change of the build system might not be desirable by the maintainers. Unfortunately at this time I won't be able to split the PR. Please feel free to cherry pick, split, or make any changes to this PR!

hi @kammoh thanks for the contribution. The changes look good, but it seems that the CI was not triggered in the PR  - this is due to misconfiguration in the CI yaml file. This has been fixed on main. Can you rebase your PR on top of that, so that the CI is triggered here?


Show existing tiles instead of blank tiles while loading new tiles

Got an idea:
You know when we are zooming in, and the whole editing screen goes black while the new tiles are fetched?
Well: how about leave the former non-zoomed tiles on the screen while this is happening. Just seemingly drape over them. Much less disconcerting I bet!
Yes, you will have to throttle your high speed connections to know what I am talking about.
Try around ADSL 256/64 speeds.
Such a blanking event would never happen e.g. in Google Maps, or in fact when viewing OSM.
In fact I just tried it when just viewing (not editing) OSM.org: First the whole page is zoomed. Then the new detailed tiles are painted over it. That's the way to do it!! I mean this sudden page of blackness has to go. Thanks!

I am talking about the background Bing photomaps, etc. plus data wireframe.

Reproduce with:

Simulate a slow connection with your browser's Developer Tools
While editing, zoom rapidly.

The screen becomes black, then slowly imagery appears, tile by tile.


Bug 1793850: Update UsingDeprecatedAPIExtensionsV1Beta1 alert

/assign @tnozicka

/retest

@soltysh I'm not sure what's up with this. The error @crawford mentioned is consistent, but we don't modify L13 in this file.. and other PRs are merging.

In general regarding these alerts about deprecated APIs my two cents:
They are really broken in 4.3, we have a long running cluster and someone created a DS with deprecated API and even after removal the alert has not gone away, because it does not use an increase. We silenced them, but they still show in the main console, so right now users can't get rid of these alerts. This needs to be fixed ASAP in 4.3 onwards. This is inducing alert fatique for users if we do not fix them, and making users ignore alerts in general.
tl;dr:

one alert for user namespaces, warning or info level is fine
lets group the clients into one, I don't want to see 4 alerts firing if someone creates one DS.
no alerts for openshift components only we can control, you can add a recording rule test in origin for this to prevent new merges for happening. Users can't influence this nor fix it, so its not an actionable alert.

Please ping me or @openshift/openshift-team-monitoring for any help, or advice, we should fix this soon. Thanks!
(It seems we have like 3 PRs open for this, forgot which was the original one I was pinged on 🤔 )

/retest

/retest

/retest

Looks like CI is good now. Pulling the hold that @crawford put in here to stop the retest loop.
/hold cancel

/lgtm

@soltysh @cblecker It is a bummer that this got merged despite the comment in https://github.com/openshift/cluster-kube-apiserver-operator/pull/742#issuecomment-584089082 :-( As @LiliC mentioned this will cause alert fatigue and should rather be catched in e2e tests.
@LiliC will submit a follow-up PR, or do you have concrete follow-up plans here?

@s-urbaniak @LiliC sorry, this got merged w/o my notice, fix excluding openshift elements in https://github.com/openshift/cluster-kube-apiserver-operator/pull/762


Save and Archive Feature with Workbench Client

📝 Description of the feature
I would like to request an enhancement for saving and archiving projects in the Workbench Client.
This enhancement involves the use of the launch_workbench() function.
💡 Steps for implementing the feature
Implement methods such as save_project and archive_project.

Use the following code to save a project:

def save_project(self, project_name):
  workdir = GetServerWorkingDirectory()
  path = os.path.join(workdir, f"{project_name}.wbpj")
  save_string = f"""import os
workdir = GetServerWorkingDirectory()
path = os.path.join(workdir, "{project_name}.wbpj")
Save(FilePath=path, Overwrite=True)"""
  self.run_script_string(save_string)

Use the following code to archive a project:

def archive_project(self, project_name):
  workdir = GetServerWorkingDirectory()
  path = os.path.join(workdir, f"{project_name}.wbpz")
  archive_string = f"""import os
workdir = GetServerWorkingDirectory()
path = os.path.join(workdir, "{project_name}.wbpz")
Archive(FilePath=path , IncludeExternalImportedFiles=True)"""
  self.run_script_string(archive_string)

🔗 Useful links and references
No response

This is now implemented by the new download_project_archive function, which will be available as release 0.7.0.


Platform.environment empty on iOS and Web.  Not on MacOS

Steps to Reproduce
Examine Platform.environment.

On iOS and web it is empty
On MacOS it is not empty

Execute flutter run on the code sample
...
...

Expected results:
on iOS and web as on MacOS
Actual results:
Nothing on iOS or web.

Code sample

import 'package:flutter/material.dart';
import 'package:universal_io/io.dart' show Platform;
void main() {
  runApp(const MyApp());
}
class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}
String? getPath() {
  return Platform.environment['PATH'] ?? "No path";
}
class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    List<Widget> childs = [];
    int counter = 0;
    childs.add(Text(
      "Environment",
      style: Theme.of(context).textTheme.headline1,
    ));
    for (String key in Platform.environment.keys) {
      String value = Platform.environment[key]!;
      if (value.isNotEmpty) {
        childs.add(Text("$key -> $value",
            style: Theme.of(context).textTheme.bodyText2));
        counter++;
      }
      if (counter > 6) {
        break;
      }
    }
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: childs,
        ),
      ),
    );
  }
}

Logs

Attached.

Analyzing trash_delete_this...
No issues found! (ran in 2.1s)

[✓] Flutter (Channel stable, 3.3.7, on macOS 12.6 21G115 darwin-arm, locale en-AU)
    • Flutter version 3.3.7 on channel stable at /Users/user/Documents/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e99c9c7cd9 (6 days ago), 2022-11-01 16:59:00 -0700
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F17a
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.73.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (3 available)
    • IPadOfWorik (mobile) • 00008103-000229CE1E31001E • ios            • iOS 15.7 19H12
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 107.0.5304.87
    ! Error: IPadOfWorik is busy: Fetching debug symbols for IPadOfWorik. Xcode will continue when IPadOfWorik is finished. (code -10)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

verbose_runlog.txt

Hello @WorikQCI. This makes sense since on Web, you don't have access to the dart:io library from where this comes from, and on iOS, you wouldn't be given access to environment variables of iOS. On MacOS you can access he environment variables from the host OS. If you need environment variables, I suggest using --dart-define to pass environment variables to the app, that can then be accessed using String.fromEnvironment, int.fromEnvironment and bool.fromEnvironment.
I am closing this issue as this is working as intended. Thank you

This makes sense since on Web, you don't have access to the dart:io library

That is why I did not use dart::io library.

Platform.environment comes from the dart:io library. Which library are you using then?

Platform.environment comes from the dart:io library. Which library are you using then?

In the code example above:
import 'package:universal_io/io.dart' show Platform;

Unfortunately, universal_io is not an official Flutter package/plugin. But it does the same thing as what I mentioned in https://github.com/flutter/flutter/issues/114849#issuecomment-1306820581. You can't access Platform.environment on web, and on Android and iOS, you would not get any env variables from your host machine as it's not being run on your host machine, but on a mobile OS


Overwrite content options is not working

package.json

{
  "devDependencies": {
    "@nuxtjs/tailwindcss": "^6.2.0",
    "nuxt": "3.0.0"
  }
}

i tried various settings. but overriding always doesn't work

nuxt.config.ts
export default {
  tailwindcss: {
    config: {
      content() {
        return ['./theme1/**/*.vue']
      }
    }
  },
}

is not working.

tailwind.config.js
export default {
  content() {
    return ['./theme1/**/*.vue']
  }
}

will throw the error. Cannot restart nuxt:  (tailwindConfig.content || []) is not iterable

the following settings are possible. but not formal

nuxt.config.ts
export default {
  hooks: {
    // is working
    'tailwindcss:config'(config: any) {
      config.content = ['./theme1/**/*.vue']
    },
  },
}

tailwind.config.js
export default {
  // is working, purge options have changed in Tailwind CSS v3.0.
  purge: [
    'test/*.vue'
  ]
}

what I need is overwrite not merge. can anyone help?

Why using a function for content?

@Atinux I refer to the document's
config/#merging-strategy

I didn't see an option in the source code of the module for content to be function. Moreover, since there are also usage of JSON.stringify to add templates, the function would get removed (though the module internally copies over the config according to my knowledge). But I've opened #592 as a draft fix for it if Atinux would provide feedback. 🙂

@jheng-jie can you check with 6.3.0?

@ineshbose  6.3.0 is working! thank you very much.
// nuxt.config.ts
{
  tailwindcss: {
    config: {
      content(origin: TailwindConfig['content']) {
        console.log('origin', origin)
        // overwrite
        return [
          './src/App.vue',
          './src/theme/_common/**/*.{vue,scss}',
          `./src/theme/${process.env.VITE_THEME}/**/*.{vue,scss}`,
        ]
      },
    },
  }
}


I can not open terminal and i really need to to finish a project

i am trying to open a terminal window but i cant and its really annoying
Version: 1.92.2
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/extCodespaces


Monika's text bubble is behind her

My friend, you have broken reality. Honestly, I have no idea how that even happened - the order of images is hardcoded. Did the problem remain after a restart?

I hardcoded it even more. Hopefully that fixes it.


Ban enums by default

Discriminated unions are a better choice than enums in 95% of cases but they are overused by developers coming from other languages like C# who see them as familiar.
I think it would be good to ban enums by default, and allow exceptions in the rare cases where they are appropriate.
More explanation: https://stackoverflow.com/a/60041791/1153203

Depending on how complicated the implementation is, the proposed rule may be better off in https://github.com/danielnixon/eslint-plugin-total-functions

More: https://github.com/typescript-eslint/typescript-eslint/issues/561

Done is latest release.


[Lexical] Feature: Merging PR closes auto-linked issue

Description

Closes: #6123 <- this should be just Closes #6123 without anything between keyword and #issue to close auto linked issue when the PR gets merged.
or we could make it as following with bullet if additional formatting is needed:

Closes #6123

https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
Test plan
Before
Insert relevant screenshots/recordings/automated-tests
After
Insert relevant screenshots/recordings/automated-tests

This is brilliant! Who would've thought that bold formatting breaks auto closure here


error message : Unknown option -v while trying to download nuget artifact

Issue Title
Keep getting below error message when I register a repository in powershell and download nuget package from Azure artifact
General

Seeing the same with Register-PSRepository with version 3.1.401... how did you work around?

@ChrisAtRelativity  didn't find any?

I found a related issue and also documented there.
https://github.com/PowerShell/PowerShellGet/issues/52#issuecomment-674350338


i want to add a workflow,process and aim of project

Hello sir i want to add a workflow,process and aim of project in README file

@TharunKumarReddyPolu

Hello Sanjay,
That sound's great. Please go ahead with development and create a pull request before you submit your efforts. More details in the readme file on how to get started. :)

@sanjaygupta972004 Any updates or blockers??


Compatibility

This plugin is tested against the following browsers:
Internet Explorer 9 and higher
…

This plugin use modern javascript syntaxe not compatible with IE: https://caniuse.com/#feat=es6-class
Maybe we should mention how to deal with it with babel.
Or provide a dist file covering this scope out of the box.

That mention is something we missed in the README file but we have it on the demo website: https://a11y.switch.paris/onglet.html
We might consider generating a legacy version of the script for users who wants to import the script directly from a web page instead of bundling it.


Switch Window Command, Take and show screenshot, Tell the IP Adress

This commands will enhance jarvis.

Can you please assign me this issue to solve?

Can you please assign me this issue to solve?

No only One can solve this issue

Can you please assign me this issue to solve?

No only One can solve this issue

Okay sure! Thanks!


Create universe package for 0.10.1

Let's first wait for the review of #2015.

Looks like this is already done: https://github.com/mesosphere/universe/blob/version-1.x/repo/packages/M/marathon/4/marathon.json


Add loancommand and loancommandparser

Resolve #105
Issues known:

Loan status is not saved/loaded properly.
(ie. Upon restart, isLoaned statuses are all reset to default false)
UI for loan status not set up.
(ie. Unable to see whether a book is loaned or not)

Codecov Report

Merging #111 (16191d1) into master (8a94236) will decrease coverage by 2.19%.
The diff coverage is 28.00%.

@@             Coverage Diff              @@
##             master     #111      +/-   ##
============================================
- Coverage     67.50%   65.30%   -2.20%
- Complexity      412      438      +26
============================================
  Files            88       93       +5
  Lines          1351     1496     +145
  Branches        127      148      +21
============================================
+ Hits            912      977      +65
- Misses          405      473      +68
- Partials         34       46      +12

Impacted Files
Coverage Δ

src/main/java/bookface/commons/core/Messages.java
0.00% <ø> (ø)

src/main/java/bookface/logic/LogicManager.java
71.42% <0.00%> (-3.58%)
:arrow_down:

...main/java/bookface/logic/commands/LoanCommand.java
0.00% <0.00%> (ø)

...n/java/bookface/logic/commands/add/AddCommand.java
100.00% <ø> (ø)

.../bookface/logic/commands/delete/DeleteCommand.java
100.00% <ø> (ø)

.../java/bookface/logic/parser/LoanCommandParser.java
0.00% <0.00%> (ø)

...rc/main/java/bookface/logic/parser/ParserUtil.java
73.17% <0.00%> (-23.61%)
:arrow_down:

...kface/logic/parser/add/AddBookArgumentsParser.java
0.00% <0.00%> (ø)

src/main/java/bookface/model/book/Book.java
33.33% <ø> (+33.33%)
:arrow_up:

src/main/java/bookface/ui/BookCard.java
0.00% <0.00%> (ø)

... and 15 more

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


Add extra variables in event_basics

Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
What is the problem / what does the code in this PR do
Add more properties at the event level, see https://github.com/XENONnT/straxen/issues/381.
Can you briefly describe how it works?
The added properties will be loaded in event_basics.
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:

Update the docstring(s)
Update the documentation
Tests to check the (new) code is working as desired.
Does it solve one of the open issues on github?

Please make sure that all automated tests have passed before asking for a review (you can save the PR as a draft otherwise).

@WenzDaniel, reprocessing is no deal at all since we are talking about Events

@WenzDaniel Thanks for the version bump and the PMT number type change! One thing to note is that I didn't add s2_over_tdiff since Amanda and Jacques have some idea to replace it with a better parameter. @AmandaDepoian @jpienaar13 are you going to add the new parameter here?

@jingqiangye @AmandaDepoian @jpienaar13 , we would like to make a new release today and I would like to merge this PR too, if you do not disagree. I will wait with the merge until 15:00 CET today. So if you can add s2_over_tdiff  by then it would be nice, if not also no problem then we can make a new PR next week.


In azure blob container and client creation don't require to close resources/connections?

Here is sample code snippet to create blob container and client to upload a file:-
BlobClient blobClient = AzureHelper.getBlobContainerClient(AzureHelper.getBlobServiceClient(serviceEndpoint, account, key), container).getBlobClient(destFile);

blobClient.upload(bin, length, true);
In azure blob storage java library, we create blob container and blob client to perform upload/download operations.
I don't find any close/shutdown method for container client object close once operation is finished.
So my question is as per below:-

azure blob client don't require to release any resources that might be held open?
Also there is no any max limit to open container client object.(As many as number of client we can open?)
In high concurrent upload/download scenarios, it may create issue?

Can anyone clarify this?
Thanks

Hi, @harisingh-highq. Thank you for your questions.

There is no need to explicitly close or release any resources when working with our clients. All the connections are managed by the underlying netty connection pool.
There is no limit to the number of client objects you can create. The limitation will come more from the number of requests you issue concurrently. So if you create a million clients but only issue requests from one at a time, you won't hit any issues. On the other hand, if you share a single client and issue a million requests from the one client at once, you'll see more congestion this way. Again, this is due to the underlying shared netty connection pool.
These clients are designed to support highly concurrent scenarios. That said, there is a limit based on the resources of your machine and possibly your httpClient or environment configuration. You can't issue infinite requests at once, but we've done a lot of work to ensure there is good support for highly concurrent workloads

Hi @rickle-msft ,
my application tries to upload data  (about 256 MB) using default settings (blocksize, maxConcurrency, etc.), however it starts to receive multiple warnings one by one:
[hybrid] [2020-12-10T14:56:15,700] [WARN ] reactor.netty.http.client.HttpClientConnect[id: 0x210f3791, L:/<IP_ADDRESS>:51510 - R:hybridblobtest.blob.core.windows.net/<IP_ADDRESS>:443] The connection observed an error io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
at io.netty.handler.ssl.SslHandler$5.run(SslHandler.java:2062)
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
And finally exception has been thrown:
Exception :reactor.core.Exceptions$ReactiveException
Exception detail :reactor.core.Exceptions$ReactiveException: io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
at reactor.core.Exceptions.propagate(Exceptions.java:393)
at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:97)
at reactor.core.publisher.Mono.block(Mono.java:1680)
at com.azure.storage.common.implementation.StorageImplUtils.blockWithOptionalTimeout(StorageImplUtils.java:99)
at com.azure.storage.blob.BlobClient.uploadWithResponse(BlobClient.java:231)
at com.hybridintegration.repository.AzureRepo.uploadFile(AzureRepo.java:248)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.hybridintegration.servlet.FileUploadServlet.uploadFile(FileUploadServlet.java:875)
at com.hybridintegration.servlet.FileUploadServlet.uploadFileOpr(FileUploadServlet.java:785)
at com.hybridintegration.servlet.FileUploadServlet.handleExceptionInFileUpload(FileUploadServlet.java:1307)
at com.hybridintegration.servlet.FileUploadServlet.doPost(FileUploadServlet.java:592)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.hqahybrid.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

@harisingh-highq Does this happen on every request? And out of curiosity, if you use http instead of https does the request succeed?

Hi @rickle-msft ,
seems it was network issues as today (after reboot) I have no any warnings in logs.
Thank you

Wonderful. I am going to close this issue as it sounds like the questions were answered and the issue is no longer present.


Issue with extracting refactorings for specific commits

Hello! I've been trying to use PyRef for looking into a specific commit for Apache airflow. I used the command python3 main.py getrefs -r "[PATH_TO_REPOSITORY]" -c "[CommitHash]" -d "[Directory] to fetch refactorings for Apache airflow. However I'm getting an error after executing the command. This is what the output in the terminal looks like:
`python3 PyRef/main.py getrefs -r Repos/airflow/ -c "https://github.com/apache/airflow/pull/41985/commits/8382146f3e6296102f9b6db33f6e038a1a39d667"
Commit history already extracted, updating data.
Extracting Refs...
https://github.com/apache/airflow/pull/41985/commits/8382146f3e6296102f9b6db33f6e038a1a39d667
Traceback (most recent call last):
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/PyRef/main.py", line 70, in
main()
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/PyRef/main.py", line 66, in main
options.func(options)
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/PyRef/main.py", line 27, in extract_refs
diff_list.extract_refs(args)
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/PyRef/preprocessing/diff_list.py", line 136, in extract_refs
build_diff_lists(repo_path + "/changes/", args.commit, args.directory, skip_time)
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/PyRef/preprocessing/diff_list.py", line 58, in build_diff_lists
df = pd.read_csv(changes_path + "/" + name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/util/_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 950, in read_csv
return _read(filepath_or_buffer, kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 605, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 1442, in init
self._engine = self._make_engine(f, self.engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 1735, in _make_engine
self.handles = get_handle(
^^^^^^^^^^^
File "/mnt/c/Stuff/Documents/Porashuna/Year2/Sem2/Thesis/Code/commit_analysis/commit_analysis/lib/python3.11/site-packages/pandas/io/common.py", line 856, in get_handle
handle = open(
^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'Repos/airflow//changes//https://github.com/apache/airflow/pull/41985/commits/8382146f3e6296102f9b6db33f6e038a1a39d667.csv'`
Any help would be appreciated. I'm new to using PyReF

Hi, the problem is that "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." PyRef is not able to find the commit in the airflow repo.

Hi! Thanks for the explanation!


fix: shopping cart UI consistency

Description
This is changes to update the shopping cart side bar UI consistency with other integrations
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

fix for #113


fix deb dependencies

Closing because of comment -> https://github.com/symbol/desktop-wallet/issues/998#issuecomment-895549421

Closed because of -> https://github.com/symbol/desktop-wallet/issues/998#issuecomment-895549421


Create CreateRepoProfile.py

@shuvday , Please take a look at the review comments. Also if applicable can you use these comments for other pull requests also.
Additionally it may be better to follow the class based scripting approach like the one available in https://github.com/dell/omivv/pull/26. Please take a look.


Use application extension safe API

This way we can use TZStackView in application extensions such as Today Extensions.

Is it possible to get this merged and in a tagged release?


Support sign message without popup

Updated loginWallet mutation
Supported messages signed by 'eth_sign' method
Added HOSTNAME_WHITELIST to config, comma separated list of supported domains
Refs giveth/giveth-2#308

This update needs HOSTNAME_WHITELIST in config which is the list of supported hostnames for this backend.
Like:
HOSTNAME_WHITELIST=staging.giveth.io,www.staging.giveth.io

This update needs HOSTNAME_WHITELIST in config which is the list of supported hostnames for this backend.
Like:
HOSTNAME_WHITELIST=staging.giveth.io,www.staging.giveth.io


add laravel 9 support

update composer.json to add Laravel 9
update github workflow to include Laravel 9

I need to add -W flag when installing livewire v2, otherwise there will be a conflict when running P8 - L9.* prefer-lowest
Livewire v1 only support Laravel version < 9, so I am excluding them for Laravel 9.

This looks good to me! Thank you for doing this.
I do have one question about the testing matrix. Was there a reason you specifically chose livewire/livewire:^2.3.10 vs livewire/livewire:^2 like it was before?
I'm going to go ahead and merge since that's just a testing thing, but I'd be curious the reasoning behind it!
Thanks again.

With -W I need to add --prefer-lowest on it. At first Composer tried to use livewire/livewire:v2.0.0 and then test failed.
Because LivewireTest is using
Livewire:: getPersistentMiddleware() and this method doesn't exist until v2.3.10.

@aarondfrancis Nice! Do you mind creating a release for this?😊


refactor(Examples): use ytdl-core instead of youtube-dl-exec

Please describe the changes this PR makes and why it should be merged:

Do not dependent on youtube-dl-exec anymore.
Update other dependencies.

This PR can make beginner easier to get started
Status and versioning classification:

Code changes have been tested against the Discord API, or there are no code changes

We purposefully use youtube-dl since ytdl-core is not reliable enough in our opinion. In the last few years, we have received many issues relating to ytdl-core specifically with Discord bots. I'm sure it's a great library for actually downloading, but when it comes to generating a continuous stream, it seems to suffer from abort/reconnect issues.
This example did originally start out with ytdl-core, but I also kept coming across the same issues we've been seeing on the discord.js issue tracker for months. I'm aware that there's a "fix" of just increasing the highWaterMark, but that's not really a fix, that just means you're downloading as much of the video into memory as you can rather than streaming it. As a result of this, I switched the example to youtube-dl which doesn't suffer from these issues.
If ytdl-core does eventually fix these issues I'd be more than happy to switch back to it, but until these issues are fixed I do not want to recommend it for use with Discord bots due to the sheer number of issues we've received over it.


Issues compiling 2.16 for linux_x86_64-musl

Preparing for the 2.16 release, I ran into some problems in the compilation for Alpine Linux. Could you take a look at the output and see whether the problem is with biber or with Perl 5.32.0 that I also compiled myself.
Furthermore: Will there be a new test-dev.bcf for biber 2.16 on SourceForge? The latest up there ist from August.
Thanks as always!
All prerequisites satisfied
t/annotations.t ........... ok
t/basic-misc.t ............ ok
t/bcfvalidation.t ......... ok
t/biblatexml.t ............ ok
t/bibtex-aliases.t ........ ok
Scalar found where operator expected at /biber/blib/lib/Biber/Output/bibtex.pm line 561, near ")
    $acc"
	(Missing operator before $acc?)
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 561, near ")
    $acc "
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 563, near "else"
Global symbol "$acc" requires explicit package name (did you forget to declare "my $acc"?) at /biber/blib/lib/Biber/Output/bibtex.pm line 564.
Global symbol "$acc" requires explicit package name (did you forget to declare "my $acc"?) at /biber/blib/lib/Biber/Output/bibtex.pm line 566.
Unmatched right curly bracket at /biber/blib/lib/Biber/Output/bibtex.pm line 567, at end of line
Can't use global @_ in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 577, near "= @_"
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 595, near "}"
Can't redeclare "my" in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 611, near "my"
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 620, near "}"
Can't use global @_ in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 629, near "= @_"
/biber/blib/lib/Biber/Output/bibtex.pm has too many errors.
Compilation failed in require at t/bibtex-output.t line 12.
BEGIN failed--compilation aborted at t/bibtex-output.t line 12.
# Looks like your test exited with 255 before it could output anything.
t/bibtex-output.t .........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests
t/configfile.t ............ ok
t/crossrefs.t ............. ok
t/datalists.t ............. ok
t/dateformats.t ........... ok
t/dm-constraints.t ........ ok
t/encoding.t .............. ok
t/extradate.t ............. ok
t/extratitle.t ............ ok
t/extratitleyear.t ........ ok
t/full-bbl.t .............. ok
t/full-bblxml.t ........... ok

#   Failed test 'Full test has zero exit status'
#   at t/full-bibtex.t line 35.
#          got: '2'
#     expected: '0'

#   Failed test 'Testing non-toolmode bibtex output'
#   at t/full-bibtex.t line 38.
# Looks like you failed 2 tests of 2.
t/full-bibtex.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/full-dot.t .............. ok
t/labelalpha.t ............ ok
t/labelalphaname.t ........ ok
t/labelname.t ............. ok
t/langtags.t .............. ok
t/maps.t .................. ok
t/names.t ................. ok
t/names_x.t ............... ok
t/options.t ............... ok
t/related-entries.t ....... ok
t/remote-files.t .......... ok
t/sections-complex.t ...... ok
t/sections.t .............. ok
t/set-dynamic.t ........... ok
t/set-legacy.t ............ ok
t/set-static.t ............ ok
t/skips.t ................. ok
t/skipsg.t ................ ok
t/sort-case.t ............. ok
t/sort-complex.t .......... ok
t/sort-names.t ............ ok
t/sort-order.t ............ ok
t/sort-uc.t ............... ok
t/sorting.t ............... ok
t/tool-bltxml-inout.t ..... ok
t/tool-bltxml.t ........... ok
Scalar found where operator expected at /biber/blib/lib/Biber/Output/bibtex.pm line 561, near ")
    $acc"
	(Missing operator before $acc?)
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 561, near ")
    $acc "
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 563, near "else"
Global symbol "$acc" requires explicit package name (did you forget to declare "my $acc"?) at /biber/blib/lib/Biber/Output/bibtex.pm line 564.
Global symbol "$acc" requires explicit package name (did you forget to declare "my $acc"?) at /biber/blib/lib/Biber/Output/bibtex.pm line 566.
Unmatched right curly bracket at /biber/blib/lib/Biber/Output/bibtex.pm line 567, at end of line
Can't use global @_ in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 577, near "= @_"
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 595, near "}"
Can't redeclare "my" in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 611, near "my"
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 620, near "}"
Can't use global @_ in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 629, near "= @_"
/biber/blib/lib/Biber/Output/bibtex.pm has too many errors.
Compilation failed in require at t/tool-config.t line 11.
BEGIN failed--compilation aborted at t/tool-config.t line 11.
# Looks like your test exited with 255 before it could output anything.
t/tool-config.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 12/12 subtests
Scalar found where operator expected at /biber/blib/lib/Biber/Output/bibtex.pm line 561, near ")
    $acc"
	(Missing operator before $acc?)
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 561, near ")
    $acc "
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 563, near "else"
Global symbol "$acc" requires explicit package name (did you forget to declare "my $acc"?) at /biber/blib/lib/Biber/Output/bibtex.pm line 564.
Global symbol "$acc" requires explicit package name (did you forget to declare "my $acc"?) at /biber/blib/lib/Biber/Output/bibtex.pm line 566.
Unmatched right curly bracket at /biber/blib/lib/Biber/Output/bibtex.pm line 567, at end of line
Can't use global @_ in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 577, near "= @_"
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 595, near "}"
Can't redeclare "my" in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 611, near "my"
syntax error at /biber/blib/lib/Biber/Output/bibtex.pm line 620, near "}"
Can't use global @_ in "my" at /biber/blib/lib/Biber/Output/bibtex.pm line 629, near "= @_"
/biber/blib/lib/Biber/Output/bibtex.pm has too many errors.
Compilation failed in require at t/tool.t line 11.
BEGIN failed--compilation aborted at t/tool.t line 11.
# Looks like your test exited with 255 before it could output anything.
t/tool.t ..................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 19/19 subtests
t/translit.t .............. ok
t/truncation.t ............ ok
t/uniqueness-nameparts.t .. ok
t/uniqueness.t ............ ok
t/utils.t ................. ok
t/xdata.t ................. ok

Test Summary Report
-------------------
t/bibtex-output.t       (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/full-bibtex.t         (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/tool-config.t         (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 12 tests but ran 0.
t/tool.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 19 tests but ran 0.
Files=52, Tests=1215, 85 wallclock secs ( 0.23 usr  0.07 sys + 78.03 cusr  5.59 csys = 83.92 CPU)
Result: FAIL
Failed 4/52 test programs. 2/1215 subtests failed.

Fixed if you pull dev again - I made a typo

Thanks! Works now.


release-v3.12.0.tgz does not contain kubernetes manifests

@lmm I believe we still expect our artifact to contain the manifests. Do you know why we've lost that?

@tmjd we missed this with the docs machinery update. In the past we used to have the site built in dir vX.Y in the root of the repo. The make target that copies over manifests from the site dir failed because the path _site/v3.12 doesn't exist.
Thanks for reporting this @tghartland !

@tghartland the release artifact has been updated with the manifests now. I'm going to close this now, thanks again 🙂


When using anyOf as a multi-select field, it does not populated the selected options correctly when you come back

Description
I am using an anyOf to simulate a multi choice dropdown. Whenever you make multiple selections and return to the dropdown with the model populated with the selections they do not show as selected.
All the data is persisted but it does not show when it's rendered.
Minimal Reproduction
https://stackblitz.com/edit/formly-anyof-issue
Your Environment

Angular version: 10.2.5
Formly version: 5.10.17

This issue has been fixed and released as part of v5.10.18 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!

The fix worked! Thanks @aitboudad


Add mouse wheel zooming to OrbitControls

This completes https://github.com/kvark/three-rs/pull/59

Thank you!
The merge commits indicate that you didn't rebase the original patch. Would you be able to rework the PR so that there is only 2 commits (original + your fixes)?

Yes, I'll have a go squashing the commits.

 It appears that Git treats merge commits in a special way, and squashing it with another one makes the result marked as a merge commit too.

Hold on... this is getting messy! :)

In my opinion, it makes sense not to merge @bobgates' branch and simply rewrite all code in one commit. And then you can mention @bobgates in commit message. It will prevent a lot of pain.
@kvark ?

Did that work?

Oh, well, it looks good

Thank you!
bors r+


follow-up actions for array API support in cluster

These are follow-up items from gh-18668:

[ ] a better name for as_xparray (see this comment)
[ ] a TODO comment in hierarchy.py for rewriting a fancy indexing expression (may need xp.put to be standardized, see this comment)
[x] there's a usage of xp.cov in hierarchy.py that needs changing (it's in numpy/cupy/pytorch, but not in the standard)
[ ] there's a usage of xp.searchsorted in hierarchy.py that either needs changing (it's in numpy/cupy/pytorch, but not in the standard) or the standardization for it needs to be pushed forward (it does make sense to include in the standard probably).
[ ] consider removing the skip_if_array_api marker (see this comment and gh-19181)
[ ] (after we drop setup.py) making the import of the vendored array_api_compat nicer (see this comment)
[ ] behavior of array-like's (see gh-19118)(array-likes are now allowed, but fine tuning is needed. See https://github.com/scipy/scipy/pull/19187#issuecomment-1708877650)

Comment from @asmeurer about the as_xparray name follow-up, copied here:
I think we decided that this specific wrapper was doing things that weren't appropriate for general inclusion in the compat library (c.f. https://github.com/data-apis/array-api-compat/pull/42), but an option could be to monkeypatch array_api_compat.asarray, especially since you are vendoring it.
I suspect a regular good name is preferable over monkey-patching (clearly separating what's standard from what's custom, which helps not only for clarity but will be useful to figure out if/when to drop compat layer helpers at a point when the standard is fully supported in array libraries).
No one has suggested a new name yet though. To trigger some ideas, here is the current signature
def as_xparray(
    array, dtype=None, order=None, copy=None, *, xp=None, check_finite=False
):

and also the signature of what is perhaps its closest equivalent, _asarray_validated:
def _asarray_validated(a, check_finite=True,
                       sparse_ok=False, objects_ok=False, mask_ok=False,
                       as_inexact=False):

What as_xparray has extra compared to xp.asarray is:

the order and copy keywords, which can be used if and only if the input is a numpy array
the check_finite keyword, which (if set to True) makes the function raise a ValueError if inf/nan values are present
if xp is not given as a keyword, it also calls the internal compliance_scipy utility which raises for np.matrix, masked arrays and object arrays.

Monkeypatch or no, my suggestion would still be to just call it asarray (or _asarray if it really bothers you that it's a different signature than the usual one).

Like xp.cov, xp.searchsorted is also not in the standard (originally noted by Ralf here https://github.com/scipy/scipy/pull/18668/files#r1228672460):
https://github.com/scipy/scipy/blob/604e7a28e145dd14b77666752b65879bb73b01d7/scipy/cluster/hierarchy.py#L1343-L1346

a TODO comment in hierarchy.py for rewriting a fancy indexing expression

For future reference, once this is done, the @skip_if_array_api_backend('numpy.array_api') here can be removed :
https://github.com/scipy/scipy/blob/604e7a28e145dd14b77666752b65879bb73b01d7/scipy/cluster/tests/test_hierarchy.py#L1200-L1201

The xp.cov task can be checked off now that #19051 is merged, and replaced with xp.searchsorted as mentioned above.

Done. Added a note that searchsorted may be standardized. So not urgent to try and replace it.

behavior of array-like's (see https://github.com/scipy/scipy/issues/19118)(array-likes are now allowed, but fine tuning is needed. See https://github.com/scipy/scipy/pull/19187#issuecomment-1708877650)

The relevant discussion for this point is collected in gh-19276.

there's a usage of xp.searchsorted in hierarchy.py that either needs changing (it's in numpy/cupy/pytorch, but not in the standard) or the standardization for it needs to be pushed forward (it does make sense to include in the standard probably).

Good idea to link to https://github.com/data-apis/array-api/issues/688

behavior of array-like's (see BUG: np-coercible array-likes are not accepted with array API flag set #19118)(array-likes are now allowed, but fine tuning is needed. See BUG: accept np-coercible array-likes with array API flag set #19187 (comment))

This can be ticked off now following gh-19606.

(after we drop setup.py) making the import of the vendored array_api_compat nicer (see https://github.com/scipy/scipy/pull/18668#issuecomment-1607878468)

completed by gh-19701

there's a usage of xp.searchsorted in hierarchy.py that either needs changing (it's in numpy/cupy/pytorch, but not in the standard) or the standardization for it needs to be pushed forward (it does make sense to include in the standard probably)

https://github.com/data-apis/array-api/pull/699 should add searchsorted to the standard, so there's nothing else to do on our side right now.

the searchsorted point can be ticked off now (however I don't think we can remove any test skips yet - cut_tree still has a # TODO ARRAY_API complex indexing not supported

consider removing the skip_if_array_api marker

completed ✅


Unsafe vs IntPtr

Hey there,
Since we are planning to use .NET 5 and function pointers, isn't right to also use unsafe contexts on some other points of the code ? I'm asking especially for structs, to use things like GLib.List* instead of an IntPtr. I think like that we will avoid a lot of marshaling/unmarshaling (which is an issue I'm facing while working on #103.
The unsafe context will only be used for Native classes, we will wrap them and provide safe contexts to end users through the high level API.
Any thoughts @badcel, @firox263 ?

For me this would be okay in general.
Would you like to change the generator to be able to use unsafe code? Or which kind of native methods would you like to change?

I think we can change the generator to use unsafe on:

Native methods where we use a closure/callback to use a function pointer instead (thanks to C# 9)
Native methods where we use IntPtr to reference a structure
Native methods where we use an IntPtr to reference a pointer of pointer of struct (especially for out parameters in C)

Maybe I'm missing other parts where it can be useful.


MultiProcessConsumer code not working

I'm trying to use the MultiProcessConsumer as shown in the "Usage" section of the docs, but I'm not able to connect to the Kafka server.  I'm getting this error:
Could not send request [1] to server localhost:9092, trying next server
Traceback (most recent call last):
File "C:\Python\lib\site-packages\kafka\client.py", line 116, in _send_broker_unaware_request
payloads=payloads)
File "C:\Python\lib\site-packages\kafka\protocol.py", line 377, in encode_metadata_request
message.append(struct.pack('>h%ds' % len(topic), len(topic), topic))
Yet I do have a Kafka server running on my localhost, which I am able to access using the command line consumer:
kafka-console-consumer --zookeeper localhost:2181 --topic my-replicated

kafka-python does not use zookeeper, can you verify that you are able to connect using
kafka-simple-consumer-shell.sh --broker-list localhost:9092 --topic my-replicated

Yes, I am.  For what it's worth, I am able to use the single process KafkaConsumer without any problems.

can you paste the code you are using to initialize the working KafkaConsumer and the failing MultiProcessConsumer?

`from kafka import KafkaClient, MultiProcessConsumer
kafka = KafkaClient('localhost:9092')
This will split the number of partitions among two processes
consumer = MultiProcessConsumer(kafka, 'test_consumer', 'my-replicated', num_procs=2)
for message in consumer.get_messages(count=5, block=True, timeout=4):
print(message)`

How many partitions do you have for this topic ?

MultiProcessConsumer is now deprecated.


No camera image - Hass.io addon Oracle VM 64Bit

unable to view cameras on dashboard tried generic, onvif hikvision and axis camera types.
Running on Oracle VM - 64 Bit
Hass.io .098.4 Hassos 2.12
HACC .0.5.1

having the same issue with Ring doorbell and Floodlight Cam.

same issue with xiaofang, on raspberry pi 3b, hassio 98.5 hassos 2.12

Fixed and released in v0.5.2!


Return mapping of files to URLs when performing upload

We're experimenting with uploading folders full of files. We'd like to retain mappings of our file paths to the URLs assigned by OSF.
Based on extremely cursory perusing of
https://developer.osf.io/#Files_files_detail
https://github.com/dib-lab/osf-cli/blob/master/osfclient/models/storage.py
I think this is doable, we can attempt this and try a PR if you like.
Some additional context, I asked OSF:
I have a project with a number of different files in it, arranged
hierarchically
https://osf.io/pkmr5/files/

Each file gets its own URL. E.g.
OSFStorage/current/imports/go_import.owl is
https://osf.io/fbjph/

It would be immensely helpful if I could make URLs directly from my
project URL, e.g.
https://osf.io/pkmr5/files/OSFStorage/current/imports/go_import.owl

I don't see anything in the FAQs, is this something that might be added
in the future?

I got a prompt clear response:
Thank you for your email. Other users have asked for this feature, as well. We keep track of feature requests in an internal tracker, and I’ll add a note there for you. Custom URLs are not currently on our roadmap, but I will let you know if/when this feature gets added in the future.

Don’t hesitate to reach out in the future with any questions or feedback about the OSF.

cc @kltm @jamesaoverton

what exactly would be returned?
a dictionary {local_path: url} perhaps?

The way I understand it printing out the URL at which a file can be found after uploading it is the feature request osfclient can deal with. There isn't anything we can do about the fact that files always get a URL like https://osf.io/fbjph/ so there is nothing about the project in them.
What do you think about having a new command to print the URLs? Printing out the URLs as part of osf upload could be quite messy when you run it with the recursive option.

Or maybe an option to osf list that also prints the URLs?
My guess is that we need to think up some output format that is easy to "parse" by some other tool: osf list --urls | grep "URL" > list-of-all-urls.txt or some such? That is what I'd use it for at least :)

I like the idea of extending osf list for this.
As @cmungall would like to see a mapping of local file to external file having the output be a simple csv would probably be the best way?

+1 csv

To be Captn Obvious here: @cmungall yes a PR would be very welcome 😊


How to ignore SSL certs errors?

Hi,
Is there an option to ignore SSL certs errors?
I am running kong on openshift with an external route, and I have this error:
$ ./deck dump --kong-addr https://esteemed-hedgehog-kong-admin.kong.svc.cluster.local:8444
Error: Get https://esteemed-hedgehog-kong-admin.kong.svc.cluster.local:8444/services?size=1000: x509: certificate is valid for localhost, not esteemed-hedgehog-kong-admin.kong.svc.cluster.local

I made a similar script yesterday to dump the config:
https://github.com/zoobab/kongdump
with curl -k to ignore SSL problems.

@zoobab Please use --tls-skip-verify command line option to disable TLS cert check.
Please close this issue if it resolves your problem.


Not compiling always showing error

Error: Type 'WriteBuffer' not found.

@a1erons
When you open an issue, please try to use new issue template and fill out requested details so that we will have enough info to work with.
Coming to your issue, the error you posted does not indicate if it happens due to google_mobile_ads plugin or not, so we cannot tell due to lack of sufficient information.
Also, this looks similar to https://github.com/googleads/googleads-mobile-flutter/issues/668 so take a look at underlying comments in it and see if it helps in your case. Closing for now as duplicate.
If you think the error is happening specifically due to the plugin, open a new issue with all requested details in the template so that we can analyze better.