text:
Handle VARBINARYs that arent actually binary

I recently discovered internally a situation where we weren't properly converting bytes to string. For us this was for any column that used COLLATE ascii_bin. Digging into it I discovered that MySQL has 2 methods for determining whether something is "binary":

the binary flag (on the flags bitmap with value 128)
the binary collation (collationIndex = 63, returned per field)

If Vitess sees the binary flag, it converts a VARCHAR to VARBINARY before sending to JDBC. The oracle JDBC does similar when talking directly to MySQL, however it has an additional check of the collationIndex to determine if the encoding is binary or not. We weren't doing that.
Also, I simplified the check to remove the LONGVARBINARY case. It's impossible to get this from Vitess. It's possible to get remapped to it above, but only if the collation is binary -- so the check is irrelevant.

Thanks @ashudeep-sharma  -- fixed.  @sougou can you merge when you get a chance?

LGTM

authors: bbeaudreault sougou


text:
Adding integration test to make sure master health is correct

after external reparent.
@enisoc @guoliang100 Trying to reproduce the bug, can't so far.

LGTM

source: gharchive/pull-request

authors: alainjobart enisoc

repo: youtube/vitess

license_type: permissive

license_source: github-api


text:
Reduce unit test flakiness

@alainjobart @michael-berlin @enisoc

@guoliang100 Did you run the test in an infinite loop?
cd
while true; do go test || break; done

There's at least one flake left:
E0810 17:37:18.659550   22228 srv_topo_server.go:464] GetEndPoints(context.Background.WithDeadline(2015-08-10 17:37:20.659485461 -0700 PDT [1.999887875s]), cell3, test_ks, 0, replica) failed: GetEndPoints: invalid cell: cell3 (no cached value, caching and returning error)
E0810 17:37:18.661086   22228 srv_topo_server.go:464] GetEndPoints(context.Background.WithDeadline(2015-08-10 17:37:20.661004843 -0700 PDT [1.999888591s]), cell3, test_ks, 2, master) failed: GetEndPoints: invalid cell: cell3 (no cached value, caching and returning error)
W0810 17:37:18.662364   22228 srv_topo_server.go:311] GetSrvKeyspace(context.Background.WithDeadline(2015-08-10 17:37:20.662323412 -0700 PDT [1.999928828s]), , test_ks) failed: Unknown keyspace (returning cached value: &{map[]   map[] 0 0} )
E0810 17:37:18.663658   22228 srv_topo_server.go:308] GetSrvKeyspace(context.Background.WithDeadline(2015-08-10 17:37:20.663632798 -0700 PDT [1.999937568s]), , unknown_ks) failed: Unknown keyspace (no cached value, caching and returning error)
W0810 17:37:18.664009   22228 srv_topo_server.go:311] GetSrvKeyspace(context.Background.WithDeadline(2015-08-10 17:37:20.663969503 -0700 PDT [1.999916752s]), , unknown_ks) failed: Unknown keyspace (returning cached value:  Unknown keyspace)
PASS
--- FAIL: TestResolverExecBatchAsTransaction (0.01s)
resolver_test.go:555: want 1, got 2
Can you please fix that as well?

TestResolverExecBatchAsTransaction has problem more than just being flaky. It should be sent to the original author to investigate.

Add back TestScatterConnClose with flaky fix, and some code improvements.

LGTM
Awesome, thanks!


text:
Figure out how to upload to Apple store

https://developer.apple.com/macos/submit/
https://github.com/yshavit/whatdid/projects/13

https://developer.apple.com/macos/submit/

Won't do (at least, not for now!)

source: gharchive/issue

repo: yshavit/whatdid

license: MIT


text:
make docker-ci: improvements

[ ] 2. at times, there will be platform-dependent dependencies, and then it doesn't make sense to mount the whole repo (you'll need to make nuke deps build inside docker, and then once again outside docker, when finished). You might be good to go mounting the repo/.git folder instead of running git checkout . inside docker. This way, still have access to the whole git history, but you have a separate checkout instance
[ ] 3. proxy variables likes AWS_* or GH_TOKEN from the host to the docker container
[ ] 4. make docker-ci needs to be followed by a ./.ci.sh before_install to install required system dependencies, plus it can take a long time to create GIDs and do recursive chown, etc so ideally there would be a make docker-ci/scratch and make docker-ci where the latter would actually make use of an existing local image based on SF_DOCKER_CI_IMAGE + GIDs/etc + ./.ci.sh before_install

proxying variables and/or folders like ~/.aws and ~/.ssh shouldn't be done lightly, not automatically anyways

bootstrapping should also be left to the user

proxying variables and/or folders like ~/.aws and ~/.ssh shouldn't be done lightly, not automatically anyways

bootstrapping should also be left to the user

repo: ysoftwareab/yplatform


text:
Sign in to confirm you’re not a bot. This helps protect our community. Learn more

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Provide a description that is worded well enough to be understood
Sign in to confirm you’re not a bot. This helps protect our community. Learn more
Provide verbose output that clearly demonstrates the problem

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

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

See #10128 - YouTube has been jamming yt-dlp for the past week now. There is a workaround involving OAuth, but this may not work.
IMPORTANT: DO NOT PASS COOKIES, YOU WILL GET COOKIEBANNED IF YOU DO.

The best workaround is to use vpn, so that never your own ip get flagged.

just swap to another vpn server or get a new ip

It's not just yt-dlp, it's browsing on flagged ip:s overall that get this message.

Duplicate of pinned issue

Consulte el n.° 10128 : YouTube ha estado bloqueando yt-dlp durante la última semana. Existe una solución alternativa que involucra OAuth, pero es posible que no funcione.
IMPORTANTE: NO PASES COOKIES, SI LO HACES, SERÁS PROHIBIDO EL USO DE COOKIES. Consulta el punto 10085 para obtener una explicación sobre las prohibiciones de cookies.

I tried that solution today and it still doesn't work. YouTube is taking blocking the yt_dlp library seriously.

I have the same promblem... I try many solutions but them do not work, I am very sad now...

