text:
[vine] some vines unable to be downloaded (HTTP 403)

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.10.05

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
% youtube-dl --version
2018.10.05
% youtube-dl https://vine.co/u/923740547368235008 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://vine.co/u/923740547368235008', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.15 (CPython) - Darwin-18.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[vine:user] 923740547368235008: Downloading user profile data
[vine:user] 923740547368235008: Downloading JSON metadata
[download] Downloading playlist: David Brownman
[vine:user] playlist David Brownman: Collected 72 video ids (downloading 72 of them)
[download] Downloading video 1 of 72
[Vine] 5QTWuphYH5T: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'http://mtc.cdn.vine.co/r/videos_dashhd/DC60B6BDEE1421076030478807040_51bf0322010.41.0.A36D1782-0A2B-4E1F-9248-200AE936ADDA.mp4?versionId=fLjYNwSOJBpL1BXSJm_6fVl2U4JtOLVL'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1908, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 341, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 109, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Description of your issue, suggested solution and other information
Looks like vines are unable to be downloaded anymore. Seems like the user info is being fetched correctly, but some individual videos are seeing the error. If it helps, here are some urls:

individual video page: https://vine.co/v/5QTWuphYH5T
looks like the above video lives at: blob:https://vine.co/28f52153-5eae-4ad9-bd4e-60629b002777
older vines download without error (for instance, https://vine.co/v/hrBdTl0wmPu)

Thanks a bunch!

HD URLs seem to be broken. In my case, as a workaround I download the standard format instead:
youtube-dl -v -f standard https://vine.co/v/5QTWuphYH5T

Can confirm that this is still the case with 2019.06.08 and that @redsummernight's -f standard workaround still works.

authors: redsummernight smammy xavdid

repo: ytdl-org/youtube-dl


text:
BBC No video formats found

Checklist

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

Verbose log

youtube-dl --verbose --output "/mnt/video/Incoming/Porridge S03E02 Poetic Justice.mp4" https://www.bbc.co.uk/iplayer/episode/b00787cr/porridge-series-3-2-poetic-justice --ignore-config
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--output', '/mnt/video/Incoming/Porridge S03E02 Poetic Justice.mp4', 'https://www.bbc.co.uk/iplayer/episode/b00787cr/porridge-series-3-2-poetic-justice', '--ignore-config']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.16
[debug] Python version 3.5.3 (CPython) - Linux-4.19.42-v7+-armv7l-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[bbc.co.uk] b00787cr: Downloading video page
[bbc.co.uk] b00787cr: Downloading playlist JSON
[bbc.co.uk] b0003mz0: Downloading media selection XML
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/bbc.py", line 577, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1327, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug

Description

All other files of that series download fine, except this one, with this error. I have read up on other bug reports and tried using Python 2 and removing the cache. Many thanks for any help!

This is a limitation of the BBC extractor. If the first place it looks doesn't contain any streams, it bails out without looking in other locations. When this happens, you can use get_iplayer to download the programme.

For any work on this you must provide working GB proxy/vpn.

I am also facing this issue for the same programme. Anything I can do to help get this resolved?

source: gharchive/issue

authors: dstftw kuehnert sleaux-meaux tombsar

license: Unlicense

license_type: permissive

license_source: github-api


text:
Support ffmpeg's duration and position for live streams

I have encountered an issue while recording a youtube live stream. Because of some youtube or broadcaster problems the time can jump from 00:28:03.36 to, say, 20:00:01.20. The time always jumps for at least 10 hours. It is also stream-independent. One more interesting thing: the bitrate drops at this point significantly, it looks like only audio is being recorded.
frame=40145 fps= 24 q=-1.0 size=  238241kB time=00:28:03.36 bitrate=1159.4kbits/
frame=40145 fps= 24 q=-1.0 size=  238241kB time=20:00:01.20 bitrate=153.4kbits/
It would be wonderful if you could solve this issue, but it's probably difficult to find the cause, so I suggest you to add an option to include ffmpeg's -t and -to flags. This way I could set the duration limit to 1 hour, forcing ffmpeg to mux the file after the jump occurs (or 1 hour passes).

Especially during post-production, it's conventional to use a base time of 10:00:00.000, so I'm told. If the provider fails to re-base some part of the media offering, this weird jump can occur.

authors: amq dirkf


text:
Hotstar DRM Protection Problem...Help me for this

F:\python\youtube-dl>youtube-dl -v https://www.hotstar.com/in/tv/special-ops/s-2559/kaagaz-ke-phool/1260022902
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.hotstar.com/in/tv/special-ops/s-2559/kaagaz-ke-phool/1260022902']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2020-02-13-6d37ca8, ffprobe git-2020-02-13-6d37ca8
[debug] Proxy map: {}
[hotstar] 1260022902: Downloading webpage
ERROR: This video is DRM protected.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\extractor\hotstar.py", line 119, in _real_extract
youtube_dl.utils.ExtractorError: This video is DRM protected.
F:\python\youtube-dl>youtube-dl -U
youtube-dl is up-to-date (2020.03.24)
F:\python\youtube-dl>

plz help me ...what error with me


text:
servustv.com claims: no video formats found

Checklist

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

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

www.servustv.com changed something


text:
TV nova downloads don't work

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

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://novaplus.nova.cz/porad/vymena-manzelek/epizoda/66499-1-dil']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.8.6 (CPython) - Linux-5.9.16-gentoo-x86_64-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[Nova] 66499-1-dil: Downloading webpage
[NovaEmbed] 7yCCKMw3S8A: Downloading webpage
ERROR: Unable to extract formats; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 805, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 826, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/nova.py", line 72, in _real_extract
    self._search_regex(
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract formats; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I'm unable to download episodes for my wife.

CC @dstftw

CC @dstftw


text:
Any way to customise the -j output?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

I'm running this command: youtube-dl [youtube_channel_url] -j
I'd like the -j flag to output stuff like the video url, title and description but I can't figure out how (at the moment it's returning a massive json output and I don't need 90%+ of the stuff it returns).

PS: to give a little bit more context. The reason why I'm running this command on a youtube channel is because I want a list of all videos that channel has uploaded. I noticed that -j gives me the stuff I need (video url, title, description) but it's way too messy, that's why I want to see if there's a way to tell youtube-dl which values to give me.

How about using jq command?
youtube-dl [youtube_channel_url] -j | jq "{webpage_url, title, description}"

How about using jq command?
youtube-dl [youtube_channel_url] -j | jq "{webpage_url, title, description}"

This works like a charm! Thank you.

authors: XiovV kikuyan


text:
Twitch Clips Downloading Broken, HTTP Error 404

Checklist

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

Verbose log
D:\videos\v108>youtube-dl -v https://clips.twitch.tv/BetterOpenRaisinHumbleLife-S0R5kF6eGb8nEd6d
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://clips.twitch.tv/BetterOpenRaisinHumbleLife-S0R5kF6eGb8nEd6d']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-94324-g806ac7da69, ffprobe N-94324-g806ac7da69
[debug] Proxy map: {}
[twitch:clips] BetterOpenRaisinHumbleLife-S0R5kF6eGb8nEd6d: Downloading clip GraphQL
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://production.assets.clips.twitchcdn.net/AT-cm%7C1194711128.mp4'
ERROR: unable to download video data: HTTP Error 404:
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\YoutubeDL.py", line 1963, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\YoutubeDL.py", line 1902, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\downloader\common.py", line 366, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\downloader\http.py", line 351, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\downloader\http.py", line 116, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\downloader\http.py", line 110, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp5n2jym44\build\youtube_dl\YoutubeDL.py", line 2275, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 404:

Description
Getting an "unable to download video data" error and "HTTP Error 404" for Twitch clips in Youtube-DL 2021.05.16.  It was working fine a couple of weeks ago.  No credentials should be required.  These are viewable in a browser and the download link provided by Twitch works.
Some example commands/URLs:
youtube-dl https://clips.twitch.tv/BetterOpenRaisinHumbleLife-S0R5kF6eGb8nEd6d
youtube-dl https://clips.twitch.tv/SplendidSucculentPeachPunchTrees-sxReptXUjosu9VpI
youtube-dl https://clips.twitch.tv/ColdbloodedElegantLattePipeHype-rngvz16JJE5MxsuU
youtube-dl https://clips.twitch.tv/VastKindPicklesYouDontSay-y98cI0RbzwVgn7jK
youtube-dl https://clips.twitch.tv/AverageSparklingCarabeefNotLikeThis-WKKG5JOpwQ3uE8AW
youtube-dl https://clips.twitch.tv/SleepyBreakableHippoRalpherZ-hkapS0eVrbnVcc_5
youtube-dl https://clips.twitch.tv/ImpossibleAmazonianSardineEleGiggle-upg3kTLv8LQnpvH4
youtube-dl https://clips.twitch.tv/ResourcefulLittleRedpandaKippa-VfKaoC2owCrDz9UD
youtube-dl https://clips.twitch.tv/SilkyCloudyWaspJebaited-PzG-I_8QuH2CEtrb
youtube-dl https://clips.twitch.tv/DrabSolidConsolePlanking-Ip5aHxyc0Cox_Oqn
youtube-dl https://clips.twitch.tv/GorgeousSaltyTrayPeteZaroll-9_FOWe44_Cym1OVz
youtube-dl https://clips.twitch.tv/SpotlessShakingWombatPeteZarollTie-_cB6nczOSjBMHYcC
youtube-dl https://clips.twitch.tv/AffluentSpunkyMouseCeilingCat-CD4yyyk-otxxEmZy
youtube-dl https://clips.twitch.tv/CreativeUgliestTurtleTwitchRPG-g6Kby9Sy8Dr5E3OO
youtube-dl https://clips.twitch.tv/RespectfulSquareTigerBIRB-psXGoldDYOy3llXQ
youtube-dl https://clips.twitch.tv/PoorFragileSageNomNom-o3cAcau6UOcZeoPj
youtube-dl https://clips.twitch.tv/EnergeticCloudyPotatoTooSpicy-dQHJelfuPCEVFucD
youtube-dl https://clips.twitch.tv/PlainIgnorantEndiveYouDontSay-E_1Y5o9OKE4s66YL
youtube-dl https://clips.twitch.tv/GentleCleverSalamanderWoofer-Mpj_d34LFkpGUL9s
youtube-dl https://clips.twitch.tv/BrightCuriousSwordTheRinger-FsBtd0RwtrrmxhPp
youtube-dl https://clips.twitch.tv/ShakingComfortableSnoodBudStar-dWCC0Kz0p2Rvh_NB
youtube-dl https://clips.twitch.tv/ConfidentLovelyPlumOSfrog-pbt1LHI85gRMvgOi

What's also strange is that the URL retrieved by the downloader is correct/valid and can be downloaded manually without issue (https://production.assets.clips.twitchcdn.net/AT-cm|1194711128.mp4).

Duplicate of https://github.com/ihabunek/twitch-dl/issues/64


text:
Unable to download YouTube Shorts

~ $ youtube-dl -v https://youtube.com/shorts/fK1VmX9mzRw?feature=share
[debug] System config: []
[debug] User config: ['--format', 'bestvideo+bestaudio[ext=m4a]/bestvideo+bestaudio/best', '--merge-output-format', 'mp4', '-o', '/data/data/com.termux/files/home/storage/dcim/Camera/%(extractor_key)s-%(uploader)s-%(title)s-%(id)s.%(ext)s', '--no-mtime']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://youtube.com/shorts/fK1VmX9mzRw?feature=share']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.1 (CPython) - Linux-4.14.190-22338387-abN975USQS7FUI6-aarch64-with-libc
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[youtube:tab] shorts: Downloading webpage
ERROR: Unable to recognize tab page; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/youtube.py", line 2844, in _real_extract
raise ExtractorError('Unable to recognize tab page')
youtube_dl.utils.ExtractorError: Unable to recognize tab page; 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 have an alternate tool that works:
youtube fK1VmX9mzRw

https://github.com/89z/mech

Duplicate of #30269, where a trivial fix is provided.

Concur, duplicate of #30269. Closing.

authors: 89z MantisTree dirkf


text:
Grammar fix in download.html

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[X] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[X] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fixed an awkward sentence in download.html
No code change, only documentation is changed.

LGTM

download.html is auto-generated. (See generate-download.py)
You need to change download.html.in for this to have a permanent effect.

On 23/04/2020 17:19, s104346 wrote:

|download.html|
https://github.com/ytdl-org/youtube-dl/blob/gh-pages/download.html
is auto-generated. (See generate-download.py
https://github.com/ytdl-org/youtube-dl/blob/master/devscripts/gh-pages/generate-download.py)
You need to change |download.html.in|
https://github.com/ytdl-org/youtube-dl/blob/gh-pages/download.html.in
for this to have a permanent effect.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/pull/24961#issuecomment-618495298,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABK3TOVFZH4N2VFBVQHHM63ROBS75ANCNFSM4MPBC25A.

Hold on, let me apply the changes to that, then.

and updated the template file.

source: gharchive/pull-request


text:
Truncate and improve samples of composite values

This PR fixes #405. Composite values are now truncated while maintaining comparability with the original value.
Also generalized some code working with samples, since the differences in size accounting and truncation approaches could have produced less usable samples.

Adding @gritukan for double checking MR-related logic and @dim-an to check everything YSON-related more carefully.

shipped!

Shipped!

repo: ytsaurus/ytsaurus


text:
Is this project suitable for our own environment?

We want to implement the exploration algorithm into our own developed rl algorithm and a new env with the continuous action. According to our understanding to your code, it seems that there is still some difference between our env and your required env.
So is there any document showing how to code your required env or the standard process for wrapping your env? An example is also a great help to us! Thank you.

sure, please refer to https://docs.rllte.dev/tutorials/custom/environment/
Meanwhile, we will publish a big update recently. You can check this branch https://github.com/RLE-Foundation/rllte/blob/reward/ for the lastest code.

sure, please refer to https://docs.rllte.dev/tutorials/custom/environment/
Meanwhile, we will publish a big update recently. You can check this branch https://github.com/RLE-Foundation/rllte/blob/reward/ for the lastest code.

Thanks for your reply

repo: yuanmingqi/RLeXplore

license: MIT


text:
🛑 Home is down

In eb0ea53, Home (https://yukbid.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Home is back up in 0b543f6.

repo: yukbid/upptime


text:
Update cicleci config

Summary
Resolve #16
Dependency cache update is determined by checking the checksum of yarn.lock

LGTM

repo: yukihirop/babel-udf-helpers


text:
fix: 避免删除安全组失败

这个 PR 实现什么功能/修复什么问题:
避免删除安全组失败
是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region
/cc @wanyaoqi

Codecov Report

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

@@            Coverage Diff            @@
##           master   #3510      +/-   ##
=========================================
+ Coverage    6.98%   6.99%   +<.01%
=========================================
  Files         498     498
  Lines       83166   83091      -75
=========================================
+ Hits         5807    5809       +2
+ Misses      76864   76788      -76
+ Partials      495     494       -1

Flag
Coverage Δ

#aFlag
6.99% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/snapshotpolicycache.go
4.32% <0%> (-0.11%)
:arrow_down:

pkg/multicloud/aws/aws.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/guest_actions.go
0% <0%> (ø)
:arrow_up:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

pkg/compute/models/groups.go
8.65% <0%> (+3.29%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm

/lgtm

/approve

authors: codecov-io ioito wanyaoqi

repo: yunionio/onecloud


text:
Pose warping/Distance matching

[x] Stop Animation
[x] Orientation warping (changing character direction without animation)
[ ] slope warping (change the position of feet on slopes
[ ] stride warping (change the pace of the stride to match the actual speed)

Example :
https://youtu.be/9WbetBtZe4Q
What is Distance Matching :
https://youtu.be/XngF1aNrpNQ

Update : I am going to split Distance matching functions in an standalone addon so it can be used alone in Godot asset lib, and it will be used here in AMSG (Advanced Movement System Godot).

[ ] Stop Animation
[ ] Orientation warping (changing character direction without animation)
[ ] slope warping (change the position of feet on slopes
[ ] speed warping (change the pace of the animation to match the actual speed)

I can't finish these feature until godot 4 gets a proper IK system, at least for legs, even better a full body IK system.
but the base for stride warping is there, slope warping is easy to do, but it needs IK setup.

News : I have decided to continue work on it, as now SkeletonIK 3D may work for me.
If it turns out SkeletonIK3D isn't enough, I will use the FABRIK algorithm example in the Godot Engine myself, though I don't know if this will its performance will be good or not since it is done in GD script.
This is the FABRIK algorithm I mean :
https://github.com/godotengine/godot-demo-projects/tree/master/3d/ik/addons/sade

Also the whole thing is going to be done as One Node
To make setting this up very easy for any type of skeleton or player movement script

If someone is following this issue, I am getting results, and expect a new update video soon!
I am shooting high to the moon and saying I am almost close to achieve the AAA Movement look.

Latest videos:
Pose Warping:
https://youtu.be/u_ZPtSiRvK4?si=uC0QAkxlb7ruMh5q
Test in game:
https://youtu.be/PU5xmp3-9Dw?si=dq6Idv0Ft6vJ_L0u

repo: ywmaa/Advanced-Movement-System-Godot


text:
Unable to train

I tried a lot to train but for some reason I just cant train it with custom dataset. It throws the following error, :(
RuntimeError: There were no tensor arguments to this function (e.g., you passed an empty list of Tensors), but no fallback function is registered for schema aten::_cat.  This usually means that this function requires a non-empty list of Tensors.  Available functions are [CPU, CUDA, QuantizedCPU, BackendSelect, Named, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, Autocast, Batched, VmapMode].
Any ways to fix it?

It seems some lists are empty, but I cannot localize the exact code given such a brief error notification. Did you solve it?

authors: Zumbalamambo yxgeee

repo: yxgeee/OpenIBL


text:
Evaluation Code

Hi,
Thanks for your nice work on Point Cloud Generation!
Any plan to release your code for evaluation?
Best.

Hi, thanks for your comment.
For the evaluation, you can use your own evaluation code and your own setting.

Hi,
Thanks for your nice work on Point Cloud Generation!
Any plan to release your code for evaluation?
Best.

Hi, thanks for your comment.
For the evaluation, you can use your own evaluation code and your own setting.


text:
Publish admin tables migration?

Is it by design that the migrations are not published in the App migration folder ? At this moment, php artisan admin:install runs directly the migration in the package vendor folder, which is lean, yes.
However, I can't rollback, reset or refresh migrations because of that. admin:install does work, but whenever I need to refresh the database, I have to do inconvenient work (wipe run admin:install, migrate). My solution is to copy the migration file manually.
What do you think of copying migration file then artisan migrate instead of running it from package vendor folder during install ?
By the way, this package is amazing!

While playing again, I've noticed that the admin user and menus are also generated (seed class) during installl.
So if you copy the migration file to the app's database/migrations folder.
It would make sense to copy also the seed class in the apps's database/seeds folder too.
Just like the app/Admin folder contents, the seeder can be customized.
If the app owner wants to use the admin seeder, probably always as a starting point, just need to use it in the main seeder database/seeds/DatabaseSeeder.php
What do you think?

Ok, I've found a lean way so I don't need to copy the package seeder (although I may copy part of it to make my own menus later, or just make my own Menu model for a static menu)
<?php

use Illuminate\Database\Seeder;
use Encore\Admin\Auth\Database\AdminTablesSeeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // $this->call(UsersTableSeeder::class);
        $this->call(AdminTablesSeeder::class);
    }
}

This is really a problem

Fixed in version 1.5

authors: isometriq mr-cn z-song

repo: z-song/laravel-admin

license: mit

license_source: bigquery


text:
Breadcrumbs broken - empty bar

I think the breadcrumbs are broken in the latest version - no content displayed in the bar.

It works fine for me. It's the same as outline.

Sori, looks like it is not a PL/SQL langage problem as it doesn't work in my other projects as well.

authors: mickeypearce zabel-xyz

repo: zabel-xyz/plsql-language


text:
Notch is not visible on the lockscreen

The notch does not display on the lockscreen .

I have read the FAQ and have seen the answer regarding the issue , I just wonder how the competing apps made it work ?
This may require additional permission which could be masked as accessibility application.

One workaround for users could be just adding the notch using the photoshop to the lockscreen wallpapers

Accessibility overlays show above all system layers, including the status bar. Blacking it out would cover the status bar entirely.

repo: zacharee/NachoNotch


text:
Fixing Main

I rewrote the last few PRs on main to fix performance on the multi-evaluation example.

replaced

repo: zadorlab/PySIDT


text:
Installation Failed - The extension encountered an error while starting up

Brackets Release 1.10 build 1.10.0-17483 (release 024bee94
OS : Mac OS 10.12.2
I've tried installing it from the extension registry - it failed.
I tried downloading the zip and installing with the zip - it failed.
Here is a screenshot of the brackets message:

Here is the console:

Have you tried restarting after it fails?
Or try installing manually (replace the repo name in the script) - https://github.com/zaggino/brackets-npm-registry#how-to-install-brackets-npm-registry

It ended up working after a restart. Even though I didn't do anything.

authors: moscoso zaggino

repo: zaggino/brackets-typescript


text:
Please upgrade to gnome 42

Thank you for your work on this extension.
Please consider updating it to support Gnome 42

fyi I've locally updated the version number in
/.local/share/gnome-shell/extensions/timepp@zagortenay333/metadata.json
to 42, so the shell-version part becomes:
  "shell-version": [
    "40",
    "41",
    "42"
  ],

And for what I use it, most things work...
One thing (I will create an issue for), is that I had a blocking screen, which I could not escape from, when I put the time (by accident) on big screen...
If others maybe can report back here if they have (other) issues, I'm happy to do an actual tiny PR (but I'm not not sure enough there are other issues in 42)

Ah, sorry, the full screen issue was already reported and seems not easy to fix:
https://github.com/zagortenay333/timepp/issues/179

@zagortenay333 is there any chance we can get a working version for Gnome 42, even if the full screen support is disabled under that version? I don't know about the other users, but for me this extension is really important and it's been a struggle for me to not have it available under Gnome 42...

@diogobaeder With due respect, you shouldn't make this extension important to you. This project is in extremely low maintenance mode and if it wasn't for volunteers it would be deprecated a long time ago. This extension should be used casually when/if it's available on a given version of gnome shell. Don't put all your eggs in this basket.

@zagortenay333 fair enough, I won't count on it then. Thanks for the heads up! 🙂

@diogobaeder I've just opened a pull request with the changes you described (https://github.com/zagortenay333/timepp/pull/192).
Please let me know if you find any issues.


text:
Cleaning up, when ctrl^c called.

Currently, this code just calls the Handle modules functions with stop signal, in case the status of service is active in the config file.
This makes sure that the status of all the modules/services are passive before exiting or closing bench-routes.
@Harkishen-Singh

@Harkishen-Singh I think we can merge this PR, as this ensures that the config file is restored, when bench-routes stops with ctrl^c.
We can implement the elimination of go routines with select statement in a following PR, as it requires some discussion regarding the design of various things such as:

Passing of channels through different packages.
Using of buffered channels for stopping goroutines
Switch statements is already doing the work of returning from the routine, in 1st layer, we will have to discuss regarding the implementation of select statements. Select statement implementation is good to go with the 2nd layer implementation.

P.S: 1st layer is the goroutine called in general handler, 2nd layer id the goroutine called in handlers such as handle_ping_start, etc.

@Harkishen-Singh Updates?

I think, we still have not achieved with this. Just ran ping and jitter and then ctrl^c, and it stopped ungracefully. Please have a look into this. If possible, pls make a working video.

repo: zairza-cetb/bench-routes


text:
feat: spread Table.Row props

closes #717

@moonayyur you should be able to merge the PR yourself now (I granted you the permissions for it)
Please "squash and merge" and improve the commit message as it is what is going to end up in the changelog.

@stropitek I'm still not authorized to merge the PR

authors: moonayyur stropitek

repo: zakodium-oss/react-science


text:
Option to change endpoints modules locations

Description
I have a decent amount of endpoints and I'd like to have them in a separated module rather than at the root of the project, unfortunately, I didn't find any solution to change the location where connexion looks for the flask views. I could have changed the operationId key in the swagger, but it wasn't suitable for the already existing front end app.
To work around this issue I created a wrapper around the RestyResolver and changed the behavior of the resolve_function_from_operation_id method to append the default module name to the importation path (see code below).
from connexion.resolver import RestyResolver

class CustomRestyResolver(RestyResolver):
    def resolve_function_from_operation_id(self, operation_id):
        operation_id = self.default_module_name + "." + operation_id
        return super().resolve_function_from_operation_id(operation_id)

Expected behavior
It should be possible to provide a root path for endpoints modules. Something like RestyResolver(root_path='path to endpoint views')
I expected default_module_name to serve as a root path for endpoints modules import.
Actual behavior
No option is available to change the default root path.
Additional info:
Output of the commands:

python --version: 3.6.0
pip show connexion | grep "^Version\:": 2.7.0

Hi @Ragnar-Oock, this is exactly what the default_module_name parameter does. Please provide a minimal working example if this doesn't work for you.

The default_module_name is only used when the operationId is not specified; when operationId is specified, it overrides the RestyResolver behaviour and the basic Resolver behaviour is used.
I'm not entirely sure this is something that connexion should provide, as I think it makes sense to just subclass the Resolver as you did.

authors: Ragnar-Oock RobbeSneyders Ruwann

repo: zalando/connexion


text:
remove type hint for options in App.run(...)

Fixes #645
@paulkernstock can you verify that this fixes your problem?

Fixes #645
@paulkernstock can you verify that this fixes your problem?

@dtkav Unfortunately not. There's another type hint at apps.flask_app.FlaskApp.run() that overrides the hint you changed in the abstract module.

@paulkernstock can you have another look? FYI I rebased onto dev-2.0 instead of master, as the release is imminent!

Fixed. Thanks!

@dtkav I merged this in dev-2.0 can you rebase your branch in master and resubmit the PR? Thanks

yeah - sure thing

#766

authors: dtkav jmcs paulkernstock


text:
Drop classifier again and go for additional info in version

Drop classifier again
Instead inject additional information into the version field

:+1:

:+1:

:+1:

authors: MALPI danielrohe

repo: zalando/failsafe-actuator


text:
Create subdistribution() function for MeasurementOutcomeDistribution

Our scientists often make use of more qubits than they measure at the end of their experiments (e.g. ancilla qubits). Currently, our MeasurementOutcomeDistributions (defined here) can become difficult to read if there are many other qubits that we really should just ignore.
We should solve this issue by adding a function subdistribution() which takes a list of qubit indices and returns the same MeasurementOutcomeDistribution with only the provided qubits. That is, we should sum all the counts associated with each outcome of the provided qubits.
@AthenaCaesura has written some ad-hoc code to modify a dictionary of counts to exclude qubits, but it would be nice if we incorporated this into a function which is callable from the distribution itself and returns a MeasurementOutcomeDistribution.
Deliverables:

[ ] Write subdistribution function as described above.
[ ] Write tests for subdistribution including cases where:

All the qubits remain active
Input list contains qubit indices not present in the original distribution.

Affected repo: orquestra-quantum

@fred5825  Feel free!

Awesome thank you @mstechly I was wondering if you would be at the unitaryhack office hours. So we could discuss more, I am new to hackathons and opensource, I don't know my way around much.

@AthenaCaesura Awesome thank you please let me know what time you are available to chat. Also to find the UH office hours is on the top of the discord page in events.

@fred5825 I added some timeslots for office hours, but it seems the website didn't auto-update yet. Keep an eye on it though!

@mstechly Awesome thank you and just to confirm, you mean the UH website right?

@fred5825  I mean here: https://unitary.fund/talks.html

Thank you I will check it out.

Hi @mstechly I was wondering if you could add this account to the issue the acount: fred5825 is my school account, I wanted to make the changes using me personal account. At the moment I can't commit my code because it says permission denied. Very sorry for the inconvenience.

@Renaud2002 @fred5825 I can't give you write access to the repository, as you're not Zapata employee, but this is not a really problem.
You can fork the repo and make a pull request from there, just follow the procedure described here :)

Yes of course I tried push it to my fork but this is the error that i encounter, I don't know why it says this

@mstechly I think I know why the issue is happening I think I might have maybe clone the actual repository instead of my fork.

@mstechly That was in fact the issue I am very sorry for the inconvenience, the pull request has been created.

@fred5825  No problem! I'll take a look tomorrow!

@mstechly Awesome thank you.

repo: zapatacomputing/orquestra-core


text:
chore: Remove 3.11 upper bound

chore: Remove Python 3.11 upper bound
tmp: install orquestra-python-dev from branch

Description
Include description of feature this PR introduces or a bug that it fixes. Include the following information:

Context: why is it needed? In case of bug, what was the cause for the bug?
Concise description of the implemented solution.
If any dependencies are added, list them and justify why they are needed.

Please verify that you have completed the following steps

[ ] I have self-reviewed my code.
[ ] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

Codecov Report
All modified lines are covered by tests :white_check_mark:
:loudspeaker: Thoughts on this report? Let us know!.

authors: codecov-commenter jamesclark-Zapata

repo: zapatacomputing/orquestra-quantum


text:
Travis-CI pypi distribution

https://docs.travis-ci.com/user/deployment/pypi
@bryanhelmig if you have pypi push access, do you have time to set this up later (or just travis encrypt the password,  and send that blob my way)?

Definitely - I'm catching up on stuff today/tomorrow.

Added via 0c63316041f7daa079f2ba99f6cabbc7f3c68c35

Awesome, thank you!
Deployed 0.5.9 successfully :)
On Thu, Sep 1, 2016 at 11:22 AM Bryan Helmig notifications@github.com
wrote:

Closed #22 https://github.com/zapier/email-reply-parser/issues/22.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zapier/email-reply-parser/issues/22#event-775388853,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP2p4ozYr04DTMh8TeReSGnOHuXSmvgks5qlvfYgaJpZM4Jxsvk
.

authors: bryanhelmig kageurufu

repo: zapier/email-reply-parser


text:
service not start at reboot

hi,
i installed forever-service in order to launch maildev at start.
i added maildev at service.
after i launched "service maildev start".
it works perfectly but when restart the system, the service is not launched.
I have to start this command every reboot :"service maildev start".
maybe i forget to execute a command.
thank you
PS: sorry for my english

Please look at #21 #2

impossible to do to work forever-service at start.
I tried everything, I do not see how? .is Can you help me?

Please describe steps you have done?
Also try running the forever-service command with -e "PATH=/usr/local/bin:$PATH" parameter. and check.

yes i try this command :
forever-service install maildev -s /usr/local/bin/maildev -e "PATH=/usr/local/bin:$PATH".
it works.thank you very much

repo: zapty/forever-service


text:
how to adjust the luck statistic

Hi,how can I adjust the chances of episodes on the wheel? for example, if Box A comes out with a 99% probability, box b comes out with a 1% probability

Hello.
Please take a look at this tutorial http://dougtesting.net/winwheel/docs/tut14_setting_the_prize
How exactly you would like to figure out the probability is up to you. Do you want it truly random? maybe you want to assign prizes from a pool in the database and once won the prize is no longer available?? there are many options.
One simple way would be to pick a random number between 1 and 100. If its 1-99 then its box A, if 100 then box B like discussed near the start of this article https://www.mathsisfun.com/percentage.html
Might be better ways to do it if you want a purely mathematical solution. Google is your friend in this case :)

authors: FlySquare zarocknz

repo: zarocknz/javascript-winwheel


text:
Dependency Issue for Kerchunk -> Icechunk via Virtualizarr

Hi all, I'm relatively new to using virtualizarr but have been developing tools using Kerchunk for some time, specifically a package around large-scale conversions in parallel for thousands of datasets in our data archives.
I'm attempting to use the Virtualizarr library to concatenate some NetCDF4 data into a virtual dataset, then write out as an Icechunk store to disk. My issue is that it seems Icechunk requires the new zarr v3 pre-release, but Kerchunk (used to create the virtual dataset) needs Zarr < 3. I've so far been unable to resolve this dependency issue. Any suggestions for how to go about solving this would be appreciated, thanks!
My example code:
from virtualizarr import open_virtual_dataset
vds = [open_virtual_dataset(f, indexes={}) for f in files]

import xarray as xr
combined_vds = xr.concat(vds, dim='time', coords='minimal', compat='override')

from icechunk import IcechunkStore, StorageConfig, StoreConfig, VirtualRefConfig
storage = StorageConfig.filesystem(str('combined'))
store = IcechunkStore.create(storage=storage, mode="w", config=StoreConfig(
    virtual_ref_config=VirtualRefConfig.s3_anonymous(region='us-east-1'),
))

combined_vds.virtualize.to_icechunk(store)

I either get an issue importing kerchunk (if I uninstall that to reinstall the zarr v3 pre-release) or an issue with zarr when trying to create the Icechunk store.

Matthew Iannucci has been helpfully tracking the compatibility between Icechunk, VirtualiZarr, and Kerchunk in https://github.com/earth-mover/icechunk/issues/197. The tl;dr is that until https://github.com/fsspec/kerchunk/pull/516 is completed/merged to add Zarr-Python v3 compatibility in Kerchunk one would need to work off Matt's fork and branch to use these libraries in the same environment, since icechunk requires Zarr-Python v3.

@maxrjones is correct that we're waiting on kerchunk to support zarr-python v3, and as icechunk requires zarr-python v3 currently the released versions of kerchunk and icechunk are incompatible. But as you're working with netCDF4 data you actually have a few different options:

As Max mentioned use the fork of kerchunk that Matt is maintaining for now (but some parts of kerchunk might not work on that branch yet). This is recommended for now if you want to try putting virtual datasets in Icechunk.
Try using @sharkinsspatial's non-kerchunk alternative HDF reader (https://github.com/zarr-developers/VirtualiZarr/pull/87), which should be able to read netCDF4 files. This doesn't require kerchunk to be installed so I think should work with zarr-python v3 (?) It is very new and experimental though. You have to explicitly opt in to using it viafrom virtualizarr.readers.hdf import HDFVirtualBackend

vds = open_virtual_dataset('file.nc', backend=HDFVirtualBackend)

Have 2 environments, one with kerchunk and zarr-python v2, and one with icechunk and zarr-python v3. You use the first to open and concatenate the files, then save them to disk using vds.virtualize.to_kerchunk('refs.json'). Then in the second environment you use open_virtual_dataset(refs.json, filetype='kerchunk'), then save that into icechunk. It's janky but it should work, because open_virtual_dataset(refs.json, filetype='kerchunk') doesn't actually require the kerchunk package as a dependency.
Just wait a few weeks and hopefully kerchunk will be updated, then you should be able to just use the released versions of everything together.

Hi both, thanks very much for the suggestions! I will attempt both the first and second solutions in the next few days, I'm just trying to get a picture of how it all works for now. Solution 3 suggested above has an additional issue that it can't be used where some variables/dimensions are written inline in the kerchunk file (i.e base64 encoded) - this is listed as a ToDo in the error message. Most of the kerchunk files we've produced have inline components for some dimensions as this is more performant than having to make many very small requests to compose a dimension.
Thanks again for the suggestions!

authors: TomNicholas dwest77a maxrjones

repo: zarr-developers/VirtualiZarr


text:
LZ4 in N5 vs Zarr

It appears that LZ4 support in N5 differs from Zarr. Have not had a chance to dive deeply into it, but here is the gist.
N5 is using the lz4-java library here to compress chunks. This lz4-java library provides its own custom blocked format.
Zarr's Numcodecs library uses LZ4_compress_fast, which comes from the lz4 C library.
Encountered this issue with N5Store in PR ( https://github.com/zarr-developers/zarr/pull/309 ). So disabled LZ4 support in N5Store for now. Not entirely sure how to bridge the gap between these two, but figured I'd raise this here for awareness and discussion.

cc @axtimwalde @funkey @constantinpape

Is there anything we still need to do on this one?

Hi @jakirkham I forgot about this one.  Would using LZ4FrameOutputStream in N5 work for zarr?  We could introduce this as a parameter like in GzipCompression to switch between Gzip and Zlib and then there is at least some intersection?

No worries. Me too. Thanks for looking into this. 🙂
I think so. We would have to test it on some data to be sure.
Sure that could be reasonable. I think we won't be able to reproduce the current Java blocked algorithm in Python, but as long as we have something in common we should be ok. Probably will need some documentation once it is all sorted out.

Hi folks, took a brief look into this, here's the options (I think)...
The current LZ4 codec in numcodecs does the simplest possible thing, which is to add a 4 byte header to store the length of the uncompressed data, then it compresses all the data in a single call to LZ4_compress_fast. So the output is 4 byte header + single block of compressed data.
The Java LZ4FrameOutputStream uses the LZ4 frame format, which has a different header + multiple blocks of compressed data + final checksum.
So option 1 would be that n5-java switches to use LZ4FrameOutputStream and we change numcodecs to also use the LZ4 frame format. (In numcodecs that would actually need to be implemented as a new codec, because it is a different format from the current "lz4" codec.)
Option 2 would be that n5-java switches to use the same encoding as the current numcodecs lz4 codec, i.e., 4 byte header plus single block of compressed data.
Both approaches are fine by me, just trying to lay out the options.

Is there still an outstanding issue here? We were discussing this at the OME-Zarr NGFF meeting.

I am pretty sure that is still a problem; lz4 is not supported in the zarr N5Store yet, see https://github.com/zarr-developers/zarr-python/blob/master/zarr/n5.py#L403-L469.

authors: alimanfoo axtimwalde constantinpape jakirkham mkitti

repo: zarr-developers/numcodecs


text:
🛑 Wiki - https://wiki.zasfe.com/ is down

In 93e58f5, Wiki - https://wiki.zasfe.com/ (https://wiki.zasfe.com) was down:

HTTP code: 521
Response time: 211 ms

Resolved: Wiki - https://wiki.zasfe.com/ is back up in 02a0ffe after 1 hour, 21 minutes.


text:
Remove Item Overview Page

Situation
User have a permission to entry Item Overview from Awesome bar
Action need:
Remove Item Overview Permission from User

Following Issue
When User search module from Awesome bar, it appear the sidebar menu from frappe that we have config to hidden this sidebar.

I can confirm that the sidebar is removed from Super Admin but not for other normal admin user @deviljutt need to fix this

Fixed. but john need to create dashboard

repo: zaviagodev/frappe


text:
Prepare test case for CI on cluster

This full-size workflow test case should use huge, real-life test files.

But not on CI for the moment - just prepare a manual run. I think this and #19 are really one issue, given that completion of a test case preparation implies that the test also runs successfully.

Did you look at the error traceback? It should tell you where in the call stack the error happns. And that should hopefully allow you to get to the bottom of this. With just the final error, it's very difficult to say anything.
So please try again understanding what exactly is going wrong: Which .split()? And what is the value of the object we are calling it on? And why is it a list when it should be a string?
Even if you can't get to the bottom of it, you should be able to get much more information than what you shared here. You can then ask one of the Snakemake/cluster experts in the lab to help you debug.

It turns out to be an installation error; solved by installing mamba.

In order to run the test script on the cluster the following files where created:

genome.fa.gz. This file contains the whole chromosome 19 instead of just a region.
gene_annotations.gtf.gz. This file contains the gene annotations for the whole chromosome 19. It has been filtered by transcript support levels 1, 2 and 3.
mirna_annotations.gff3. This file contains all the annotated mirnas for the chromosome 19.
test_lib. The testing library contains all the sequences in the repo library and all the sequences used in the report of edge cases in #6.

Now if you add to that a real miRNA-Seq library (full-sized; any will do, but of course it has to be from the same organism), and spike in the test_lib (i.e., uncompress library .fa.gz file, concatenate your test library, zip up again), then I think you have a nice full-sized test set :)

authors: deliaBlue uniqueg

repo: zavolanlab/mirflowz


text:
make sure writes to the store are done in the right order

Writing to multiple graphs could have cased an error, cause the read function is entered before the last read finished and the last variable is messed up. This PR makes sure read is called in order by adding mutex. The tests have also been fixed. Before a loop over the sent content was done, so missing expected graph data was not detected. Now the loop is done over the expected data.

Codecov Report

Merging #13 into master will increase coverage by 0.05%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   97.84%   97.90%   +0.05%
==========================================
  Files           7        7
  Lines         186      191       +5
==========================================
+ Hits          182      187       +5
  Misses          4        4

Impacted Files
Coverage Δ

StreamStore.js
97.01% <87.50%> (+0.24%)
:arrow_up:

Continue to review full report at Codecov.

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

With the fixes in the unit test which are part of the PR, it was possible to reliable reproduce the problem.

authors: bergos codecov-io

repo: zazuko/sparql-http-client


text:
暂时删除不完善的插件系统

go原生的插件库plugin不支持多平台

完成，关联提交:d7f3171dfba14583290bd61a3675708062997411


text:
Still not translated into Japanese. Please test it.

Still not translated into Japanese.
Please test it.

japanese added
thx!


text:
New Zed version just shows a blank magenta window

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it

Download current zed version (0.118.1, according to the Info.plist)
Move to /Applications
Open Zed.app
Behold; magenta screen

Environment
(can't run a command palette action, since I can't see anything in the zed window!)
I'm on a M1 macbook air / 16GB ram / macos 13.4.1 (c) (22F770820d)
If applicable, add mockups / screenshots to help explain present your vision of the feature

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.
Zed.log

@joshuawarner32 Thanks for the report, and sorry for the truly bizarre experience. Does Zed 0.117.0 have this problem for you?

I think I had just gotten an update, so I assume I was previously on 0.117 (or maybe one more version back, but I've been keeping up pretty closely with the new releases).
Anyway... I just decided to try to simple thing of turn-it-off-and-turn-it-back-on-again (the computer, that is) - and... I can no longer repro.
I kinda suspect there may have been some corrupted state in the video driver or something. It's perhaps mildly interesting that no other apps seemed to be misbehaving like this. Maybe zed is the only thing that touches whatever state was corrupted? Probably not important. I'll re-open if I can somehow find a repro.
Sorry for the noise, and thanks for making a cool editor. 😄

repo: zed-industries/community


text:
The number of limited uses of a feature are not directly editable from the character sheet

I believe this is a bug, because the text itself in the stat block is editable, but the variable behind the scenes does not change.
In other words, you can type (3, 3/Day) into the stat block, but the actual uses remaining will be 0, 3/Day, which, of course, means that trying to use the feature, even when the stat block says there are three uses remaining, will not work—the user will be told there are no uses remaining.

Well that's not good. Can you verify this behavior with no other modules enabled? And are there any errors in the console when you edit the values?

Yep, I turned off all other modules and there was no improvement.
And yes, there is an error.

A similar, but different issue, is also affecting the recharge feature. Rolling the number to recharge a feature doesn't change any variables behind the scenes, and the ability is still disabled.


text:
Error when other plugins manage windows.

I saw the following error multiple times - when using ctrl-p and closing the ctrlp window via ctrl-c. Do you have any ideas?

It seems that wintabs is accessing a window that no longer exists, which results in this NPE. I just landed a possible fix (fixing the NPE) but not sure if it fixes the actual problem, can you try it?

I think this might have fixed it! Thank you.

authors: jordwalke zefei

repo: zefei/vim-wintabs


text:
Lazy Loading of dynamic images not showing with "self component navigation"

I'm using Swiper Wrapper with lazy loading in a component that dynamically fetch for images from an API (using a Resolver), and I found that when the component updates with new data Swiper reacts making the current image disappear, but never show the new one, leaving the swiper-lazy-preloader visible for ever (or at least until you swipe).
I replicate the problem here https://stackblitz.com/edit/swiper-is-too-lazy. If you navigate from /pics/dogs to /pics/cats (or viceversa) you can see the problem.
I already discarded the routing and resolver side, and I check different Swiper configurations (jic) without any success. My wild guess is that this have something to do with the wrapper using ngZone.runOutsideAngular for slide updates, but I don't really know much about that yet.
I'm not sure if this is an actual bug in the wrapper, in Swiper, or there is something wrong with my code. Any help will be appreciated.

The runOutsideAngular is just to avoid unnecessary Angular change detection calls it does not effect the working of Swiper. The problem is most likely that since the component (and Swiper) is not re-created when the route changes, but its slides does change. Swiper does not like almost anything dynamic which makes it bit difficult to use with Angular.
I was able to make your example work by adding call to Swiper instances lazy.load() to force the loading of the active slide after the slides were updated to the dom:
ngOnInit() {
    this.route.data.subscribe(data => {
      this.animalName = data.animal.name;
      this.animalImages = data.animal.images;
      this.cdRef.detectChanges();
      if (this.swiperDirectiveRef.swiper()) {
        setTimeout(() => {
          this.swiperDirectiveRef.swiper().lazy.load();
        }, 0);
      }
      // console.log(this.swiperDirectiveRef);
    });
  }

So I would say that this is a "feature" of Swiper that it does not like if the content changes dynamically.

Sorry for the delay.
Thank you very much for the info and the workaround.
I'm closing the issue as resolved :+1:

Hi @sconix ,
How can I use swiperDirectiveRef in self component navigation will you please elaborate

Not sure what do you mean, there are example in example app if you are asking how to use directive ref.

Hi @sconix ,
i am using like this
<swiper *ngIf="!commonService.showDefaultImage" class="swiper-container" [config]="config" [(index)]="index" (init)="onIndexChange(productDetail.productMediaImage.length)">
<div *ngFor="let productMediaImage of productDetail.productMediaImage" class="position-relative">

<img [attr.data-src]="productMediaImage.media_url.web.medium" alt="" class="swiper-lazy img-fluid">

in component
import { SwiperDirective , SwiperConfigInterface }  from 'ngx-swiper-wrapper';
@ViewChild(SwiperDirective) swiperDirectiveRef: SwiperDirective;
public config:SwiperConfigInterface = {
observer: true,
direction: "horizontal",
mousewheel: false,
scrollbar: false,
navigation: false,
pagination: true,
preloadImages: false,
lazy:true
};
console.log('test',this.swiperDirectiveRef) -----> getting undefined
this.cdRef.detectChanges();
if (this.swiperDirectiveRef && this.swiperDirectiveRef.swiper()) {
setTimeout(() => {
this.swiperDirectiveRef.swiper().lazy.load();
}, 0);
}
but i am getting undefined for this.swiperDircetiveRef

Thats not how the referencing works in angular. check the example app carefully how to do it. You are trying to reference a component as a directive.

Hi @sconix ,
i found workaround for it ,
<swiper #productWrapper *ngIf="!commonService.showDefaultImage" class="swiper-container" [config]="config" [(index)]="index" (init)="onIndexChange(productDetail.productMediaImage.length)">

In component
@ViewChild('productWrapper') public productWrapper: any;
if (this.productWrapper.directiveRef.swiper()) {
setTimeout(() => {
this.productWrapper.directiveRef.swiper().lazy.load();
}, 0);
}
but this code not working on ios devices

Thats not workaround thas how it should be done. Well at least almost, you can type the productWrapper to be type of SwiperComponent instead of any. If thats not working on iOS devices I suspect that you have found a Swiper bug.

Hi @sconix I have tried using  productWrapper as type SwiperComponent but it is not working for iOS devices.
@ViewChild('productWrapper') public productWrapper: SwiperComponent;
is there any other way to do it for iOS devices or any Other method for reinitialised swiper on self component navigation.

As I said I think that you have run into Swiper bug so you might need to ask around Swiper isues / forums. Since when calling functions from Swiper instance are not working then this wrapper should not have any effect on that specially if they work on desktop.

Hi @sconix ,
I solved it for iOS devices by updating swiper like this this.productWrapper.directiveRef.swiper().update();
In component
if (this.productWrapper && this.productWrapper.directiveRef.swiper()) {
// console.log('test',this.productWrapper.directiveRef.swiper().update())
setTimeout(() => {
if (this.commonService.isIosDevice()) {
this.productWrapper.directiveRef.swiper().update();
}
this.productWrapper.directiveRef.swiper().lazy.load();
}, 0);
}

authors: Salman4code sconix sebslgi

repo: zefoy/ngx-swiper-wrapper


text:
Improve site's accessibility

I improved hyper-site's accessibility score by lighthouse.
This improvement solves a part of #171
I did

add alt attribute to img tag
add lang attribute to html tag

before

after

📝Changed routes:

/

(view full size)

Commit d32b3294b84bf87f887f154a9d5d2139a72b1945 (https://hyper-site-git-fork-shinyaigeek-dev-improve-accesibility.zeit.now.sh).

This looks great @Shinyaigeek would you mind resolving conflicts and bringing this PR up to date?

@pacocoursey thank you for replying 🙏 I resolved conflicts and updated this PR.

authors: Shinyaigeek pacocoursey zeit-team

repo: zeit/hyper-site


text:
Update expandSelection

My PR #975 missed the parameter in copyStringToClipboard() function.
CLOSE #1089

@matheuss This can be merged haha 😞 Made a small mistake on previous PR

Thank you @ppot 🙌

@matheuss what is your release cadence? Is this something I should run Hyper off the master branch for or is it worth waiting for an official release?

@HeathNaylor it's worth to wait for the release – it's being shipped very soon 😄

I just came across this and was about to ask the same question. Thanks @HeathNaylor for beating me to it.
This should update automatically, right?

authors: HeathNaylor deitch matheuss ppot

repo: zeit/hyper


text:
Using next/link, unhandled rejection when importing css to page

Currently using next-css in my application. When I'm importing a css directly onto a page under the /pages directory, I'm currently getting an error Unhandled Rejection (TypeError): Cannot read property 'call' of undefined when I utilize the next/link to navigate to different pages. When I switch the <Link> to a <a> it works without any issue.
To replicate use this project: https://github.com/bryan/next-link-error

Run npm install
Run npm run dev
In the footer, click the link About

×
Unhandled Rejection (TypeError): Cannot read property 'call' of undefined
__webpack_require__
./webpack/bootstrap:789
  786 | // Execute the module function
  787 | var threw = true;
  788 | try {
> 789 | 	modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  790 | 	threw = false;
  791 | } finally {
  792 | 	if(threw) delete installedModules[moduleId];
View compiled
fn
./webpack/bootstrap:150
  147 | 		);
  148 | 		hotCurrentParents = [];
  149 | 	}
> 150 | 	return __webpack_require__(request);
  151 | };
  152 | var ObjectFactory = function ObjectFactory(name) {
  153 | 	return {
View compiled
./pages/discover.js
./pages/discover.js:13
  10 | import Session from '../client/session';
  11 | import Helper from '../client/helper';
  12 |
> 13 | import '../css/discover.css';
  14 |
View compiled
__webpack_require__
./webpack/bootstrap:789
  786 | // Execute the module function
  787 | var threw = true;
  788 | try {
> 789 | 	modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  790 | 	threw = false;
  791 | } finally {
  792 | 	if(threw) delete installedModules[moduleId];
View compiled
fn
./webpack/bootstrap:150
  147 | 		);
  148 | 		hotCurrentParents = [];
  149 | 	}
> 150 | 	return __webpack_require__(request);
  151 | };
  152 | var ObjectFactory = function ObjectFactory(name) {
  153 | 	return {
View compiled
6
http://localhost:3000/_next/static/development/pages/discover.js:68480:18
__webpack_require__
./webpack/bootstrap:789
  786 | // Execute the module function
  787 | var threw = true;
  788 | try {
> 789 | 	modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
  790 | 	threw = false;
  791 | } finally {
  792 | 	if(threw) delete installedModules[moduleId];
View compiled
checkDeferredModules
./webpack/bootstrap:45
  42 | 	}
  43 | 	if(fulfilled) {
  44 | 		deferredModules.splice(i--, 1);
> 45 | 		result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
  46 | 	}
  47 | }
  48 | return result;
View compiled
Array.webpackJsonpCallback [as push]
./webpack/bootstrap:32
  29 | 	deferredModules.push.apply(deferredModules, executeModules || []);
  30 |
  31 | 	// run deferred modules when all chunks ready
> 32 | 	return checkDeferredModules();
  33 | };
  34 | function checkDeferredModules() {
  35 | 	var result;
View compiled
▶ 4 stack frames were collapsed.
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.

This could be related to https://github.com/zeit/next-plugins/issues/244
ie to the fact that importing a css file creates a dummy js module, not just styles.css (or whatever).

@kachkaev Ah yes. Looks pretty similar. I simply used the search for my error and created this when no searches came up. Didn't notice the issue you provided. I'll be closing this on behalf of #244. Thanks!

authors: bryan kachkaev

repo: zeit/next-plugins


text:
next-css & next-typescript

Hi.
I can't use next typescript with next css.
I tried :

with next compose plugins
with next-canary
with extract text webpack plugins
some other webpack plugins

With no success. Does anyone have the same problem ?
const withPlugins = require('next-compose-plugins')
const withTypescript = require('@zeit/next-typescript')
const withCSS = require('@zeit/next-css')

module.exports = withPlugins([withTypescript,withCSS])

Error :
UnhandledPromiseRejectionWarning: Error: Chunk.entrypoints: Use Chunks.addGroup instead

Should be fine if you use latest next-css + Next 7

authors: romainquellec timneutkens


text:
Syntax Highlight compilation errors

Code frame of babel compilation errors includes ansi colors, so we'd like to add syntax highlight instead of just stripping it.
We can use https://www.npmjs.com/package/ansi-html

Should be fairly simple. I can take a swing at it.

As #195 was reverted, I think, this issue should be reopened.

authors: dstreet frol nkzawa


text:
Update TypeScript API routes tests

This adds a couple additional tests from the below PR to ensure we handle TypeScript API routes correctly
x-ref: https://github.com/zeit/next.js/pull/11988

Stats from current PR

Default Server Mode (Increase detected ⚠)

General

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

buildDuration
10.1s
10.8s
⚠ +695ms

nodeModulesSize
55.2 MB
55.2 MB
✓

Page Load Tests Overall increase ✓

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

/ failed reqs
0
0
✓

/ total time (seconds)
1.778
1.761
-0.02

/ avg req/sec
1406.13
1419.99
⚠ +13.86

/error-in-render failed reqs
0
0
✓

/error-in-render total time (seconds)
1.043
1.025
-0.02

/error-in-render avg req/sec
2396.86
2439.95
⚠ +43.09

Client Bundles (main, webpack, commons)

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

main-HASH.js gzip
6.25 kB
6.25 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

de003c3a9d30..45d6.js gzip
10.3 kB
10.3 kB
✓

framework.a1..NSE.txt gzip
220 B
220 B
✓

framework.a1..NSE.txt gzip
220 B
220 B
✓

framework.HASH.js gzip
39 kB
39 kB
✓

Overall change
56.7 kB
56.7 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

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

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

de003c3a9d30..dule.js gzip
6.87 kB
6.87 kB
✓

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

Overall change
51.4 kB
51.4 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
ijjk/next.js update/api-type-test
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 update/api-type-test
Change

_app.js gzip
1.23 kB
1.23 kB
✓

_error.js gzip
3.12 kB
3.12 kB
✓

hooks.js gzip
663 B
663 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
2.06 kB
2.06 kB
✓

routerDirect.js gzip
280 B
280 B
✓

withRouter.js gzip
278 B
278 B
✓

Overall change
7.85 kB
7.85 kB
✓

Client Pages Modern

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

_app.module.js gzip
598 B
598 B
✓

_error.module.js gzip
2.09 kB
2.09 kB
✓

hooks.module.js gzip
383 B
383 B
✓

index.module.js gzip
223 B
223 B
✓

link.module.js gzip
1.52 kB
1.52 kB
✓

routerDirect..dule.js gzip
279 B
279 B
✓

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

Overall change
5.37 kB
5.37 kB
✓

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/api-type-test
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 update/api-type-test
Change

index.html gzip
929 B
929 B
✓

link.html gzip
938 B
938 B
✓

withRouter.html gzip
925 B
925 B
✓

Overall change
2.79 kB
2.79 kB
✓

Serverless Mode

General

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

buildDuration
10.7s
10.6s
-160ms

nodeModulesSize
55.2 MB
55.2 MB
✓

Client Bundles (main, webpack, commons)

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

main-HASH.js gzip
6.25 kB
6.25 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

de003c3a9d30..45d6.js gzip
10.3 kB
10.3 kB
✓

framework.a1..NSE.txt gzip
220 B
220 B
✓

framework.a1..NSE.txt gzip
220 B
220 B
✓

framework.HASH.js gzip
39 kB
39 kB
✓

Overall change
56.7 kB
56.7 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

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

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

de003c3a9d30..dule.js gzip
6.87 kB
6.87 kB
✓

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

Overall change
51.4 kB
51.4 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
ijjk/next.js update/api-type-test
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 update/api-type-test
Change

_app.js gzip
1.23 kB
1.23 kB
✓

_error.js gzip
3.12 kB
3.12 kB
✓

hooks.js gzip
663 B
663 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
2.06 kB
2.06 kB
✓

routerDirect.js gzip
280 B
280 B
✓

withRouter.js gzip
278 B
278 B
✓

Overall change
7.85 kB
7.85 kB
✓

Client Pages Modern

zeit/next.js canary
ijjk/next.js update/api-type-test
Change

_app.module.js gzip
598 B
598 B
✓

_error.module.js gzip
2.09 kB
2.09 kB
✓

hooks.module.js gzip
383 B
383 B
✓

index.module.js gzip
223 B
223 B
✓

link.module.js gzip
1.52 kB
1.52 kB
✓

routerDirect..dule.js gzip
279 B
279 B
✓

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

Overall change
5.37 kB
5.37 kB
✓

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/api-type-test
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
ijjk/next.js update/api-type-test
Change

_error.js
558 kB
558 kB
✓

404.html
4.18 kB
4.18 kB
✓

hooks.html
3.81 kB
3.81 kB
✓

index.js
558 kB
558 kB
✓

link.js
595 kB
595 kB
✓

routerDirect.js
587 kB
587 kB
✓

withRouter.js
587 kB
587 kB
✓

Overall change
2.89 MB
2.89 MB
✓


text:
'os is not defined' error on windows

I have a project here which builds fine for mac & linux. Both executables work flawlessly but the windows versions seem to always error with:
$ ./vsl
pkg/prelude/bootstrap.js:1080
      throw error;
      ^

ReferenceError: os is not defined
    at getSupport (C:\snapshot\VSL\lib\cli\colorSupport.js:18:25)
    at Object.<anonymous> (C:\snapshot\VSL\lib\cli\colorSupport.js:72:13)
    at Module._compile (pkg/prelude/bootstrap.js:1151:22)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at Module.require (pkg/prelude/bootstrap.js:1061:31)
    at require (internal/module.js:20:19)

when loading os module. Is the os module not supported?

Pleas try again with pkg@4.1.4. Also add libraries directory to package.json pkg.assets

authors: igorklopov vihanb

repo: zeit/pkg


text:
Add support to set sendOptions on /static

Wouldn't it be nice to set for example max-age on files served from /static?
I think it would be nice to let the users set on their custom servers the sendOptions parameter.
How irreal is to add this feature? For example we can do something like:
/* server/index.js */
export default class Server {
  constructor ({ dir = '.', dev = false, staticMarkup = false, quiet = false, conf = null, staticConfig = null} = {}) //staticConfig is sendOptions object
{
.
.
.
    this.staticConfig = staticConfig
.
.
.
  defineRoutes () {
    const routes = {
      '/static/:path*': async (req, res, params) => {
        const p = join(this.dir, 'static', ...(params.path || []))
        await this.serveStatic(req, res, p, this.staticConfig)
//send this parameter the whole way up to send call
      }
    }
  }
.
.
.
  async serveStatic (req, res, path, staticConfig) {
    if (!this.isServeableUrl(path)) {
      return this.render404(req, res)
    }

    try {
      return await serveStatic(req, res, path, staticConfig) //same here
    } catch (err) {
      if (err.code === 'ENOENT') {
        this.render404(req, res)
      } else {
        throw err
      }
    }
  }
.
.
.

/* server/render.js */
.
.
.
export function serveStatic (req, res, path, staticConfig) {
  return new Promise((resolve, reject) => {
    send(req, path, staticConfig) //finally we could attach this opt file to send's call
    .on('directory', () => {
      // We don't allow directories to be read.
      const err = new Error('No directory access')
      err.code = 'ENOENT'
      reject(err)
    })
    .on('error', reject)
    .pipe(res)
    .on('finish', resolve)
  })
}
.
.
.

You can already do this in your custom server by simply defining the /static route and setting the headers there? 🤔

Oh, maybe I was just missing something, I thought it wouldn't work and probably when I tried did something wrong. I've been just serving another folder like:
    server.use(
      '/assets',
      express.static(__dirname + '/assets', {
        maxage: dev ? '0' : '365d'
      })
    );

@timneutkens Oh, sorry, I just noticed this is Styled-JSX repo and not Next.js repo. I'm gonna close it. Thanks anyways :)

👍 I didn't notice too :joy:

authors: MFCo timneutkens

repo: zeit/styled-jsx


text:
Update openapi.yaml

Notes/To do's:

[x] Both POST and GET /zelflux/broadcastmessage need to be looked at. Not sure what the request body should look like nor what should be in the ?data=xxxx parameter. Left media type as text/plain and data as a string. May want to also change the example. Left a hex-encoded in the example commented out that will decode to HelloWorld although I am pretty sure that is not the type of data messages to be sent. Description should also be changed as I have left it as The message as I don't know what data should contain in the message.
[x] Same as above with POST and GET /zelflux/broadcastmessagetooutgoing and POST and GET /zelflux/broadcastmessagetoincoming
[x] A better description for GET /zelid/emergencyphrase as I am not sure in what scenerio this would be used.
[x] Did not document both POST and GET /zelcash/submitblock as not sure what hex-encoded data should be in the parameter.
[x] Check both POST and GET /zelcash/createmultisig permissions level as it is set to PUBLIC at the moment but seems it should be at the ADMIN level. Don't think you could create a multisig without knowing if the keypool of the node has the public key/keys of the addresses and only the ADMIN should know this info. If you try to use an address that don't belong to the node it will return with an error.
[x] Did not document GET /zelapps/zelappregister and GET /zelapps/zelapppull not sure if it's functional. Also GET zelapps/zelappexec as I came across errors since I am not sure what to test with in the cmd and env arrays.
[x] Did not document GET /zelcash/zmergetoaddress as I couldn't get it to work.
[x] Correct spelling of the word successfully as of now it stands as succesfully on response message of zelappstart, ...stop, ...restart, ...kill, ...containerremove, ...pause, ...unpause, ...remove, ...imageremove
[ ] Check description for GET /zelflux/dosstate
[ ] Check if format is set right for GET zelapps/zelshare/getfile
[ ] Check jsonrequestobject parameter example for GET /zelcash/getblocktemplate call and make changes if not correct
[ ] Both POST and GET /zelcash/sendmany needs to be looked at as I wasn't able to make the subtractfeefrom parameter work as an array but seems to work as a boolean. Please check in case I am wrong. Left description for array commented out to make it easier to make changes if needed and remember to delete commented description if boolean method is correct.
[ ] Add to available values of the benchmarktype parameter in the /zelcash/zcbenchmark call. Only listed ones I was able to get a successful response.
[ ] List objects for walletconflicts in components section as I couldn't get figure out what the objects were if it did return one in the case of conflicts
[ ] Possibly give reference credit to https://docs.docker.com/engine/api/v1.40/ as most of the descriptions for /zelapps calls are from their docs.

Did not document any error responses
Deprecated/useless calls that was not documented:

GET /zelcash/znsync
GET /zelcash/decodezelnodebroadcast
GET /zelcash/getzelnodescores
GET /zelcash/getzelnodewinners
GET /zelcash/relayzelnodebroadcast
GET /zelcash/createzelnodebroadcast
GET /zelcash/zelnodedebug
POST and GET /zelcash/sendfrom
POST and GET /zelcash/zcrawjoinsplit
POST and GET /zelcash/zcrawreceive
GET /zelcash/zcrawkeygen
GET /zelcash/zcsamplejoinsplit

Duplicate operationId's to check:

/zelcash/getbenchmarks zelbench/getbenchmarks
/zelcash/reindexzelcash zelnode/reindexzelcash
/zelcash/start /zelnode/startzelcash
/zelcash/restart /zelnode/restartzelcash
/zelcash/stop /zelbench/stop (these don't do the same)

Amazing job!
Some Tick Boxes answers:

broadcasting messages is not yet entirely finalised and may not be available via api in the end. Now they are present just for testing purposes. Fluxes do not react to those messages at all, just sort of say message received and display it. Documentation not needed then

standard /zelid/loginphrase goes through many checks. If zelcash is available, mongo, docker, dos state and many more. It serves the purpose of saying that flux is fully operational. Sometimes we want to log in to the node if flux is not fully operation, for example admin wants to log in to fix the node, restart zelcash and so on. In case of some errors, /zelid/loginphrase responds with the error. But /zelid/emergencyphrase always tries to respond with a login phrase to allow logging in.

An example for creation of multisig address. This method shall remain public.

zelcash-cli createmultisig 2 "[\"023ba403d8b555f09912ec51165fb08b432d409f25f0bfce11932d5f0c4cac69c2\",\"0303574570247096bdd9f1e8c827b71856894757b5dcf669277fefbf48c1b73612\"]"
{
  "address": "t3bxSmVGguUuj8GVGU6mR98dCWzpArT2XtS",
  "redeemScript": "5221023ba403d8b555f09912ec51165fb08b432d409f25f0bfce11932d5f0c4cac69c2210303574570247096bdd9f1e8c827b71856894757b5dcf669277fefbf48c1b7361252ae"
}

As an example for hex encoded data of submitblock we can use any available block already present on zelcash chain. So the data is hex of that block.

zelapps calls are still in development so no need for documentation as of now. Will be corrected with calls finalisation

Seems like z_mergetoaddress is still experimental, so probably shall not be even part of Flux.

Spelling of successfully corrected in Flux v0.61

Others:
Yes some calls are duplicate and available on multiple api endpoints but do the same. This was just to make it more convenient according to some logic. Eg. I want to start zelcash, so Flux needs to basicall execut zelcashd so it is flux/zelnode call to make - thus available on /zelnode/ section as its not using a daemon call. But since its like zelcash related I added it to /zelcash/ as well.

Here are some of my notes to zelcash daemon and findings around them when calls were implemented. Since calls are basically the same as zcashes, it touches both zelcash and zcash.

getblock - correct zcash - verbosity is number, error says its not boolean
gettxout - help does not say if includemempool is false or true by default. Default is true
setgenerate help does not show defaul genproclimit
getrawtransaction - verbose is numeric instead of boolean
listreceivedbyaddress does not show optional inlcudeWatchonly + capital
listsinceblock doesnt show default values
listunspent addressses are not shown as optional
sendmany - amounts, substractfeefromamount are objects, missing '' for defaul comment Furthermore address in help is not valid
sendtoaddress doesnt show default '' values for comments
sendfrom - missing '' defaults for comments
settxfee - what is the default value and is it per kb? Does it reflect to z addresses?
z_getbalance does not says that address is required
z_getoperationsresult help wants array but shown string - doesnt show that empty array is default
z_getoperationstatus help wants array but shown string - doesnt show that emtpy array is default
z_listreceivedbyaddress does not say that address is required
z_listunspent - check
z_setmigration wierd symbols
zcbenchmark help is not documented

repo: zelcash/zelfluxdocs


text:
Hi, Seungmo Koo

Hi,
I'm sorry to contact you like this, i just cant find any of your contact data.
I saw this old post [http://bowling-bash.blogspot.com/2012/06/teras-free-targetting-combat-server.html] of TERA's server architecture where you answered some question on the world server's architecture.
As you guys used the symmetric worker-threads approach with the world replica in each worker (TLS),
-How did you handled the concurrency problems? like if one player generates movement packets the world server is responsible for the collecting of [de-spawned, spawned, updated] players so if multiple worker threads got different movement packets for same player and each generated clusterUpdateTask how did you handled that concurrency problems?

on the clusterUpdateTaskFinalizedCallback? but that still suffers from concurrency problems

Please help me out.
My Email Address: balannarcis96@gmail.com
My Skype:balan.narcis1
Thank you very much.
Have a great day,
Narcis

Did you processed the MovementPackets through the players LFE?
If so, does that suffice?

repo: zeliard/GameLift


text:
Example for dockerized nodejs monorepo

I am trying to use Bazel to develop dockerized nodejs apps on a local kubernetes cluster.
Seems like the Bazel way is to compile all sources and dependencies down into a single js file and then add that to the container. That seems to work fairly well till:

you have a native node module
your IDE is not aware of node_modules installed by bazel
your IDE is not aware of bazel dependencies (the ts language server is not aware of bazel deps from ts_library targets)

I am not sure how to solve issue 1 yet. Figuring out which of your node modules are native seems difficult, and then creating a docker image that has them compiled with the correct toolchain seems like something that Bazel isn't all that good at yet.
Issue 2 can be solved by running a yarn install at the workspace root as long as everyone is willing to put all npm dependencies in the package.json at the repo root.
The only way to solve issue 3 seems to be to use path mapping or project references in your tsconfig.json file.
I would really appreciate an example of a monorepo that produces nodejs docker images from someone more experienced in Bazel. Bonus points if it can use something like skaffold for quick development iteration.
Currently, for a dockerized nodejs app I am using something like:
./WORKSPACE
git_repository(
    name = "bazel_javascript",
    remote = "https://github.com/zenclabs/bazel-javascript.git",
    tag = "0.0.23",
)

git_repository(
    name = "build_bazel_rules_nodejs",
    remote = "https://github.com/bazelbuild/rules_nodejs.git",
    tag = "0.10.0",
)

load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")

node_repositories(
    package_json = [],
)

load(
    "@io_bazel_rules_docker//container:container.bzl",
    "container_pull",
    container_repositories = "repositories",
)

container_repositories()

container_pull(
    name = "node_alpine_image",
    registry = "index.docker.io",
    repository = "library/node",
    tag = "8.11.3-alpine",
)

./BUILD.bazel
package(default_visibility = ["//visibility:public"])

exports_files(["tsconfig.json"])

load("@bazel_javascript//:defs.bzl", "npm_packages")

npm_packages(
    name = "packages",
    package_json = ":package.json",
    yarn_lock = ":yarn.lock",
)

./libs/shared-package/BUILD.bazel
package(default_visibility = ["//visibility:public"])
load("@bazel_javascript//:defs.bzl", "ts_library")

ts_library(
    name = "shared-package"
    srcs = glob("**/*.ts")
    tsconfig = "//:tsconfig.json"
)

./services/base-image/BUILD.bazel
package(default_visibility = ["//visibility:public"])

load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push")

## The Backend Base Image
container_image(
    name = "service",
    base = "@node_alpine_image//image:image",
    labels = {
        "org.label-schema.schema-version": "1.0",
        "org.label-schema.vendor": "MyCompany",
        "org.label-schema.url": "http://my-company.com/",
        "org.label-schema.vcs-url": "https://github.com/MyCompany/this-repo",
        "org.label-schema.vcs-ref": "{GIT_COMMIT}",
    },
    stamp = True,
    workdir = "/app",
)

./services/my-service/BUILD.bazel
package(default_visibility = ["//visibility:public"])

load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push")

container_image(
    name = "image",
    base = "//services/base-image:service",
    data_path = ".",
    directory = "/app",
    files = [
        "//services/my-service/server",
    ],
    labels = {
        "org.label-schema.vcs-ref": "{GIT_COMMIT}",
    },
    stamp = True,
)

container_push(
    name = "publish",
    format = "Docker",
    image = ":image",
    registry = "my.repo.com",
    repository = "my-service",
    stamp = True,
    tag = "{BUILD_USER}",
)

./services/my-service/server/BUILD.bazel
load("@bazel_javascript//:defs.bzl", "ts_library")

ts_library(
    name = "server_lib",
    srcs = glob(["**/*.ts"]),
    tsconfig = "//:tsconfig.json",
    deps = [
        "//:packages",
        "//libs/shared-package",
    ],
)

I've just published v0.0.24 which should work with the example in
721c617.
Let's keep this issue open as the approach is still quite suboptimal (running npm rebuild on container launch, and not at build time).

fwouts, mind explaining in high level what your example does? Why do you need a new workspace?
We're putting a lot of effort to use bazel on our company which uses a monorepo with a couple of apps being developed in react native using Typescript. We're struggling. Do far, best option we have is to create a container, shove sources there, invoke npm install on that container to keep app dependencies independent between the apps. Lots of leg work. :/

authors: enriched fwouts igorgatis

repo: zenclabs/bazel-javascript


text:
Trying to find First Reply Time data

Hello,
I'm new to the ZenDesk API and am trying to find First Reply Time data.
I have gone through the documentation and can't see where this is referenced.
Can you tell me if First Reply Time is an endpoint in the API or if not how I can find it?
Many thanks

Yep, you should be able to find the reply time inside the ticket metrics endpoint.
Using the api client:
ZendeskAPI::Ticket.new(client, id: X).metrics.reply_time_in_minutes


text:
Fix: Remove useless User\Mapper\UserHydrator

This PR

[x] removes the - what I believe to be useless (unless I'm missing something) - User\Mapper\UserHydrator

Merged, thanks!

authors: Ocramius localheinz


text:
Join problem in version 2.8.0

For queries like
SELECT * FROM t WHERE id IN (SELECT t1.id FROM t1 INNER JOIN t2 ON t1.ref=t2.ref WHERE t2.vintage=2016)
we need JOIN that return no column.
But if we send an empty array in 3rd parameter of Zend\Db\Sql\Join::join() method, in line 136, key 'column' is assigned by [Select::SQL_STAR] and the query send 2 columns, which causes an error :
Statement could not be executed (21000 - 1241 - Operand should contain 1 column(s))
Can you remove the conditional assignment ?

Solution in 2.8.1

repo: zendframework/zend-db


text:
Update QA tools

PHP 5.5 support dropped
updated travis configuration - run tests with lowest/locked/latest dependencies
run test on PHP 7.1
PHPUnit ^6.0.8 || ^5.7.15
tool to check license headers + updated license headers
updated PHPDocs
updated README.md (coveralls badge, documentation link)

Thanks, @webimpress

authors: webimpress weierophinney

repo: zendframework/zend-expressive-template