Fix sourcemaps compilation in es6 modules

There was an issue with our shader compilation when compiling to es6 and up.
The issue was that some files have \r\n and some have \n, and typescript doesn't deal with that very well (especially if a \r is left without a \n).
This should fix the issue (tested locally).
See https://forum.babylonjs.com/t/es6-sourcemaps-not-lining-up-since-5-27-1/43021

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

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

note - this fails on linux (but works in window). looking into that right now

Another note - I moved all blocks to \n instead of \r\n . This will save a few bytes but won't make any other difference

@Popov72 just making sure you are fine with the new changes

I think it's fine to replace the "\r\n" by "\n".


Remove multiple documents support

After removing the title from the document on the backend, the UI which expected a map of string -> doc breaks.
I originally added support for multiple documents to enable loading of multiple docs of different services in a standalone app, but it is not in use (and far from being usable), so I decided to remove it for now.

Superseeds https://github.com/springwolf/springwolf-ui/pull/8

Let's change the indentation in springwolf-core. We can also add npm run update-mocks to the github workflow so it is automatic


Late Starting of Visual Studio Code

Type: Bug
This report addresses the issue of the late starting of Visual Studio Code (VS Code) in my laptop. The delayed startup of VS Code has been causing frustration and productivity loss . The purpose of this report is to identify the underlying causes of the problem, analyze its impact on our operations, and propose potential solutions to mitigate the issue.I had updated the visual studio several times and also reinstall it, but that doesn't fix my issue.
 Please let us know if McAfee is not installed on your PC, else use the instructions to resolve.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


General search widget implementation

Good enough for now.
Changes before implementation can be seen here: https://github.com/Xithrius/twitch-tui/commit/93b7bfd771ecb453b7af1c445af36dc4eefcca9e

Good enough for now.
Changes before implementation can be seen here: https://github.com/Xithrius/twitch-tui/commit/93b7bfd771ecb453b7af1c445af36dc4eefcca9e


[Android] Enable copy picture only in contenteditable

In Android, copy/paste picture only isn't being good supported.
In chromium for Android, it supports copy/paste text with picture.
In order to align with Android, chromium for Android disabled
copy/paste picture only previously.
But copy/paste picture only and text with picture among chromium
for Android and Android native applications behave the same.
So we enable copy/paste picture only.
BUG=XWALK-3764

@halton @lincsoon @kenchris @darktears

Since this also affects Chromium upstream and is not a P1 bug, I'd like to wait for them to provide some feedback and only then proceed with changing our version if necessary.

@axinging please rebase your code.


[plot] Data background is not used when plot do not display the axes

I think it is a regression.

Set both background with a different color
One is displayed outside the data view (beyond the axes)
Another one is dislayed under the data (inside the axes)
Switch the plot mode to hide the axes
The data background is not anymore used (i think we expect it to be used)

A matplotlib backend only issue, probably due to the use of set_frame_on.


How to draw shiny lines

Before I did not find out how to use nanovg to achieve this effect, I spent a lot of time to study drawing a smooth curve, but I found that things are not so simple, so I went back to nanovg, did anyone come up with some ideas

funny effect

That kind of effect is not possible with NanoVG. If you feel adventurous, you could try to tweak the fringeWidth in nvgStroke to achieve blurry lines.
https://github.com/memononen/nanovg/blob/master/src/nanovg.c#L2234
The fringeWidth is set to one pixel, so that the result looks like anti-aliasing. If you wanted i.e. 3 px blur, the just scale the fringeWidth by 3. The resulting "blur" is linear gradient, so it might not look as good as in your example.

I use the normal of the curve to calculate two new vertices to achieve the thickness of the curve, and then use a brush texture to achieve this effect, but the result is not very good, I do not know how to deal with overlapping and line join style and line cap style.
Is there any recommended books or paper?

Directly connecting vertices to draw straight lines, I don't know why cross-vertex positions occur.

@withliyh Where are you getting the data for your curve? It looks like the irregular sampling of the curve itself is causing your issues.

What @fundamental said. If you want good looking lines, you should filter your input. One thing you could try is to simplify the line and try to fit bezier curves to it. I remember seeing some really nice looking examples in paper.js.

@fundamental @memononen Thank you for your reply
The data comes from the real-time input of the mouse. It just filters the distance between the two points. The points that are too close are filtered out. Refer to this article to realize that the Bezier curve has been used.
I have no clue what to do with the line join and line cap effects.
I continue to try after studying paper.js

You need a more robust approach to estimate the normal of the line. If you force samples to be further apart (via the filter that you mention) you will eliminate many of the miss-estimations shown in your examples.

To be on the safe side, you should no have points closer to each other than the width of the line.
One way to draw the ends caps is to extend the path half the width of the line in the beginning and end. You can use the direction from the first/last segment.
If your texture looks like a capsule, where length is 4 and width is 1, then you can use the first 1/4 width as start cap, and last 1/4 width as end cap. The rest is stretched along the path. This makes it easy to create the glowing line texture in photoshop. In theory you could use just a sphere, but often the effects might not create perfect width at the exact center of the image.