Same problem here. :(

https://github.com/yt-dlp/yt-dlp/issues/10128#issuecomment-2350782316

Im running yt-dlp in a server and initially the server gives me this error of Sign in to confirm you’re not a bot. This helps protect our community. Learn more, I tried installing the oauth2 plugin and it works fine, but the user needs to give access to the device in the first execution.

authors: Alex-Songs Bruxar NipLars TheSystemGuy1337 antdude bashonly grqz hiyabo69 wangqiang9

repo: yt-dlp/yt-dlp

license: Unlicense


text:
yt-dlp fails out from vimeo HTTP Error 401: Unauthorized but works in browser with any pwd

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Region
No response
Provide a description that is worded well enough to be understood
Below is the URL which works in browser and resolves the video to vimeo
https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e
but with yt-dlp it errors out
➜  ~ yt-dlp 'https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e'
[generic] Extracting URL: https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e
[generic] event-166?attendee=814803b52f80816438ccdea0f79c3a4e: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] event-166?attendee=814803b52f80816438ccdea0f79c3a4e: Extracting information
[vimeo] Extracting URL: https://player.vimeo.com/video/987812566?controls=0&autoplay=1&autopause=0&muted=1&loop=0#__youtu...ccdea0f79c3a4e"}
[vimeo] 987812566: Downloading webpage
WARNING: [vimeo] The extractor is attempting impersonation, but no impersonate target is available; if you encounter errors, then see  https://github.com/yt-dlp/yt-dlp#impersonation  for information on installing the required dependencies
ERROR: [vimeo] 987812566: Unable to download webpage: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
➜  ~ yt-dlp -vU 'https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e'
[debug] Command-line config: ['-vU', 'https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.08.01 from yt-dlp/yt-dlp [ffd7781d6] (pip)
[debug] Python 3.12.4 (CPython x86_64 64bit) - macOS-14.5-x86_64-i386-64bit (OpenSSL 3.3.1 4 Jun 2024)
[debug] exe versions: ffmpeg 7.0.1 (setts), ffprobe 7.0.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, mutagen-1.47.0, requests-2.32.3, sqlite3-3.46.0, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.08.01 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.08.01 from yt-dlp/yt-dlp)
[generic] Extracting URL: https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e
[generic] event-166?attendee=814803b52f80816438ccdea0f79c3a4e: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] event-166?attendee=814803b52f80816438ccdea0f79c3a4e: Extracting information
[debug] Looking for embeds
[debug] Identified a vimeo embed
[vimeo] Extracting URL: https://player.vimeo.com/video/987812566?controls=0&autoplay=1&autopause=0&muted=1&loop=0#__youtubedl_smuggle=%7B%22referer%22%3A+%22https%3A%2F%2Fk21academy.easywebinar.live%2Fevent-166%3Fattendee%3D814803b52f80816438ccdea0f79c3a4e%22%7D
[vimeo] 987812566: Downloading webpage
WARNING: [vimeo] The extractor is attempting impersonation, but no impersonate target is available; if you encounter errors, then see  https://github.com/yt-dlp/yt-dlp#impersonation  for information on installing the required dependencies
ERROR: [vimeo] 987812566: Unable to download webpage: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 740, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/vimeo.py", line 871, in _real_extract
    webpage, urlh = self._download_webpage_handle(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 960, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 909, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 896, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 4165, in urlopen
    return self._request_director.send(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 117, in send
    response = handler.send(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/networking/_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 340, in send
    return self._send(request)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2024.8.1/libexec/lib/python3.12/site-packages/yt_dlp/networking/_requests.py", line 365, in _send
    raise HTTPError(res, redirect_loop=max_redirects_exceeded)
yt_dlp.networking.exceptions.HTTPError: HTTP Error 401: Unauthorized

From your log:

The extractor is attempting impersonation, but no impersonate target is available; if you encounter errors, then see  https://github.com/yt-dlp/yt-dlp#impersonation  for information on installing the required dependencies

Install yt-dlp with curl_cffi and try again.

It's a cloudflare JS challenge

python3 -m pip install -U yt-dlp[default,curl-cffi]

try the yt-dlp_macos binary
https://github.com/yt-dlp/yt-dlp/releases/latest
https://github.com/yt-dlp/yt-dlp/wiki/Installation

From your log:

The extractor is attempting impersonation, but no impersonate target is available; if you encounter errors, then see  https://github.com/yt-dlp/yt-dlp#impersonation  for information on installing the required dependencies

Install yt-dlp with curl_cffi and try again.

Hi
i'm on macos 14 and i have installed it already using command
pip install curl_cffi --upgrade
i confirmed its installed but i still download fails
i also tried by downloading yt-dlp_macos but fails with 401 error and not shows the impersonation error

Thanks guys
i did
pip uninstall curl_cffi and did
python3 -m pip install -U "yt-dlp[default,curl-cffi]"
and the downloading now works
i believe its some version related issue

➜  ~ yt-dlp 'https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e'
[generic] Extracting URL: https://k21academy.easywebinar.live/event-166?attendee=814803b52f80816438ccdea0f79c3a4e
[generic] event-166?attendee=814803b52f80816438ccdea0f79c3a4e: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] event-166?attendee=814803b52f80816438ccdea0f79c3a4e: Extracting information
[vimeo] Extracting URL: https://player.vimeo.com/video/987812566?controls=0&autoplay=1&autopause=0&muted=1&loop=0#__youtu...ccdea0f79c3a4e"}
[vimeo] 987812566: Downloading webpage
[vimeo] 987812566: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 987812566: Downloading fastly_skyfire m3u8 information
[vimeo] 987812566: Downloading akfire_interconnect_quic MPD information
WARNING: [vimeo] 987812566: Failed to parse XML: not well-formed (invalid token): line 1, column 0
[vimeo] 987812566: Downloading fastly_skyfire MPD information
WARNING: [vimeo] 987812566: Failed to parse XML: not well-formed (invalid token): line 1, column 0
[info] 987812566: Downloading 1 format(s): hls-fastly_skyfire-786+hls-fastly_skyfire-audio-high-Original
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1769
[download] Destination: Mastering Generative AI on AWS Cloud Learn, Build & Earn [987812566].fhls-fastly_skyfire-786.mp4
[download]   1.5% of ~ 912.03MiB at    1.02MiB/s ETA 25:25 (frag 27/1769)^C
ERROR: Interrupted by user

I'm having the same issue with the Windows (Win7 SP1+) standalone x64 binary (up to date, version 2024.8.1.0). I get this error, "Unable to download webpage: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)". On the browser the video runs fine with no issues just by pasting the video URL e.g. https://player.vimeo.com/video/, but if I go to Vimeo website itself, it requires a Cloudflare challenge for some reason.

authors: bashonly dddrats jagdishadusumalli seproDev


text:
ERROR: unable to write data: [Errno 28] No space left on device

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
ISSUE: On a Synology server, I am getting this error when downloading:
[download] Destination: gavintoobe/gavintoobe - Videos/gavintoobe - Videos - S01E003 - Mark 7 APEX 10 Autodrive Unboxing, Setup, Overview, Loading 45 ACP [k-y_dY2ZUG8].f140.m4a
[download]   0.0% of 14.46MiB at  1.44MiB/s ETA 00:10
ERROR: unable to write data: [Errno 28] No space left on device
Traceback (most recent call last):
File "/usr/local/bin/yt-dlp/yt_dlp/downloader/http.py", line 281, in download
ctx.stream.write(data_block)
OSError: [Errno 28] No space left on device
When I perform the following command, I can see that /dev/md0 is full.:
root@coddiwomple:~# df -h
Filesystem         Size  Used Avail Use% Mounted on
/dev/md0           2.3G  2.3G     0 100% /
devtmpfs           874M     0  874M   0% /dev
tmpfs              877M   64K  877M   1% /dev/shm
tmpfs              877M   31M  847M   4% /run
tmpfs              877M     0  877M   0% /sys/fs/cgroup
tmpfs              877M  2.2M  875M   1% /tmp
/dev/vg1/volume_1  7.0T  1.1T  5.9T  16% /volume1
QUESTION: What is this directory?  How to I access it?  Is there a way to work around this?  Or have I just hit a limitation of the software?  I probably have 400 movies, and about 30 YouTube videos on the system.
Verbose log
No response

This is not a general Unix support forum. Please only ask questions specific to yt-dlp itself here.
That said, it looks like you download everything into a partition that is meant to host the OS, not the one meant for user data, which is mounted at /volume1. I say ‘looks like’, because you didn’t even include the full log and command line. (Don’t bother though; this is not the place to ask such things.)

To me working as a dev for 30 years(not unix) and trying to debug the issue here, this to me is a yt-dlp issue.
This Synology machine has been set up clean yesterday with standard DSM 7.0, and standard installation of PLEX...nothing else.
INSTALLATION of yt-dlp
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
COMMAND LINE:
yt-dlp
--dateafter now-2weeks
--compat-options youtube-dlc
--socket-timeout 60
-vU
--download-archive /volume1/PlexData/YouTube/subscription_list_downloaded.txt
-i
-o "%(uploader)s/%(playlist)s/%(playlist)s - S01E%(playlist_index)s - %(title)s [%(id)s].%(ext)s"
--add-metadata
--write-thumbnail
--batch-file=/volume1/PlexData/YouTube/subscription_list.txt
STACK TRACE
...I can give you the debug trace before this but does not offer anything to the issue here.
[debug] Invoking downloader on "https://rr1---sn-nx5s7n7y.googlevideo.com/videoplayback?expire=1646780345&ei=WYsnYq3SLuOEsfIPzNOD4AQ&ip=24.113.11.109&id=o-AI6RY2qJqwm00E6Pf2Uq897oP12YVwzZKVIftcg2YR29&itag=313&source=youtube&requiressl=yes&mh=zw&mm=31%2C26&mn=sn-nx5s7n7y%2Csn-o097znsr&ms=au%2Conr&mv=m&mvi=1&pl=20&initcwndbps=1561250&vprv=1&mime=video%2Fwebm&gir=yes&clen=1609058926&dur=937.036&lmt=1646501543816407&mt=1646758411&fvip=1&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgOahK7z_H6IFwrMzYQ8yqZQhmAJz5XusZgDEDJW9SgZACIQDMektIbSZT5kyd8IGSxPLclieAZFoS9j2RYVRMfaB7SA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAMAc9VDj-n8M2Hm2DbM5aA1it6SraDr2HLHcohvn1Pw7AiAoN4i0A7VzQvbkIoj4JyRdwrPVARqvMJ1zxFJxXOsMfw%3D%3D"
[download] Resuming download at byte 464097280
[download] Destination: gavintoobe/gavintoobe - Videos/gavintoobe - Videos - S01E003 - Mark 7 APEX 10 Autodrive Unboxing, Setup, Overview, Loading 45 ACP [k-y_dY2ZUG8].f313.webm
[download]  28.8% of 1.50GiB at  1.39MiB/s ETA 13:06
ERROR: unable to write data: [Errno 28] No space left on device
Traceback (most recent call last):
File "/usr/local/bin/yt-dlp/yt_dlp/downloader/http.py", line 281, in download
ctx.stream.write(data_block)
OSError: [Errno 28] No space left on device
REASON OF FAILURE I THINK
Filesystem         Size   Used   Avail   Use%   Mounted on
/dev/md0           2.3G   2.3G   0       100%   /
/dev/vg1/volume_1  7.0T   1.1T   5.9T    16%    /volume1
COMMENTS
What is yt-dlp using /dev/md0 for?  Note the user data you mentioned in on /dev/vg1/volume_1
Should I be installing yt-dlp using a different argument for -o?
Should the command line for running tp-dlp be different?

/dev/md0 is the system root partition for DSM. It sounds like your current directory you are downloading to is on this partition. You need to change your current directory to one where your user data is (usually /volume1/<share folder name>).

My apologies, I should have given you the whole command line. I think I am doing that?
#!/bin/sh
cd /volume1/PlexData/YouTube
yt-dlp
--dateafter now-2weeks
--compat-options youtube-dlc
--socket-timeout 60
-vU
--download-archive /volume1/PlexData/YouTube/subscription_list_downloaded.txt
-i
-o "%(uploader)s/%(playlist)s/%(playlist)s - S01E%(playlist_index)s - %(title)s [%(id)s].%(ext)s"
--add-metadata
--write-thumbnail
--batch-file=/volume1/PlexData/YouTube/subscription_list.txt

Thanks Cole, I think I am doing that in the scheduled task, sorry, I should have added that.  Is this what you ae talking about?
#!/bin/sh
cd /volume1/PlexData/YouTube
yt-dlp
--dateafter now-2weeks
--compat-options youtube-dlc
--socket-timeout 60
-vU
--download-archive /volume1/PlexData/YouTube/subscription_list_downloaded.txt
-i
-o "%(uploader)s/%(playlist)s/%(playlist)s - S01E%(playlist_index)s - %(title)s [%(id)s].%(ext)s"
--add-metadata
--write-thumbnail
--batch-file=/volume1/PlexData/YouTube/subscription_list.txt

I think everyone here is correct here.  I might have(not sure) ran the yt-dlp on the SSH command line and may not have changed directories.  I'm clean re-installed everything and am monitoring the memory with DSM7/Plex/yt-dlp and not seeing the memory getting eaten up.  Closing, thanks or the help here :-)

authors: Donfu007 coletdjnz fstirlitz


text:
Add Fancy Extractors/Webpage Name

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
I work on a private Discord Bot, and I use yt-dlp to basically make a music bot.
When the bot is playing it displays data about the current track.
Thanks to all the extractors provided, there is a lot of websites to get media content to play.
When displaying media metadata, I like to print the name of the website of the video playing.
Currently this can be done by using either the webpage_url_domain or the extractor or the extractor_key.
As exemples :

YouTube
webpage_url_domain: 'youtube.com'
extractor: 'youtube'
extractor_key: 'Youtube'

9GAG
webpage_url_domain: '9gag.com'
extractor: '9gag'
extractor_key: 'NineGag'

Twitch Clips
webpage_url_domain: 'twitch.tv'
extractor: 'twitch:clips'
extractor_key: 'TwitchClips'

My request is then : Could you provide a website_name value to the returned metadata of InfoExtractors?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

What would that contain? How is it different from domain/extractor?

The website_name would give the brand/web name in its "Human form" with space and punctuation, which could be transcriptions of their logo.
It would be used for a display/esthetics need rather than a technical functionality.

youtube.com : 'YouTube',
9gag.com : '9GAG',
twitch.com/clips : 'Twitch Clips',
abc.net.au : 'ABC (Australian Broadcasting Corporation)',
adobeconnect.com : 'Adobe Connect',
cbs.com : 'CBS TV Network',
nytimes.com : 'The New York Times',
washingtonpost.com : 'The Washington Post',
francetvinfo.fr : 'franceinfo:'
bfmtv.com : 'BFM TV.'

So IE_DESC? (See yt-dlp --extractor-desc
Though, most sites don't currently define this field. PR to add it for more extractors is welcome

Exactly !
Sorry my bad

No worries. Would you like to contribute descriptions for the above-mentioned extractors?

I'll probably do it soon

authors: DjesonPV pukkandan


text:
Youtube "Only images available"

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Region
Germany
Provide a description that is worded well enough to be understood
https://youtu.be/jiWJ7Hgex8o
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[debug] Command-line config: ['-F', 'https://youtu.be/jiWJ7Hgex8o', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d] (pip)
[debug] Python 3.10.6 (CPython x86_64 64bit) - Linux-5.4.0-105-generic-x86_64-with-glibc2.31 (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.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.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: stable@2023.03.04, Current version: stable@2023.03.04
yt-dlp is up to date (stable@2023.03.04)
[youtube] Extracting URL: https://youtu.be/jiWJ7Hgex8o
[youtube] jiWJ7Hgex8o: Downloading webpage
[youtube] jiWJ7Hgex8o: Downloading android player API JSON
WARNING: [youtube] Skipping player response from android client (got player response for video "M5t4UHllkUM" instead of "jiWJ7Hgex8o"); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] Skipping player response from web client (got player response for video "M5t4UHllkUM" instead of "jiWJ7Hgex8o"); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: Only images are available for download. use --list-formats to see them
[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] Available formats for jiWJ7Hgex8o:
ID  EXT   RESOLUTION FPS │ PROTO │ VCODEC MORE INFO
────────────────────────────────────────────────────
sb2 mhtml 48x27        1 │ mhtml │ images storyboard
sb1 mhtml 72x45        1 │ mhtml │ images storyboard
sb0 mhtml 144x90       1 │ mhtml │ images storyboard

duplicate: https://github.com/yt-dlp/yt-dlp/issues/7143

I got this working by removing cookies from browser for a youtube video.
-f mp4 "URL"


text:
I cannot install yt-dlp using any method on Linux Mint 19.3 - I am doing something wrong?

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.03.04 (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
Hi
I am asking a question and I hope this is the best place as I don't think it appears anywhere else after going through all the other sections. I cannot confirm I am on 2023.03.04 as I cannot get to it. I have been trying for months. I have tried every combination of binaries and allowing running as  a program. I am a Linux Mint 19.3 user. I cannot use APT to add the nightly build. I am stuck. I have updated Python to 3.7 and it now says after downloading the binary again "You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp"
I am so confused and do not know what I am doing wrong. I know that dlp works fine and I cannot see any known issues or anything in the bug tracker.
Thank you in advance if anyone can help me (I did the step below as said but it doesn't show me DEBUG?)
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 2, in <module>
ModuleNotFoundError: No module named 'contextvars'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/yt-dlp/__main__.py", line 14, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module>
Exception: You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp

Does deleting the yt-dlp binary and running pip install yt-dlp work?

Don't install with pip. You have a python 3.6 installation still on your system
You could try these steps:

uninstall all versions of yt-dlp:

sudo apt remove yt-dlp
find+delete any binaries you downloaded

there is still an installation of python 3.6 on your system:

sudo apt update
sudo apt full-upgrade
after restarting, run python3 --version to make sure 3.7 or higher is installed

do not reinstall yt-dlp with apt:

download https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
move downloaded binary to ~/.local/bin
if you get bash: yt-dlp: command not found when running yt-dlp, then do this:

echo 'export PATH=~/.local/bin:$PATH' >> ~/.bashrc

close/re-open terminal and try again

Actually, even easier, just use the yt-dlp_linux binary (after deleting all copies of yt-dlp from your system)

they would still need to follow all the above steps

no, they'd only need to follow step 1, because yt-dlp_linux is a standalone binary that includes python

well not 2, but it would fix a broken python installation for them

perhaps, but python 3.6 is likely installed on their system for a reason, and I don't want to cause them dependency hell (although I'm unfamiliar with apt full-upgrade, so I dunno)

and a full-upgrade is never a bad thing

nevermind then

maybe stick to what you are familiar with?
they need to move the binary into their PATH, which is what step 3 is doing

Thank you for this help! This is where I am at
uninstall all versions of yt-dlp: Done

    find+delete any binaries you downloaded - Done

there is still an installation of python 3.6 on your system:
    sudo apt update - Nothing to update it said apart from Skype which was disabled
    sudo apt full-upgrade - Nothing to upgrade
    after restarting, run python3 --version to make sure 3.7 or higher is installed - Version is showing 3.6.9, but if I type python3.7 -V I get Python 3.7.9 back in the Command Line - I am worried about breaking something with my IDJC though? Will all that still work?

Thank you again for the help so far

if you still need python 3.6 for some reason, then do follow gamer191's advice and download this binary instead:
https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux
but follow the rest of the instructions in step 3

Sorry, I don't mean to take up all your time.
So I renamed the file and copied it to /home/studio/.local/bin - I allowed executing as a file.
All the other files in there are Python scripts but this is saying it's a shared library? It also said permission denied when I tried to run it initially but I think that was because I hadn't changed the permission. Now I get there is no application installed for shared library files - do you want to search for an application?

are you using yt-dlp_linux?

I used that download but renamed the file - I can redownload or change it back?

there is no application installed for shared library files

is this what what happens when you try to run it by clicking on it? or also when you run it from command line?

Ah! So clicking gives that error but running in command line seems to work - I gave it a URL from YT and it seemed to do something. I'm not sure where it's saved it but it looked promising!

By default it will save downloads into the current working directory of your terminal session.
You can change this by passing the --paths or -P option, e.g. yt-dlp -P ~/studio/Downloads "URL"
or you could set that in a config file
or open the terminal in / cd to the folder you want to download to

Thank you for all your help - my last question (I am going through the manual, not used to command line) - do I have to specify a location for saving the file, after I've entered the URL?

authors: KyleRickards bashonly gamer191


text:
show latest version prominently on website

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2019.04.30
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

I recently had a problem with your usually-excellent product, which told me
ERROR: oZmmPVg-yz0: "token" parameter not in video info for unknown reason; 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.

I checked the latter link, but am using Debian, hence that was useless. Eventually I just reinstalled, but, IMHO, It Would Be Useful to

show the current-release-version stamp (currently=2019.04.30) prominently on (e.g.)

the GitHub "homepage", e.g. @ https://github.com/ytdl-org/youtube-dl#installation
the update page referenced in the stock error message
the latest-version item on the CONTRIBUTING page

update the version stamp in those docs when building new releases

This should also be easy (depending on your build process), since you seem to be updating the new-issue template with the current-version-stamp already.

This will barely have any effect. There are clear instructions and current version in the new issue template - nobody reads it.

authors: TomRoche dstftw

repo: ytdl-org/youtube-dl


text:
No video formats found error

Checklist

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

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE
No video formats found; 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.
I'm developing a discord music bot using replit. Yesterday my bot worked completely fine but today when I used the $play command I got the above error.

Make sure you are using the latest version;
Be sure to call youtube-dl with the --verbose flag and include its complete output.

Don't ignore the log messages, very important.

authors: SUPRA-ATKINSON kikuyan


text:
Is your denoiser directly taken from https://github.com/openai/guided-diffusion 256x256 diffusion (not class conditional): 256x256_diffusion_uncond.pt?

Yes ;)

thanks!

您好，不好意思再次打扰，想请问：
1.您训练FFHQ diffusion model的超参数是什么？这写参数是如何决定的呢？
2.训练的iteration如何确定，是靠后面sample的推理结果观察看哪一个.pth的结果更好吗？

@yuanzhi-zhu 您好，不好意思再次打扰，想请问：
1.您训练FFHQ diffusion model的超参数是什么？这里参数是如何决定的呢？
2.训练的iteration如何确定，是靠之后image_sample.py的推理结果观察看哪一个.pth的结果更好吗？

您好！
Our work proposed a training-free method for image restoration, so we did not really train a model.
Anyway,

you may want to check the paper of guided diffusion for the choice of these hyper-parameters
you are right, for diffusion models training, it is common to sample the checkpoints for sanity checks and calculate the fid score to help find a good checkpoint.

Thanks ! I got it !

We choose the minimum iterations in DiffPIR empirically for different IR tasks. 20 is enough for SR and deburring, and 100 is usually required for inpainting to get a better result.
And the iterations used in DiffPIR are independent of those in DPIR.

We choose the minimum iterations in DiffPIR empirically for different IR tasks. 20 is enough for SR and deburring, and 100 is usually required for inpainting to get a better result. And the iterations used in DiffPIR are independent of those in DPIR.
Thanks again !  I  wonder in inpaiting(random) tasks, the mask ratio is set to which number? is it 50%?

@xiximelon  That's correct!!
In the paper, Section 4.1. Implementation Details reads:

For inpainting with box-type mask, the mask is 128×128 box region following the approach outlined in [8]; for inpainting with random-type mask, we mask out half of the total pixels at random; for inpainting with prepared mask images, we load the masks used in [38].

@yuanzhi-zhu Thank you for your detailed and quick response! That’s so nice of you !

authors: xiximelon yuanzhi-zhu

repo: yuanzhi-zhu/DiffPIR


text:
テスト中の時間割非表示

概要

テスト中に時間割を表示させない

目的

要望
テスト回答中に邪魔だからと思われる

提案内容

テストページにおいては時間割を表示させないようにする設定を追加する
表示設定周りのコードを書き換えて処理を追加する

タスク

[ ] 設定の追加
[ ] 設定の読み込み変更
[ ] addSubtimetableの処理変更

既に実装済みです

できれば次からはcommit時にissueと紐づけてもらえると助かります。


text:
Invalid manifest on install

Get an "Invalid manifest" error on install. Might be due to updated manifest requirements. background should also specify key "persistent".
Chrome Version 67.0.3396.79 (Official Build) (64-bit)

Thanks for bringing this up. I wasn't able to reproduce this exact issue, but you were right about background and persistence, which also led to me making a couple other minor changes, after which I was able to submit a new, working version to the web store. So I'm closing this issue, but if you continue to encounter it I can reopen it.

authors: surajiyer yujily

repo: yujily/sesh


text:
Add lint config files to coffeelint and scss-lint

Because coffeelint[1] and scss-lint[2] allow configuration files to be specified from the command line, I've updated atom-lint to allow this to be specified in the config.cson file.
The scss-lint key is atom-lint.scss-lint.config.  Similarly, the coffeelint key is atom-lint.coffeelint.config.
We could probably do this for other languages, too, but coffeelint and scss-lint are the only ones I was actively using and able to test at the time.
[1] http://www.coffeelint.org/#usage (By way of the --file or -f flag)
[2] https://github.com/causes/scss-lint#usage (By way of the --config or -c flag)

Just realized my commit says "arc-lint" and not "atom-lint".  Whoops, wrong project name there.
If you like the idea, though, I'll change the commit message appropriately.  I'm also working on updating this for RuboCop, as well.

I've updated the pull request to include rubocop support, and changed the commit message to reference atom-lint instead of arc.

Closing this PR as it's been open for a long time.  Not even sure if this was implemented elsewhere at this point.

repo: yujinakayama/atom-lint

license: mit

license_source: bigquery


text:
Request header parameters not being sent

Hi Yuka,
I could able to successfully configure Swagger ui for my Azure functions. However, I am facing weird issue header parameter(Authentication) value not being sent due to this I am getting 401 response.
Please find below json for reference
{
"openapi": "3.0.1",
"info": {
"title": "Sample Azure Services",
"description": "Azure functions",
"version": "v1"
},
"servers": [
{
"url": ""
}
],
"paths": {
"/SampleService": {
"post": {
"tags": [
"SampleService"
],
"summary": "",
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SampleServiceModel"
}
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FIleModel"
}
}
}
}
}
}
}
}
}
My function header:
[FunctionName("SampleService")]
[ProducesResponseType(typeof(List), (int)HttpStatusCode.OK)]
[Produces("application/json")]
[RequestHttpHeader("Authorization", isRequired: true)]
public static async Task Run(
[HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] [RequestBodyType(typeof(SampleServiceModel[]), "Sample Service request")] HttpRequest req,
ILogger log)
{
}
CURL:
curl -X POST "" -H "accept: text/plain" -H "Content-Type: application/json" -d "{"input":"string","output":"string","searchFor":"string","replaceWith":"string","searchDirection":"Forward","searchType":"sample","distance":0,"actionType":"actiontype"}"
Can you please help me to resolve issue?

