fix #934 #1756 use loadBalance policy to choose invoke when providers less 2

What is the purpose of the change

Use loadBalance policy when providers less 2
Fix AbstractClusterInvokerTest OutOfMemoryError

Brief changelog

Remove the following code fragment in AbstractClusterInvoker.java :

-        // If we only have two invokers, use round-robin instead.
-        if (invokers.size() == 2 && selected != null && !selected.isEmpty()) {
-            return selected.get(0) == invokers.get(0) ? invokers.get(1) : invokers.get(0);
-        }

Add clear invocation operation after invoking in AbstractClusterInvokerTest.java :

Mockito.clearInvocations(invoker1, invoker2, invoker3, invoker4, invoker5);

Verifying this change
All test cases are pass.
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #1759 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1759      +/-   ##
============================================
- Coverage     37.94%   37.93%   -0.01%
+ Complexity     4028     4024       -4
============================================
  Files           618      618
  Lines         29730    29728       -2
  Branches       5244     5242       -2
============================================
- Hits          11280    11278       -2
- Misses        16609    16610       +1
+ Partials       1841     1840       -1

Impacted Files
Coverage Δ
Complexity Δ

...bo/rpc/cluster/support/AbstractClusterInvoker.java
70.58% <100%> (+3.28%)
41 <0> (-1)
:arrow_down:

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
51.89% <0%> (-3.8%)
11% <0%> (-2%)

...ba/dubbo/remoting/transport/netty/NettyServer.java
67.27% <0%> (-3.64%)
8% <0%> (-1%)

...bo/remoting/transport/netty/NettyCodecAdapter.java
54.68% <0%> (+1.56%)
3% <0%> (ø)
:arrow_down:

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 0592e84...b470023. Read the comment docs.

Looks good to me! Thanks for the pull request!

Sorry for mistakenly closing the pull request, it has been merged.

That's cool. Thanks a lot.


Changing the enabled state of a TextFormField triggers its focus listener

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;
  MyHomePage({Key? key, required this.title}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final fn = FocusNode();
  bool isEnabled = false;
  @override
  void initState() {
    super.initState();
    fn.addListener(() {
      print(fn.hasFocus);
    });
    WidgetsBinding.instance!.addPostFrameCallback((_) {
      setState(() {
        isEnabled = true;
      });
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: TextFormField(
          enabled: isEnabled,
          focusNode: fn,
        ),
      ),
    );
  }
}

Tested on dartpad Based on Flutter 2.2.3 Dart SDK 2.13.4

Hi @arualana, thanks for filing this issue.
Can you explain to me why you think that this is an issue?

@danagbemava-nc because the focus did not actually change.
The particular case is, I may need to know when a text for field blurs, but if i change the enabled state, it is considered to have blurred

Either way, the focus is not changes, the focus listener should not trigger

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


code url of OW-DETR is wrong

The Code URL is wrong with 404 bug. Can you share the correct url, please?

The code link is now corrected: https://github.com/akshitac8/OW-DETR

Thank you very much!


Diagram Tile Toolbar Buttons

This PR covers two PT stories:
Add New Variable Card button to Diagram Tile toolbar 183644160
Add Zoom controls to Diagram Tile toolbar 183809805
Work in this PR includes:

Uses the newest version of diagram-view, which includes many styling improvements
Adds a New Variable Card button to the Diagram Tile toolbar, which uses the existing New Variable dialog
Variable cards added by the new variable or insert variable dialog are now inserted in the center of the dialog tile
Allows the New Variable Card button to be dragged onto the tile to add an empty variable card where the button is released.
Hides most of the default UI elements from the diagram tile
Adds zoom and fit buttons to the Diagram Tile toolbar
Adds a lock/unlock button to the Diagram Tile toolbar
Adds a hide/show navigator button to the Diagram Tile Toolbar, the value of which is saved in the tile's content model

I was a little worried that the DnD support added at the document level would break the behavior of adding new tiles by dragging from the document level toolbar, but I tested it on the branch and it seemed to work fine. :)

They're using entirely separate APIs, so I wouldn't expect them to conflict.


HMR stays on even if we stop the webpack watcher

So if I run npm run hmr in a 5.4 install, there is that hot file that is created in the public folder so that the mix() helper in Laravel knows to serve file from the webpack server that is running. Good.
If you then need to exit the watcher, using ctrl+c, the watcher stops, but the /public/hot file stays there, and the mix helper still tried to server the file for HRM, we need to do delete the file manually.
Unless I missed something obvious, isn't it weird that we need to go delete the file ourselves?

It will be deleted as you soon as you run Webpack again.

Good to know, you might want to add a note for this in the docs maybe? I mean, come to think of it, it's kind of obvious it will do it, but I don't necessarily run webpack right after I'm done with HMR, so it might be confusing (for example, coming back to working with a given project, loading the local site but didn't ran webpack again, so all seems broken).
Or it's just me who gets confused easily (probably that's just it), then just ignore me 😊


Support more DDS texture formats.

Not leaking diligent headers into our public api is probably too problematic?

Not leaking diligent headers into our public api is probably too problematic?

I don't really have the energy to go down "wrap everything" road.
I dislike inconsistent style. I don't see cheap solutions here.


New Release Unable to run on Heroku.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Region
No response
Provide a description that is worded well enough to be understood
Please fix this Problem