Got error: HTTP Error 403: Forbidden. Retrying fragment

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 asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I'm trying to download this video and I always get this error, this happened a couple of days ago,
https://www.youtube.com/watch?v=AsDxw522Nec
my command:
yt-dlp  --force-overwrites -f 'bestvideo[height=360][ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 "https://www.youtube.com/watch?v=AsDxw522Nec" --output  //*/file.mp4"
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[debug] Encodings: locale ISO-8859-1, fs iso8859-1, pref ISO-8859-1, out iso8859-1, error iso8859-1, screen iso8859-1
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (pip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-122-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec
ERROR: You installed yt-dlp with pip or using the wheel from PyPi; Use that to update
[youtube] Extracting URL: https://www.youtube.com/watch?v=AsDxw522Nec
[youtube] AsDxw522Nec: Downloading webpage
[youtube] AsDxw522Nec: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] AsDxw522Nec: Downloading 1 format(s): 134+140
[debug] Invoking dashsegments downloader on "https://rr4---sn-2imern76.googlevideo.com/videoplayback?expire=1691780915&ei=0zLWZKj1NtuvsfIPqseQ6A0&ip=<IP_ADDRESS>&id=o-AHCUTZDLApFhOaiaFE2N8TrFY652aibBGz9OMnVXpxLM&itag=134&source=youtube&requiressl=yes&mh=Sr&mm=31%2C26&mn=sn-2imern76%2Csn-najern7k&ms=au%2Conr&mv=m&mvi=4&pl=22&initcwndbps=193750&spc=UWF9f8YvE6LaExJB-x7bdjDWp-BV5C7znE9ak7CrSg&vprv=1&svpuc=1&mime=video%2Fmp4&gir=yes&clen=13805368&dur=2213.433&lmt=1691462708266868&mt=1691759132&fvip=5&keepalive=yes&fexp=24007246%2C51000011%2C51000023&beids=24350018&c=ANDROID&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhANSVPaGP40mC_mJiSiQafdTWs7M8B2THsZHv0-1KL4VHAiAN6zVNtntMQ7-R6zbI9bhBiM8g8W8nLLx6YuuPAHSSDw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgEZzW2_eHBT_qn5SeYiRzEqPhJDgqKO_ZFHVaANLzSIMCIEURNZ_Uk7Sdz2oPcX_tlV0mO7fLnyrJBrcYLU-476iN"
[dashsegments] Total fragments: 2
[download] Destination: *****/videos/AsDxw522Nec.f134.mp4
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (1/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (2/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (3/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (4/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (5/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (6/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (7/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (8/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (9/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (10/10)...
[download] Got error: HTTP Error 403: Forbidden. Giving up after 10 retries
  File "/usr/local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 967, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 957, in _real_main
    return ydl.download(all_urls)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3369, in download
    self.__download_wrapper(self.extract_info)(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3344, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1507, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1518, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1674, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2779, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3229, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2970, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/dash.py", line 60, in real_download
    return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 382, in download_and_append_fragments_multiple
    return self.download_and_append_fragments(*args[0], **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 521, in download_and_append_fragments
    download_fragment(fragment, ctx)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 466, in download_fragment
    for retry in RetryManager(self.params.get('fragment_retries'), error_callback):
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/utils.py", line 6141, in __iter__
    self.error_callback(self.error, self.attempt, self.retries)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 463, in error_callback
    self.report_retry(err, count, retries, frag_index, fatal)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 389, in report_retry
    RetryManager.report_retry(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/utils.py", line 6148, in report_retry
    return error(f'{e}. Giving up after {count - 1} retries') if count > 1 else error(str(e))
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 392, in <lambda>
    error=IDENTITY if not fatal else lambda e: self.report_error(f'\r[download] Got error: {e}'),
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1015, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 944, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

ERROR: fragment 1 not found, unable to continue
  File "/usr/local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 967, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 957, in _real_main
    return ydl.download(all_urls)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3369, in download
    self.__download_wrapper(self.extract_info)(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3344, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1507, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1518, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1674, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2779, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3229, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2970, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/dash.py", line 60, in real_download
    return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 382, in download_and_append_fragments_multiple
    return self.download_and_append_fragments(*args[0], **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 522, in download_and_append_fragments
    result = append_fragment(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 486, in append_fragment
    self.report_error(f'fragment {frag_index} not found, unable to continue')
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1015, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 944, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

[debug] Invoking dashsegments downloader on "https://rr4---sn-2imern76.googlevideo.com/videoplayback?expire=1691780915&ei=0zLWZKj1NtuvsfIPqseQ6A0&ip=<IP_ADDRESS>&id=o-AHCUTZDLApFhOaiaFE2N8TrFY652aibBGz9OMnVXpxLM&itag=140&source=youtube&requiressl=yes&mh=Sr&mm=31%2C26&mn=sn-2imern76%2Csn-najern7k&ms=au%2Conr&mv=m&mvi=4&pl=22&initcwndbps=193750&spc=UWF9f8YvE6LaExJB-x7bdjDWp-BV5C7znE9ak7CrSg&vprv=1&svpuc=1&mime=audio%2Fmp4&gir=yes&clen=35823541&dur=2213.488&lmt=1691462408874955&mt=1691759132&fvip=5&keepalive=yes&fexp=24007246%2C51000011%2C51000023&beids=24350018&c=ANDROID&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAPrT9Rb8A2aAcIrdFNeyIBHOyYyfNoQJpVLJa90CgkVfAiEAnCl8NcVSHLDL0wd37D2qMNM0Er0SkC7lCdS9LrSb2eU%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgEZzW2_eHBT_qn5SeYiRzEqPhJDgqKO_ZFHVaANLzSIMCIEURNZ_Uk7Sdz2oPcX_tlV0mO7fLnyrJBrcYLU-476iN"
[dashsegments] Total fragments: 4
[download] Destination: *****/videos/AsDxw522Nec.f140.m4a
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (1/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (2/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (3/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (4/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (5/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (6/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (7/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (8/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (9/10)...
[download] Got error: HTTP Error 403: Forbidden. Retrying fragment 1 (10/10)...
[download] Got error: HTTP Error 403: Forbidden. Giving up after 10 retries
  File "/usr/local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 967, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 957, in _real_main
    return ydl.download(all_urls)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3369, in download
    self.__download_wrapper(self.extract_info)(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3344, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1507, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1518, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1674, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2779, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3229, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2970, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/dash.py", line 60, in real_download
    return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 382, in download_and_append_fragments_multiple
    return self.download_and_append_fragments(*args[0], **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 521, in download_and_append_fragments
    download_fragment(fragment, ctx)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 466, in download_fragment
    for retry in RetryManager(self.params.get('fragment_retries'), error_callback):
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/utils.py", line 6141, in __iter__
    self.error_callback(self.error, self.attempt, self.retries)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 463, in error_callback
    self.report_retry(err, count, retries, frag_index, fatal)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 389, in report_retry
    RetryManager.report_retry(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/utils.py", line 6148, in report_retry
    return error(f'{e}. Giving up after {count - 1} retries') if count > 1 else error(str(e))
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 392, in <lambda>
    error=IDENTITY if not fatal else lambda e: self.report_error(f'\r[download] Got error: {e}'),
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1015, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 944, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

ERROR: fragment 1 not found, unable to continue
  File "/usr/local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 967, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/__init__.py", line 957, in _real_main
    return ydl.download(all_urls)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3369, in download
    self.__download_wrapper(self.extract_info)(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3344, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1507, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1518, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1674, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2779, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 3229, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2970, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/dash.py", line 60, in real_download
    return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 382, in download_and_append_fragments_multiple
    return self.download_and_append_fragments(*args[0], **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 522, in download_and_append_fragments
    result = append_fragment(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/downloader/fragment.py", line 486, in append_fragment
    self.report_error(f'fragment {frag_index} not found, unable to continue')
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1015, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 944, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>ERROR: You installed yt-dlp with pip or using the wheel from PyPi; Use that to update

same problem, same solution

@immibis
Update yt-dlp! or if already on version 2023.07.06, then show verbose log

Gonna make this a site-bug issue so that it is documented somewhere.
These Youtube 403 errors are caused by fetching Android client formats using the old player params.
This was fixed by 81ca451480051d7ce1a31c017e005358345a9149

@immibis
Update yt-dlp! or if already on version 2023.07.06, then show verbose log

I said, same solution. Updating fixed it.

Solution:
Update yt-dlp! or if already on version 2023.07.06, then show verbose log

Thanks, I installed the new version without PIP and the problem was solved.

I also have this problem but when i try to update it says I installed with pip even though i used the release binaries ???

nvm I found it

How did you fix it?

You need to update using pip: pip install --upgrade yt-dlp

@Alexhha if you are on a data center IP or have been downloading an unusually large volume of videos, it is likely #7860 (your IP has been blocked by youtube)

@bashonly
It seems you were right, I tried the same command on ec2 and it worked

upgrade

You might need/want to run pip install --upgrade yt-dlp in a venv.

i also got this error using debian 12 without having downloaded >5 videos, i proved using the latest stable and the latest non-stable and neither worked.


Feature Request: Duration in Minutes

Is your feature request related to a problem? Please describe.
Long running scripts show duration in milliseconds, which is not helpful. No one uses milliseconds for anything in the real world. When you go for a run, or microwave something, it's either minutes or seconds. Seeing 514,926 ms run time isn't helpful, because then you have to export to excel, divide that out to get seconds, divide again to get minutes.
Describe the solution you'd like
Simple option in the preferences/settings to identify how long each step of an SQL query is taking. Ex: 15 mins 45 seconds

What DBeaver version do you use? I can't reproduce it on the latest version.

@E1izabeth How did you get that pop up window? As far as I can tell on the latest version for Windows, it is not standard. When you run a script, not a single query, it shows query manager with each sequential step that it goes through, and each of those steps are listed in milliseconds. There's no big progress bar like the picture you showed

You're right. It appears only on single query execution.
And Query Manager shows time only in milliseconds after the end of query execution.
We will discuss, how we can improve this behavior. Thank you for request

Thank you for your request!
We could add a setting and change the query duration results presentation in Statistics tab, Query manager, and in the status bar.

@arhayka Thanks. I think this would be a terrific idea.


Windows 10: cli operations & daemon don't get along :P

I have flexget running in daemon mode (run by a logon task in windows) Its been running for the last year without issue... recently, if I do a query or interact with flexget by cli, the lock file gets deleted and it doesn't seem like the cli is communicating with the daemon. (even "flexget daemon status" -- which says there doesn't appear to be a daemon running)

That's easy. Don't use windows 10. :P

Is your daemon service running as the same user as you log in from? It could be the daemon is running for a different config file than picked by default when you log in.

@crawln45 ha :} I know, but it was a windows 7 media center pc ... only updated to 10 because it was easy... I'm stuck on windows for this box for now.
@gazpachoking I created the task to run the daemon as my user. The correct lock file is created when it starts. the cli/daemon interaction has been solid for most of the last 12mo. :/ I recently started using PowerShell instead of the normal shell... (since it has bash like commands.) I wonder if its just that?

nope... just tried the normal command shell. still failed to communicate to the daemon, then when the flexget daemon status finished, the lock file was deleted. (daemon still running... but no way to cleanly stop it)

Weir. I use win10 and daemon without any issues so I'm not sure that's related

figured it out. User Account Control ... the command prompt needed to be run as admin.
i used to have command prompts always run as admin but turned that off.  now i know flexget cli needs elevated privileges to communicate to the daemon... it would be nice to detect that some how and warn instead of clean up the lock file.


Failing test - test_filters_v0[fastparquet-fastparquet]

What happened:
I've noticed a test failing on the CI (test_filters_v0[fastparquet-fastparquet]), and this also happens for me when I run the tests locally from the main Dask branch in a clean conda environment. Is this happening for anyone else?
What you expected to happen:
I expected all tests to pass on the Dask main branch.

Environment:

Dask version: main branch (pulled latest changes today)
Python version: 3.8.10
Operating System: Ubuntu 20.04 LTS
Install method (conda, pip, source): conda

fastparquet 0.6.1 is out now, this should be resolved

Good news, thanks Martin!


apps: migrate to SPDX identifier

Summary
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Impact
SBOM
Testing
CI

[Experimental Bot, please feedback here]
No, this PR does not fully meet the NuttX requirements. While it touches upon some aspects, it lacks crucial details.
Here's a breakdown of what's missing:

Summary:  While the "why" is briefly addressed, the "what" and "how" are missing.  Which tools? Which part of the code is changed to use SPDX identifiers? How are they integrated? Specifics are essential.  Mention the related NuttX issue number if one exists.

Impact:  Saying "SBOM" is not enough.  Address all impact points explicitly with "YES" or "NO" and provide details if "YES."  For example:

Is new feature added? YES (SBOM generation facilitated)
Is existing feature changed?  Potentially YES (depending on what was modified). Specify which feature.
Impact on user?  Possibly YES or NO. Justify. Will users need to do anything differently?
Impact on build? Likely NO, but state explicitly.
Impact on hardware? Almost certainly NO, but state it.
Impact on documentation? Likely YES.  New documentation may be required to explain how to generate the SBOM.
Impact on security? Potentially YES or NO. Justify your answer.  Does adding SPDX identifiers introduce any vulnerabilities or improve security posture?
Impact on compatibility? Likely NO, but state it explicitly.

Testing:  "CI" is insufficient. List the specific build hosts and targets used for testing. Provide actual testing logs before and after the change, not just the word "CI."  What tests demonstrate that the change works as intended?  Show concrete output illustrating the improvement related to SBOM generation.

In short, the PR description needs significant expansion to meet the NuttX requirements.  Be specific and thorough in all sections. Provide concrete examples and data.


PrairieView Acq added

Once changes here look good, I can add a reference to it under requirements for workflow-calcium-imaging

Please update version and changelog.

@kabilar @dimitri-yatsenko I've updated scan.py to prevent any errors while populating the ScanInfo table.


Broken Youtube support

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=gCaQbl4p598', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.6 (CPython) - Linux-5.15.0-75-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] gCaQbl4p598: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description
Looks like regex /(?:channel|user)/([^/?&#]+) doesn't work with /@username format, as YouTube gradually rolls out new URLs.
Example:
Video - https://www.youtube.com/watch?v=gCaQbl4p598
Uploader - https://www.youtube.com/@borisbepis1741

Yep, the same here

Where have you all been?

[x] I've searched the bugtracker for similar issues including closed ones

Learn how by reading #30839 (again?).

Learn how by reading #30839 (again?).

My bad, haven't checked known issues for a while.

This is why that item is in the template ...


Constant LUA error possibly related to warlock t 2.5

Receiving the following LUA errors continually repeating until addon is disabled:
Message: ...AddOns\stat_weights_classic\stat_weights_classic.lua:7899: attempt to perform arithmetic on field '?' (a nil value)
Time: Mon Sep 28 04:01:38 2020
Count: 840
Stack: ...AddOns\stat_weights_classic\stat_weights_classic.lua:7899: attempt to perform arithmetic on field '?' (a nil value)

unequipping t2.5 moves the error to line 8211 (have 3 pc).

Hey tnekau,
Can you check and see if this issue fixed in the master branch here on Github before I release it to Curseforge? I suspect it was due to character loadouts from a previous version not being compatible with the new version.
-jezzi23

Awesome work, this appears to be fixed now :-)
Thanks


Remove trailing backtick

This messes up the ordering:

Now it looks good: https://parquet.apache.org/blog/ Thanks for spotting! @wgtmac 🙌


Update GrapeIvy.groovy: set ivyInstance to IvyContext, for speed up …

When custom grape.config is present(-Dgrape.config=...), there are no need load default ivysettings!
if you want see the diff,run with -Dgrape.config=... and -Divy.message.logger.level=4

hi @qxo,
thanks for the pull request. :
This repository is not maintained anymore. Please send pull request to https://github.com/apache/incubator-groovy instead.
Thanks,
Pascal

ok
https://github.com/apache/incubator-groovy/pull/66

Thanks!


[AA-1148] - Disable the rest of the table while editing a row on the resource editor

Description

Added css classes for selection to the table cells with edit and delete icons on the ResourceEditor.
Added styles for disabled table cells. Added style to make the edit-resource  tag similar to other icons.
Added AddTooltip and Removetooltips functions to site.js for adding/removing tooltips from a tag.
Added disableForEdit and enableAfterEdit with helper functions to enable and disable the table cells depending upon the row state while editing on the ResourceEditor.

We discussed leaving the delete buttons enabled, as there didn't seem to be a downside to it. However, the user can get "stuck" if they perform the following sequence of steps:

From the main list of claim sets, select one to go to the edit screen.
Within one row of the edit screen, click the edit icon to make that row editable.
Within the same row, click the delete button.
In the deletion modal, confirm the deletion.
The remainder of the controls are now locked, since the single active row is now gone and cannot be saved. The user would have to leave the editor completely and come back in order to do more work.

Rather than doing anything more complicated, let's just disable all the delete buttons for the same reason that we disable all of the "(i)" auth strategy buttons.

Add a new row, save, then back to edit mode. The Delete tooltip is not set.
I knew to check for this after seeing that we seem to have a lack of symmetry in the changes. I see the cshtml changes apply .edit-resource-button, .edit-auth-strategy, and .delete-resource-claim to all the nodes when rendered, but in the JS we see variations on when these css classes are mentioned/introduced on the javascript side.
For instance, when the javascript introduces .edit-resource-button around line 23, why not the others? For instance, when the javascript introduces .edit-auth-strategy near line 225, why not the others? These two examples might be right, but the different treatments of the 3 and the lack of js-introduced .delete-resource-claim led me to find this bug.


flutter run doesn't display print() messages on web in profile/release mode

flutter run normally prints all messages the application prints using theprint(<...>) function. This works on the VM-based devices just fine in all modes.
Though on the web it seems to only work in debug mode but not in profile/release mode (i.e. flutter run -d chrome --release/--profile doesn't forward print messages).
(Side-Note: In debug mode on web (i.e. flutter run -d chrome --debug) there prints are generally printed but at the very start of the app they are sometimes dropped. It seems there's a race from the flutter tools connecting to the browser to start capturing the output and the app already running)

/cc @yjbanov Is this intentional?

I do see the same behavior as reported on latest versions. I seem to have come across a similar / related issue but can't find it here to put for reference. Will keep the issue open for team's attention.
maybe this is related : https://github.com/flutter/flutter/issues/80334
stable : 3.24.5
master : 3.27.0-1.0.pre.682

Not intentional, but a side-effect of profile/release using dart2js/dart2wasm instead of DDC. Only DDC establishes a debug connection with the browser, forwarding console messages to stdout. There's not such thing with dart2js/dart2wasm.
It should not be impossible to implement. We'd just need to build a different kind of channel for dart2js/dart2wasm.
For now, simply look for print output in the browser's JS console.

@yjbanov My use case is programmatic: run release mode in an integration test and use print()s as communication mechanism to test driver as well as e.g. for printing benchmarking numbers.


Debug mode - extend run time

Hello,
Is there a possibility to extend debug run time from 60s to something else?
thank you

Maybe try increasing DebugScheduleDelay


Pass Headers into api2go.Request

Sometimes it is important to have the Headers in the resource as well to do header based querying. I suggest to extend the Request object with another field Headers.

:+1:

+1


Visual on the charging graph in Apexchart etc. when different charging will be done

I would like to suggest, if possible, that it is shown on a graph like this:

When Low Price charging will happen and maybe also show when carging to Minimum SOC level will go on after the charger is connected and the EV Connected changes to ON. If I came home today with my car at around 16:00 and it would first do some charging to reach Minimum SOC and then stop until the price went low enough to start on Low Price charging. As the price is lower than my threshold in more time than the scheduled charging would charge then it could be shown like two graphs laying over each other:

As a new user of the EV_smart_charging it would have been a great help for me - now I think I know how it will charge - but if it was shown on a graph it would be very nice :-)
I see two options for the graphs: - Just different levels on the charging graph to indicate if it is: one of the 3 or 4 options or as an alternative solution have more lines on the graph with different colors - one for each charging reason.
BR.
Lars

Thanks for the suggestion. It is against the current implementation principles to show anything from the past. So I don't think your example in the second picture will be implemented.
However, to show that Minimum SOC level charging is ongoing now and that Low Price charging is ongoing now and/or will happen in the future, that could possible be implemented.


Only the lexbox pod can access the hg service

Fixes #599.
Tested on local dev by verifying that it does not break the project page, which can still load the Mercurial commit graph from hgweb. Have not yet verified that it is actually restricting traffic (i.e., doing its main job) but at least it's not breaking anything. (That is, unless Docker Desktop's Kubernetes implementation ignores NetworkPolicy, in which case we'd have to deploy to develop in order to test this).

I think it would make sense to test this, right?
How do we do that? Do we just curl the hg pod from a pod that isn't lexbox?
I'd suggest you provide a shell command and screenshot from prod now to demonstrate that we can currently access hg from somewhere else and then to test this we run the command again after deploying to prod.
I think hg has a health check endpoint you could use.

Trying to test it now... and my connection to the develop k8s infrastructure has gone wobbly. I can run kubectl exec deploy/db -- wget -o - hg to check if the db pod can see the hg service... sometimes. But when I run kubectl apply -f hg-network-policy.yaml (I pulled the network policy out into a single file for the test so that I wouldn't be applying the rest of the config) I'm getting consistent timeouts:
net/http: request canceled (Client.Timeout or context cancellation while reading body)

And my connection to Rancher, which was working earlier, is timing out with things like this:

I'll put testing this off until later today or even tomorrow, when hopefully my network connection to the develop k8s cluster stops wobbling and starts working consistently.

I think it would make sense to test this, right? How do we do that? Do we just curl the hg pod from a pod that isn't lexbox?

Absolutely. I did not mean to imply that we didn't want to test it, just informing you all that I hadn't had time to test it yet and would test it later, unless you went ahead and tested it first.
Anyway, my connection to the develop cluster has stabilized and I've been able to test it, and it's blocking too much. It blocks connections from the db pod, but it's also blocks connections from the lexbox pod. I've figured out the reason (the obvious syntax for selecting a namespace was wrong, and you have to use a weird syntax) and I'm about to push the fix.

I think to test this out we can just manually create the policy in develop and test it there, just make sure you delete the policy once you are done testing it.

The policy from commit 1ba7d9e7 has been tested in develop and it's working as intended (blocks connections from the db pod, lets them through from the lexbox pod, all UI elements still work as designed). I then deleted the network policy from develop again.
Question: in develop, we're using the namespace languagedepot-dev rather than languagedepot. The process that transforms the namespaces to languagedepot-dev doesn't appear to be in the lexbox repository. I assume that the new NetworkPolicy will also have languagedepot transformed to languagedepot-dev by that same process once this PR is merged and/or deployed to develop. If it's not transformed, the NetworkPolicy will end up blocking lexbox on develop (only) because it's still looking for the languagedepot namespace rather than languagedepot-dev.
With that caveat in mind, this PR has been tested on develop and is ready to merge now.


Partitioning support broken in functional programming model

The partitionKeyExpression property stops having effect once spring.cloud.stream.function.definition is set. I think this due to the absence of the PartitioningInterceptor which would have previously been configured as part of the MessageConverterConfigurer. However, that bean does not get registered any more in case of a function definition being present:
https://github.com/spring-cloud/spring-cloud-stream/blob/253f3d6547b75f108df9f6aa61ff5f8a24c8a0f6/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/config/BinderFactoryAutoConfiguration.java#L216
Is there another way to enable partitioning support in the functional programming model or should this be fixed?

At this moment I am looking at this as an enhancement, given hat we're trying to make functions work independent from the fact that at the moment it is backed by Spring Integration and thus channels. So it should be fixed

Just an FYI, the code you mentioned above is specifically related to delegating most of the functionality to spring-cloud-function (such as type conversion etc), but as you pointed out there is a side-effect.
Anyway, we'll be doing SR1 before the end of the year, so you should have a fix for it soon.


Catch HUP signal

The client needs to exit gracefully on receiving HUP. (May happen, if
started inside a SSH session, which dies)

LGTM, thanks


Named arguments for tasks

I see in the TODO section of the README:

support declaring specific arguments for a task

Could you elaborate on what it means 🙂 ?
I'm currently trying to migrate a Makefile to poe tasks, and I'd need to pass named arguments to a task:
.PHONY: do-this
do-this:
ifndef a
	$(error Pass A with 'make do-this a=X.Y.Z')
endif
ifndef b
	$(error Pass B with 'make do-this b=X.Y.Z')
endif
ifndef c
	$(error Pass C with 'make do-this c=X.Y.Z')
endif
	@echo "actual commands..."
	@echo $(a) $(b) $(c)

I guess it gets a bit hard to replicate such features in a declarative way.
Maybe something like this?
[tool.poe.tasks.do-this]
args = [
    { name = "a", help = "Pass A with 'a=X.Y.Z'", required = true },
    { name = "b", help = "Pass B with 'b=X.Y.Z'", required = true },
    { name = "c", help = "Pass C with 'c=X.Y.Z'", required = true },
]
shell = """
    echo "actual commands...";
    echo $a $b $c
"""

...letting us do poe do-this a=hey b=ho c=heyho.
A more verbose equivalent:
[tool.poe.tasks.do-this]
  shell = """
    echo "actual commands...";
    echo $a $b $c
  """

  [[tool.poe.tasks.do-this.args]]
    name = "a"
    help = "Pass A with 'a=X.Y.Z'"
    required = true
  [[tool.poe.tasks.do-this.args]]
    name = "b"
    help = "Pass B with 'b=X.Y.Z'"
    required = true
  [[tool.poe.tasks.do-this.args]]
    name = "c"
    help = "Pass C with 'c=X.Y.Z'"
    required = true

That's not far off what I had in mind. Thanks for bringing it up.
I'd like to support both named and positional arguments, in a way that translates well to different task types. For shell/cmd tasks what you describe using env variables might be a good way to do it. For script tasks passing as arg/kwargs should work too.
I hadn't thought of providing required/help keys per arg but it makes sense. For more light weight use cases it would be nice to be able to simply provide something like:
args = ["arg1", "arg2"]

or
args = {arg1 = "foo", arg2 = "bar"} # provide defaults

It should be possible to support more than one of these schemes.
As for implementation I was thinking of dynamically translating the arguments into an argparse parser for parsing and validation. Of course it would be cool to support tab completion for task arguments as well :)

I've published an initial implementation of this feature as a beta-release https://pypi.org/project/poethepoet/0.11.0b1/
It's not thoroughly tested or documented yet (see README on the feature branch ) and there are a few bits missing functionality wise but it'd be great if someone could try it out and provide feedback!
Still to do:

improve error message for task argument omission or misuse
add extensive feature tests for the new functionality
support defining args for sequence and ref task types
provide more complete documentation
maybe support positional arguments
maybe support args with multiple values or non-string type

Named arguments released in v0.11.0.


fix 101: refactor code

Codecov Report

Merging #116 (784e731) into master (09463ee) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
- Coverage   72.48%   72.46%   -0.02%
==========================================
  Files         664      664
  Lines       11713    11706       -7
==========================================
- Hits         8490     8483       -7
  Misses       2910     2910
  Partials      313      313

Impacted Files
Coverage Δ

...eetcode/0101.Symmetric-Tree/101. Symmetric Tree.go
100.00% <100.00%> (ø)

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 09463ee...784e731. Read the comment docs.

/cc @halfrost


Add Balabolka Portable <IP_ADDRESS>3

Microsoft Reviewers: Open in CodeFlow

Ref #897

The installer is missing.  I am getting a 404 error.


Transform native ES6 classes into Ember.Object

Follow up on https://github.com/offirgolan/ember-light-table/pull/439#issuecomment-311264044.
Currently ELT uses three native ES6 classes intermingled with Ember.Object (namely Column, Row, Table), that can easily be transformed into pure Ember.Object. This is a breaking change, as users will have to switch from new Table(columns, rows, options) to Table.create(columns, rows, options).

Relevant: https://github.com/emberjs/rfcs/pull/240


HDMI input fails with google chromecast input

When I connect the PYNQ HDMI input to a google chromecast device, it appears to be capturing a blank/black screen. I'm using the 5_base_overlay_video.ipynb page for testing. It captures and displays video from my notebook fine.  Not sure if this is a configuration issue or perhaps its just not compatible, but I did want to record the issue.

Also, the HDMI port does seem to work fine with my old Apple TV.

You have got to love it when the new tech works with the older stuff, Brad
BTW Liam Madden just got his kit today so you are in good company
-P
From: Brad Taylor<EMAIL_ADDRESS>Sent: Monday, October 31, 2016 2:29 PM
To: Xilinx/PYNQ<EMAIL_ADDRESS>Subject: Re: [Xilinx/PYNQ] HDMI input fails with google chromecast input (#225)
Also, the HDMI port does seem to work fine with my old Apple TV.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Xilinx/PYNQ/issues/225#issuecomment-257426005, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKBIBau6gjrqv8qE6BE7KfQOxtIOLFrzks5q5l2agaJpZM4Kh1sH.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

We have not seen fix for chromecast - I'll close for now, and put the help wanted label on here in case community wants to tackle this use case.


Draft: Refactor API

Starting a PR to refactor the public API for the Estimator object.
Goals:

[x]  Separate data and modeling choices by introducing the equation dictionary that specifies the regression equation for each distribution parameter by passing a list of column identifiers (column indices, names) or string parameters intercept and all.
[x]  Have only one X and y in Estimator.fit(X, y)
[ ]  Basic support for pandas and polars
[ ]  Allow most estimation parameters to be passed either as single int, bool, float or as dictionary of {parameter: value}
[x] Add intercept by default
[ ] Allow to select the columns that should be scaled
[ ] Prepare for the introduction of autoregressive effects on the distribution parameters

Discussions in #23 and #24

Implemented a first version that follows the API. Changes are mostly cosmetic, i.e. internally most stuff is working as before. Notable changes:

Added equation parameter in the __init__()
Adding intercept by default, aligned to sklearn in the fit_intercept parameter in the init
Only one scaler needed from now on, as the scaler is working on X directly
Forget can now be dependend on the distribution parameter. Interesting for tracking parameters with an intercept only.  Question @BerriJ how do we handle discounting of the deviance? Add seperate forget_deviance? For now I've used self.forget[0] which is the forget of the mean.
The equation parameter is designed in a way to support pandas and polars already, but the scaler will fail.
Added a make_lags method already, but not implemented in the API jet.

Code snipped to play around with after building from source on the branch:
import rolch
import numpy as np
from sklearn.datasets import load_diabetes

X, y = load_diabetes(return_X_y=True)

online_gamlss_new = rolch.OnlineGamlss(
    distribution=rolch.DistributionT(),
    equation={0: "all", 1 : np.arange(4, 8)},
    fit_intercept=True,
    method="lasso",
    scale_inputs=True,
)
online_gamlss_new.fit(X, y)
online_gamlss_new.update(X[[-1], :], y[[-1]])

print(online_gamlss_new.betas)

Overall, I think this is a great improvement to the interface!

Thanks!

My main comment - or question - is about how you are handling pandas and polars. Is all that happens just a conversion to numpy? In this case, you may want to make the conversions extraneous to the estimator. skpro also has default conversions implemented, if you want to use the boilerplate or just the datatypes module, though you probably do not want to take the dependency.
The "nice" part would be if all internal calculations are native, though this may be out of scope.

Yes, I will be all handled by subsetting and conversion to numpy. We have quite a bit of numba supported code in the deeper workings of the package and I don't see a huge benefit in re-writing e.g. coordinate decent to pandas or polars. Another reason is that this keeps the dependency on these libraries rather light, while the main numpy API is rather stable, which makes maintenance easier :)


Input badge

Alright, removed styled components. Thought we still using it. But no prob.

@fritzschoff Can you link to the relevant component in figma? Ta.

@jmzwar https://www.figma.com/file/uFHKfLFYczHnZ7voSluRvO/Chakra-UI-SNX-System?node-id=1080%3A19211
you mean like that?


No album info scrobble on tidal

When using the extension with TIDAL on chrome track artist and title are sent as it should but track album NOT

The extension does not scrobble album because there's no album info on a player panel:


Can't get IPV4 addresses output

Hello and many thanks for your work on this project!
At my company we try to automate the interactions with Proxmox via Pulumi. At the moment we're unable to get the IPV4 addresses of our VMs via your provider (FTR the IPV4 is available and displayed on the Proxmox interface).
I've put a repro in this repository. The setup is minimal and described below.
The VM Template is created directly on the Proxmox host from the Debian base image :
# Download image
wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
mv debian-12-generic-amd64.qcow2 d12-ci.qcow2

# Customize image
virt-customize -a d12-ci.qcow2 --install qemu-guest-agent
virt-customize -a d12-ci.qcow2 --truncate /etc/machine-id

# Setup image as template in Proxmox
qm create 667 --name "d12-ci-ready" --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0
qm importdisk 667 d12-ci.qcow2 local-lvm
qm set 667 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-667-disk-0,ssd=1
qm set 667 --boot c --bootdisk scsi0
qm set 667 --ide2 local-lvm:cloudinit
qm set 667 --serial0 socket --vga serial0
qm set 667 --agent enabled=1
qm template 667

The VM is then launched with Pulumi via your provider :
const vm = new proxmox.vm.VirtualMachine(
  "simple-vm",
  {
    nodeName: proxmoxNodeName,
    agent: { enabled: true },
    started: true,
    clone: { full: true, vmId: 667, nodeName: proxmoxNodeName },
    initialization: {
      ipConfigs: [{ ipv4: { address: "dhcp" } }],
    },
    stopOnDestroy: true,
  },
  {
    provider: provider,
  }
);

But the output stays empty/undefined :
     Type                            Name               Status              Info
 +   pulumi:pulumi:Stack             promox-pulumi-dev  created (14s)       1 warning; 1 message
 +   ├─ pulumi:providers:proxmoxve   proxmoxve          created (0.41s)
 +   └─ proxmoxve:VM:VirtualMachine  simple-vm          created (12s)

Diagnostics:
  pulumi:pulumi:Stack (promox-pulumi-dev):
    undefined

    warning: Undefined value (ipv4Addresses) will not show as a stack output.

But in the Proxmox's interface it's available :

hi,
i'll try to investigate within the next days; however, did you check if this behaviour is the same when using the underlying terraform provider (https://github.com/bpg/terraform-provider-proxmox)?
the pulumi provider bridges the TF provider; hence, if the TF provider is the cause, this will come through to pulumi.

I've updated my repro repository to include Terraform: it works.
Full output follow
proxmox_virtual_environment_vm.proxmox_vm: Refreshing state... [id=102]

Note: Objects have changed outside of OpenTofu

OpenTofu detected the following changes made outside of OpenTofu since the last "tofu apply" which may have affected this plan:

  # proxmox_virtual_environment_vm.proxmox_vm has been deleted
  - resource "proxmox_virtual_environment_vm" "proxmox_vm" {
        id                      = "102"
      - ipv4_addresses          = [] -> null
        name                    = "simple-vm-via-opentofu"
        # (25 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes.

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

OpenTofu will perform the following actions:

  # proxmox_virtual_environment_vm.proxmox_vm will be created
  + resource "proxmox_virtual_environment_vm" "proxmox_vm" {
      + acpi                    = true
      + bios                    = "seabios"
      + id                      = (known after apply)
      + ipv4_addresses          = (known after apply)
      + ipv6_addresses          = (known after apply)
      + keyboard_layout         = "en-us"
      + mac_addresses           = (known after apply)
      + migrate                 = false
      + name                    = "simple-vm-via-opentofu"
      + network_interface_names = (known after apply)
      + node_name               = "proxmox"
      + on_boot                 = true
      + protection              = false
      + reboot                  = false
      + scsi_hardware           = "virtio-scsi-pci"
      + started                 = true
      + stop_on_destroy         = true
      + tablet_device           = true
      + template                = false
      + timeout_clone           = 1800
      + timeout_create          = 1800
      + timeout_migrate         = 1800
      + timeout_move_disk       = 1800
      + timeout_reboot          = 1800
      + timeout_shutdown_vm     = 1800
      + timeout_start_vm        = 1800
      + timeout_stop_vm         = 300
      + vm_id                   = (known after apply)

      + agent {
          + enabled = true
          + timeout = "15m"
          + trim    = false
          + type    = "virtio"
        }

      + clone {
          + full      = true
          + node_name = "proxmox"
          + retries   = 1
          + vm_id     = 667
        }

      + initialization {
          + datastore_id = "local-lvm"
          + upgrade      = (known after apply)

          + ip_config {
              + ipv4 {
                  + address = "dhcp"
                }
            }
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  ~ instance_ips = [] -> (known after apply)

Do you want to perform these actions?
  OpenTofu will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

proxmox_virtual_environment_vm.proxmox_vm: Creating...
proxmox_virtual_environment_vm.proxmox_vm: Still creating... [10s elapsed]
proxmox_virtual_environment_vm.proxmox_vm: Still creating... [20s elapsed]
proxmox_virtual_environment_vm.proxmox_vm: Creation complete after 21s [id=101]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

instance_ips = tolist([
  tolist([
    "<IP_ADDRESS>",
  ]),
  tolist([
    "<IP_ADDRESS>",
  ]),
])


Fixed user create error with mfa-types on HMC 2.14 or older

For details, see the commit message.
No review required.
Tested manually.

Coverage decreased (-0.03%) to 32.888% when pulling 3f69a0c9a1038eb9703f6d3bd80eb8d120f0b418 on andy/fix-user-mfa into 887bef8f5473a97e733c9d45dffcd62b04ef947d on master.


Setup hosting & deployment

Requirements:

Bot needs to be hosted on a server that remains online most of the time.
Must be able to fetch latest code, build, and run on the server.
Make use of systemd to run bot as a service.

Github actions is worth looking into for the hosting here.

Fixed in: f7bb9a77f2489953dcda0a899a8e739a8c67ac22


Add Discord Status

Put minutes until next bot in its status.

Fixed https://github.com/MLH-Fellowship/session-bot/pull/9


Crashes when I load a new area

I already have a save file (which I load up), and it crashes once I leave the safehouse. Please help!                                  My PC Specs: (my PC is a 2010-2011 laptop btw) Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz,     4 cores,     8 GB of RAM,   NVIDIA NVS 3100M,     Windows 10 32-bit (swear it is 64-bit). I have SilentPatch, widescreen fix, and extended draw distance installed. I have the steam version of Bully, and use 30 FPS. I have installed SilentPatch correctly. The exact steps in order to reproduce it is load up the game, load up an existing save, and once I leave the save place, it infinitely loads.

You're gonna have to give us more info than just "this happens. give help."
Have you installed SPBully correctly? If so, it should produce a crashdump, can you upload it and send it to us along with your save file?
Can you explain the exact location this is happening? Can you tell us steps to reproduce the crash - eg; what you do in order every single time to make it happen.
Can you list your PC specs / version of the game you have (Disc, Steam, RGL...) How you launch it, what FPS you play on etc etc.
The more info, the more we can help you.
-amzy.

How do I send my save file if the game's files are on a external storage space?

Save files are always in Documents > Bully Scholarship Edition - on your C:\ Drive, regardless of where you have the game installed.
Do you have a crashdump which originates from that specific crash? (which can be found in your game directory)
I wasn't aware there even was a 32 Bit version of Windows 10, but hey.
Is it possible you could try uninstalling the mods you have, and seeing if it still crashes before sending us anything, though? It could be that something else you have installed is interfering with the game, and it's not directly a problem with the game itself.
Thanks.

Sure will
On Tue, Sep 7, 2021, 2:52 PM amzy @.***> wrote:

Save files are always in Documents > Bully Scholarship Edition - on your
C:\ Drive, regardless of where you have the game installed.
Do you have a crashdump which originates from that specific crash? (which
can be found in your game directory)
I wasn't aware there even was a 32 Bit version of Windows 10, but hey.
Is it possible you could try uninstalling the mods you have, and seeing if
it still crashes before sending us anything, though? It could be that
something else you have installed is interfering with the game, and it's
not directly a problem with the game itself.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CookiePLMonster/SilentPatchBully/issues/77#issuecomment-914544171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUS66PQWS5VBW4LISRY6TX3UAZNP7ANCNFSM5DAUP4AQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

https://drive.google.com/file/d/12YkmHM6S74XqGGi9dvB3_ByOPLb-IX_9/view?usp=sharing


Upgrade to react/http instead of react/http-client which is deprecated.

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
yes

Deprecations?
no

Related tickets
fixes #41

License
MIT

What's in this PR?
The adapter now rely on react/http instead of react/http-client. The Client external behaviour hasn't changed but all the inner logic is now rewritten.
Because react/http hasn't a compatible signature with react/http-client this is a BC Break and will require a new major version of the adapter.
Why?
react/http-client is now deprecated so we must move with the ecosystem.
Checklist

[x] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
[ ] Documentation pull request created (if not simply a bugfix)

thanks! this seems good to me.
can you maybe adjust the style-ci configuration to the newest symfony ruleset (remove the explicit rule that is now in the symfony ruleset)?
should we bump this to a new major version? it could be unexpected to have the underlying react library change completely when upgrading.

Ok I take a look at the style-ci configuration. For sure it must be a new major version for this adapter. If some users have tweaked the reactphp behaviour, their code will not work anymore.

please change composer.json where it says
    "extra": {
        "branch-alias": {
            "dev-master": "2.4-dev"

to say 3.x-dev
we did not release the last commit to master as 2.4 yet - it was the switch to httplug 2. however, i think the correct way is to get this merged as well, rather than a release 2.4 for the switch to httplug 2. do you agree?

Ok, I've just updated the composer.json file…
Maybe we can release the two different tags. I think that users can have advantage to use the httplug 2 no ? Maybe we'll have to path the v2 branch at some time… It'll require a tiny changelog update for the v2.4.0 branch to be published.

my thinking was that we could merge this and release as 3.0.0 immediately. i would not be aware of other BC breaking things we need to do. that would keep the number of different versions a bit lower. and it might be problematic for some when we switch to httplug 2 in a minor version...

You're absolutely right :smile:. I close the #44 and merge this one. Then I'll commit the changelog update on master for the v3.0.0 release :wink:.

hooray, thanks!


macos failure to build package primitive

log below, wasn't very informative unfortunately. Total haskell beginner here, hoping this is something easy to fix (did some searching but didn't find much related). Please let me know if there are any commands I can run that would provide more info
macos 10.15.5
ghc 8.10.2
stack 2.3.3
$ stack install.hs help

--  While building package primitive-<IP_ADDRESS> using:
      /Users/wminshew/.asdf/installs/haskell/8.10.2/stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.10.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

Hi! haskell-ide-engine is being deprecated in favor of haskell-language-server https://github.com/haskell/haskell-language-server
The new default vscode extension (if you are using vscode) https://marketplace.visualstudio.com/items?itemName=haskell.haskell will download the appopiate binary automatically.

thank you I will head there!


Build not working

https://github.com/expresslang/ap210.org/actions/runs/1650405177

@strogonoff is working on this.


Include message data in the history

I believe, in some cases it would be helpful to also store the data from the message too in the history. In case the message contains sensitive info, we could use another stamp to indicate that for this message the data should not be recorded.

Good idea. I'm trying to think how we'd store this - it needs to be json in the db. Simple as running through symfony/serializer?

I checked and you're right. If we're going to use the messenger serializer, we'll end up with encoded PHP objects in the DB. I would say it should be safe to use the symfony/serializer instead and store the json. For special cases we could emulate the messenger serializer and look for SerializerStamp and SerializedMessageStamp in the envelope.

This would be a great feature.
@SpartakusMd Are you up for an PR?

Was thinking to do it, but didn't find the time yet. @Chris53897, if you're willing to do it, feel free.

I will probably have some time after 01.10 to crate some PRs. I will decide than, wich one i will pick.

Thinking about this feature some more. If we're going to add it, it'll need to be before 1.0 as it would require a breaking change (the extra entity column).
Question for you guys though: is making your message \Stringable not enough or do you require the full message context (properties)?

In case the message contains sensitive info, we could use another stamp to indicate that for this message the data should not be recorded.

Could/should this be handled via serializer groups?

@kbond, my use case would benefit from storing the full message in the history. It gives the possibility to process the data later and still have a human view via \Stringable for the message. In the end, I could live without it, but would be something nice to have.
I prepared a sample PR #46 to see if it's a good approach. For implementation, I used symfony/serializer to normalize the message from the Envelope. For now I didn't add serializer groups, if needed we can add them later.
What do you think? Should this land in the package? Is it something which wouldn't be required? Should there be something more added?


Busybox and x86_64?

First of all, thanks so much for making and maintaining this project, most appreciated.
This is less of a bug report as I'm unsure of the intended behavior, and more of a question regarding whether this project is supposed to support running on x86_64 based emulator guests as well as the resolution that worked for me.
If I try replacing magisk_emu.zip with the magisk.zip from the 21.4 release, after installing plugins I will end up with errors in magisk manager's debug log area regarding Exec format error (8) which I eventually determined was likely because it seemed like the busybox being installed from the update-binary file was an x86 version of busybox. The installed plugins of course fail to run with one exec format error occurring per plugin installed.
It looked like there might have been some logic in update-binary to detect whether its running on an x86 or 64 bit emulator by trying to run the x86 version extracted with dd first to see if there's any error and overwrite it with what I'm guessing was a 64 bit version if there was an error, but I'm guessing that this logic failed to produce the expected result when android translates the x86 code on the fly during the execution of update-binary on at least Android 11 (API 30) x86_64 which is what I was working with.
After replacing the x86 chunk in update-binary with a copy of busybox-86_64 from github.com/Magisk-Modules-Repo/busybox-ndk, adding 0 padding to the end of the nearest 1024 size block, and updating the offset for X86_CNT it seemed to resolve all my issues and I could install and use all the plugins I wanted without the exec format errors in Magisk Manager.
Rather than chase down the logic and confirm my suspicions regarding the logic in update-binary I figured I'd just post this here to let you know. You can see the relevant changes I made in my fork of your repo should you be interested.
Thanks again for this project, I was quite pleased to be able to get a copy of magisk running with the frida plugin etc goin in the android emulator!

The busybox in the 'update-binary' was taken from older Magisk.zip (canary version 20307 I believe) and according to John he only packed 32bit version (both arm and x86) for various reason. In the latest commit of this project, the busybox from update-binary is only used for operations during install, and the one installed on emulator comes from Magisk itself because that would be 'newer' and 'less buggy'. (unfortunately there's still no 64bit version)
Providing both x86 and x86_64 binaries is possible but it would add complexity to this project and most people are not comfortable with blobs. :(

Hi, please check the latest commit ! :)


fix: Move to mdbook v0.4.6

I think that this PR has been superseded by later updates, so I'll close it.
Thanks!


Add callback on reservation of the job

That way it would be possible to hook into reservation so that it's
possible to write a plugin that logs or measures the time of job
reservation and so on.

Coverage increased (+0.008%) to 91.135% when pulling 693fe1acbbc96f051120f2fdfebebacc828d2723 on piotrj:pj-reserve-lifecycle-event into e3772d4f0c8470d0fcba00c86ca3bc4f5e876830 on collectiveidea:master.


Cache file wont download

I tried to initialize client just as described in documentation of this library. I got to the point of pop up browser screen and redirect uri. After inserting the URL from browser, I received below mentioned error and no .oath file is created. I tripple checked the credentials and all 15 lines of code, didn't find any typos. Could someone help me with this issue? I'd be very grateful for any help.
Enter the URL you were redirected to: http://<IP_ADDRESS>:8080/?code=ZZlkTW&state=None
Traceback (most recent call last):
File "/Users/prosto/Documents/Ticktcik APP/initialize.py", line 10, in
oauth = OAuth2(client_id=clientId,
File "/usr/local/lib/python3.9/site-packages/ticktick/oauth2.py", line 136, in init
self.get_access_token(check_cache=check_cache, check_env=env_key)
File "/usr/local/lib/python3.9/site-packages/ticktick/oauth2.py", line 311, in get_access_token
token_info = self._request_access_token()
File "/usr/local/lib/python3.9/site-packages/ticktick/oauth2.py", line 225, in _request_access_token
token_info = self._post(self.OBTAIN_TOKEN_URL, params=payload)
File "/usr/local/lib/python3.9/site-packages/ticktick/oauth2.py", line 249, in _post
raise RuntimeError("POST request could not be completed")
RuntimeError: POST request could not be completed

Got the totally same question and the client can't be initialized. Have you fix it ?


Clinic modernise tests

test by explicitly following a trail of inputs and the consequent routing rather than always setting the user start state

@imsickofmaps please review.  Not sure if some of the metric checks of last few tests were changed correctly...

👍 the metric changes are fine because they're moving anyway


PageModel: ModelState and RouteData throwing NullReferenceException

Here is my PageModel:

   public class AccountCreatedSuccessfullyModel : PageModel
    {
        public string Name { get; private set; } = "Teste";
        public string Email { get; private set; } = "Oi";

        public AccountCreatedSuccessfullyModel(string name, string email) : base()
        {

        }

        public void OnGet()
        {
        }
    }

So, i try to instantiate it, using 'new' keyword, and it shows that ModelState and RouteData threw exceptions, as image below says:

Then I get in exception page:

The source code can be found at:
https://github.com/lucassklp/DefaultArchitecture
The steps to reproduce is only trying to get the route /api/account.
Someone knows the cause of exception?

Hi @lucassklp. Why are you instantiating the Page Model ? What are you trying to accomplish?

Hi @mkArtakMSFT, I'm trying to make a template mail sender, which will take a Razor template then send it as email. I found a way to get the template's HTML thought a code that needs the Page and PageModel. So, that's why I need to instantiate the PageModel.

@lucassklp I'm going to have to dig in to why the model in this case in your case, but I wanted to make sure you understand that even though rendering a Razor Page as a regular view could render the contents, none of the page execution pipeline would run. This includes, things like property binding \ handler method execution etc.

I really don't know if using Razor to do this is the best form to resolve this problem, but still better than making the HTML and CSS hardcoded. If you guys has some sugestion to do, feel free to say!

@lucassklp in a Razor Page, the value of the Model property comes from the PageContext that does not get initialized as part of RenderAsync. You can specifically initialize it's value before rendering it:
Here are the changes you'd have to do:
if (viewResult.View == null)
{
    throw ...
}

var viewDictionary = new ViewDataDictionary<T>(new EmptyModelMetadataProvider(), new ModelStateDictionary())
{
    Model = model
};

if (viewResult.View is RazorView razorView && razorView.RazorPage is PageBase razorPage)
{
    // For RazorPages, explicitly set the model on the generated type.
    razorPage.PageContext = new PageContext(actionContext)
    {
        ViewData = viewDictionary,
    };
}

...

Feel free to re-open the issue if you have any further questions.


[Modal] Error if you press ESC to close the window

ESC keypress is the React library's event, not sure why this error is thrown...possibly something to do with the lifecycle methods.

ERROR MESSAGE: Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the ModalContainer component.

error was due to event listener for resizing window not being removed properly


Collate a list of potential training images

Task
Collated a list of all tiles that can be used for training.
These are imagery tiles from Gisborne that have buildings already associated with them.
Definition of Done

[x] Once a list of all tiles that can be used for training are stored against this issue.

Out of Scope

Discussion required

These will need to be divided into ~90:10 training:validation
This will be undertaken as part of the training epic (#19)
closing

These will need to be divided into ~90:10 training:validation
This will be undertaken as part of the training epic (#19)
closing


feat(tutorial): complete step 5 RTP

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Hey there!  Can you post a link to your Bluemix/IBM Cloud app (in a comment, or the description) so that we can verify it works?  Once we're able to do that we can approve and close this PR.

App running in IBM Cloud: https://carbon-tutorial-ksee04.mybluemix.net/#/


Add FileWorker based off RedisWorker

I thought it would be useful to have a FileWorker similar to RedisWorker, that could simply read JSON snowplow events written to a file, and send them to an emitter.
This might also pair well with a FileEmitter.
Wanted to get some thoughts if others would find this useful and be willing to include it.

Cool! Could you sign our CLA please: https://github.com/snowplow/snowplow/wiki/CLA

Thanks @alexanderdean, done.

Confirmed! Thanks William


[WiP] adopt goyaml/v3

Adopting go.yaml/v3 will bring support for yaml 1.2 schema
this PR require https://github.com/go-yaml/yaml/pull/753

What's current status of this?
I saw v3.0.0 was released recently.

I didn't noticed the v3.0.0 release, this is something we should consider for next release, wdyt @glours @ulyssessouza ?

One of the reasons to adopt v3 would be that v2 has a vulnerability https://nvd.nist.gov/vuln/detail/CVE-2019-11254 .
Very unlikely to affect compose-go, but scanners are noisy about this CVE.

Is there any blocker to get this merged? 🙏

updated with recent v3.0.1 release, still missing https://github.com/go-yaml/yaml/pull/753


Upper case and ' char

How to capture upper case and apostrophe '  char ?

yes, ' (quote) is currently missing.  I will add the alias later. For now, you can use the  event. keyCode === 222

v1.5.3 supports  quote and ' alias


Eventual Consistency appears twice in navigation

https://github.com/mehdihadeli/awesome-software-architecture/blob/6a4c4737e47161a032d3e49155579dfe701af3ed/mkdocs.yml#L236
Super minor, but it seems that the navigation link to Eventual Consistency has been added on two sequential rows 😃

Fixed, thanks for the report.


Release

Hi, thank you for this and redux.
Are you going to release 1.0 of this library?

Done. (Nothing changed.)

Great, thanks!


Not respond when I paste a file into the input box for creating a file

Does this issue occur when all extensions are disabled?:


change the configuration of the pull-request.json

What does this PR do?
Update the configuration of the pull-request.json
Why is it important?
The build should be started by commit
Checklist
no
Author's Checklist
Related issues

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-07-03T12:11:38.056+0000

Duration: 13 min 41 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
197

Skipped
7

Total
204

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Rename IsNotRetrievableAttribute to IsHiddenAttribute

@brjohnstmsft didn't like my name. 😃 https://github.com/idg10/azure-sdk-for-net/issues/3#issuecomment-251841095

While IsNotRetrievableAttribute is slightly clunky, I'm not sure about IsHiddenAttribute because it seems a bit vague to me. Hidden from whom or what? From the search engine? (No, but that's not obvious from the name.) And there's also a disconnect between the attribute name and the corresponding Field property, which is inconsistent with all the other similar attributes. That's alone will cause discoverability problems, so I think we need 'Retrievable' in there.
How about [IsRetrievable(false)]? That way the naming is completely consistent with all the others, and it chimes well with the code you'd write if you weren't using the attribute (field.IsRetrievable = false;) It's not perfect - it would make this the only attribute that takes an argument, and it also enables people to write the [IsRetrievable(true)] which would have no effect.

I take your point about consistency, and taking a Boolean parameter is a good way to make it explicit. [IsRetrievable(false)] it is.


Phase 2 motherload

@rjmk This is all the phase 2 work we have done. We have merged it all into one branch as it was getting quite confusing. Not sure if you prefer to have a look at this or individual branches we have been working on so will leave both up here.

#299 contains our main todos that still relate to the affected stories.


Call from central_system to charge_point - AttributeError

I need help please, I was trying to implement a call from central_system to charge_point for reset.req and got this error.
*** AttributeError: 'ChargePoint' object has no attribute '_call_result'
This is my function of the reset request
async def reset_req(self):
    request = call.ResetPayload(
        type= ResetType.hard
    )
    response = await self.call(request)
    if response.status == ResetStatus.accepted:
        print("Reset Accepted!!")
    else:
        print("Reset Rejected!!")

Thank you.

I see nothing wrong there.
Two things:

Provide us your code from starting of the Server/client up to the Reset Call
Provide us a complete logging message of the error you got please

I see nothing wrong there.
Two things:

Provide us your code from starting of the Server/client up to the Reset Call
Provide us a complete logging message of the error you got please

Thank you, I got it working. Though I had to make some changes in the charge_point.py code.
Now, if you can help me out with this issue,

How can I send a reset call, from the server according to whenever I want it to go

async def on_connect(websocket, path):
    """ For every new charge point that connects, create a ChargePoint
    instance and start listening for messages.
    """
    try:
        requested_protocols = websocket.request_headers[
            'Sec-WebSocket-Protocol']
    except KeyError:
        logging.info("Client hasn't requested any Subprotocol. "
                 "Closing Connection")
    if websocket.subprotocol:
        logging.info("Protocols Matched: %s", websocket.subprotocol)
    else:
        logging.warning('Protocols Mismatched | Expected Subprotocols: %s,'
                        ' but client supports  %s | Closing connection',
                        websocket.available_subprotocols,
                        requested_protocols)
        return await websocket.close()
    charge_point_id = path.strip('/')
    cp = ChargePoint(charge_point_id, websocket)
    try:
        asyncio.gather(cp.reset_req())
        await asyncio.gather(cp.start())
    except websockets.exceptions.ConnectionClosed:
        connected.remove(websocket)
        print("Charge Point disconnected")

async def main():
    server = await websockets.serve(
        on_connect,
        '<IP_ADDRESS>',
        port,
        subprotocols=['ocpp1.6'],
        ping_interval=None,
        ping_timeout=None
    )
    logging.info("WebSocket Server Started")
    await server.wait_closed()

if __name__ == '__main__':
    asyncio.run(main())

The reset code is mentioned above.
Thank you.

@garima8 Hi, were you able to get some progress in this. I am trying to send a call from central system to charge point but I am stuck. Control is not able to move past this line -
await self.call(request) .

Hi,
Yes, I was able to resolve it. It's working fine for me now.
Regards,
Garima Mangla
On Mon, Jul 4, 2022 at 12:15 PM Ashutosh Shisodia @.***>
wrote:

@garima8 https://github.com/garima8 Hi, were you able to get some
progress in this. I am trying to send a call from central system to charge
point but I am stuck. Control is not able to move past this line -
await self.call(request) .
—
Reply to this email directly, view it on GitHub
https://github.com/mobilityhouse/ocpp/issues/211#issuecomment-1173416256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AELVMIVBEOSGU7CMNG4DYTLVSKCBTANCNFSM45T7SJWA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add Ankara Yıldırım Beyazıt Üniversitesi

@huseyinerdall I am sorry, the domain ybu.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Folders/Groups for Profiles

Description of the new feature/enhancement
I would really like the ability to group/nest profiles together. For example having multiple connections to the same server grouped under one folder. I currently have a lot of ssh profiles and it's getting out of control 😁
Proposed technical implementation details (optional)

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues. This is already being tracked by another issue on our repo - please refer to #1571 for more discussion.
/dup #1571 #6602 #6512 #6440 #6347 #6289 #6095 #6083 #5850 #5548 #4880 #4535 #4241 #2870 #2608 #2330 #2216


Case sensitive directory name colliding with codes

I have no problem now by changing the directories' names into lower case, so it's not really a big problem.
Just thought it's worth mentioning.
I don't know how to fix this with git commits, but the fact that the directory names ./Client/src/Components and ./Client/src/Pages are uppercase cause problem because codes refer to them in lowercase.
vvv In ./Client/src/Pages/agentIndexPage.tsx vvv
import BaseIndexPage from '../components/baseIndexPage';
import HoverBtn from '../components/hoverBtn';

the components are referred with lower case here.
This caused some File not found errors.

I think it is because of case insensitivity of Mac or git(don't know whoever it is).
Should we just update the imports to Uppercase in the remote repo too?


[Bug]: Encounter fatal error when update a PDF file with 136 MB size.

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
0000
Other environment information
No response
Actual behavior
向知识库上传一个163MB的pdf文件出错

Expected behavior
No response
Steps to reproduce
1.新建一个知识库
2.上传一个163MB的pdf

Additional information
No response

Is it local deployed? Demo site doesn't support file uploading of that large  size.
Set MAX_CONTENT_LENGTH in docker/.env to a very large number.
Or check nginx.conf about the package size.

Is it local deployed? Demo site doesn't support file uploading of that large size. Set MAX_CONTENT_LENGTH in docker/.env to a very large number. Or check nginx.conf about the package size.

I modified the value of MAX_CONTENT_LENGTH in docker/.env and client_max_body_size in nginx.conf, and the issue has been resolved. However, the number of chunks parsed from the PDF is 0. I checked and found that the PDF is not in a scanned document format.

Is it local deployed? Demo site doesn't support file uploading of that large size. Set MAX_CONTENT_LENGTH in docker/.env to a very large number. Or check nginx.conf about the package size.

I modified the value of MAX_CONTENT_LENGTH in docker/.env and client_max_body_size in nginx.conf, and the issue has been resolved. However, the number of chunks parsed from the PDF is 0. I checked and found that the PDF is not in a scanned document format.

Same problem here.