Same for me. Every custom header specified works as expected, except Authorization

authors: FrancescoSillani saisatish


text:
Runs at 5 fps on my wooden pc

plz optimize

since your last update it has increased to 10 fps, still on my wooden pc although i'd like if we can reach the 20 fps mark like old school rs, pls optimize more......

Hmmmm.. runs fine on my giga PC that has 4x Titan X (2016) and Intel Core i7 6660k !

authors: Majiick yungrazr


text:
fix(host): hide kvm only gpu guests

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:
release/3.10

/hold

repo: yunionio/cloudpods


text:
add billing service

add billing service

/lgtm
/approve

authors: swordqiu wanyaoqi

repo: yunionio/onecloud-operator


text:
register sched-start-guest task

这个 PR 实现什么功能/修复什么问题:
注册 GuestSchedStartTask
是否需要 backport 到之前的 release 分支:

release/2.11.0
release/2.10.0

/area region
/cc @swordqiu @yousong @wanyaoqi

Codecov Report

Merging #1604 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1604      +/-   ##
=========================================
- Coverage    7.68%   7.67%   -0.01%
=========================================
  Files         411     411
  Lines       63033   63033
=========================================
- Hits         4842    4837       -5
- Misses      57783   57786       +3
- Partials      408     410       +2

Flag
Coverage Δ