Lecture-17 - Northern Great Plains (उत्तरी विशाल मैदान) Part: No such file or directory
2024-08-08T09:30:04.360361+00:00 app[worker.1]: [youtube] Extracting URL: https://www.youtube.com/embed/Ux6IXmuXi68
2024-08-08T09:30:04.360454+00:00 app[worker.1]: [youtube] Ux6IXmuXi68: Downloading webpage
2024-08-08T09:30:04.754406+00:00 app[worker.1]: [youtube] Ux6IXmuXi68: Downloading ios player API JSON
2024-08-08T09:30:04.811725+00:00 app[worker.1]: [youtube] Ux6IXmuXi68: Downloading web creator player API JSON
2024-08-08T09:30:04.869756+00:00 app[worker.1]: ERROR: [youtube] Ux6IXmuXi68: Sign in to confirm you’re not a bot. This helps protect our community. Learn more
2024-08-08T09:30:04.991573+00:00 app[worker.1]: ffmpeg version 4.4.2-0ubuntu<IP_ADDRESS> Copyright (c) 2000-2021 the FFmpeg developers
2024-08-08T09:30:04.991575+00:00 app[worker.1]:   built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
2024-08-08T09:30:04.991582+00:00 app[worker.1]:   configuration: --prefix=/usr --extra-version=0ubuntu<IP_ADDRESS> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
2024-08-08T09:30:04.991615+00:00 app[worker.1]:   libavutil      56. 70.100 / 56. 70.100
2024-08-08T09:30:04.991615+00:00 app[worker.1]:   libavcodec     58.134.100 / 58.134.100
2024-08-08T09:30:04.991616+00:00 app[worker.1]:   libavformat    58. 76.100 / 58. 76.100
2024-08-08T09:30:04.991616+00:00 app[worker.1]:   libavdevice    58. 13.100 / 58. 13.100
2024-08-08T09:30:04.991617+00:00 app[worker.1]:   libavfilter     7.110.100 /  7.110.100
2024-08-08T09:30:04.991618+00:00 app[worker.1]:   libswscale      5.  9.100 /  5.  9.100
2024-08-08T09:30:04.991619+00:00 app[worker.1]:   libswresample   3.  9.100 /  3.  9.100
2024-08-08T09:30:04.991619+00:00 app[worker.1]:   libpostproc    55.  9.100 / 55.  9.100
2024-08-08T09:30:04.991726+00:00 app[worker.1]: 002) Lecture-16 - Northern Great Plains (उत्तरी विशाल मैदान) Part: No such file or directory
2024-08-08T09:36:56.462870+00:00 app[worker.1]: [generic] Extracting URL: https://https://www.youtube.com/embed/aUNLdtuHLIM
2024-08-08T09:36:56.462887+00:00 app[worker.1]: [generic] aUNLdtuHLIM: Downloading webpage
2024-08-08T09:36:56.527114+00:00 app[worker.1]: ERROR: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))
2024-08-08T09:36:56.528122+00:00 app[worker.1]: ERROR: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))
2024-08-08T09:36:56.528124+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528126+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 200, in _new_conn
2024-08-08T09:36:56.528127+00:00 app[worker.1]:     sock = connection.create_connection(
2024-08-08T09:36:56.528129+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 60, in create_connection
2024-08-08T09:36:56.528129+00:00 app[worker.1]:     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2024-08-08T09:36:56.528129+00:00 app[worker.1]:   File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
2024-08-08T09:36:56.528130+00:00 app[worker.1]:     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2024-08-08T09:36:56.528131+00:00 app[worker.1]: socket.gaierror: [Errno -2] Name or service not known
2024-08-08T09:36:56.528132+00:00 app[worker.1]:
2024-08-08T09:36:56.528133+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
2024-08-08T09:36:56.528133+00:00 app[worker.1]:
2024-08-08T09:36:56.528133+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528133+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/_requests.py", line 328, in _send
2024-08-08T09:36:56.528134+00:00 app[worker.1]:     requests_res = session.request(
2024-08-08T09:36:56.528134+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 589, in request
2024-08-08T09:36:56.528135+00:00 app[worker.1]:     resp = self.send(prep, **send_kwargs)
2024-08-08T09:36:56.528135+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 703, in send
2024-08-08T09:36:56.528135+00:00 app[worker.1]:     r = adapter.send(request, **kwargs)
2024-08-08T09:36:56.528136+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 667, in send
2024-08-08T09:36:56.528137+00:00 app[worker.1]:     resp = conn.urlopen(
2024-08-08T09:36:56.528137+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 844, in urlopen
2024-08-08T09:36:56.528138+00:00 app[worker.1]:     retries = retries.increment(
2024-08-08T09:36:56.528138+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 445, in increment
2024-08-08T09:36:56.528139+00:00 app[worker.1]:     raise reraise(type(error), error, _stacktrace)
2024-08-08T09:36:56.528139+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/util/util.py", line 39, in reraise
2024-08-08T09:36:56.528139+00:00 app[worker.1]:     raise value
2024-08-08T09:36:56.528139+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 790, in urlopen
2024-08-08T09:36:56.528140+00:00 app[worker.1]:     response = self._make_request(
2024-08-08T09:36:56.528140+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 491, in _make_request
2024-08-08T09:36:56.528140+00:00 app[worker.1]:     raise new_e
2024-08-08T09:36:56.528140+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 467, in _make_request
2024-08-08T09:36:56.528140+00:00 app[worker.1]:     self._validate_conn(conn)
2024-08-08T09:36:56.528141+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
2024-08-08T09:36:56.528142+00:00 app[worker.1]:     conn.connect()
2024-08-08T09:36:56.528142+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 604, in connect
2024-08-08T09:36:56.528142+00:00 app[worker.1]:     self.sock = sock = self._new_conn()
2024-08-08T09:36:56.528143+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 207, in _new_conn
2024-08-08T09:36:56.528143+00:00 app[worker.1]:     raise NameResolutionError(self.host, self, e) from e
2024-08-08T09:36:56.528144+00:00 app[worker.1]: urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)
2024-08-08T09:36:56.528144+00:00 app[worker.1]:
2024-08-08T09:36:56.528144+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
2024-08-08T09:36:56.528145+00:00 app[worker.1]:
2024-08-08T09:36:56.528145+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528145+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 896, in _request_webpage
2024-08-08T09:36:56.528145+00:00 app[worker.1]:     return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
2024-08-08T09:36:56.528146+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 4165, in urlopen
2024-08-08T09:36:56.528146+00:00 app[worker.1]:     return self._request_director.send(req)
2024-08-08T09:36:56.528146+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/common.py", line 117, in send
2024-08-08T09:36:56.528146+00:00 app[worker.1]:     response = handler.send(request)
2024-08-08T09:36:56.528147+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/_helper.py", line 208, in wrapper
2024-08-08T09:36:56.528147+00:00 app[worker.1]:     return func(self, *args, **kwargs)
2024-08-08T09:36:56.528147+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/common.py", line 340, in send
2024-08-08T09:36:56.528147+00:00 app[worker.1]:     return self._send(request)
2024-08-08T09:36:56.528147+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/_requests.py", line 356, in _send
2024-08-08T09:36:56.528148+00:00 app[worker.1]:     raise TransportError(cause=e) from e
2024-08-08T09:36:56.528148+00:00 app[worker.1]: yt_dlp.networking.exceptions.TransportError: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)
2024-08-08T09:36:56.528148+00:00 app[worker.1]:
2024-08-08T09:36:56.528148+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2024-08-08T09:36:56.528148+00:00 app[worker.1]:
2024-08-08T09:36:56.528152+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528153+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1626, in wrapper
2024-08-08T09:36:56.528153+00:00 app[worker.1]:     return func(self, *args, **kwargs)
2024-08-08T09:36:56.528153+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1761, in __extract_info
2024-08-08T09:36:56.528153+00:00 app[worker.1]:     ie_result = ie.extract(url)
2024-08-08T09:36:56.528153+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 740, in extract
2024-08-08T09:36:56.528154+00:00 app[worker.1]:     ie_result = self._real_extract(url)
2024-08-08T09:36:56.528154+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/generic.py", line 2384, in _real_extract
2024-08-08T09:36:56.528154+00:00 app[worker.1]:     full_response = self._request_webpage(url, video_id, headers=filter_dict({
2024-08-08T09:36:56.528154+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 909, in _request_webpage
2024-08-08T09:36:56.528154+00:00 app[worker.1]:     raise ExtractorError(errmsg, cause=err)
2024-08-08T09:36:56.528159+00:00 app[worker.1]: yt_dlp.utils.ExtractorError: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))
2024-08-08T09:36:56.528159+00:00 app[worker.1]:
2024-08-08T09:36:56.528160+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2024-08-08T09:36:56.528160+00:00 app[worker.1]:
2024-08-08T09:36:56.528160+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528160+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
2024-08-08T09:36:56.528160+00:00 app[worker.1]:     await handler.callback(self.client, *args)
2024-08-08T09:36:56.528161+00:00 app[worker.1]:   File "/app/Ankush/main.py", line 419, in callback_query_handler
2024-08-08T09:36:56.528161+00:00 app[worker.1]:     title, file_path = await download_videos(url, quality)
2024-08-08T09:36:56.528161+00:00 app[worker.1]:   File "/app/Ankush/main.py", line 437, in download_videos
2024-08-08T09:36:56.528161+00:00 app[worker.1]:     info_dict = ydl.extract_info(url, download=True)
2024-08-08T09:36:56.528162+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in extract_info
2024-08-08T09:36:56.528162+00:00 app[worker.1]:     return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
2024-08-08T09:36:56.528163+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1644, in wrapper
2024-08-08T09:36:56.528163+00:00 app[worker.1]:     self.report_error(str(e), e.format_traceback())
2024-08-08T09:36:56.528163+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1092, in report_error
2024-08-08T09:36:56.528164+00:00 app[worker.1]:     self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
2024-08-08T09:36:56.528164+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1031, in trouble
2024-08-08T09:36:56.528164+00:00 app[worker.1]:     raise DownloadError(message, exc_info)
2024-08-08T09:36:56.528164+00:00 app[worker.1]: yt_dlp.utils.DownloadError: ERROR: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))

Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
002) Lecture-17 - Northern Great Plains (उत्तरी विशाल मैदान) Part: No such file or directory
2024-08-08T09:30:04.360361+00:00 app[worker.1]: [youtube] Extracting URL: https://www.youtube.com/embed/Ux6IXmuXi68
2024-08-08T09:30:04.360454+00:00 app[worker.1]: [youtube] Ux6IXmuXi68: Downloading webpage
2024-08-08T09:30:04.754406+00:00 app[worker.1]: [youtube] Ux6IXmuXi68: Downloading ios player API JSON
2024-08-08T09:30:04.811725+00:00 app[worker.1]: [youtube] Ux6IXmuXi68: Downloading web creator player API JSON
2024-08-08T09:30:04.869756+00:00 app[worker.1]: ERROR: [youtube] Ux6IXmuXi68: Sign in to confirm you’re not a bot. This helps protect our community. Learn more
2024-08-08T09:30:04.991573+00:00 app[worker.1]: ffmpeg version 4.4.2-0ubuntu<IP_ADDRESS> Copyright (c) 2000-2021 the FFmpeg developers
2024-08-08T09:30:04.991575+00:00 app[worker.1]:   built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
2024-08-08T09:30:04.991582+00:00 app[worker.1]:   configuration: --prefix=/usr --extra-version=0ubuntu<IP_ADDRESS> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
2024-08-08T09:30:04.991615+00:00 app[worker.1]:   libavutil      56. 70.100 / 56. 70.100
2024-08-08T09:30:04.991615+00:00 app[worker.1]:   libavcodec     58.134.100 / 58.134.100
2024-08-08T09:30:04.991616+00:00 app[worker.1]:   libavformat    58. 76.100 / 58. 76.100
2024-08-08T09:30:04.991616+00:00 app[worker.1]:   libavdevice    58. 13.100 / 58. 13.100
2024-08-08T09:30:04.991617+00:00 app[worker.1]:   libavfilter     7.110.100 /  7.110.100
2024-08-08T09:30:04.991618+00:00 app[worker.1]:   libswscale      5.  9.100 /  5.  9.100
2024-08-08T09:30:04.991619+00:00 app[worker.1]:   libswresample   3.  9.100 /  3.  9.100
2024-08-08T09:30:04.991619+00:00 app[worker.1]:   libpostproc    55.  9.100 / 55.  9.100
2024-08-08T09:30:04.991726+00:00 app[worker.1]: 002) Lecture-16 - Northern Great Plains (उत्तरी विशाल मैदान) Part: No such file or directory
2024-08-08T09:36:56.462870+00:00 app[worker.1]: [generic] Extracting URL: https://https://www.youtube.com/embed/aUNLdtuHLIM
2024-08-08T09:36:56.462887+00:00 app[worker.1]: [generic] aUNLdtuHLIM: Downloading webpage
2024-08-08T09:36:56.527114+00:00 app[worker.1]: ERROR: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))
2024-08-08T09:36:56.528122+00:00 app[worker.1]: ERROR: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))
2024-08-08T09:36:56.528124+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528126+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 200, in _new_conn
2024-08-08T09:36:56.528127+00:00 app[worker.1]:     sock = connection.create_connection(
2024-08-08T09:36:56.528129+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 60, in create_connection
2024-08-08T09:36:56.528129+00:00 app[worker.1]:     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2024-08-08T09:36:56.528129+00:00 app[worker.1]:   File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
2024-08-08T09:36:56.528130+00:00 app[worker.1]:     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2024-08-08T09:36:56.528131+00:00 app[worker.1]: socket.gaierror: [Errno -2] Name or service not known
2024-08-08T09:36:56.528132+00:00 app[worker.1]:
2024-08-08T09:36:56.528133+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
2024-08-08T09:36:56.528133+00:00 app[worker.1]:
2024-08-08T09:36:56.528133+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528133+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/_requests.py", line 328, in _send
2024-08-08T09:36:56.528134+00:00 app[worker.1]:     requests_res = session.request(
2024-08-08T09:36:56.528134+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 589, in request
2024-08-08T09:36:56.528135+00:00 app[worker.1]:     resp = self.send(prep, **send_kwargs)
2024-08-08T09:36:56.528135+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 703, in send
2024-08-08T09:36:56.528135+00:00 app[worker.1]:     r = adapter.send(request, **kwargs)
2024-08-08T09:36:56.528136+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 667, in send
2024-08-08T09:36:56.528137+00:00 app[worker.1]:     resp = conn.urlopen(
2024-08-08T09:36:56.528137+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 844, in urlopen
2024-08-08T09:36:56.528138+00:00 app[worker.1]:     retries = retries.increment(
2024-08-08T09:36:56.528138+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 445, in increment
2024-08-08T09:36:56.528139+00:00 app[worker.1]:     raise reraise(type(error), error, _stacktrace)
2024-08-08T09:36:56.528139+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/util/util.py", line 39, in reraise
2024-08-08T09:36:56.528139+00:00 app[worker.1]:     raise value
2024-08-08T09:36:56.528139+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 790, in urlopen
2024-08-08T09:36:56.528140+00:00 app[worker.1]:     response = self._make_request(
2024-08-08T09:36:56.528140+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 491, in _make_request
2024-08-08T09:36:56.528140+00:00 app[worker.1]:     raise new_e
2024-08-08T09:36:56.528140+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 467, in _make_request
2024-08-08T09:36:56.528140+00:00 app[worker.1]:     self._validate_conn(conn)
2024-08-08T09:36:56.528141+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
2024-08-08T09:36:56.528142+00:00 app[worker.1]:     conn.connect()
2024-08-08T09:36:56.528142+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 604, in connect
2024-08-08T09:36:56.528142+00:00 app[worker.1]:     self.sock = sock = self._new_conn()
2024-08-08T09:36:56.528143+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 207, in _new_conn
2024-08-08T09:36:56.528143+00:00 app[worker.1]:     raise NameResolutionError(self.host, self, e) from e
2024-08-08T09:36:56.528144+00:00 app[worker.1]: urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)
2024-08-08T09:36:56.528144+00:00 app[worker.1]:
2024-08-08T09:36:56.528144+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
2024-08-08T09:36:56.528145+00:00 app[worker.1]:
2024-08-08T09:36:56.528145+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528145+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 896, in _request_webpage
2024-08-08T09:36:56.528145+00:00 app[worker.1]:     return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
2024-08-08T09:36:56.528146+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 4165, in urlopen
2024-08-08T09:36:56.528146+00:00 app[worker.1]:     return self._request_director.send(req)
2024-08-08T09:36:56.528146+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/common.py", line 117, in send
2024-08-08T09:36:56.528146+00:00 app[worker.1]:     response = handler.send(request)
2024-08-08T09:36:56.528147+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/_helper.py", line 208, in wrapper
2024-08-08T09:36:56.528147+00:00 app[worker.1]:     return func(self, *args, **kwargs)
2024-08-08T09:36:56.528147+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/common.py", line 340, in send
2024-08-08T09:36:56.528147+00:00 app[worker.1]:     return self._send(request)
2024-08-08T09:36:56.528147+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/networking/_requests.py", line 356, in _send
2024-08-08T09:36:56.528148+00:00 app[worker.1]:     raise TransportError(cause=e) from e
2024-08-08T09:36:56.528148+00:00 app[worker.1]: yt_dlp.networking.exceptions.TransportError: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)
2024-08-08T09:36:56.528148+00:00 app[worker.1]:
2024-08-08T09:36:56.528148+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2024-08-08T09:36:56.528148+00:00 app[worker.1]:
2024-08-08T09:36:56.528152+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528153+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1626, in wrapper
2024-08-08T09:36:56.528153+00:00 app[worker.1]:     return func(self, *args, **kwargs)
2024-08-08T09:36:56.528153+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1761, in __extract_info
2024-08-08T09:36:56.528153+00:00 app[worker.1]:     ie_result = ie.extract(url)
2024-08-08T09:36:56.528153+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 740, in extract
2024-08-08T09:36:56.528154+00:00 app[worker.1]:     ie_result = self._real_extract(url)
2024-08-08T09:36:56.528154+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/generic.py", line 2384, in _real_extract
2024-08-08T09:36:56.528154+00:00 app[worker.1]:     full_response = self._request_webpage(url, video_id, headers=filter_dict({
2024-08-08T09:36:56.528154+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 909, in _request_webpage
2024-08-08T09:36:56.528154+00:00 app[worker.1]:     raise ExtractorError(errmsg, cause=err)
2024-08-08T09:36:56.528159+00:00 app[worker.1]: yt_dlp.utils.ExtractorError: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))
2024-08-08T09:36:56.528159+00:00 app[worker.1]:
2024-08-08T09:36:56.528160+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2024-08-08T09:36:56.528160+00:00 app[worker.1]:
2024-08-08T09:36:56.528160+00:00 app[worker.1]: Traceback (most recent call last):
2024-08-08T09:36:56.528160+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
2024-08-08T09:36:56.528160+00:00 app[worker.1]:     await handler.callback(self.client, *args)
2024-08-08T09:36:56.528161+00:00 app[worker.1]:   File "/app/Ankush/main.py", line 419, in callback_query_handler
2024-08-08T09:36:56.528161+00:00 app[worker.1]:     title, file_path = await download_videos(url, quality)
2024-08-08T09:36:56.528161+00:00 app[worker.1]:   File "/app/Ankush/main.py", line 437, in download_videos
2024-08-08T09:36:56.528161+00:00 app[worker.1]:     info_dict = ydl.extract_info(url, download=True)
2024-08-08T09:36:56.528162+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in extract_info
2024-08-08T09:36:56.528162+00:00 app[worker.1]:     return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
2024-08-08T09:36:56.528163+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1644, in wrapper
2024-08-08T09:36:56.528163+00:00 app[worker.1]:     self.report_error(str(e), e.format_traceback())
2024-08-08T09:36:56.528163+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1092, in report_error
2024-08-08T09:36:56.528164+00:00 app[worker.1]:     self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
2024-08-08T09:36:56.528164+00:00 app[worker.1]:   File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 1031, in trouble
2024-08-08T09:36:56.528164+00:00 app[worker.1]:     raise DownloadError(message, exc_info)
2024-08-08T09:36:56.528164+00:00 app[worker.1]: yt_dlp.utils.DownloadError: ERROR: [generic] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7f05ed3f02e0>: Failed to resolve 'https' ([Errno -2] Name or service not known)"))

Heroku is hosted on AWS, and YouTube does not support cloud providers yet. Also, Heroku does not allow to run yt-dlp and command-line software.

ERROR: [youtube] Ux6IXmuXi68: Sign in to confirm you’re not a bot. This helps protect our community. Learn more

see #10128

Heroku is hosted on AWS, and YouTube does not support cloud providers now. Also, Heroku does not allow to run yt-dlp and command-line software.

Brother, This is also not working on VPS

solution 1: sign up for a new google account, pass cookies or use oauth(DO NOT USE YOUR PERSONAL ACCOUNT AS IT WILL EVENTUALLY GET BANNED)
solution 2(advanced): Use the #10648 branch and your account should be fine if you need to login
or if you have a residential proxy which is relatively more expensive you can use it. YouTube blocks traffic from datacentre IPs.

solution 1: sign up for a new google account, pass cookies or use oauth(DO NOT USE YOUR PERSONAL ACCOUNT AS IT WILL EVENTUALLY GET BANNED) solution 2(advanced): Use the #10648 branch and your account should be fine if you need to login or if you have a residential proxy which is relatively more expensive you can use it. YouTube blocks traffic from datacentre IPs.

Now, I'm using Youtube cookies for Downloading Yt content but there was an Issue, that's Cookies expired soon.
If I use cookies now then after 5 minutes cookies got expired
please Tell me any Solution for this.
And I'm Inviting in my a simple Repository Please check it once
If possible then Do something According to you
Please Accept it https://github.com/Mswpresents/YouTube/invitations
this is a simple Code for personal use


Make the Guide a package  / pod that can be used in other apps

What is this about?

We want to allow people to add the Accessibility Guide to their apps
The best way to do so is to make the Guide content available as a package on SPM and/or a cocoapod

Idea

To do so, my initial idea was to split the Guide content from the Game content
Make it a separate package on the project
And provide public access to instantiate the guide
This way, it can be added to any other project or application effortlessly (or almost effortlessly)

My first attempt at doing this... wasn't exactly great 😓
So, I plan on taking a look later, but I'll focus on adding new content to the project first.
If anyone wants to take on this, please, fell free to do so.


[FEATURE-REQUEST] Add endpoint for Users

Please Describe The Problem To Be Solved
Please see specifications sheet for details on /user/ endpoints.
Suggest A Solution or Implementation
Screenshots

Closed.


running command line client as part of travis.

Looking at this as a start on ways to test everything (e.g. to avoid cases where a developer like me hard codes an absolute file system path).
Could be much more clever if we thought it was worth it.  e.g. actually run a series of commands and check on expected output.  This just checks to see if the command line will run the blazegraph import as a start..

@kltm I'm planning to go ahead and merge to dev.  Non-destructive changes here and a slightly better testing situation.  There is a lot more that could be done for testing but I think this is a little better.

Great!


Mat Drawer Pushes App Bar off the screen.

Describe the bug
When using the MatDrawer with the MatAppBar opening the drawer pushes the contents of the app bar off the screen rather than resizing them.
To Reproduce
See Blazor Fiddle Link
Clicking the menu opens the drawer but pushes the title and heart symbol of the screen.
Blazorfiddle link
https://blazorfiddle.com/s/pbg0fm6r
Expected behavior
App Bar should container should be made smaller condensing the content rather than moving it off the screen.
Screenshots

I've noticed the same issue. The login button at the end of the MatAppBar moved out of the screen. Any suggested workaround?

This css seems to help but I have not thoroughly tested it. However it would be nice if there was some way to handle this as a setting.
/* condense app bar rather than push it off the screen */

.mdc-top-app-bar {
    z-index: 7 !important;
    position: sticky !important;
}

No need for css or fixes just do this:
https://github.com/SamProf/MatBlazor/issues/744


fix fly.watch test

Currently removed since it never finished. The two assertions within the fly.host hijack never happen.
This test had to be removed after removing the process.chdir side effect (#202).

No longer relevant after #218


[Vivaldi] ...

Extension
https://www.raycast.com/crisboarna/vivaldi
Description

Error:
Error: Worker terminated due to reaching memory limit: JS heap out of memory

NodeError:errors:399:5
[kOnExit]:worker:287:26
Worker.<computed>.onexit:worker:209:20

Steps To Reproduce
macos ventura 13.4 (22F66)
I can search history and tabs, but not bookmarks.
Current Behaviour
No response
Expected Behaviour
No response

Hey @manishie, we've fixed a performance issue in the 1.54.0 release that should make this type of bugs less likely to appear. Do you still have the error?


Appending a character to the existing text.

Is there a simple way to append a character to the end of the existing Editor text ?
https://github.com/niuware/mui-rte/blob/master/examples/reset-value/index.tsx
The above suggests to replace the value. Replacing the JSON with modified state is tedious.

I have done the following as a workaround
const [content, setContent] = useState("");
const addText = (state: EditorState, text:string) => {
   let contentState = state.getCurrentContent();
   let targetRange = state.getSelection();
   let newContentState = Modifier.insertText(
     contentState,
     targetRange,
     text
   );

   let editorState = EditorState.push(
    state,
    newContentState,"insert-characters"
  );

  let newStr=  JSON.stringify(convertToRaw(editorState.getCurrentContent()));
   setContent(newStr);

}

It seems like updating content through state takes time and the editor doesn't render


raise ValueError("Invalid config path `" +

(base) C:\Users\C2-COMPUTER>cd C:\Users\C2-COMPUTER\Desktop\yolo fall detection vibhorkrishna\darknet-master\build\darknet\x64\S.H.A.D.Y-main\Deployed App
(base) C:\Users\C2-COMPUTER\Desktop\yolo fall detection vibhorkrishna\darknet-master\build\darknet\x64\S.H.A.D.Y-main\Deployed App>python app.py

Serving Flask app "app" (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: on
Restarting with watchdog (windowsapi)
Debugger is active!
Debugger PIN: 613-382-091
Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [10/Sep/2022 23:19:35] "GET / HTTP/1.1" 200 -
<IP_ADDRESS> - - [10/Sep/2022 23:19:37] "GET /FallDetection HTTP/1.1" 200 -
<IP_ADDRESS> - - [10/Sep/2022 23:19:37] "GET /assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css')%7D%7D HTTP/1.1" 404 -
<IP_ADDRESS> - - [10/Sep/2022 23:19:37] "GET /static/assets/css/util.css HTTP/1.1" 404 -
<IP_ADDRESS> - - [10/Sep/2022 23:19:45] "POST /Video HTTP/1.1" 200 -
Debugging middleware caught exception in streamed response at a point where response headers were already sent.
Traceback (most recent call last):
File "C:\Users\C2-COMPUTER\anaconda3\Lib\site-packages\werkzeug\wsgi.py", line 462, in next
return self._next()
File "C:\Users\C2-COMPUTER\anaconda3\Lib\site-packages\werkzeug\wrappers\response.py", line 50, in _iter_encoded
for item in iterable:
File "C:\Users\C2-COMPUTER\Desktop\yolo fall detection vibhorkrishna\darknet-master\build\darknet\x64\S.H.A.D.Y-main\Deployed App\app.py", line 318, in gen_frames
raise ValueError("Invalid config path " + ValueError: Invalid config path C:\Users\C2-COMPUTER\Desktop\yolo fall detection vibhorkrishna\darknet-master\build\darknet\x64\S.H.A.D.Y-main\Deployed App\cfg\yolov4-tiny.cfg`
<IP_ADDRESS> - - [10/Sep/2022 23:19:45] "GET /video_feed HTTP/1.1" 200 -

did you find solution?

You need to install the YoloV4 adn openCV for that. Follow the tutorials from this video: https://youtu.be/5pYh1rFnNZs?si=YLlbmbuYqfITYaer


Migrate kie-tools/staging_dry_run.yml GH workflow to Apache Jenkins

As previously discussed all PR related to GH Actions -> Jenkins (as this one) opened to https://github.com/apache/incubator-kie-tools-temporary-rnd-do-not-use are GOOD to be integrated as it is a temporary repository.
Track at #704


Deployment Error - FortiNet Custom Connector

Describe the bug
Fortinet Custom Connector for Playbooks will not deploy results in a swagger API error.
To Reproduce
Steps to reproduce the behavior:

Go to Content Hub Solution, install FortiNet FW Solution, got to Automation, and Playbooks (Templates) click on instructions and click on link to deploy Fortinet Custom Connector, deploy in custom deployment UI, deployment starts and swagger error

Expected behavior
Custom Connector for Playbooks link should deploy without Swagger error
Screenshots
"{"code":"BadRequest","message":"{"Code":"BadRequest","Message":"Invalid Api definition object. Please specify a valid Swagger 2.0 Url and valid list of ServiceUrls.","Target":null,"Details":[{"Message":"Invalid Api definition object. Please specify a valid Swagger 2.0 Url and valid list of ServiceUrls."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"14012","MessageTemplate":"Invalid Api definition object. Please specify a valid Swagger 2.0 Url and valid list of ServiceUrls.","Parameters":[],"Code":"BadRequest","Message":"Invalid Api definition object. Please specify a valid Swagger 2.0 Url and valid list of ServiceUrls."}}],"Innererror":null}"}"

Hi @swiftsolves-msft, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 19-12-2023. Thanks!

Hi @swiftsolves-msft, just want to check, have your Fortiweb URL compliance with the below mentioned Prerequisites-
Link- https://github.com/Azure/Azure-Sentinel/tree/master/Solutions/Fortinet FortiWeb Cloud WAF-as-a-Service connector for Microsoft Sentinel/Playbooks/FortiWebCustomConnector
If yes, could you please try to redeploy the custom connector without adding the prefix with https:// or http:// etc.

Please let us know if your issue still persists. Thanks!

Hi @swiftsolves-msft, we are waiting for your response on above comment. Thanks!

Hi @swiftsolves-msft, Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 26-12-2023 date, we will be closing this issue.
Thanks!

Hi @swiftsolves-msft, since we have not received a response in the last 5 days, we are closing your issue- #9590 as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.


fix: revert patch for linkedin_oidc provider error

Reverts supabase/auth#1534

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.179%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/api/provider/linkedin_oidc.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8060

Relevant Lines:
12366

💛  - Coveralls


x/net/http2: zero-length payload HEADERS frame causes PROTOCOL_ERROR

What version of Go are you using (go version)?

$ go version
go version go1.16.6 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY="*.sc-corp.net"
GONOSUMDB="*.sc-corp.net"
GOOS="darwin"
GOPRIVATE="*.sc-corp.net"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.16.6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.16.6/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.6"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/72/p_z4fcg52bb7sg6vwpxckktm0000gp/T/go-build2392873128=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Making an HTTP/2 request to server, which returns a zero-length payload trailer (HEADERS frame) as part of the response.
Zero-length payload HEADERS
We encountered this issue while proxying a gprc-web request to an upstream which uses the grpc-web filter from Envoy. Among other things, grpc-web appends gRPC trailers as part of the response body. When Envoy does it, it clears out the trailers, leaving a zero-length trailer (HEADERS) frame.
What did you expect to see?
Be able to handle the zero-length payload trailer.
For instance, nghttp handles it just fine:
$ echo -ne '\x00\x00\x00\x00\x00' | nghttp -v -H 'Content-Type: application/grpc-web' -d - https://localhost:8043/grpc.health.v1.Health/Check

...
[  1.324] recv DATA frame <length=73, flags=0x00, stream_id=13>
[  1.324] recv HEADERS frame <length=0, flags=0x05, stream_id=13> # <-- HEADERS frame with zero-length payload
          ; END_STREAM | END_HEADERS
          (padlen=0)

What did you see instead?
ERROR_PROTOCOL being returned.
Analysis
We traced it down to this line:
https://github.com/golang/net/blob/60bc85c4be6d32924bcfddb728394cb8713f2c78/http2/frame.go#L1021
if len(p)-int(padLength) <= 0 {
for a HEADERS frame with zero-length payload, p is of size zero. As a result even though padLength is also 0 (as a matter of fact, this frame does not have any padding flag set, this is simply default value of uint8), this check fails due to <= instead of <.
We believe the existing check is incorrect, as per RFC7540 Section 6.2:

Padding that exceeds the size remaining for the header block fragment MUST be treated as a PROTOCOL_ERROR.

(emphasis added)
The existing behavior is inconsistent with the RFC as it incorrectly returns PROTOCOL_ERROR when the padding (None / 0) does NOT exceed the size remaining (0)
Proposed Fix (PR to follow)
This should be a < instead of <= check.
Changing this check to < is also consistent with existing code in methods such as parseDataFrame:
https://github.com/golang/net/blob/60bc85c4be6d32924bcfddb728394cb8713f2c78/http2/frame.go#L611

CC @neild

Nice analysis. The fix looks correct to me. If you'd rather not deal with the CLA and code review in Gerrit, let me know and I can make the fix instead.

Thanks @mknyszek @neild !
We signed our corp CLA yesterday but I guess it takes time to process. Given the fix is simple I'd be more than happy to have you do the fix.

Thanks @zliu5! This bug was impacting us too when communicating with a proxy we'd written that was receiving http/2 requests and making http/1.1 requests, using akka-http which actually exposes the chunked protocol, and since http/1.1 responses always have an empty chunk at the end of them whether there's trailers or not because that indicates end of stream, our code was forwarding that last chunk message with empty trailers as an empty trailers message downstream to the http/2 connection, which caused go clients to choke.


self.publish doesn't work in an infinite loop

I have this code :
class MyComponent(ApplicationSession):

   def onConnect(self):
      self.join("realm1")

   @inlineCallbacks
   def onJoin(self, details):
            for x in range(100):
                yield self.publish('foo', 'bar')

And it works : I can read the event on all the clients.
Now if I do :
class MyComponent(ApplicationSession):

   def onConnect(self):
      self.join("realm1")

   @inlineCallbacks
   def onJoin(self, details):
            while True:
                yield self.publish('foo', 'bar')

I don't get any event on any client. Is it too fast and flooding the router ? In that case shouldn't find a way to handle it by processing them batch by batch ?

I think the issue here is that self.publish doesn't actually return a Deferred unless you ask for an acknowledgement via PublishOptions. So what's happening is that inlineCallbacks keeps going on each yield, as there's nothing to actually wait for ... however, no data ever goes out on the wire until the function exits (see below).
So, if you don't need acks, you could use an idiom like this to get 100-at-a-time batches:
def do_publishes(self):
    for _ in range(100):
        self.publish('foo', 'bar')
    reactor.callLater(0, self.do_publishes)

Alternaitvely, if you do ask for ack's but still want to do  "batches" you'd want to use a DeferredList and choose a chunk-size in an inner-loop, something like:
while True:
    pubs = []
    for x in range(10):
        pubs.append(self.publish('foo', 'bar', options=PublishOptions(acknowledge=True)))
    yield DeferredList(pubs)

I did try making publish return an already-succeeded Deferred (instead of None) but that exibits the same behavior (i.e. nothing gets sent). It may be worth noting that in my test, I had the publisher and subscriber running in the same container (over loopback) but also tried them running in separate processes...Interestingly, in the infinite-loop case there's actually no data going out on the wire at all, which leads me to suspect perhaps a Twisted issue ...
AutobahnPython could solve this by, basically, doing the callLater trick itself -- that is, always return a Deferred and if no acknowledge was requested, do a callLater(0, ...) to resolve it. While this will work for use-cases like the above it would cause a lot more more event-scheduling to happen in all (most) publish() use-cases and I'm not sure if that's worth it ... @oberstet what do you think?
In any case, I think it's worth understanding what Twisted is doing here (and either change Autobahn's code or documentation).

Thanks for this very insightful answer.
I do think it's an important issue to fix. I tried to demonstrate crossbar to a friends working in a big american python shop and basically ended up making a fool of myself, spending half an hour trying to fix a non existent bug.
Given that error reporting with autobahn is lacking, at best, it made the experience quite frustrating because I couldn't find what I was doing wrong. Combined with the usual gotchas (not calling connect() in JS or forgetting that publishers don't receive their own publication by default), I had 0 thing working and no clue why for a looooog time.
Now, as a crossbar fan, I'm willing to encounter these problems and deal with it, but somebody trying by himself will just throw the product in a trash bin.

I agree that autobahn "fails to log/re-raise" too many errors. The logging situation will be getting better soon.

As to the issue in this ticket, I tried similar code in a bare Twisted protocol sending some bytes and see the same behavior -- everything is getting buffered in userspace and no bytes go out until the loop exits.
So it seems to indeed  be an issue with Twisted

"simpson" in #twisted provided a useful explanation: the inlineCallbacks isn't really doing anything here since the Deferred's are always completed (so it keeps going). Hence, if we follow this down, you're essentially just calling transport.write() in an infinite loop and Twisted doesn't ever interrupt this since this would mean that every single .write() call might jump out of your code for a trip down the reactor loop for some OS write syscalls (and they don't do that on philosophical grounds).
I'm not sure what your "real" use-case is here, but you'll have to do either the callLater trick I posed above or use producer/comsumer sort of flow. I'm not really sure if there's anything sensible that we can do in Autobahn's publish as we either just always schedule a callLater (with obvious overhead of, probably, growing the scheduled-call list and inducing more syscalls) or something more-complex in (subclasses of) the underlying Twisted transports (to force Twisted to write out data if our buffer has gotten "too full").
This latter isn't a completely bad idea: there are cases besides "infinite loop" where we'll end up with lots of stuff buffered in Python, however this needs more consideration and concrete use-cases I think since there are trade-offs here as well between buffering-in-Python and "how many syscalls are we making". For "maximum throughput" you'd want less syscalls with more data, but that hurts latency; for low-latency you're happy to have many syscalls but of course that hurts throughput. It's hard to imagine how Autobahn can ever get this right for everyone, so it would need some kind of configuration/knob to control...
For now, this trade-off gets to be made by the application developer: in the do_publishes snippet from my earlier comment, if you make the loop go 1000 times, you'll get higher throughput (but more latency) since you'll be making OS-level write calls with hugh buffers, whereas if you make it 10 or 1 you'll get lower latency (i.e. every publish will (probably) induce a syscall unless the system is overloaded) but your maximum throughput will be lower as your process will context-switch more often.

I learn more with this ticket than during the last month reading tutorials thanks.
The infinite loop is rarely useful in a production situation, but it's often used in developpement, tests or demos to flood all you clients with data. I'm not the only one going to do this, and because it's so tempting to do it to show off how quick crossbar is, it will be used in front of colleagues, friends or business people.
So even if it's not an important technical issue (we could just document it and leave it as it), it's an important PR issue.

as already discussed, with standard publish (no ACK), it'll just blow up your memory. this is how twisted works (and asyncio). without producer/consumer pattern or flow-control. with acknowledged publications, the flow-control is essentially done by the peer (router): it send the ACK.
slightly related: https://github.com/tavendo/AutobahnPython/tree/write_coalescing
@sametmax so what should we do? better docs I guess;)

Pretty much :)


Plugin aws-credentials will be updated from version 1.32 to version 1.33

Plugin aws-java-sdk will be updated from version 1.12.101-300.vc09c7be9cb57 to version 1.12.131-302.vbef9650c6521
Plugin bootstrap5-api will be updated from version 5.1.3-3 to version 5.1.3-4
Plugin cloudbees-folder will be updated from version 6.16 to version 6.17
Plugin echarts-api will be updated from version 5.2.2-1 to version 5.2.2-2
Plugin font-awesome-api will be updated from version 5.15.4-4 to version 5.15.4-5
Plugin git-client will be updated from version 3.10.0 to version 3.10.1
Plugin github-branch-source will be updated from version 2.11.3 to version 2.11.4
Plugin github-oauth will be updated from version 0.35 to version 0.36
Plugin jackson2-api will be updated from version 2.13.0-230.v59243c64b0a5 to version 2.13.1-242.v1a45bad25ceb
Plugin lockable-resources will be updated from version 2.12 to version 2.13
Plugin matrix-auth will be updated from version 2.6.11 to version 3.0
Plugin pipeline-graph-analysis will be updated from version 1.12 to version 188.v3a01e7973f2c
Plugin pipeline-rest-api will be updated from version 2.19 to version 2.20
Plugin pipeline-stage-view will be updated from version 2.19 to version 2.20
Plugin plugin-util-api will be updated from version 2.6.0 to version 2.9.0
Plugin popper2-api will be updated from version 2.10.2-1 to version 2.11.0-1
Plugin resource-disposer will be updated from version 0.16 to version 0.17
Plugin script-security will be updated from version 1.78 to version 1118.vba21ca2e3286
Plugin workflow-api will be updated from version 1105.v3de5e2efac97 to version 1108.v57edf648f5d4
Plugin workflow-cps will be updated from version 2640.v00e79c8113de to version 2648.va9433432b33c
Plugin workflow-durable-task-step will be updated from version 1102.v9c8d2f466adb to version 1112.vda00e6febcc1
Plugin workflow-multibranch will be updated from version 2.26 to version 696.v52535c46f4c9
Plugin workflow-step-api will be updated from version 613.v375732a042b1 to version 615.vb09dac339255
Plugin workflow-support will be updated from version 3.8 to version 804.vba10a18a1476
Plugin ws-cleanup will be updated from version 0.39 to version 0.40

Obsolete as plugins updated  in PR: https://github.com/nationalarchives/tdr-jenkins/pull/268


Slate issues

[ ] rich paste fails with TypeError: Cannot read property 'id' of undefined

Fixed


Provides ability to compile PhantomJS with new webkit code

I tested my work on MacOSX El Capitan and everything works properly (you need to install cmake through brew). In these days i will try to compile PhantomJS on a linux system but please consider that i’m not able to do the same thing on a windows system, i think Vitallium is working on this.
My qtwebkit-phantom branch has the following differences:

https://github.com/matteoceraico/webkit/commit/c96d163b03cd100b14dbefd77291a1a5f2c245ab (Supported multiple console.log arguments) - this patch is similar to https://github.com/ariya/phantomjs/commit/ac699a4d90
https://github.com/matteoceraico/webkit/commit/dac9f105edf265910ea327a47e57ba85c2a1b9af (Provided ability to set qt compile definitions to use) - by passing CXX_FLAGS to build-webkit script, webkit is compiled properly but the libraries generate linker errors during the build of phantom, because of this i've implemented this feature

I forked qtbase (branch 5.6.1, this version is needed in order to be able to use c++11 compiler on mac systems) because we need to import phantom plugin, by talking with Vitallium it seems that we should be able to use a builtin plugin so the fork will be not needed anymore.
build.py is working as usual, i’ve also added the ability to disable touch events by using the option --disable-touch-events
Let me know

YAY! I also have a few changes (Windows specific) for your pull request in annulen/webkit I'll post them later :)

I don't think we need to pull submodules back. The idea was actually in removing them completely from our source tree.
/cc @ariya

I think I should write the complete vision of the upcoming release 2.5.
Let's go back in time. We have in our source tree the full source packages for Qt and QtWebKit. Why? Because we need to patch them to support necessary features and to be able to build PhantomJS statically. But keeping two packages became a huge problem: we've been receiving bug reports for all submodules: PhantomJS itself, Qt and QtWebKit.  We physically don't have time to support all packages. That's why we have the enormous amount of issue right now. We definitely should do something.
And we are doing!
Splitting (removing) Qt and QtWebKit brings a fresh air to the project. Because we can forward non-PhantomJS issues to upstream bug trackers. Qt bugs go to Qt bug tracker, QtWebKit to QtWebkit and so on. We want to keep our issue tracker with PhantomJS issues only. Applying that change will help us to focus on developing PhantomJS and fixing its problems.
Cheers!

Personally, i like the current approach because in this way we're able to implement specific code for PhantomJS in the webkit code. For example the "stupid" patch for the console logs (https://github.com/matteoceraico/webkit/commit/c96d163b03cd100b14dbefd77291a1a5f2c245ab) is needed in PhantomJS but it is not needed in webkit code. Moreover in the current way we're able to compile webkit with/without the touch events enabled by default.
Another good point is the fact that we don't need to install qt in the system and a binary with few dependencies is generated.
Anyway, I'm really in accordance with you about the fact that in this way you will be able to focus on the development of PhantomJS, i feel you about the time problem!

@matteoceraico in order to build PhantomJS statically the user must have Qt and QtWebKit on the same machine. I think we can keep special patches on our repo that the developer must apply to QtWebKit.

@matteoceraico Each approach has its pros and cons. The approach of including the copies of Qt/QtWebKit was necessary back then when QtWebKit development stalled. It's not the case anymore. Beside, it should be a stop-gap measure anyway. Doing so in the long run is not sustainable for the development/maintenance teams, no matter how attractive it is.
If what you want to achieve if custom building PhantomJS, that is not code dependencies issue, that is packaging issue. I recommend that you follow/track/help us with #14459 instead.

Closing this. Not relevant anymore.


BUGFIX: Use Object->hasMethod() instead of method_exists()

This allows you to for example return a PaginatedList object from ModelAdmin::getList() without GridField failing when trying to render that list in certain circumstances.
I can't see a downside to this, a slight performance hit as it now checks for extension methods as well as the standard method_exists(), but it's only executed once per rendered GridField.
Wasn't sure if I should raise this against 3.1 or 3.2?

3.2 please. :D

This never made it in to core, which is a shame - @tractorcow you strict man!
@madmatt do you want to get it in to 3.2? :)

This was merged with https://github.com/silverstripe/silverstripe-framework/pull/4728


refactor: resolve RPC rate limiting

Run tests on anvil from now on
Move current RPC utility function to rpcutil.ts
Add localRPC config (using exact IP instead of localhost to avoid potential resolution errors)

As it turns out, GitHub Actions use shared IPs which oftentimes get rate-limited by
the RPC providers,
If we make a bunch of calls.
I've looked around and found that the same process can spin up an anvil instance to run the tests.
Resolves #473

Run tests on anvil from now on

What does this mean? I thought we always used Anvil.

using exact IP instead of localhost

You mean http://<IP_ADDRESS>:8545?

I merged it but how can we test that it fixes the rate limiting problem?

Run tests on anvil from now on

What does this mean? I thought we always used Anvil.

using exact IP instead of localhost

You mean http://<IP_ADDRESS>:8545?

the fork url is now anvil @pavlovcik

I merged it but how can we test that it fixes the rate limiting problem?

okay I'm trying @pavlovcik

I think this issue is resolved now @pavlovcik,
tracing:
https://github.com/ubiquity/ubiquity-dollar/pull/474
https://github.com/ubiquity/ubiquity-dollar/pull/476
https://github.com/ubiquity/ubiquity-dollar/pull/478
https://github.com/ubiquity/ubiquity-dollar/pull/479


scrollerBar became more width when hover it

the result as above. When hover on scollerbar, it became more with and is not my wanted.

@Dewyzee Hi
Because on MacOS these scrollbars rendering only if you set the special option in system settings.
On your screenshot is the native macOS scrollbar.

@Dewyzee Hi
Because on MacOS these scrollbars rendering only if you set the special option in system settings.
On your screenshot is the native macOS scrollbar.

Actually, I have a plan to fix that in my "fork" of this repo - https://github.com/sakhnyuk/rc-scrollbars

Actually, I have a plan to fix that in my "fork" of this repo - https://github.com/sakhnyuk/rc-scrollbars


Add weight field to UpdateIssueOptions struct

This will allow users to update an issue's weight after creation.

LGTM! Thanks @natemara!


We need to detect when back from player activity.

Can I detect when user press back from player activity excepts video ended.

Can I detect when user press back from player activity excepts video ended.

Were you able to solve this problem?


Question: Outdated docker nvidia installation guide?

Hey, I'm not sure if it belongs here, but you are referencing an outdated nvidia docker installation guide, as nvidia-docker has been superseded by the NVIDIA Container Toolkit.
Thou the reference is the osrf/subt repo... as I said don't know if it belongs here or there?

Hi, thanks for taking note of this.
As this repo was meant for a tutorial on a specific date, I don't think we'll test a new way now that the tutorial is over.
We chose to do the nvidia-docker way because it was a solid and tested way that we knew will work for the most people, since teams used it for SubT. Since there was already installation instructions there, we just referred there instead of reinventing the wheel.
Deprecation means it still works for the moment. Given the decrease in activity in this repo, I suspect by the time nvidia-docker completely stops working, this repo would not be used very much either, or people will find other ways to install NVIDIA for Docker. If that is not the case, feel free to comment and reopen the issue in the future.
I will add a note to the README for installation, to mention what you said.


File manager for containers with possibility to transfer files between container and host machine of Lens

What would you like to be added:
File manager for containers that provides possibility to do all common operations on files (cp,mv,rm...) in the container itself, but mainly between local computer, where Lens is started, and the docker container. Similar functionality which you get when you ssh into real Linux machine using e.g. winscp.
Why is this needed:
While debugging and trying things out in k8s cluster, it is often needed to e.g. quickly exchange some settings/configuration file which are not necessarily mounted from configmap or volume. It would be perfect if one does not need to always use kubectl cp command to copy from/to container. But also to manage file permissions via GUI in addition to do things over terminal would be nice addition. I guess devs such as myself would appreciate this a lot.
Environment you are Lens application on:
Lens: 4.0.8
Electron: 9.3.5
Chrome: 83.0.4103.122
Node: 12.14.1

Kubernetes distribution: AKS, Docker Desktop, Custom k8s on RedHat VMs
Desktop OS: Windows 10/WinServer 2019/2016

That would be neat!

This would be perfect!


Fix scripts does not working

close #72

Remove start and build:storybook as they are old commands.
Could not find babel-eslint to run eslint, so installed it
Replace setupTestFrameworkScriptFile with setupFilesAfterEnv in jest.config.js

@ndelangen
I have updated package.json and added the dependent libraries (devDependencies) to get the script working.
Do you think this is a reasonable change?


[Issue 8787][C++] Add reader internal subscription name setter.

Master Issue: #8787
Motivation
Currently, the reader subscription name can only be generated internally randomly in the C++ client.
Java client part is at #8801
Modifications
Add a setter for the reader's internal subscription name.
Verifying this change
This change is already covered by existing tests, such as testSubscriptionNameSetting, testSetSubscriptionNameAndPrefix and testMultiSameSubscriptionNameReaderShouldFail.

/pulsarbot run-failure-checks

Thanks for the work @RobertIndie , Would you please also help provide the python part of change?

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

The test is failed by this.
Error:  testBookKeeperDown(org.apache.pulsar.tests.integration.cli.HealthCheckTest)  Time elapsed: 0.194 s  <<< FAILURE!
org.apache.pulsar.tests.integration.docker.ContainerExecException: pkill -STOP -f BookieServer failed on e3f20778f4944a0efbec3d50a936bc48e8d43e87f0bfe514dd6e80be937546ec with error code 1
	at org.apache.pulsar.tests.integration.utils.DockerUtils$2.onComplete(DockerUtils.java:259)
	at com.github.dockerjava.core.exec.AbstrAsyncDockerCmdExec$1.onComplete(AbstrAsyncDockerCmdExec.java:51)
	at com.github.dockerjava.okhttp.OkHttpInvocationBuilder.lambda$executeAndStream$4(OkHttpInvocationBuilder.java:331)
	at java.lang.Thread.run(Thread.java:748)

I remember it already fixed in PR #8791. So could you please rebase to the latest master?

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

depends by #8905


[Snackbar] action text dose not have style option

Hi, in SnackBarAction there is no option to control the test style, pls add new option to control text style for SnackBarAction
SnackBarAction(
            label: 'undo',
            textColor: Colors.white,
            onPressed: () {
            },
          )

Hi @kw2019ltd
I see there's an open issue addressing the case you described. https://github.com/flutter/flutter/issues/46599
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you

I see that issue is closed.
On Fri, Oct 9, 2020, 18:12 Taha Tesser<EMAIL_ADDRESS>wrote:

Closed #67730 https://github.com/flutter/flutter/issues/67730.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/67730#event-3860633380, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJEI6TAMWN233DXAIRUSR3SJ4R7JANCNFSM4SKD4UGA
.


Improve config diff logic

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#44

At the moment, the draft has been implemented
If the configuration has been changed, a question is asked with three options:

Ignore, do nothing (default if just press ENTER).
Replace the local version with the new version.
Copy the new version of the file with the postfix ". dist".

After this selection, another question will be asked:

Apply this action to all the following files? (yes/no)

This question is only asked once (at the first choice).
When remove a package, will also be asked whether to remove the configuration files.

If you run composer update --no-interaction, nothing will be changed. But after the operation, a list of files that differ will be displayed.

Before merge need:

Docs.
Updates in app templates.

Great job 👍


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #36.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed

Fixes #36

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ Please depend on pytorch directly. If your package definitely requires the CUDA version, please depend on pytorch =*=cuda*.
ℹ The recipe is not parsable by parser conda-recipe-manager. Your recipe may not receive automatic updates and/or may not be compatible with conda-forge's infrastructure. Please check the logs for more information and ensure your recipe can be parsed.
ℹ PyPI default URL is now pypi.org, and not pypi.io. You may want to update the default source url.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12068036938. Examine the logs at this URL for more detail.


Ibd fix

I shaved ~100 seconds off the api tests, but the tpool tests still routinely exceed 500 seconds. Not sure how we want to handle those.

I'd t.Skip the scalability test. It's less of a correctness test and more of a 'this needs to run faster' test. Marcin's branch should have those tests running a lot faster.


DBZ-2326 Fixed a typo that was causing bold font for metric table description columns

The table column specification had a %s at the end where it should have been %a.
I rant Antora and this update enables rendering the text without bold.

Applied; thx. Could you please always add a link to the Jira issue, that way it's a bit easier when handling PRs. Thx!

Applied; thx. Could you please always add a link to the Jira issue, that way it's a bit easier when handling PRs. Thx!

Hi Gunnar, Sure. I think you must mean that in the Jira issue itself, I add a link to the PR. Let me know if I have that wrong. Sorry I forgot that.


Incorrect positions might be recorded after ORC-1711

Hi 👋🏼
It seems we stepped on a bug after updating ORC submodule on 360c0613ed1b8c0106ee7a52dec995af04e85806.
In the corresponding PR we start seeing test failure.
The failing test: select count(), sum(number) from file('02892.orc') where indexHint(sometimes_null is NULL);.
The exception: orc::ParseError, e.what() = Bad seek to (chunkHeader=0, posInChunk=65536) in zstd(ORCInputStream from 1401 for 12)
While looking at this test I noticed that we indeed read wrong positions here:
https://github.com/apache/orc/blob/f919fab762f189cacb96f19f435da70a6496da82/c%2B%2B/src/Reader.cc#L457-L462
And then I found that we actually also write incorrect values here:
https://github.com/apache/orc/blob/f919fab762f189cacb96f19f435da70a6496da82/c%2B%2B/src/ByteRLE.cc#L190-L194
And then I found that the difference between previously written values and the values we're getting after the update is only that in the positions when we previously had zeroes we now have 65536. And this number is equal to MemoryBlockSize in the PR. It happens when all three unusedBufferSize, bufferLength, bufferPosition were equal to 0.
I'm not familiar with the code, so all I did is just implemented a small crutch to work around that issue: https://github.com/ClickHouse/orc/commit/e77893cd1212f0abdc0ad616f0b4932fbca4f692 and at least it fixed our tests.
Now I'd like to ask the actual experts in this code to have a look and implement a proper fix.
Thanks!

cc @luffy-zh @ffacs @wgtmac

Thanks for the report, I'll take a look.

i checked on our tests and everything looks fine now - big thanks @luffy-zh


support for getting time from JDBC-enabled database

Fixes #3383
Changes proposed in this pull request:

Pull Request Test Coverage Report for Build 779

4 of 6 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 68.532%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/database-time-service/src/main/java/org/apache/shardingsphere/route/time/DataBaseTimeService.java
4
6
66.67%

Totals

Change from base Build 527:
0.002%

Covered Lines:
11490

Relevant Lines:
16766

💛  - Coveralls

Who will set the value of the SQL dialect to fetch time?

I think user should set sql in the time-service.properties,such as sql=select now()

Who will set the value of the SQL dialect to fetch time?

I think user should set sql in the time-service.properties,such as sql=select now()

Can we add some default SQLs for known databases?

Who will set the value of the SQL dialect to fetch time?

I think user should set sql in the time-service.properties,such as sql=select now()

Can we add some default SQLs for known databases?
And does the time-service.properties support for multiple database dialects? eg: key(database name) = value(select now())?

hi, I have implemented  MySQL, Oracle, SQLServer and PostgreSQL database time service, otherwise, I link mariab successfully. As long as we have a JDBC Driver, we can link multiple databases.

Perfect pull request


Loading Public Key Failed Issue

Hi,
I trying to run the rango server and I followed all those steps you have shared.
But it throws an error.
Error : {"level":"error","time":"2021-09-18T13:18:54Z","message":"Loading public key failed: failed"}
Kindly suggest me to build successful. Kindly check and let me know.

Try adding the public key to config directory, as

config/rsa-key.pub

If you are using docker to build the image make sure to copy config files to the container.
By adding:
COPY config /app/config
on line 29, just after RUN mkdir -p /app/config.


WebNowPlaying doesn't work...

Description
Song information and vizualizer doesn't work with webnowplaying but with media player it's run it perfectly....
Versions

Rainmeter Version: 4.1 Final Release - r2989
OS Version: Windows 7
Skin Version: Monstercat-Visualizer-1.8.1
Soundcloud, Youtube

Additional notes/images

I've already search on others issues and no one can help me.

So I don't have this plugin active in Rainmeter, don't know how he still don't be active '-'
Do you got any solution ? Did I made the installation wrong ? Also I just download WebNowPlaying and do anything else...

Then you never installed the WebNowPlaying plugin. You need to install the .rmskin or copy the plugins in to the correct folder if you are doing a manual install and it will work fine.

Then you never installed the WebNowPlaying plugin. You need to install the .rmskin or copy the plugins in to the correct folder if you are doing a manual install and it will work fine.

Copy exactly plugin WebNowPlaying follow rainmeter x32 or x64 to Rainmeter\Plugins\WebNowPlaying.dll. replace it.


Android Basics: Get data from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet?hl=es&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%3Fhl%3Des%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-getting-data-internet#7
In which task and step of the codelab can this issue be found?
step 8
Describe the problem
In a sample code its says:
interface MarsApiService {
@GET("photo")
fun getPhotos(): List
}
I think it need to add the 'suspend' before de function getPhotos()
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@Linex-code
Thank you for reaching out to us.
You are absolutely right about 'suspend'. The code should look like this:

Happy coding!


add leaf class for inheritance

Needs tests

@smn review please
Inheritance magic

Are you needing this to differentiate between controller types? Will zope.interface not give you better tools to do that with?

No, I'm needing it in order to keep my base views very simple. So I can continue using Controller.objects.all() and using things like controller.as_leaf_class().update_marathon_app() without needing to care about overrides implemented on the child classes. If the child class overrides update_marathon_app(), it gets lost if I'm using Controller.objects.all(), in order to get to the child version, I'd have to user ChildController.objects.all() which I don't know about in the base views. The idea is that the implementation of Controllers can remain rather simple. Have a look at this docker controller implementation for how I intend controllers to be defined.

:+1:

@smn your question bugged me a bit so I went reading (again) on inheritance, zope.interfaces, polymorphism, etc. and I eventually found what I was looking for. The as_leaf_class is something I picked up when working in Jmbo and I thought it was niffty, but I've come to find that it's outdated. There are more feng shui ways of doing it. Along comes django-polymorphic

@smn re-review please

:+1:


Anchor deploy not working on mainnet

while running anchor deploy on mainnet I am getting below error
Deploying cluster: https://api.mainnet-beta.solana.com/
Upgrade authority: /Users/myuser/.config/solana/id.json
Deploying program "santacoin_claim"...
Program path: /Users/myuser/work/santacoin/code/contract-claim/target/deploy/contract_claim.so...
thread 'main' panicked at cli/src/program.rs:2188:26:
Should return a valid tpu client: RpcError(Error { request: Some(GetClusterNodes), kind: Reqwest(reqwest::Error { kind: Body, source: TimedOut }) })
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(25856)), stdout: "", stderr: "" }.

rent and gas fee both are deduct from account but contact not deployed. if I tried to re-deploy then it again ask for rent fee.

What's your Solana CLI version?

rent and gas fee both are deduct from account but contact not deployed. if I tried to re-deploy then it again ask for rent fee.

You can claim the lamports by closing the unused buffer accounts with solana program close --buffers.
This should be fixed if you use the same Solana CLI version as the cluster you're trying to deploy to.


Write about charset on README

For https://github.com/winebarrel/ridgepole/issues/87

Changes Unknown when pulling d88e309a87410dddacedc3a385d5b668764f0828 on sonots:patch-1 into ** on winebarrel:v0.6.5**.

Changes Unknown when pulling d88e309a87410dddacedc3a385d5b668764f0828 on sonots:patch-1 into ** on winebarrel:v0.6.5**.

Thanks! 👍


Disabled via method

Hi,
Disabled dates are being passed via from, to and array. Is it possible to have it validated via function too? If i can pass a function into it like Flatpickr does with disabled dates.

Can you show an example of how this lib work with this?

closing due to inactivity


Support for multiple additional elements in scroll

Hello!
First, thank you for this fantastic VS library. I'm trying to work with multiple large groups of nested data, like so:
{ item1: [1,2,3...N], item2: [9,10,11...N], ... M }
I'm wondering if there is a good approach to using "nested" virtual scroll in this scenario, where each item contains sub-items. Obviously, the example I show below would result in multiple scroll containers and would not be a pleasant (or possibly at all usable) user experience, but is there an approach that would work in this scenario?
The issue, of course, is that these groups need to be displayed inline, as a large, infinite-scrollable list.
Something like this:
<virtual-scroller #scroll [items]="items">

 header stuff

    <virtual-scroller #scroll2 [items]="item.children">
       <input type="search">

           <my-custom-component *ngFor="let item of scroll2.viewPortItems">
           </my-custom-component>

   </virtual-scroller>

</virtual-scroller>```

Any thoughts on how this might be possible to achieve? Thanks for your feedback.

I'm sorry, we don't officially support any feature like this. You can try it out to see if it works, but I'm not sure if it will & we probably won't be able to fix any bugs you find.
I don't have any alternate ideas on how to achieve this off the top of my head. If you're able to figure something out, feel free to submit a pull-request or explanation so future users can read it.
I wonder if you could re-design your app's UI concept so that a nested virtual-scroller isn't necessary? Even if you can make it work how you want, I wonder if it'll be a good user experience?
Anyways, I'm going to close this issue as it's not something we have the resources to help with. Good luck!

Ok! Thanks for taking the time to look. I appreciate it!


UnboundLocalError: local variable 'barcode' referenced before assignment

help me pls. thanks.

Try to rename your factory function barcode into make_barcode  / create_barcode
I guess you're suffering from name conflicts (function name == package name)

Do you have a variable called barcode inside that scope? It would seem to be shadowing the imported barcode.


fix #106487 Contribute an "activating" placeholder message and button

This PR fixes #106487 by adding an "activating" message as suggested by @joaomoreno

I included the "Learn More" button as a way of reserving the space that gets occupied by the "Clone Repository" button as soon as the git extension completes activation:

"Learn More" leads to the same place as the "read our docs" link in the second screenshot.

The SCM view now does the same:

Here's how it looks when another extension is contributing as well:

And without the "Learn More" button:

Personally I think the placeholder button produces a less jarring experience, even though there's still some movement.

Another benefit of having a placeholder button is that I can add an animated codicon to its label. Currently it's not possible to use codicons in the plain text of welcome messages.

After seeing it live, I am getting second thoughts about this.
How about we provide a way to declare a disabled button instead? And possibly have a tooltip which would describe why the button is disabled when hovered? That way we can have 100% the same contents thus causing no jumping at all and avoid having a strange Git extension is activating... message. What do you think?

I was just investigating that possibility. The viewsWelcome contribution mechanism almost lets me achieve this. There's an optional preconditions property to associate a context key expression with each button in the content. At the moment it's not wired up to get passed from an extension's viewsWelcome contribution, so I'll take a shot at doing that.

Yeah it currently doesn't support preconditions, but we can certainly add it! It would be hard to add a tooltip for it though... since it would have to be a tooltip for when the precondition doesn't match.

How about this?

Doesn't do anything with a tooltip, but it'd be easy to add a static one that says something like "Clone a repository when the git extension has activated"

Wait.. we already support it?! YES looks much much better.

I've pushed the changes that make this work.

As you may know, new API additions require an api labelled issue, arguing for the addition. Also, until finalized they should be protected by the proposed mechanism. Let me know if you need help with those tasks.

Sorry @gjsjohnmurray, closing this as per https://github.com/microsoft/vscode/issues/106487

@joaomoreno ironically I was just blowing the dust of this and about to get back to you for help with steering the API change through the required process.
The only additions needed are in viewsWelcomeContribution.ts and viewsWelcomeExtensionPoint.ts, plus a bugfix in viewPaneContainer.ts. So having read in the Extension API Process doc the following:

All proposed APIs are defined in the vscode.proposed.d.ts file.

I'm not clear how to proceed. I don't need anything changed in vscode.d.ts or in its precursor vscode.proposed.d.ts
Please advise.

I'm just wondering if this will really be worth the effort. I'm not entirely sold on the amount of work/extra code here vs. the added benefits.

I think it's worthwhile. The current experience of our extension's viewsWelcome contribution suddenly jumping down the screen because the Git extension has just completed its init is somewhat jarring. And the more extensions adopt viewsWelcome the more I foresee this kind of thing happening. The changes I propose (which really aren't extensive) provide extension developers a way of being better citizens in the shared space.

@jrieken What do you think?

@jrieken What do you think?

In pictures, here's current behaviour, where my extension contributes text and a button which subsequently gets bumped down when the git extension finishes initializing:

And proposed, after the git extension has been tweaked to use the new capability:

(ignore the extra text in the contribution from my extension, which was added between capture of the "before" case and the "after" case)

I like the feature/enhancement, but I think the proposed changed to the contribution need some polish, I'd suggest enablement instead of preconditions and a simple string instead of an array (like other context key expressions)

Alright,

I like the feature/enhancement, but I think the proposed changed to the contribution need some polish, I'd suggest enablement instead of preconditions and a simple string instead of an array (like other context key expressions)

@jrieken fair point, but the advantage of the preconditions array is it better handles cases where a viewsWelcome contribution adds more than one button. For instance here the git extension contributes 2 buttons:
https://github.com/microsoft/vscode/blob/ceeb9748562afb00c191606ffa22d9bfb1b13a38/extensions/git/package.nls.json#L180
My preconditions proposal would operate like this:
      {
        "view": "scm",
        "contents": "%view.workbench.scm.empty%",
        "when": "config.git.enabled && workbenchState == empty",
        "preconditions": ["git.state == initialized", "git.state == initialized"],
        "group": "2_open@1"
      },

In this particular case it's right that both buttons enable/disable in lockstep, but there could be situations where each button needs a different clause.
If you're unconvinced then I'll implement enablement as you suggest and code things so the one enablement clause gets applied to every button in the contribution. That'll be OK for the Git contributions, and other multi-button contributions wanting to adopt the new feature will just have to live with the limitation.

In this particular case it's right that both buttons enable/disable in lockstep, but there could be situations where each button needs a different clause.

I'd say that's wanted since this contribution point talks about about welcome views. Spreading information about enablement of commands inside it into the contribution seems too loose. So, I'd day that the enablement-properties applies to the whole welcome-view thing.
However, if we believe that fine grained enablement of individual command is needed then I would invest in a syntax that allows that to be expressed together with the command. That would keep information together and also not pose challenges about keeping the ordering correct - think about NLS and a translator reordering sentences/commands.

@jrieken thanks for your feedback. I have pushed the changes to make this work off an enablement string. I also updated the PR title and linked from the top of the description to the comment that shows before and after gifs.
@joaomoreno I think this is ready to merge.

Thanks! 🍻


[Model Update]:  SerialPart 2.0.0 Update Meta Model to SAMM 2.0.0

Update Reason
SerialPart 1.0.1 is still BAMM 2.0.0 and can therefore not be used in SAMM Models. This request is about to update the meta model to SAMM 2.0.0
MS1 Criteria

[ ] The model that should be updated exists
[ ] The referenced use case exists
[ ] The potential updates are discussed with all stakeholders
[ ] A decision on versioning was made in consensus with the affected parties according to the guidelines.
[ ] The potential update will be either

[ ] backward compatible or
[ ] a (chain of) migration strategy(-ies) from all non-deprecated previous versions to the new model will be developed

closed by https://github.com/eclipse-tractusx/sldt-semantic-models/pull/291


Missing dist folder

hello,
i can' find the /dist folder in master.zip. The readme say "All production files (js, css, scss) can be found in the /dist folder" but no dist folder.
Can you add /dist folder to your repo ?
Thank you.

Oops, thought I had the readme updated. The tom-select website has been updated though.
I'm following this approach for the dist folder so the dist folder won't be visible in the git repo.