#aFlag
7.67% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

pkg/util/rbacutils/rbac.go
73.83% <0%> (-0.94%)
:arrow_down:

Continue to review full report at Codecov.

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

/lgtm
/approve

authors: codecov-io ioito swordqiu

repo: yunionio/onecloud


text:
guestnetworks: check ifname uniqueness across different networks

这个 PR 实现什么功能/修复什么问题:
With PerformChangeIpAddr, it can happen that a guestnetwork from network
A can take a name that was originally allocated by network B

是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region
/cc @ioito @swordqiu

/lgtm

/lgtm
/approve

authors: swordqiu yousong zexi


text:
Rationalize e-mail sender name, subject and preview text

Our e-mails seem to work great, but the preview isn't very informative. Most people will only use the preview to decide if they read the e-mail, so it makes sense to optimizen it.
For example, the weekly group summary duplicates the site name in subject and sender, but it's not clear what it contains (could also just be a nice greeting for the weekend…)

Other known cases:

message notification emails duplicate username in subject and preview text
many other e-mails duplicate site name in subject and sender

Seems less problematic than thought and nobody mentioned this as issue so far.

repo: yunity/karrot-frontend


text:
Vue Broadcast inside multiple Components

How can I fire an event to trigger it in the component itself and in the same component but other scope.
Example: http://codepen.io/SeoFood/pen/WvzvJe
The broadcast event should increase both values, right? Or how can I fire an event to trigger both components?

$emit triggers only listeners in the same component, not on the same hierarchy level. To achieve this, the easiest way would be to use $dispatch or a callback prop hook, so that the parent is informed. And then trigger a $broadcast from within the parent.
With this approach, the sibling components stay decoupled from each other.

$broadcast only sends the event down to a component's descendants; $dispatch only sends it up the parent chain. There is no direct method to notify sibling components.
You can, as @Nirazul suggested, do a $dispatch -> $broadcast dance. Or, you can just use a standalone event emitter as a global event bus instead of relying on the component structure for event passing.
Also, please post questions like this to vuejs/Discussion. Issues here should be directly related to new features or bugs.

authors: Nirazul SeoFood yyx990803


text:
Filter on partials?

Would love to be able to filter on partials
{{> myPartial | replace str1 str2}}

It's just a string right?

In which case do you need that approach ? Why don't you use data bindings ?

Personally I want to steer the usage toward components + content rather than partials.

Thanks for the feature addition.
The use case was for string replacement in large SVGs. (e.g. <g fill="#{colorAlpha}">[...]</g> and replace occurrences of #{..} with something else)
I didn't want to add the SVG string into the data because I knew it wasn't going to change and was worried that it might incur unnecessary overhead (I might be totally off/paranoid)
Open to suggestions on better implementations

authors: cheapsteak itadakimas yyx990803


text:
::co::Scheduler启动线程的时候能不能支持回调init函数

有时候 task需要共享一些 线程数据，::co::Scheduler启动线程的时候能不能支持回调 函数，让它启动之前init一遍数据

可以在协程中使用数据之前  先判断一下当前线程是否已经init过相关数据

但是目的是：所有线程在创建的时候都提前init好数据，而不是 每个协程 开始就判断是否 已经init过数据。

在什么时候init好数据不是目的，只是手段。保证使用在init之后，才是目的


text:
Clear crontab of all jobs

How to clear the cron of all jobs ? I don't know how they are named in my script because I add them with different times in my script.

It seems the $crontab = new Crontab() has the jobs that I want to delete but how do I reference them in $crontab->removeJob()
object(Crontab\Crontab)#2 (3) {
["crontabFileHandler":protected]=>
object(Crontab\CrontabFileHandler)#3 (3) {
["crontabExecutable"]=>
string(16) "/usr/bin/crontab"
["error":protected]=>
string(0) ""
["output":protected]=>
NULL
}
["jobs":"Crontab\Crontab":private]=>
array(2) {
["63a90ae2d915b4e3ed851f2a84b93fc3"]=>
object(Crontab\Job)#5 (14) {
["minute":protected]=>
string(3) "/1"
["hour":protected]=>
string(1) ""
["dayOfMonth":protected]=>
string(1) ""
["month":protected]=>
string(1) ""
["dayOfWeek":protected]=>
string(1) ""
["command":protected]=>
string(28) "touch /var/www/html/testcron"
["comments":protected]=>
NULL
["logFile":protected]=>
NULL
["logSize":protected]=>
NULL
["errorFile":protected]=>
NULL
["errorSize":protected]=>
NULL
["lastRunTime":protected]=>
bool(false)
["status":protected]=>
string(7) "unknown"
["hash":protected]=>
string(32) "63a90ae2d915b4e3ed851f2a84b93fc3"
}
["46d5703fd3797892dea120b8645b4395"]=>
object(Crontab\Job)#7 (14) {
["minute":protected]=>
string(3) "/2"
["hour":protected]=>
string(1) ""
["dayOfMonth":protected]=>
string(1) ""
["month":protected]=>
string(1) ""
["dayOfWeek":protected]=>
string(1) ""
["command":protected]=>
string(29) "touch /var/www/html/testcron2"
["comments":protected]=>
NULL
["logFile":protected]=>
NULL
["logSize":protected]=>
NULL
["errorFile":protected]=>
NULL
["errorSize":protected]=>
NULL
["lastRunTime":protected]=>
bool(false)
["status":protected]=>
string(7) "unknown"
["hash":protected]=>
string(32) "46d5703fd3797892dea120b8645b4395"
}
}
["user":protected]=>
NULL
}

Ooh I found it in code. It's called $crontab->removeAllJobs();

repo: yzalis/Crontab


text:
Ancestors do not load correctly when squeak gets set by callback from stream subscription

Requires a manual reload of page to show reply to correctly.

https://github.com/yzernik/squeaknode/pull/1118

repo: yzernik/squeaknode


text:
What's next for the state of the art?

Firstly I would like to thank you for this fantastic work!
I am not an expert, I am more of a user of dependency parsing than a researcher but I NEED (I try to build true semantic parsing) accurate dependency parsing.
As you know, the number 1 SOTA:
Label Attention Layer + HPSG + XLNet (Mrini et al., 2019) has a LAS of 96.26.
While this is correct, it is not accurate enough for many semantic downstream tasks !
So I'm looking for the future state of the art, what do you think would be the most promising?
I'm really into merging the best ideas from others SOTA into a new state of the art, being the best of all.
But some techniques are incompatible with others.
So let me ask some noob questions:
Could your crfparser benefit from using XLnet? From using HPSG? And/or from using a label attention layer?

Actually I am the one that suggested the HPSG paper to experiment with XLnet instead of BERT (and it gave accuracy gains).
I suggested to him two other followup experiments but he never took the time to do it.
So let me share them with you:

using the state of the art activation function Mish can give high accuracy gains!
https://github.com/digantamisra98/Mish
using the state of the art meta optimizer
https://github.com/lessw2020/Ranger-Deep-Learning-Optimizer/issues

Ranger achieve huge accuracy gains on computer vision tasks but sadly, culturally almost no NLP researcher use it (or is aware of its existence)
So it might need some fine tuning for transformers e.g maybe that gradient centralization will need to be disabled (or maybe it will be the contrary)
related https://github.com/lessw2020/Ranger-Deep-Learning-Optimizer/issues/13
But do believe that the first researcher that will fine tune Ranger for Nlp tasks / transformers will be able to improve the SOTA on many tasks for free.

Hi, thanks for your suggestions.
Intuitively crfpar may benefit from PLMs like XLNet. But I didn't conduct the experiments on them. I will let you know if the experiments are completed. I have tried the joint framework of dependency and constituency like HPSG on crfpar but found very little gains.

authors: LifeIsStrange yzhangcs

repo: yzhangcs/crfpar


text:
🛑 init.zshell.dev is down

In 9f5b65f, init.zshell.dev (https://init.zshell.dev) was down:

HTTP code: 0
Response time: 0 ms

https://www.githubstatus.com/incidents/x7njwb481j9b

authors: digital-teams ss-o

repo: z-shell/status


text:
Idea about WidgetForm, Form

Laravel Version: 5.5
PHP Version: 7.0～
Laravel-admin: 1.5.18

Description:
I have two ideas about WidgetForm and Form .

Add WidgetForm disableReset and disableSubmit
"Encore\Admin\Form" has funcions disableSubmit and disableReset.
But "Encore\Admin\Widgets\Form" doesn't has them.
So I want to add these functions.

Add Form disableViewCheck and disableEditCheck
Recently "Encore\Admin\Form" add features showing checkboxes. When check them and submit, redirect to show or re-edit form.
It's very good feature, but I want to disable some forms.
So I want to add functions disableViewCheck and disableEditCheck to Form.

@z-song
Do you think these idea?
If you say OK, I will develop, and pull request.

Good idea! I will implement these features in the next version.

@z-song
Thanks! I created pull request.
#2327

repo: z-song/laravel-admin


text:
Template comment error

Hi,
in this case the extension recognizes mistakenly the procedure like a comment:
[img] http://i.imgur.com/rvAkjGB.jpg [/img]
portale_utilita_rx.remove_namespace(xmltype(nmi_msg)
if I delete 'm' it works.

Proble is with "Rem" sting

Fix in version 1.0.0

still in 1.0.0

authors: Danieleeee zabel-xyz

repo: zabel-xyz/plsql-language


text:
Not Playable Error

Every time I try to play a song which has been added from Apple Music, I get a "Not Playable" error at the bottom of the page.

@kontheocharis Can you provide some more detail (exact steps + song examples)?
I tried playing songs I've added from Apple Music and they play fine.

Possibly related: https://forums.developer.apple.com/thread/110529

Every time I try to play a song which has been added from Apple Music, I get a "Not Playable" error at the bottom of the page.

@kontheocharis Have you tried to un-add the song and re-add it from your iPhone/Mac?

I was wondering the same thing.
But I think it's not possible to hide it due to nature of how JWT works.

repo: zachomedia/apple-music-webplayer


text:
TimeoutError: waiting for selector #passwd failed

Good morning! I tried updating to 17.1 last night since 17.0 hadn't been working for me for a minute and when it pulled the image, I started getting a new timeout error.
2021-12-23 07:44:26 [error] : TimeoutError: waiting for selector #passwd failed: timeout 30000ms exceeded. Next update at 7:53:51 AM

Why was this closed?  I'm experiencing the same thing.   Using the docker-hub image, so I know at least everything is set up correctly.

I see the same thing too, sometimes when this happens, the cpu usage spikes and stays spiked until I restart the container
I setup a cronjob to restart this container nightly
@zachowj can you reopen this issue? or should I open a separate issue to start to look into it?

authors: d2inco mvinci-wyze xconverge

repo: zachowj/xfinity-data-usage


text:
Consider using multiprocessing workers

A lot of people are using these excellent tutorials as a base to write their gluon code. I think it could be good to have the dataloaders by default using multiprocessing for loading:
import multiprocessing
...
NUM_WORKERS = multiprocessing.cpu_count()
...
train_data = gluon.data.DataLoader(gluon.data.vision.MNIST(train=True, transform=transform),
                                      batch_size, shuffle=True, num_workers=NUM_WORKERS)
test_data = gluon.data.DataLoader(gluon.data.vision.MNIST(train=False, transform=transform),
                                     batch_size, shuffle=False, num_workers=NUM_WORKERS)

In my setup I got a 2x performance increase using 8 workers, on this tutorial https://github.com/zackchase/mxnet-the-straight-dope/blob/master/chapter04_convolutional-neural-networks/cnn-gluon.ipynb.
Modifying the code to use a non-blocking accuracy and loss and got a 7x performance increase. see here: https://github.com/ThomasDelteil/SamplesRepo/blob/master/cnn-gluon-non-blocking.ipynb

Don't know it even exists. Thanks for sharing.

Thanks for the suggestion! That's a good point. Let's think about when to introduce it. I like to have at least one point in the book when everything is explained clearly. Maybe we could introduce the multiprocessing the first time we start using vision datasets?

authors: QiXuanWang ThomasDelteil zackchase

repo: zackchase/mxnet-the-straight-dope


text:
手动换源/把弹幕渲染到别的视频网站上

这是一个feature request。如果想实现的话，应该会是一个大坑 XD
就，出于各种你懂的以及你不懂的原因，B站老视频常常有这种情况：在B站上已经看不了了（源失效/官方屏蔽等等），但第三方网站（比如优酷）其实还能看，并且原始的弹幕数据在B站上也都还能拿到。这种情况下，是否有可能结合第三方的视频以及B站的弹幕，让用户能看到有弹幕版的视频？
案例：
http://www.bilibili.com/video/av1155461/index_4.html
http://v.youku.com/v_show/id_XNzE4Njg1MDMy.html
一个想法是可不可能提供一种手动的换源操作（不知道播放器本身对那些外站的支持如何），又或者能够把弹幕直接渲染到外站的视频播放页面里（工作量大概需要写一个简化的弹幕渲染引擎）。

嗯, 我也考虑过这个可能性. 可以用 HTML5 实现, 但是主要问题还是在于视频播放时间的同步.

感觉大部分视频的弹幕并不需要非常精确（毫秒级）的同步。这样的话，哪怕是让观众手动调整弹幕的同步offset，似乎也可以接受的样子。

repo: zacyu/bilibili-helper


text:
下載助手不見了

问题反馈
在您提交问题前, 请检查以下项目:

[ y] 您在报告一个 bug 或者提交一个功能请求. 如果您需要一般性的帮助, 请直接和我们联系或者在项目首页下留言.
[y ] 您的问题在与现有问题并不重复. 如果已有一个相同话题的问题, 请直接在其下留言.
[y ] 如果您在报告一个 bug 请确定它可以在最新的发行版或 master 分支下重现. 同时, 请详细说明重现问题的步骤 (如果有屏幕截图的话就更好了).
[ y] 您已填写了系统环境信息.

环境信息
请填写以下信息:

操作系统 (Windows/macOS/Linux): Linux
浏览器版本(您可以在 [菜单/帮助/关于] 下查看): Firefox 最新 Chrome 最新
扩展版本: 都剛下載的

您可以在扩展选项页中查看. 如果您在报告关于 master 分支的问题, 您也可以在此处填最新的 commit ID.
重现步骤/尝试的解决方案
请具体描述, 谢谢 :)
隨便load 一個視頻
本來在收藏旁的吃零食貓助手不見了
想要下載視頻和彈幕啊
(推測是b站的更新？)

我今天也发现了，估计b站做了更新。。


text:
Fetch Semua Data

bagaimana cara nya mendapatkan semua data tanpa $page dan $per_page?

kalau lewat url bisa ditambahkan  "$is_disable_pagination=true"
e.g  http://google.com?$is_disable_pagination=true
atau kalau dalam kode, bisa seperti ini :
// find data
q := url.Values{}
q.Add(grest.QueryDisablePagination, "true")
data, err := app.Query().Find(tx, &DailyPurchase{}, q)`

authors: MaulanaR lismansihotang

repo: zahir-core/grest


text:
Fix commentstring

Current comment string doesn't appear to be valid for recfiles.

Thanks @swalladge !

authors: swalladge zaid

repo: zaid/vim-rec

license: Vim


text:
Remove kontrolletti deps

instead check scm repositories for validity via regular expressions

Codecov Report

Merging #485 into master will increase coverage by 0.79%.
The diff coverage is 93.25%.

@@             Coverage Diff              @@
##             master     #485      +/-   ##
============================================
+ Coverage     51.46%   52.25%   +0.79%
- Complexity      459      475      +16
============================================
  Files           128      132       +4
  Lines          2926     2987      +61
  Branches        202      206       +4
============================================
+ Hits           1506     1561      +55
- Misses         1344     1347       +3
- Partials         76       79       +3

Impacted Files
Coverage Δ
Complexity Δ

...ps/fullstop/plugin/scm/UnknownScmUrlException.java
100% <100%> (ø)
1 <1> (?)

...m/config/ScmRepositoryPluginAutoConfiguration.java
100% <100%> (ø)
3 <2> (+1)
:arrow_up:

...alando/stups/fullstop/plugin/scm/Repositories.java
100% <100%> (ø)
3 <3> (?)

...ugin/scm/config/ScmRepositoryPluginProperties.java
100% <100%> (ø)
3 <3> (?)

.../zalando/stups/fullstop/plugin/scm/Repository.java
75% <75%> (ø)
8 <8> (?)

...stups/fullstop/plugin/scm/ScmRepositoryPlugin.java
97.67% <96.22%> (-2.33%)
10 <1> (ø)

...rg/zalando/stups/fullstop/config/ClientConfig.java
89.47% <0%> (-1.01%)
0% <0%> (ø)

... and 1 more

Continue to review full report at Codecov.

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

👍

:+1:

authors: ChristianLohmann codecov-io harti2006

repo: zalando-stups/fullstop


text:
Build image

Verify image build

Codecov Report

Merging #1313 (4c83a30) into master (679f5dd) will increase coverage by 15.17%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #1313       +/-   ##
=============================================
+ Coverage     72.91%   88.09%   +15.17%
=============================================
  Files           135       32      -103
  Lines          2304      378     -1926
  Branches        437       55      -382
=============================================
- Hits           1680      333     -1347
+ Misses          378       32      -346
+ Partials        246       13      -233

Impacted Files
Coverage Δ

...in/org/zalando/zally/statistic/ReviewStatistics.kt

cli/zally/readers/yaml_reader.go

...org/zalando/zally/apireview/ApiDefinitionReader.kt

...rg/zalando/zally/ruleset/zalando/ZalandoRuleSet.kt

...ly/ruleset/zalando/DateTimePropertiesSuffixRule.kt

...otlin/org/zalando/zally/apireview/RuleViolation.kt

...lin/org/zalando/zally/apireview/EndpointCounter.kt

...alando/zally/ruleset/zally/TagAllOperationsRule.kt

cli/zally/commands/supported_rules.go

...in/org/zalando/zally/core/ContextRulesValidator.kt

... and 157 more

Continue to review full report at Codecov.

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

authors: codecov-commenter vadeg

repo: zalando/zally


text:
Release entry GH Action failing

Seeing the following error from the GH Action run:

Invalid workflow file: .github/workflows/needs-release-notes.yaml#L2
You have an error in your yaml syntax on line 2

cc @Saransh-cpp

Was just an indentation issue. Fixed in the commit linked above and tested on PR to confirm ( https://github.com/zarr-developers/numcodecs/pull/366 ) it works

Oops, my bad, should've tested this out before pushing.

All good. Once zarr-python worked, it was just a matter of comparing the two for differences (and then fixing them up)

authors: Saransh-cpp jakirkham

repo: zarr-developers/numcodecs


text:
Even prettier Turtle

I extended the use of graphy serialisers by first transforming the stream into the JS "concise" representation and serialise that.

Codecov Report

Merging #50 (9360ced) into master (50e3dfe) will increase coverage by 0.77%.
The diff coverage is 96.53%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   92.29%   93.07%   +0.77%
==========================================
  Files          14       15       +1
  Lines         987     1155     +168
==========================================
+ Hits          911     1075     +164
- Misses         76       80       +4

Impacted Files
Coverage Δ

packages/formats/serializers/graphy.js
25.00% <45.45%> (+2.77%)
:arrow_up:

...ages/formats/serializers/TransformToConciseHash.js
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 50e3dfe...9360ced. Read the comment docs.

authors: codecov-commenter tpluscode

repo: zazuko/rdfjs-elements


text:
1.20.1加入NTE后无法启动，提示Mixin无法注入，疑似与Sodium冲突

版本：1.20.1 Fabric 0.14.21，Fabric API 0.89.0
模组列表如图，加入NTE后无法启动并报错，无NTE时可以正常启动。在将Sodium更新到最新版本时仍然报错。
报错信息如下：
crash-2024-04-27_00.27.01-client.txt
游戏日志如下：
latest.log

在仅有MTR、NTE、钠的客户端（1.20.1-Fabric 0.15.10-API 0.92.1）启动时也会出现同样的报错，禁用NTE后正常启动.


text:
Core BTS UI: Load Screen

Update the loading screen to a transition between the following views:

[ ] https://www.figma.com/file/vYQD6uZtkPgtmgJ3zfauq0/Zashi-branding-ADJY-MOCK?type=design&node-id=88%3A4814&mode=design&t=9FayedV7L5uAZNyV-1
[ ] https://www.figma.com/file/vYQD6uZtkPgtmgJ3zfauq0/Zashi-branding-ADJY-MOCK?type=design&node-id=88%3A4551&mode=design&t=9FayedV7L5uAZNyV-1
[ ] https://www.figma.com/file/vYQD6uZtkPgtmgJ3zfauq0/Zashi-branding-ADJY-MOCK?type=design&node-id=88%3A4443&mode=design&t=9FayedV7L5uAZNyV-1

The transition is the background that goes from the bottom to the top.

Things to have in mind:

there's a launch screen, I suggest to leave it dark with "HI" and the logo
once the launch screen is dismissed, the WelcomeView (see the module Welcome) takes the control
it's a very simple UI that stays on screen for 3 seconds, replacing the launch screen for now with the same design
the view with the create new wallet and restore existing wallet is actually PlainOnboardingView in the OnboardingFlow module
the Zashi supports both light and dark appearances so the transition needs to work both ways
the buttons in Zashi use viewModifiers, you can find it in UIComponents module, for now only activeButtonStyle. This one needs to be updated according to the designs.. as you can see the design has reversed colours button, it could be either a new viewModifier or a parameter,. something like.. .activeButtonStyle(reversedColours: true)

Resolved in #836

authors: LukasKorba nuttycom

repo: zcash/secant-ios-wallet


text:
Unify scaleFactor k for onMove event

D3's scale factor k is exposed in onMoveEnd, onMoveStart and
couple of other places as zoom variable, but not here. It creates
confusion. Now it should be more clear

hi @zimrick, would you mind taking a look on this small change, please?

repo: zcreativelabs/react-simple-maps


text:
Delete the unworkable link to Zebrunner Reporting

It's needed to delete the link at this source https://awesomeopensource.com/project/zebrunner/zebrunner
to not confuse users with restricted access to Zebrunner Reporting

Also please change the link for Zebrunner Reporting Documentation
https://zebrunner.com/documentation

already fixed. @okamara, make sure to reload forcibly the page (cmd + R on mac)

Verified, fixed.

authors: Elvira1706 okamara vdelendik

repo: zebrunner/community-edition


text:
Bootstrap 4

I am using Bootstrap 4 in my application. When I apply 'classNames' the querybuilder view is not rendered as expected.

Hi, can you post an example what of you mean? I haven't tested with Bootstrap 4.

You can see in the rendered UI below the fields are on different  rows and rule/ruleset buttons are aligned to left.

The configs I am using:
  query = {
    condition: 'and',
    rules: [
      {field: 'value', operator: 'equal'}
    ]
  };

  config: any = {
    fields: {
      key: {name: 'Key', type: 'key', operators: ['equal']},
      value: {name: 'Value', type: 'value', operators: ['equal']},
    }
  };

  classNames: {[key: string]: string} = {
    removeIcon: 'fa fa-minus',               // Font-Awesome
    addIcon: 'fa fa-plus',                   // Font-Awesome
    button: 'btn',                           // Bootstrap
    buttonGroup: 'btn-group',                // Bootstrap
    switchGroup: 'btn-group',                // Bootstrap
    queryTree: 'q-tree',                     // DEFAULT
    queryItem: 'q-item',                     // DEFAULT
    queryRule: 'q-rule',                     // DEFAULT
    queryRuleSet: 'q-ruleset',               // DEFAULT
    invalidRuleset: 'alert alert-danger',    // Bootstrap
    emptyWarning: '',                        // Bootstrap
    fieldControl: 'form-control',            // Bootstrap
    operatorControl: 'form-control',         // Bootstrap
    inputControl: 'form-control'             // Bootstrap
  };

I realize that the CSS classes are not specific enough for bootstrap to properly work. I also found a bug regarding nested Ruleset not having classNames applied properly. I'll fix this in the next release of the library, although there may be additional classNames properties to accommodate for finer control of styling with 3rd party libraries.

Released version 0.2.4 which has support for bootstrap 4.

authors: metanav zebzhao

repo: zebzhao/Angular-QueryBuilder


text:
The custom shortcut key is displayed incorrectly

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it

Environment
macos 13.4
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

This should come with Zed 0.97

repo: zed-industries/community


text:
Code for image sharing in biography

As requested the code that can be added at line 1087 of monsterblock.js is:
html.find(".editor-content>>img").click((event) => {
event.preventDefault();
let imgSource = event.target.src;
new ImagePopout(imgSource, {
title: this.actor.name,
shareable: true,
uuid: this.actor.uuid
}).render(true);
});
This will allow any image in the biography to be easily shared.

Will be available in the next release.


text:
Cursor renders in the wrong position after rapidly navigating in vim

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: <Windows 10>
Hyper.app version:
Link of a Gist with the contents of your .hyper.js:
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app:

Issue
When I rapidly navigate in vim within hyper, the cursor is in the wrong position.  See below where I am using the x key to delete characters.

I believe this is only occurring when the window is large enough.  I am typically in full screen.

The plugin hyperpower is reported to have very high CPU usage: see here
Can you try removing that and see if it's still a problem?

I tried removing that, but unfortunately still has the issue.  In fact I've un-commented all plugins > restarted hyper and this issue persists.
I am unable to replicate this on Mac

Can you try https://code.visualstudio.com/ built in terminal? If it's there too then it's a windows issue

I'm unable to dupe in in vscode terminal.  I also have the ubuntu bash for windows installed and I am unable to duplicate it there.

I just installed hyper on my home desktop and I'm unable to duplicate this issue.
I've renamed my .hyper.js and then reinstalled 1.3.3 and am still having this issue.  I'm not sure what else could be causing this very weird issue.  Seems to be specific to something I've got going on this workstation though.

Also having this issue.

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!

authors: Stanzilla albinekb kkuhle yousefissa

repo: zeit/hyper


text:
Open links in non-default browser

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

Hi! I was wondering if there's a way to make Hyper open links in a specific non-default browser. My default browser is Safari but I'd like links to open in Chrome.

This is something I would be interested in two. I want links to open in Firefox Developer Edition rather than default Firefox.

Currently out of scope

authors: Stanzilla danchristian samselikoff


text:
Dynamic imports get bundle with reactdom

I'm using the new
const DynGmp = dynamic(import('some-react-comp')) feature and by running webpack bundle analyzer I noticed that react-dom.min.js gets bundled with some-react-comp. adding import ReactDom from 'react-dom on my page component fixed it.
Am I doing something wrong? Should I always explicitly import react-dom ?

That's weird. Can I have a sample app to play with?
That'd be pretty helpful for me to find and fix this.

I've got more insight on the problems:
It occurs when a Component imports react-dom. However the precise component that is causing this problem in my app doesn't cause any in a sample project empty I made trying to reproduce

Interesting.
How many pages you've in your app?
In how many pages you are using that component?
Is it only happening with dynamic components (I mean does it happens when you directly import it and use it)?
What's the component?

I've got 9 pages and I'm using it in 3 of them, it also happens when I directly import it.
Component is https://github.com/jasonslyvia/react-lazyload.
I'm observing the same thing with https://github.com/istarkov/google-map-react

By analyzing the webpack results here https://webpack.github.io/analyse I saw that react-dom is present in the main.js chunk and in the 3 chunks using the component causing the problem.
All of these chunks have commons as parents, is it normal that react-dom isn't located in commons but in main.js ?

after disabling all the dynamics imports and investigating each commits the problem arises when I have more than 8 pages (7 pages and 1 _error.js exactly). Could this be related to a max bundle size allowed by next?
@arunoda

I'm still running into this issue, any input?

Great catch @quentin-sommer. We are on it

@quentin-sommer could you verify is this only production deployment.
In the dev mode, it's okay to be it like that because we don't properly use code splitting in that.
But in production it should work as it is.
In production I mean, next build

Hi @rauchg & @arunoda ,
Okay bare with me because this might be confusing:
I had this issue with 8 pages and 1 _error override. (so 9 pages if you count the _error.js and 10 with the default _document.js)
I added a new page, so for a grand total of 11, and it fixed my problem.
before: http://imgur.com/q3zCsjp
after: http://imgur.com/NHowLHZ
I intensively use a google-map library which directly imports react-dom, I use it in 4 pages and in the last page as well (the one that "fixed" the problem).
I'm not experienced enough with your internals or webpack ones to solve this on my own, I can give it to you the stats.json of the two builds I've screenshotted for analysis here https://webpack.github.io/analyse if it helps

@quentin-sommer What we need is a sample app. Is it possible for your wrap a demo app with this case.
So, that helps me to fix this quickly.

I couldn't manage to reproduce it. I think it has to do with some heuristics from Webpack deciding in which chunk should each module go depending on the dependency tree and the bundle size.
Since it fixed itself and is so specific I'm going to close this. Feel free to re-open or to open another issue if you still want to address this!

authors: arunoda quentin-sommer rauchg


text:
Nextjs.org tutorial broken when moving away from a page with a quiz item.

[X] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Navigate to the next page without errors.
Current Behavior

Taking a 'quiz' after reading through a lesson. I've already completed the quizes, but when I click "next" to leave the page I get an "An unexpected error has occurred." message and an error in the console.
"Error: StyleSheetRegistry: styleId: jsx-1586328328 not found.
Stack trace"

Steps to Reproduce (for bugs)

Having already completed the lessons (possibly a factor) go through the quizes
After hitting next on a page with a quiz, observe the error message in the browser and console.

Context

Trying to review content, errors on every other page is a rough ux.

Your Environment

Tech
Version

next

node

OS

browser
firefox developer

etc

Error: StyleSheetRegistry: styleId:jsx-1586328328not found. Stack trace: y@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:414098 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:412132 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:397915 a@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:212528 s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:212668 c@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:213229 commitDeletion@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:215228 w@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:227275 _@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:226299 m@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:225821 g@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:225658 p@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:225032 c@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:224486 t@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:229997 updateContainer@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:230586 module.exports</Fi.prototype.render@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:245585 Zi@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:251330 render@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:251950 ee@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:352484 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:352097 h@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:354904 i@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:356874 E/</e[t]@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:355417 s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82833 u@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82925 i/</<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82964 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:364113 i/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82768 X@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:351412 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:350620 h@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:354904 i@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:356874 E/</e[t]@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:355417 s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82833 u@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82925 i/</<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82964 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:364113 i/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82768 Z@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:350353 e/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:350090 e/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:379954 module.exports</e.exports/</<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:383019 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:379908 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:377045 e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:375144 h@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:354904 i@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:356874 E/</e[t]@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:355417 s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82833 u@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82925 a@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:362949 R/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:363106 c@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:366052 main-be6424f743e3dc90bf3c.js:1:212132 StyleSheetRegistry: styleId:jsx-1586328328` not found.
y@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:414098
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:412132
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:397915
a@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:212528
s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:212668
c@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:213229
commitDeletion@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:215228
w@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:227275
_@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:226299
m@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:225821
g@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:225658
p@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:225032
c@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:224486
t@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:229997
updateContainer@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:230586
module.exports</Fi.prototype.render@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:245585
Zi@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:251330
render@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:251950
ee@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:352484
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:352097
h@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:354904
i@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:356874
E/</e[t]@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:355417
s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82833
u@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82925
i/</<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82964
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:364113
i/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82768
X@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:351412
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:350620
h@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:354904
i@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:356874
E/</e[t]@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:355417
s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82833
u@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82925
i/</<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82964
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:364113
i/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82768
Z@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:350353
e/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:350090
e/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:379954
module.exports</e.exports/</<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:383019
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:379908
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:377045
e@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:375144
h@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:354904
i@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:356874
E/</e[t]@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:355417
s@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82833
u@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:82925
a@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:362949
R/<@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:363106
c@https://learnnextjs-zone.now.sh/_next/static/commons/main-be6424f743e3dc90bf3c.js:1:366052
in t
in div
in e
in t
in WithData(t)
in div
in t
in WithData(t)
in div
in div
in div
in t
in e
in WithData(e)
in t
in App

main-be6424f743e3dc90bf3c.js:1:351207
`

I just deployed a fix, can you try again?

@timneutkens working perfectly. Thanks!

@timneutkens working perfectly. Thanks!

authors: timneutkens vpicone


text:
Fix npm/yarn install/run instructions

npm section currently shows both npm and yarn, while yarn section shows just npm.

Stats from current PR

Default Server Mode

General

zeit/next.js canary
TyWMick/next.js patch-1
Change

buildDuration
13.7s
13.6s
-42ms

nodeModulesSize
49 MB
49 MB
✓

Client Bundles (main, webpack, commons)

zeit/next.js canary
TyWMick/next.js patch-1
Change

main-HASH.js gzip
5.11 kB
5.11 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..54d3.js gzip
4.68 kB
4.68 kB
✓

commons.HASH.js gzip
4.06 kB
4.06 kB
✓

de003c3a9d30..9881.js gzip
13.7 kB
13.7 kB
✓

framework.HASH.js gzip
39.1 kB
39.1 kB
✓

Overall change
67.4 kB
67.4 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
TyWMick/next.js patch-1
Change

main-HASH.module.js gzip
4.17 kB
4.17 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

4952ddcd88e7..dule.js gzip
5.56 kB
5.56 kB
✓

de003c3a9d30..dule.js gzip
12.5 kB
12.5 kB
✓

framework.HA..dule.js gzip
39.1 kB
39.1 kB
✓

Overall change
62.1 kB
62.1 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
TyWMick/next.js patch-1
Change

polyfills-HASH.js gzip
4.76 kB
4.76 kB
✓

Overall change
4.76 kB
4.76 kB
✓

Client Pages

zeit/next.js canary
TyWMick/next.js patch-1
Change

_app.js gzip
1.33 kB
1.33 kB
✓

_error.js gzip
4.07 kB
4.07 kB
✓

hooks.js gzip
779 B
779 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
2.9 kB
2.9 kB
✓

routerDirect.js gzip
283 B
283 B
✓

withRouter.js gzip
282 B
282 B
✓

Overall change
9.87 kB
9.87 kB
✓

Client Pages Modern

zeit/next.js canary
TyWMick/next.js patch-1
Change

_app.module.js gzip
757 B
757 B
✓

_error.module.js gzip
3.06 kB
3.06 kB
✓

hooks.module.js gzip
371 B
371 B
✓

index.module.js gzip
212 B
212 B
✓

link.module.js gzip
2.47 kB
2.47 kB
✓

routerDirect..dule.js gzip
273 B
273 B
✓

withRouter.m..dule.js gzip
272 B
272 B
✓

Overall change
7.41 kB
7.41 kB
✓

Client Build Manifests

zeit/next.js canary
TyWMick/next.js patch-1
Change

_buildManifest.js gzip
61 B
61 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
122 B
122 B
✓

Rendered Page Sizes

zeit/next.js canary
TyWMick/next.js patch-1
Change

index.html gzip
1.02 kB
1.02 kB
✓

link.html gzip
1.03 kB
1.03 kB
✓

withRouter.html gzip
1.02 kB
1.02 kB
✓

Overall change
3.07 kB
3.07 kB
✓

Serverless Mode

General

zeit/next.js canary
TyWMick/next.js patch-1
Change

buildDuration
13.9s
14s
⚠ +148ms

nodeModulesSize
49 MB
49 MB
✓

Client Bundles (main, webpack, commons)

zeit/next.js canary
TyWMick/next.js patch-1
Change

main-HASH.js gzip
5.11 kB
5.11 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..54d3.js gzip
4.68 kB
4.68 kB
✓

commons.HASH.js gzip
4.06 kB
4.06 kB
✓

de003c3a9d30..9881.js gzip
13.7 kB
13.7 kB
✓

framework.HASH.js gzip
39.1 kB
39.1 kB
✓

Overall change
67.4 kB
67.4 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
TyWMick/next.js patch-1
Change

main-HASH.module.js gzip
4.17 kB
4.17 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

4952ddcd88e7..dule.js gzip
5.56 kB
5.56 kB
✓

de003c3a9d30..dule.js gzip
12.5 kB
12.5 kB
✓

framework.HA..dule.js gzip
39.1 kB
39.1 kB
✓

Overall change
62.1 kB
62.1 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
TyWMick/next.js patch-1
Change

polyfills-HASH.js gzip
4.76 kB
4.76 kB
✓

Overall change
4.76 kB
4.76 kB
✓

Client Pages

zeit/next.js canary
TyWMick/next.js patch-1
Change

_app.js gzip
1.33 kB
1.33 kB
✓

_error.js gzip
4.07 kB
4.07 kB
✓

hooks.js gzip
779 B
779 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
2.9 kB
2.9 kB
✓

routerDirect.js gzip
283 B
283 B
✓

withRouter.js gzip
282 B
282 B
✓

Overall change
9.87 kB
9.87 kB
✓

Client Pages Modern

zeit/next.js canary
TyWMick/next.js patch-1
Change

_app.module.js gzip
757 B
757 B
✓

_error.module.js gzip
3.06 kB
3.06 kB
✓

hooks.module.js gzip
371 B
371 B
✓

index.module.js gzip
212 B
212 B
✓

link.module.js gzip
2.47 kB
2.47 kB
✓

routerDirect..dule.js gzip
273 B
273 B
✓

withRouter.m..dule.js gzip
272 B
272 B
✓

Overall change
7.41 kB
7.41 kB
✓

Client Build Manifests

zeit/next.js canary
TyWMick/next.js patch-1
Change

_buildManifest.js gzip
61 B
61 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
122 B
122 B
✓

Serverless bundles

zeit/next.js canary
TyWMick/next.js patch-1
Change

_error.js gzip
77.8 kB
77.8 kB
✓

hooks.html gzip
1.05 kB
1.05 kB
✓

index.js gzip
78 kB
78 kB
✓

link.js gzip
80.4 kB
80.4 kB
✓

routerDirect.js gzip
78.1 kB
78.1 kB
✓

withRouter.js gzip
78.1 kB
78.1 kB
✓

Overall change
393 kB
393 kB
✓

Commit: 30f27166fbc73d10884ea6d2b24180b0ece12ccd

Thanks!

authors: Timer TyWMick ijjk


text:
Add support for getStaticProps in pages/404

This adds support for using getStaticProps in pages/404.js to allow having a static 404 page even if you have getInitialProps in _app. Using getServerSideProps or getInitialProps is still not permitted in pages/404.js

Stats from current PR

Default Server Mode

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

buildDuration
10s
10.1s
⚠ +74ms

nodeModulesSize
56.6 MB
56.6 MB
⚠ +7 B

Client Bundles (main, webpack, commons)

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

main-HASH.js gzip
5.77 kB
5.77 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

de003c3a9d30..cfaa.js gzip
9.77 kB
9.77 kB
✓

framework.HASH.js gzip
39.1 kB
39.1 kB
✓

Overall change
55.4 kB
55.4 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

main-HASH.module.js gzip
4.78 kB
4.78 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..dule.js gzip
6.71 kB
6.71 kB
✓

framework.HA..dule.js gzip
39.1 kB
39.1 kB
✓

Overall change
51.4 kB
51.4 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

polyfills-HASH.js gzip
26.2 kB
26.2 kB
✓

Overall change
26.2 kB
26.2 kB
✓

Client Pages

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_app.js gzip
1.09 kB
1.09 kB
✓

_error.js gzip
2.96 kB
2.96 kB
✓

hooks.js gzip
664 B
664 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
1.89 kB
1.89 kB
✓

routerDirect.js gzip
279 B
279 B
✓

withRouter.js gzip
278 B
278 B
✓

Overall change
7.38 kB
7.38 kB
✓

Client Pages Modern

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_app.module.js gzip
594 B
594 B
✓

_error.module.js gzip
2.06 kB
2.06 kB
✓

hooks.module.js gzip
370 B
370 B
✓

index.module.js gzip
212 B
212 B
✓

link.module.js gzip
1.48 kB
1.48 kB
✓

routerDirect..dule.js gzip
271 B
271 B
✓

withRouter.m..dule.js gzip
270 B
270 B
✓

Overall change
5.26 kB
5.26 kB
✓

Client Build Manifests

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_buildManifest.js gzip
61 B
61 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
122 B
122 B
✓

Rendered Page Sizes

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

index.html gzip
917 B
917 B
✓

link.html gzip
927 B
927 B
✓

withRouter.html gzip
914 B
914 B
✓

Overall change
2.76 kB
2.76 kB
✓

Serverless Mode (Decrease detected ✓)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

buildDuration
11s
11.1s
⚠ +61ms

nodeModulesSize
56.6 MB
56.6 MB
⚠ +7 B

Client Bundles (main, webpack, commons)

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

main-HASH.js gzip
5.77 kB
5.77 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

de003c3a9d30..cfaa.js gzip
9.77 kB
9.77 kB
✓

framework.HASH.js gzip
39.1 kB
39.1 kB
✓

Overall change
55.4 kB
55.4 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

main-HASH.module.js gzip
4.78 kB
4.78 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..dule.js gzip
6.71 kB
6.71 kB
✓

framework.HA..dule.js gzip
39.1 kB
39.1 kB
✓

Overall change
51.4 kB
51.4 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

polyfills-HASH.js gzip
26.2 kB
26.2 kB
✓

Overall change
26.2 kB
26.2 kB
✓

Client Pages

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_app.js gzip
1.09 kB
1.09 kB
✓

_error.js gzip
2.96 kB
2.96 kB
✓

hooks.js gzip
664 B
664 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
1.89 kB
1.89 kB
✓

routerDirect.js gzip
279 B
279 B
✓

withRouter.js gzip
278 B
278 B
✓

Overall change
7.38 kB
7.38 kB
✓

Client Pages Modern

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_app.module.js gzip
594 B
594 B
✓

_error.module.js gzip
2.06 kB
2.06 kB
✓

hooks.module.js gzip
370 B
370 B
✓

index.module.js gzip
212 B
212 B
✓

link.module.js gzip
1.48 kB
1.48 kB
✓

routerDirect..dule.js gzip
271 B
271 B
✓

withRouter.m..dule.js gzip
270 B
270 B
✓

Overall change
5.26 kB
5.26 kB
✓

Client Build Manifests

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_buildManifest.js gzip
61 B
61 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
122 B
122 B
✓

Serverless bundles Overall decrease ✓

zeit/next.js canary
ijjk/next.js add/404-ssg
Change

_error.js gzip
294 kB
293 kB
-795 B

404.html gzip
1.32 kB
1.32 kB
✓

hooks.html gzip
957 B
957 B
✓

index.js gzip
293 kB
293 kB
-20 B

link.js gzip
301 kB
301 kB
⚠ +168 B

routerDirect.js gzip
300 kB
300 kB
-148 B

withRouter.js gzip
300 kB
299 kB
-117 B

Overall change
1.49 MB
1.49 MB
-912 B


text:
[WIP] Add support for babel-preset-env.

Fixes https://github.com/zeit/next.js/issues/1335
The goal of this PR is to reduce the bundle size and the re-build time.
But we can't see those benefits right away.
Why?

Due to the use of env preset,  we have to do two(2) babel transformation for both webpack and node (SSR).
Size of the bundle (main.js) won't decrease because source-maps is the main reason for the big bundle.

Although having no benefit currently, I am seeing this when upgrading next.js:
yarn upgrade next@beta
yarn upgrade v0.19.1
[1/4] 🔍  Resolving packages...
warning next > babel-preset-latest@6.22.0: 💥  preset-latest accomplishes the same task as babel-preset-env. 🙏  Please install it with 'npm install babel-preset-env --save-dev'. '{ "presets": ["latest"] }' to '{ "presets": ["env"] }'. For more info, please check the docs: http://babeljs.io/docs/plugins/preset-env 👌. And let us know how you're liking Babel at @babeljs on 🐦

Seems that babel-preset-env is preferred and babel is preparing to dump babel-preset-latest?

Yep partially we're doing this to address that @MrOrz

authors: MrOrz arunoda rauchg