[prosiebenmaxx.de] Error 404 and malfunction in drm-protection-check

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[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. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Description
I founded two bugs / errors on prosiebenmaxx.de: There is a Error 404 and a mafunction in the drm-protection-check. I posted both logs above. Maybe you need the geo-bypass-function to confirm these bugs.
Last month the extractor worked fine.
There are some clips, where I get the 404 Error (e.g. the link in the verbose log). I tryed to download it serveral times, but yt-dlp answered the same 404 Error. Maybe in the extractor there are some lines, that are not working anymore?
Futhermore the drm-protection check is not working. For example yt-dlp answered, that the clip is drm protected. In the header of the side, one can read, that there is no drm protection:
meta data-react-helmet="true" property="video:drm" content="0"
I downloded the clip manually and vlc can play that clip.
I am sorry, that I can't do more than to report the bug. I hope, we can fix it :D
Verbose log
404 Error verbose log:
c:\Download>yt-dlp.exe -U
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
c:\Download>yt-dlp.exe "https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge" -F -v
[debug] Command-line config: ['https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge', '-F', '-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19042-SP0
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [prosiebensat1] Extracting URL: https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge
[prosiebensat1] anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge: Downloading webpage
[prosiebensat1] 6595537: Downloading videos JSON
[prosiebensat1] 6595537: Downloading protocols JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not Found
[prosiebensat1] 6595537: Downloading sources JSON
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
ERROR: [prosiebensat1] 6595537: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1381, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1465, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1517, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2431, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 961, in raise_no_formats
yt_dlp.utils.ExtractorError: [prosiebensat1] 6595537: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U

bug in drm-protection-check log:
c:\Download>yt-dlp.exe "https://www.prosiebenmaxx.de/anime/attack-on-titan/video/38-die-aussenmauer-von-bezirk-orvud-ganze-folge" -F -v
[debug] Command-line config: ['https://www.prosiebenmaxx.de/anime/attack-on-titan/video/38-die-aussenmauer-von-bezirk-orvud-ganze-folge', '-F', '-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19042-SP0
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [prosiebensat1] Extracting URL: https://www.prosiebenmaxx.de/anime/attack-on-titan/video/38-die-aussenmauer-von-bezirk-orvud-ganze-folge
[prosiebensat1] anime/attack-on-titan/video/38-die-aussenmauer-von-bezirk-orvud-ganze-folge: Downloading webpage
[prosiebensat1] 5584131: Downloading videos JSON
ERROR: [prosiebensat1] 5584131: 5584131: This video is DRM protected
  File "yt_dlp\extractor\common.py", line 612, in extract
  File "yt_dlp\extractor\prosiebensat1.py", line 495, in _real_extract
  File "yt_dlp\extractor\prosiebensat1.py", line 440, in _extract_clip
  File "yt_dlp\extractor\prosiebensat1.py", line 38, in _extract_video_info
  File "yt_dlp\extractor\common.py", line 1076, in report_drm
  File "yt_dlp\extractor\common.py", line 1120, in raise_no_formats

Related: https://github.com/ytdl-org/youtube-dl/issues/30598 https://github.com/ytdl-org/youtube-dl/issues/30624

Both linked videos asks for registration in browser. Check with cookies

Hello @pukkandan! Thank you for your response and your input.
Since half of a year the prosiebenmaxx-videos are only playable in the browser with a registration. BUT the download / extraction worked without a registration (until a few weeks ago).
I tried it with your advice. I logged in and saved the cookies via firefox-addoon cookies.txt. The result was the same 404-Error and malfunction in drm-protection-check in both cases (youtube-dl and youtube-dlp).
c:\Download>yt-dlp.exe -U
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)

c:\Download>youtube-dl.exe -U
youtube-dl is up-to-date (2021.12.17)

c:\Download>youtube-dl.exe "https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge" -F --cookies "C:\Download\cookies.txt" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge', '-F', '--cookies', 'C:\\Download\\cookies.txt', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[prosiebensat1] anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge: Downloading webpage
[prosiebensat1] 6595537: Downloading videos JSON
[prosiebensat1] 6595537: Downloading protocols JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[prosiebensat1] 6595537: Downloading sources JSON
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not found
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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\prosiebensat1.py", line 495, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\prosiebensat1.py", line 440, in _extract_clip
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\prosiebensat1.py", line 162, in _extract_video_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1374, in _sort_formats
youtube_dl.utils.ExtractorError: 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.

c:\Download>yt-dlp.exe "https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge" -F --cookies "C:\Download\cookies.txt" --verbose
[debug] Command-line config: ['https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge', '-F', '--cookies', 'C:\\Download\\cookies.txt', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [prosiebensat1] Extracting URL: https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge
[prosiebensat1] anime/shakugan-no-shana/video/11-alles-endete-etwas-neues-begann-ganze-folge: Downloading webpage
[prosiebensat1] 6595537: Downloading videos JSON
[prosiebensat1] 6595537: Downloading protocols JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not Found
[prosiebensat1] 6595537: Downloading sources JSON
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
ERROR: [prosiebensat1] 6595537: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1381, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1465, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1517, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2431, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 961, in raise_no_formats
yt_dlp.utils.ExtractorError: [prosiebensat1] 6595537: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U

On prosiebenmaxx there are some videos, that don’t require a registration / login. The preview clips can be played in the browser without registration. They (youtube-dl and yotube-dlp) produce the same 404-Error. For example https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip :
c:\Download>youtube-dl.exe "https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip" -F --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip', '-F', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[prosiebensat1] anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip: Downloading webpage
[prosiebensat1] 6595537: Downloading videos JSON
[prosiebensat1] 6595537: Downloading protocols JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[prosiebensat1] 6595537: Downloading sources JSON
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: Unable to download JSON metadata: HTTP Error 404: Not found
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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\prosiebensat1.py", line 495, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\prosiebensat1.py", line 440, in _extract_clip
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\prosiebensat1.py", line 162, in _extract_video_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1374, in _sort_formats
youtube_dl.utils.ExtractorError: 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.

c:\Download>yt-dlp.exe "https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip" -F --verbose
[debug] Command-line config: ['https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip', '-F', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [prosiebensat1] Extracting URL: https://www.prosiebenmaxx.de/anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip
[prosiebensat1] anime/shakugan-no-shana/video/115-preview-folge-15-eine-neue-flame-haze-clip: Downloading webpage
[prosiebensat1] 6595537: Downloading videos JSON
[prosiebensat1] 6595537: Downloading protocols JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not Found
[prosiebensat1] 6595537: Downloading sources JSON
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
[prosiebensat1] 6595537: Downloading urls JSON
WARNING: [prosiebensat1] Unable to download JSON metadata: HTTP Error 404: Not found
ERROR: [prosiebensat1] 6595537: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1381, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1465, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1517, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2431, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 961, in raise_no_formats
yt_dlp.utils.ExtractorError: [prosiebensat1] 6595537: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U

... The json-file has a token https://vas-v4.p7s1video.net/4.0/getsources?token= , but I have no idea, how the site create this token...

Perhaps this TypeScript which also shows (through a TypeScript glass darkly) how the quoted URL is accessed:
const getJWT = ({ encryption_key, access_id }: Config, payload: VasSourcesPayload): string =>
  jwt.sign(payload, encryption_key, {
    algorithm: 'HS256',
    header: { kid: access_id },
    expiresIn: '5m',
    notBefore: '-5m',
  });

JWT = jsonwebtoken
I guess that the blank result with 'is_protected': True results from calling the wrong API for the show. Apparently some P7 shows are being handled correctly, but not the maxx nor the newly revised related sites.

Hi @dirkf !
Maybe we can solve the issue together.

Unfortunately the geo-restriction policies of the various sites make debugging difficult without a local presence.

If you need further specific information or I should test some code on prosiebenmaxx, I will try to help @dirkf !

Hi,...
I have the same Problem with the DRM check on ProsiebenMaxx.de
For test reasons, I had disabled the DRM functionality on Firefox, and it was still possible to watch the Video on the Site.
But with "yt-dlp or youtube-dl" I get the message "DRM protected stream".
I tried it with the "cookies-from-browser" Option as well.
But same result.


[bugfix] Add new Transformer to transform -0.0 and NaN

This PR transforms the values of -0.0 to 0.0 and NaN to default null during data ingestion. Allowing -0.0 and NaN messes up the binary search/sorting in certain cases. Further discussion here.
Release Notes

-0.0 and NaN as column values was causing issues for Binary search and sorted indexes for certain cases.
Added change to modify -0.0 to 0.0 and NaN to default null

@aishikbh Can we add the release note section on this change? The implication is that we will now start to convert the value for NaN / -0.0

Codecov Report
Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (32db500) 61.62% compared to head (3d34dfa) 34.94%.
Report is 10 commits behind head on master.

Files
Patch %
Lines

...cal/recordtransformer/SpecialValueTransformer.java
0.00%
44 Missing :warning:

.../local/recordtransformer/CompositeTransformer.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12032       +/-   ##
=============================================
- Coverage     61.62%   34.94%   -26.69%
+ Complexity     1151        6     -1145
=============================================
  Files          2385     2310       -75
  Lines        129423   125821     -3602
  Branches      20036    19495      -541
=============================================
- Hits          79751    43962    -35789
- Misses        43855    78745    +34890
+ Partials       5817     3114     -2703

Flag
Coverage Δ

custom-integration1
<0.01% <0.00%> (ø)

integration
<0.01% <0.00%> (ø)

integration1
<0.01% <0.00%> (ø)

integration2
0.00% <0.00%> (ø)

java-11
<0.01% <0.00%> (-61.58%)
:arrow_down:

java-21
34.94% <0.00%> (-26.56%)
:arrow_down:

skip-bytebuffers-false
34.91% <0.00%> (-26.69%)
:arrow_down:

skip-bytebuffers-true
34.92% <0.00%> (-26.57%)
:arrow_down:

temurin
34.94% <0.00%> (-26.69%)
:arrow_down:

unittests
46.78% <0.00%> (-14.84%)
:arrow_down:

unittests1
46.78% <0.00%> (-0.19%)
:arrow_down:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@aishikbh Can we add the release note section on this change? The implication is that we will now start to handle values for NaN / -0.0

Added release notes for the change


[Dashboard] The left side actions of a row are not showing when editing a dashboard

When editing a dashboard the left side actions of a row disappeared.
Expected results
The left side actions of a row should appear on hover
Actual results
The left side actions do not appear

How to reproduce the bug

Go to a dashboard and enable the edit mode
Hover a row
You will observe no actions showing up on the left of the row

pr is out: https://github.com/apache/superset/pull/14587

Closed by #14587


Confusing documentation for com.google.cloud.Timestamp.parseTimestamp

The Javadoc for com.google.cloud.Timestamp.parseTimestamp says that the input doesn't have a timezone offset and ends with "Z":
https://github.com/googleapis/java-core/blob/1ba0266b5dc1f560dacb53067141d67966e81dd2/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java#L191-L195
However, it seems to parse offsets correctly with google-cloud-core 1.93.7:
import com.google.cloud.Timestamp;
import org.junit.Test;

public class TimestampTest {

  @Test
  public void parseTimestamp() {
    System.err.println(Timestamp.parseTimestamp("2020-07-10T14:03:00-07:00"));
    System.err.println(Timestamp.parseTimestamp("2020-07-10T14:03:00Z"));
  }
}

2020-07-10T21:03:00Z
2020-07-10T14:03:00Z

I would expect either of the following:

parseTimestamp handles a timezone offset, and the documentation doesn't specify that there is no offset.
parseTimestamp doesn't handle a timezone offset and throws an exception when one is present.

This issue may be related to https://github.com/googleapis/google-cloud-java/issues/4583.  The fix changed the parsing logic but not the documentation.

Thanks!


Hotkey is being captured when user if focusing on input element

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
When using trying to enter some key value into  element, the key value which coincide with hotkey will not appear and relavent  function is triggered.
Expected behavior
Hotkey should not trigger when using typing text.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
When using hotkeys in the environment where typing value is unavoidable, ie: enter search query.
Environment
Angular version: 9.1.0
Browser:

[x] Chrome (desktop) version 83
[ ] Chrome (Android) version XX
[ ] Chrome (iOS) version XX
[ ] Firefox version XX
[ ] Safari (desktop) version XX
[ ] Safari (iOS) version XX
[ ] IE version XX
[ ] Edge version XX

For Tooling issues:

Node version: 12.8.1
Platform:  Linux

@flatstadt we need to support it. Like we did here.

@24hours just to be sure. You register a hotkey on a different element, and when you type in a text input, it's get triggered, right?

here

I'll look into it @NetanelBasal

@24hours just to be sure. You register a hotkey on a different element, and when you type in a text input, it's get triggered, right?

I registered the hotkey using hotkey service.

I replicated the issue @NetanelBasal. I created a div that contains an input. Associating a shortcut to the div, for example 'G', prevents typing 'g' in the input.

Do you know how to handle this?

Kind of. If you disable the preventDefault option, it works. But of course, by default an input element bubbles up all key events, and  preventDefault, well, prevents typing in the letter that matches the shortcut. I'm not sure if it's a bug.

I could use srcElement, to exclude inputs and textareas and ignore preventDefault option event when enable as an option.

@24hours what's exactly your use case? In which key you're using?

@flatstadt we can check event.target, and if that's an input/textarea we'll not run the callback. But there are cases where you want to register hotkeys for inputs so we need to support it too.

So, we ignore the callback when the target is an input/textarea, but the event was registered on another element.

Yes, but event.target will be the input.

Yes, but event.target will be the input.

Yep. srcElement is deprecated @NetanelBasal

Implement the same functionality as here: https://github.com/chieffancypants/angular-hotkeys#api
The allowIn option.

https://github.com/chieffancypants/angular-hotkeys#allowing-hotkeys-in-form-elements

@24hours what's exactly your use case? In which key you're using? Please share the code.

My application allow user to interact with the image using WASD key, at the same time, there is a search bar which allow user to search for specific image. Users are not able to search image with character w,a,s,d in it.
Since the hotkey is global, the event is binded to windows element. I guess this is why it got triggered in input element.

Fixed in the latest version.


Create base compositions

Bases, outposts, naval bases and airports compositions inserted to improve realism and gameplay

A warning on compositions: they make possible spawning issues and UPSMON definitley has issues with them.
They looks interfere less with VCOM, however the best for the future would be make a specific script for Antistasi but it's huge effort.

I transformed the original file to SQF. Here is the code I used (Python)
with open('base_compositions') as f:
    lines = f.readlines()

result = []
location = None
center = None
array = None
objects = None
for line in lines:
    if line.startswith('#'):
        location = line[1:-1]
        array = None
    elif line.startswith(']"'):
        array += '];'
        result.append({'location': location, 'center': center, 'array': array.replace('""', '"')})
    elif line.startswith('Anchor'):
        center = line.split(':')[1][:-1].strip()
    elif line.startswith('['):
        array = line
    elif array is not None:
        array += line

    #print(line[:-1])
    #print(location, center)

string = 'private ["_center", "_objects"];\n' \
         'private _dict = [AS_compositions, "locations"] call DICT_fnc_get;\n\n'
for x in result:
    string += '\n_center = {center};\n_objects = {array}\n' \
              '[_dict, "{location}", call DICT_fnc_create] call DICT_fnc_setLocal;\n' \
              '[_dict, "{location}", "center", _center] call DICT_fnc_setLocal;\n' \
              '[_dict, "{location}", "objects", _objects] call DICT_fnc_setLocal;\n'.format(**x)

with open('locations.sqf', 'w') as f:
    f.write(string)

I pushed a new version ready to be tested and merged to a new branch init/compositions. I used a new branch because this work had to be rebased against what I have been working on the PR #70, because that PR changed the initialization steps and this one needs some initialization.
In summary, we can now download the branch init/compositions and test both the sides and the compositions done in this branch.


Sample weights being expanded to match y_true/y_pred before they're sliced using a class_id in keras metrics.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.0.0-beta0-16-g1d91213fe7 2.0.0-beta1
Python version: 3.6.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.0
GPU model and memory: 7.5

Describe the current behavior
When passing sample weights and a class id to a metric class sample_weights is expanded to match the shape of y_true in line 306 of this file, then the slicing using class_id is done in line 312 which means the broadcast weights op in line 339-340 fails as the shapes don't match anymore.
Describe the expected behavior
Sample weights should be squeezed or expanded to match the new shape of y_true and y_pred after they're sliced. Or it could be enforced to be the same shape as y_true and y_pred and then sliced as well.
Code to reproduce the issue
This code should illustrate the problem
import tensorflow as tf
import numpy as np

class MaskedRecall(tf.keras.metrics.Metric):

    def __init__(self, class_id=None, name=None, dtype=None):
        super().__init__(name, dtype)
        self.inner = tf.keras.metrics.Recall(class_id=class_id)

    def result(self):
        return self.inner.result()

    def update_state(self, y_true, y_pred, sample_weight=None):
        sample_weight = tf.where(tf.equal(y_true[..., self.inner.class_id], -1),
                                tf.zeros_like(y_true[..., self.inner.class_id]),
                                tf.ones_like(y_true[..., self.inner.class_id]))
        self.inner.update_state(y_true, y_pred, sample_weight)

    def reset_states(self):
        self.inner.reset_states()

if __name__ == "__main__":
    # metric = tf.keras.metrics.Recall()
    metric = MaskedRecall(class_id=0)  # 0)
    y_true = np.array([[[1], [0], [-1]], [[0], [1], [0]]])
    y_pred = np.array([[[1], [0], [0]], [[0], [1], [0]]])

    tf.config.experimental_run_functions_eagerly(True)
    metric.reset_states()
    metric.update_state(y_true, y_pred)
    print("Metric result: ", metric.result())

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

I have tried on colab with TF version 2.0 beta1 and was able to reproduce the issue.Please, find the gist here.Thanks!

I patched my local copy yesterday, it's a very small tweak. I'll make a pull request this afternoon.

@simian-typist Thanks for submitting PR to resolve the issue. Thanks!

This is still throwing an error with tf-nightly. Error trace is as follows. Here is the gist for our reference.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-2-3658c987367a> in <module>()
     30     tf.config.experimental_run_functions_eagerly(True)
     31     metric.reset_states()
---> 32     metric.update_state(y_true, y_pred)
     33     print("Metric result: ", metric.result())

6 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/weights_broadcast_ops.py in assert_broadcastable(weights, values)
    101             " values.shape=%s. weights.shape=%s." % (
    102                 _ASSERT_BROADCASTABLE_ERROR_PREFIX, values_rank_static,
--> 103                 weights_rank_static, values.shape, weights.shape))
    104       weights_shape_static = tensor_util.constant_value(weights_shape)
    105       values_shape_static = tensor_util.constant_value(values_shape)

ValueError: weights can not be broadcast to values. values.rank=2. weights.rank=3. values.shape=(2, 3). weights.shape=(2, 3, 1).

---------------------------------------------------------------------------
NOTE: Current TensorFlow version is 2.2.0-dev20200331.
---------------------------------------------------------------------------

Sorry I missed this, I'll have a look over the easter weekend.

I could reproduce the issue with TF 2.2-rc4.Please, find the gist here.Thanks!

Was able to reproduce the issue with TF v2.3 and TF-nightly i.e. v2.4.0-dev20200909. Please find the gist of it here. Thanks!

Was able to reproduce the issue in TF 2.6.0-dev20210527,please find the gist here ..Thanks !

I could reproduce the issue with TF 2.6 . Please, find the gist here. Thanks!

Hi There,
This is a stale issue. As you are using an older version of tensorflow, we are checking to see if you still need help on this issue. Please test the issue with the latest TensorFlow (TF2.7 and tf-nightly). If the issue still persists with the newer versions of TF, please feel free to open it in keras-team/keras repository by providing details about the issue and a standalone code to reproduce the issue. Thanks!
Please note that Keras development has moved to a separate Keras-team/keras repository to focus entirely on only Keras. Thanks!


Fix glyphsdata updating

#402.
Still some failures: glyphdata-fail.txt
What to do about Unicode mismatches? We come up with a Unicode string whereas GlyphsData.xml seems to specify only a single Unicode point for a glyph or None?

The update script goes through the parsed database and asserts that what we made of it matches what's actually in the database (https://github.com/googlei18n/glyphsLib/blob/master/MetaTools/generate_glyphdata.py#L184).
E.g. ('caa-kannada', None, 'Halfform') means that caa-kannada's subcategory should be None according to the database but is "Halfform" according to Unicode.

While you're here, should doChada-thai.short have the production name "uni0E0E.short"?
<glyph unicode="0E0E" name="doChada-thai" category="Letter" script="thai" production="uni0E0E" altNames="dochadathai" description="THAI CHARACTER DO CHADA" />
<glyph name="doChada-thai.short" category="Letter" script="thai" description="THAI CHARACTER DO CHADA SHORT" />

Georg says that no subCategory implies "Other", maybe that should be the fallback. :thinking:

How do you find a unicode-category for caa-kannada that doesn't has a unicode? It might be a conjunct?

While you're here, should doChada-thai.short have the production name "uni0E0E.short"?

I fixed that.

Ah, found it. In generate_glyphdata.py, build_categories(), default_categories[None] == ("Letter", "Halfform"). So it's a generation bug?

I’m not sure what you are doing there exactly but that seems dangerous.

I'm trying to change the generation script so I can remove some special casing in glyphsdata.py. I'm doing random stuff until I find something that works :+1:

Hm.. maybe need to change _get_category instead to build irregular map...

Alright, this correctly updates the database now, except for the following production names:
('caroncomb.alt', 'caroncomb.alt', 'uni030C.alt')
('doChada-thai.short', 'doChada-thai.short', 'uni0E0E.short')
('karan-lao.small', 'karan-lao.small', 'uni0ECC.small')
('loChula-thai.short', 'loChula-thai.short', 'uni0E2C.short')
('maiCatawa-lao.small', 'maiCatawa-lao.small', 'uni0ECB.small')
('maiEk-lao.small', 'maiEk-lao.small', 'uni0EC8.small')
('maiTho-lao.small', 'maiTho-lao.small', 'uni0EC9.small')
('maiTi-lao.small', 'maiTi-lao.small', 'uni0ECA.small')
('niggahita-lao.small', 'niggahita-lao.small', 'uni0ECD.small')
('thoThan-thai.less', 'thoThan-thai.less', 'uni0E10.less')
('toPatak-thai.short', 'toPatak-thai.short', 'uni0E0F.short')
('yoYing-thai.less', 'yoYing-thai.less', 'uni0E0D.less')

(middle is what Glyphs would use as a production name, right what we output)

caroncomb.alt should only ever be used as a component and should never be "typed".

I will fix the rest in Glyphs.

So I have to special case it...


Ione under Terra instead of Towns

Doing /warps, ione will show in the terra tab instead of towns

.

Fixed.


Various improvements

Thanks, these all look good, except I'm not sure about removing redraw. On Vim 8.2, without redraw there is a noticeable delay between when sentences are sent to be executed and when they are highlighted with CoqtailSent. NeoVim seems to redraw much more eagerly and doesn't have this delay.
Compare (Vim 8.2, NeoVim 0.6.1, both with 'lazyredraw' set):
Vim with redraw

Vim without redraw

NeoVim with redraw

NeoVim without redraw

So maybe we should only skip calling redraw in NeoVim, or see if there's some way of making Vim update more frequently. Disabling lazyredraw doesn't seem to make much difference.
Related: #221

Hmm, interesting. It seems that Vim doesn't redraw the text updates on auxiliary panels without redraw either. Anyway, I've added back redraw for Vim as suggested.


Allow microservice visit external network

For bookinfo sample, the details microservice visits external google api and succeeds. And the config file should be egress-rule-google-apis.yaml. But when I run this sample, I only used bookinfo.yaml, but never touched egress-rule-google-apis.yaml.
How could that be?

It is details v2 that uses google api, bookinfo.yaml deploys details v1, which does not use external services.


Revert "Update release pipeline (#602)"

This reverts commit cf948eee3a765ab0d2eb18fe86126aaa2462dfb2.

https://github.com/google/osv-scanner/issues/632

See: #632


Revert #2620

https://github.com/Zarel/Pokemon-Showdown/pull/2620#discussion-diff-72349137R606

This isn't reverting #2620, it's only reverting a small part of it.


Linked list delete function not working for index 0

LinkedList class, remove function does not properly remove first object when function is called with parameter as 0. Instead deletes node at index 1.

Added necessary condition to function, issue resolved.


Unable to resolve service for type 'Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.MicrosoftGraph.IUserService

We found some errors in API since the end of 2023:
the /api/userD throws error mentioning "Unable to resolve service for type 'Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.MicrosoftGraph.IUserService' which attempting to activate 'Microsoft.Teams.Apps.CompanyCommunicator.Controller.UserDataController'."
so the user list can't be up to date.

Hi @moonncat

could you please let us know whether its fresh deployment or old deployment

Could you please share the error the supporting screenshot of error from application insights resource from the deployed resource group.

Go to resource group where CC app is deployed --> Go to Application insight type resource --> share the screenshot and stack trace for Top 3 response codes.

also please share Top 3 response codes

Could you please share a screenshot of the app service status

for that please navigate to resource group where CC is deployed

and open app service ,under deployment click on deployment center

and also please share the status of all functions also.

Thanks for your swift response. your support is appreciated.
1，it is a old deployment which happened in June/2022.
2, the application insights shows below error:
at Microsoft.Identity.Client.AcquireTokenSilentParameterBuilder.Validate(...
Microsoft.Identity.Client.AbstractAcquireTokenSilentParameterBuilder`1.ValidateAndCalculateApiId (...
at Microsoft.Identity.Web.TokenAcquisition (...
It seems got error in building the IUserService implementation.
3, all the response code in GET UserData/GetAllUserData are 500.
4, sorry for the security restrictions, I can't share the screenshot. but i have checked the deployment center, it is not yet setup. I think it is because we used a package to deploy instead of source code.
5, all functions are running normally.
6, the build of the dotnet version is v3.1
Graph version is 3.22
Microsoft.Identify.Web is 0.1.3-preview
Micosoft.Aspnetcore is 3.1

Hi @moonncat
Could you please check whether app registrations got expired

hi @peddivyshnavi , I have renewed all the secrets in all environment variables:
1, AppSecretUser / AppSecretAuthor etc in app service.
2, we did the similar update in Azure Function as well.
3, Secret in AKV also got updated.
please kindly advice is there anything missed out? thanks.

Hi @moonncat
We suspect secrets got configured incorrectly Please cross verify once again w.r.t secrets renewal with the below steps.

Go to Azure Portal
Go to App registration
Create a new secret value for app registration and grab secret value. Here is the reference.

Then go to resource group. Select key vault from list of resources.
Click on secrets under object section.

If the secrets are not visible, Go to Access Policy--> Click on Create

Select Key, secret and certificate management

Give the Id through which one can view the secrets

3rd step is optional
Go for Review+Create
Then go to Secrets. Open author/user/graph app password
Click new version

Grab the new secret identifier

Paste it in the configuration sections of app service, 3-function apps. Here is the reference of updating the author app password in app service configuration.

Follow the same procedure for the user app password and graph app password updating.
For graph app, please dont forget to update the password in AzureAd Client Secret as well. here is the reference

@moonncat
Could you please update us on the status of the issue?

Hello @peddivyshnavi , thanks for your guidance.
However, I have checked the password and client id, they both looks correct.
just one thing is different, the API permissions of the Graph App only got Group.Read.All
is permission GroupMember.Read.All and Teams.AppInstallation.ReadWrite
required in the Graph App?

Hi @moonncat
yes, The permissions listed in the graph app are required. If there are any other permissions not mentioned here, please remove them.

hello Peddi, we have verified it is service principle API permission issue. thanks for the support


Differences between the FAQ section on the new app and the FAQ section on the market-built app

Description:
Profile screen > On the new app, the FAQ section shows a text (FAQ) whereas on the market build section, the FAQ section shows the text (View FAQ)
Expected Behaviour:
The FAQ section on both apps (New and Market build) should show the text "View FAQ"

@hassan6190 I'm not sure we need to add 'View' to 'FAQ' string because it has disclosure arrow now. @moiz994 could you check this from UX/design side please? Thank you

Can you please confirm if the new app is opening the FAQ page within the app or external browser? If it's leading to the external browser then it would be best to replicate the market build behaviour.

@moiz994 You are right - it opens in external. Ok let's change the string. Thank you.


search function

add search bar, either to every page or just to the landing page.

For this to work, I think we should also build a graph (network) of the entire page. As such, the page name "graf" is rather appropriate ;)


Phoniebox does not react on mqtt cmd

Bug
What I did
I set up the mqtt script like in the description. After some faults I get it running an everything showed up correctly in iobroker.
What happened
But when I send a command from the list (for example playerpause when the player is running) to phoniebox/cmd the box will do nothing.
(phoniebox/get/help is working also).
I am running raspbin stretch with phoniebox 2.0 rc4.
I hope someone can help me

Could you post the output of tail -n 500 /var/log/syslog?

But when I send a command from the list (for example playerpause when the player is running) to phoniebox/cmd the box will do nothing.

Sounds like you're sending the command incorrectly. You will have to send an empty payload to phoniebox/cmd/playerpause instead of sending playerpause to phoniebox/cmd.
Late answer but I hope it's still ongoing and helps. Let us know if it worked so we can close the issue.


Remove the TEntity in QueryBuilder, implement it like this QueryBuilder (instead of QueryBuilder)

This change will be a preparation for the Inline Operations with targeted literal string tables.

The changes has been checked-in just now. This will be available on the versions greater than v1.8.4.


Remove "+" from rat lore

Fixes two "+" being visible with pet replacements

But please dont do them on master

I dont wanna fix 6000 merge conflicts


Allow passing wrapped yarn berry as an argument instead of yarnPath

Closing to keep separate branches for our changes and nixify


Highlighter errors when installed with vim 8 packs

When loading a .cs file, after cloning omnisharp-vim into pack/plugins/start, I encounter an error message that seems to be related to omnisharp's hightlight groups:
Error detected while processing function OmniSharp#proc#vimOutHandler[11]..OmniSharp#stdio#HandleResponse[42].
.<SNR>28_HighlightRH[29]..<SNR>28_GetHighlight:
line    9:
E970: Unknown highlight group name: 'Identifier'

Then, when I attempt to run :OmniSharpHighlight, I see this error:
E969: Property type OSHighlightNamespaceName already defined

I initially encountered this error in an existing vim setup, but I've been able to replicate it in a clean installation, which I've detailed below:
tree -L 4 ~/.vim
├── autoload
├── bundle
├── colors
├── conf
├── ftdetect
├── indent
└── pack
    └── plugins
        └── start
            └── omnisharp-vim

~/.vimrc
filetype indent plugin on
let g:OmniSharp_highlight_groups = {
\ 'Comment': 'NonText',
\ 'XmlDocCommentName': 'Identifier',
\ 'XmlDocCommentText': 'NonText'
\}

vi --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov  4 2020 11:27:02)
macOS version
Included patches: 1-1950
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       -tcl
-autoservername    +folding           +multi_byte        +termguicolors
-balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
-browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              +perl              +title
-clientserver      +job               +persistent_undo   -toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       +lua               +ruby              +wildmenu
+dialog_con        +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       -X11
-dnd               +mouse             -sound             -xfontset
-ebcdic            -mouseshape        +spell             -xim
+emacs_tags        +mouse_dec         +startuptime       -xpm
+eval              -mouse_gpm         +statusline        -xsmp
+ex_extra          -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib<EMAIL_ADDRESS>-L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -lintl -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.15 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc<EMAIL_ADDRESS>-lpython3.9 -framework CoreFoundation  -lruby.2.7

And finally a sample XUnit test file where I see this error on loading:
using Xunit;

public class Sample
{
    [Fact]
    public void First()
    {
            Assert.True(True);
    }
}

When installed with vim-plug, OmniSharp-vim works fine. Maybe I just missed some configuration?

Pathogen installation also works fine.

Thanks for the detailed issue. I haven't had a chance to look into it yet, but I will.

Thanks Nick :) honestly still haven't ruled out some sort of user error on my part 😅

Oh! You just have to turn on Vim's syntax, because otherwise the standard highlight groups aren't configured.
filetype indent plugin on
syntax enable

I added a note about this to the README.

🎉 and also 🤦
😃


One or more projects are incompatible with .NETFramework,Version=v4.6.1 (win7-x86)

Hey.
I apologize in advance but what do I have to do to build the code?
I have downloaded the zip, opened it in VS2017 and it just fails to build with alot of errors but I guess the underlying problem is one of those:
One or more projects are incompatible with .NETFramework,Version=v4.6.1 (win7-x86).
One or more packages are incompatible with .NETCoreApp,Version=v2.0 (win7-x86).
What am I doing wrong?

You need the latest VS2017 preview.
You need to run build.cmd at least once to acquire the version of the dotnet SDK that we use to build projects.
Once you build you should have a version of dotnet in %USERPROFILE%\.dotnet\x64.
You need to change your PATH environment variable to add %USERPROFILE%\.dotnet\x64 before. Here's what mine looks like:

I changed the system path, but you can do it in your powershell window. Note, if you do it in your powershell window,  you need to run visual studio from that window as well. This is so that visual studio uses the same version of the SDK that you're using on the command line.


Physical Interface Removal Error

When removing a physical interface from a network interface in luci error is produced:

An error occurred while saving the form:
RPC call to uci/delete failed with ubus code 4: Resource not found
at ClassConstructor.handleCallReply

luci git-20.074.84698-ead5e81 running on WRT1900ACv2
Steps: Network > Interfaces > (LAN) Edit > Physical Settings > Interface Dropdown > Untick desired interface > Save > Error produced as in screenshot

Can you describe the steps leading to this in more detail? I have a hunch that this already addressed by https://github.com/openwrt/luci/commit/55cb5a753b94e2eee049546a2af374bb6129d4c4 by I want to be sure.
It might also help to attach your current /etc/config/network file.

The steps in the first post are each click I make to produce the error.
Here's my config for network
`config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '<IP_ADDRESS>'
option netmask '<IP_ADDRESS>'
config globals 'globals'
config interface 'vlan2'
option type 'bridge'
option proto 'static'
option ipaddr '<IP_ADDRESS>'
option netmask '<IP_ADDRESS>'
option ip6assign '60'
option ifname 'lan1 lan2'
config interface 'wan'
option proto 'pppoe'
option password 'PPPoEuser'
option ipv6 'auto'
option username 'PPPoEpass'
option ifname 'wan'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '6t 4'
option vid '2'
config rule6
option mark '0x65'
option lookup '101'
config interface 'vlan2'
option proto 'static'
list ipaddr '<IP_ADDRESS>/24'
option delegate '0'
option type 'bridge'
option ifname 'lan3 lan4'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '5t 1 0'
config interface 'MODEM'
option proto 'static'
option ipaddr '<IP_ADDRESS>'
option netmask '<IP_ADDRESS>'
option ifname 'wan'  `

Thank you, that helped to track down the issue.


Error shows when apply "allow-traffic-from-some-pods-in-another-namespace"

when apply this policy,
error shows:
The NetworkPolicy "web-allow-all-ns-monitoring" is invalid: spec.ingress[0].from[0]: Forbidden: may not specify more than 1 from type

Does this policy requires k8s v1.11 and calico v3.1.3 ?

I just ran into this as well. This example requires kubernetes v1.11 for API spec to even allow the policy to be created, I assume that calico also has to be updated to support that policy as well.

Yeah it’s noted that this policy requires Kubernetes 1.11 minimum.
We don’t document which version of which network plugin supports this feature (there are a lot of plugins). It’s always a good idea to test your policies manually.


Update excludes in systemtest playlist

Reinclude HCRLateAttachWorkload on jdk8
Exclude DirectByteBufferLoadTest on AIX

HCRLateAttachWorkload test - verified it is now working on both openj9 and hotspot (with grinders, https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/525 and https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/513 respectively)
Will continue to exclude for jdk11, as still fails with known issue https://github.com/AdoptOpenJDK/openjdk-systemtest/issues/7


Trouble with glTF import

Godot version:
Godot official v3
OS/device including version:
Ubuntu 17.10
Issue description:
Tried making a blender cloth simulation, baked the animation to shapekeys, exported to glTF 2.0. Godot imports wrong animation track names so animation has to be fixed manually:

I don't experience the crash from #16124.
UV maps also have a problem, I'm not sure exactly what's going on, the UV debug view seems to be correct, check attached images.

it's clear that the UVs are in the right place based on the UV debugger in godot, but the image doesn't render properly.

project:
godot-dbg-github.zip

I think I narrowed it down, it's not the glTF import per se, it's the morph targets that don't respect the UVs or something of that sorts. Check out the attached project
Blend shapes off (correct texture):

Morph target 0 turned on a bit (incorrect texture):

Project:
godot-dbg-github.zip

I'm also running into GLTF issues with Blend Shapes/Morph Targets.  This is reminiscent of the indexing issue from a long time back.  A GLTF export from Blender yields this in Godot 3.1.

The same GLTF import in Blender works okay:

Here's the GLTF and original .blend file:
Models.zip

I am running into some dependencies issues on latest master for that project.

@razcore-art I have a patch for the indexing error pending (https://github.com/godotengine/godot/pull/30877).  When that's merged, would you be able to retest?

The issue still seems reproducible in the current master branch.

Blend Shapes work in 3.2 correctly.

I test https://github.com/godotengine/godot/issues/16544#issuecomment-506039940 and https://github.com/godotengine/godot/issues/16544#issuecomment-364737896. Both seem to work in Godot Engine 3.2

Thank you for your contributions.


Publish on packageist and initial release

Hi!
I haven't played with the bundle yet, but I'm increasingly mentioning it for those that do want to use TypeScript. So, could we:
A) Publish the package to Packagist?
B) and do an initial 0.1.0 release
Thanks for your work!

Finally it is available : https://packagist.org/packages/sensiolabs/typescript-bundle !


EvaluationKeys & Tests Refactoring

GOALS
Refactoring of Evaluation Keys
Currently, evaluation keys are defined by the struct rlwe.SwitchingKey. Although applying an evaluation key on a ciphertext does indeed serves the purpose of public re-encryption, user feedback has shown that this naming approach can lead to confusion and lacks an intuitive hierarchy among the different objects which are derived from the rlwe.SwitchingKey struct (and does not provide a comprehensive mapping with the literature). This is notably caused by the fact that public re-encryption is hardly ever used to change the access structure of a ciphertext, but as a mean to ensure ciphertext compactness and decryption correctness during the evaluation phase of a circuit.
To remedy to this issue, the struct rlwe.SwitchingKey has been renamed rlwe.EvaluationKey, and a comprehensive documentation on the generation, usage and all capabilities of this object, as well as code comments, have been added. Additionally, the method SwitchKeys has been renamed ApplyEvaluationKey.
The goal is to better convey that rlwe.EvaluationKey is a special type of public key that is used during the evaluation phase of a circuit, with different purposes (relinearization, rotations, automorphisms, etc...).
The struct rlwe.RotationKeySet has been removed. It is now replaced by the type rlwe.GaloisKey, which is a wrapper of rlwe.EvaluationKey and stores a single rlwe.EvaluationKey along with some meta data to help identify which automorphism it enables.
There is now a simple and much more intuitive hierarchy among rlwe.EvaluationKeys:
rlwe.EvaluationKey
         |
         |-> rlwe.RelinearizationKey
         └-> rlwe.GaloisKey

To be able to manage multiple rlwe.EvaluationKeys, the interface rlwe.EvaluationKeySetInterface has been added. It enables the user to define it's own loading/saving/persistence policies for rlwe.RelinearizationKey and rlwe.GaloisKeys.
Test Coverage and Consistency
Many tests and benchmarks located in the bfv, bgv and ckks packages were merely wrappers of methods of the package rlwe, and thus didn't serve any meaningful purpose. Additionally, many methods in the rlwe package where not fully tested or not tested at all.
To remedy to this issue, all tests and benchmarks in the bfv, bgv and ckks packages that were solely wrappers of a method located in rlwe have been removed. The test coverage of the rlwe package has been substantially increased by adding tests and expanding the range of parameters for which those methods are tested.
An example is the tests for automorphisms. These were tested in each of the schemes by checking that applying a specific automorphism on a ciphertext encrypting an encoded plaintext would result in a specific rotations in the plaintext decoded domain. Instead the rlwe package will now test that a homomorphic automorphism applies the correct permutation on the polynomial coefficients and that it produces the expected noise; and the schemes will only test that an automorphism on an encoded plaintext results in the correct rotation on the decoded plaintext.
Finally, all relevant methods of rlwe now have a benchmark function and the noise bounds for the tests in rlwe and drwle have been substantially improved.
##TODO:

Check that marshalling tests are not done on empty structs.

CHANGELOG
cf. CHANGELOG.md

Included in #379


WIP deposit form: affiliations vocabulary

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/919

not needed


Updates to use checked in data, fewer processors

This PR updates the test_execute.py and test_run_ogusa.py modules to use data that is already checked in to the repository.
These tests do not run on Travis CI due to time constraints.  Previous to this PR, those running these tests had the necessary data files on their hard drives, but others may not have.  This PR will ensure that anyone cloning this repo can run these tests locally without additional files.

Codecov Report

Merging #614 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #614   +/-   ##
=======================================
  Coverage   84.00%   84.01%
=======================================
  Files          47       47
  Lines        6848     6850    +2
=======================================
+ Hits         5753     5755    +2
  Misses       1095     1095

Impacted Files
Coverage Δ

ogusa/tests/test_execute.py
70.83% <100.00%> (+2.65%)
: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 7af1c19...37dcf49. Read the comment docs.

@rickecon I think this PR is ready to go. You might checkout this branch and test the updated test modules on your machine before merging.


meshio

Perhaps some of this repo can be replaced by https://github.com/nschloe/meshio. I'm looking at the gmsh/VTK interfaces.

agreed.  I made a note of this on the front page.  Great package!


Fix ordering of initial schema to support migrations

Fix ordering of initial schema to support migration use cases.
In this case, some table create statements were referring to others that were not yet created.  This is a matter of ordering of statements so that dependencies are declared before they are used.
This appears to be caused by an upstream bug, perhaps in supabase, PostgreSQL, or its SQL dump tooling.  This PR should resolve the issue for our repository.
The error was observed was while running supabase start:

Error: Error starting database: ERROR:  relation "public.Attendee" does not exist

I had to move the Attendee create statement towards the top of the file, and then follow along with dependents of Attendee (Preso, profiles).  It appeared to possibly be in reverse-order.

I'm just gonna accept this and deal with the consequences 😅

Seems to have worked without issue, so I think we're good! 👍🏾


update corefxlab readme.md to include System.IO.Compression.Brotli

Fixed in https://github.com/dotnet/corefxlab/pull/1661


feat: add cluster node name for create cluster

Signed-off-by: liuying<EMAIL_ADDRESS>
What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #368 (5d3f8a7) into 2022-9-9 (0f623e8) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##           2022-9-9     #368   +/-   ##
=========================================
  Coverage     46.82%   46.82%
=========================================
  Files             7        7
  Lines           598      598
  Branches        168      168
=========================================
  Hits            280      280
  Misses          245      245
  Partials         73       73


viewer list does not load list

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
hello!
for the past two weeks, myself and two other friends who use chatterino on twitch are experiencing a bug in which the Viewer List that pops up when selecting the viewer panel never loads users, but displays the text, "Search User... Loading...". We are all using 2.4.2 version of chatterino and I have experienced this bug on both mac and windows computers. Thank you for investigating this.
Screenshots

image of  the loading message
OS and Chatterino Version
2.4.2

Twitch deleted it #4538

Twitch shut it down.
See https://github.com/Chatterino/chatterino2/issues/4494

Twitch deleted it #4494

Twitch shut it down. See #4494

ty both


update user name

this broke previously, since the user changed its account

Looks like the first part of your PR has already been applied. Can you rebase this to only include the repo rename?

thanks 👍🏻


Removal of inactive projects

For deployments that are meant to showcase the Nexus features, like for example one that supports an EDX course, a lot of projects are created for test purposes. Having the ability to archive and remove inactive projects will free resources without the need for human intervention.
The system should allow the control of an administrator to delete existing projects through:

an API call to Delta
a simple to use control interface in Fusion

Expected behavior:

the function needs to be guarded by a custom permission projects/delete
the Fusion control needs to be made available only to users that have the required permission (mock-ups to be defined and agreed with @adulbrich)
the Fusion control needs to ask for user confirmation through typing, similar to the Github repository deletion, such that projects are not deleted by mistake
after the deletion function is invoked, no further changes can be made to the project and Fusion will display a 'Deleting' status for the project
upon completion of the delete function, the project reference is completely removed from the system:

all Delta managed resources (views, resolvers, storages, etc.) will be removed from caches
the project will no longer appear in listing operations
a new project with the same name can be created as if the project never existed
Fusion no longer displays the project in 'Deleting' status, the project is completely removed from listing operations

Other mentions:

it is expected that the delete function is asynchronous; the API call would return a 202 Accepted status code upon successful execution

Not in scope:

Aggregated views
CrossProjectResolvers
projects configured with a RemoteDiskStorage or S3Storage cannot be archived unless the users explicitly consent that the files stored will be not included in the archive:

Fusion will inform the user that the project contains files on a RemoteDiskStorage or S3Storage that will not be included in the archive
the user will have to agree to execute the function even though files managed on these storage types will not be "handled" (will not be included in the archive and will not be removed from the respective storages)
Delta will require a query parameter on the API call ignoreRemoteFiles=true as means of "expressing consent"
attempting to archive a project without "expressing consent" will result in a 400 BadRequest with a detail as to why the action cannot be performed

deprecated projects can be archived
the archive would be stored on disk on the Delta instance
the archive needs to contain both resources and files

In the first paragraph, it is written that it will not need human intervention but it appears that it does as it needs actions in fusion
The archives will be of some use at some point ? If they are "test projects" done though the EDX course, they don't have much value no ?
Is it worth adding a new status to projects and delta/fusion for this ? Because we won't have other uses than for the course no ?

if the main idea is to eliminate free up resources for the env, could we imagine having disposable instances ?
We could have N instances of Delta that would point to n namespaces (so same instance of Cassandra/ES/BG but different keyspaces/prefixes)
For example:
A user who starts their course on a given month will land a given instance for the duration of its course
A user who starts the course on a different month will land on a different instance
When a given instance hits its time-to-live, we just back it up / trash it / wipe it / recycle it.
We would need some kind of table that would link for example the hash of the username to an instance. Entries in this table would have the same time to live so when a user is not in the table, he will hit the newest instance (so he can start again).
As we have nginx, we could use a lua script to do this ?
The lua module in nginx can be used for this type of stuff:
https://github.com/openresty/lua-nginx-module#typical-uses
lua is not difficult and what we want to do here would be just extract the username from the jwt and handling a table
I hope I am clear and it does not sound so crazy :)

If we go the archiving way, we must not forget to kill persistence actors related to the project

In the first paragraph, it is written that it will not need human intervention but it appears that it does as it needs actions in fusion

human intervention == manually removing the data from the database + indices

The archives will be of some use at some point ? If they are "test projects" done though the EDX course, they don't have much value no ?

Discussion lead to the proposal to Delete Projects completely instead of archiving, because it's simpler to implement (archiving = deletion + saving data into an archive); additionally we can rely on backups if we'd like to perform a restoration. @samuel-kerrien, would you be comfortable with this?

Yep comfortable with this. Seems to me like the archiving is not strictly necessary for the MOOC so I would support doing first deletion and schedule the archiving at a later time when it is really needed.

The following are opened questions regarding removal of projects:

What happens the project is used as a CrossProjectResolver?
What happens if the project is used on an Aggregated[ElasticSearch|Blazegraph]View?

Create a project event DeleteProject. Any subsequent writes on resources will be blocked.

Deprecate all the views (this will delete its indices/namespaces).

Delete all files

Delete the DiskStorage project folder. Postpone the implementation for RemoteDiskStorage and S3Storage.
Go through each file (eventsByTag) and delete it.

Delete the caches for views, storages, schemas, resolvers, projects.

Delete the project entry from the ProjectsCounts cache

currentEventsByTag(project) and for each persistenceId (this can be done in batch and in parallel):

Stop the persistence actor.
Call cleanup (delete the events from the primary store).


[RFC]: refactor blas/ext/base/dnansumkbn2 to follow current project conventions

Description
This RFC proposes refactoring @stdlib/blas/ext/base/dnansumkbn2 to follow current project conventions.
These conventions are outlined in more detail in https://github.com/stdlib-js/stdlib/issues/788. Namely, we want to migrate from C++ add-on interfaces to C add-on interfaces and then make various style and simplification changes.
Some example commits which perform most, if not all, of the requested changes include https://github.com/stdlib-js/stdlib/commit/d66d80cfcbab1da95cb5ae8cfae4a1fc4c5129d1 (saxpy),  https://github.com/stdlib-js/stdlib/commit/3c82fe7b6c0f9fd6ef02c86d6e2024d708ac8c14 (cswap), and https://github.com/stdlib-js/stdlib/commit/5b15c9675be434c0e11b1ec1e1f78d7b089abbcd (dasum).
Related Issues
Related issues #788, #1152.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

I'm want to work on this issue. Could you please assign it to me?


fixes #91

Super, this is very nice!
We should probably use the same principle for setting the rest of the theme settings... then we can probably get rid of the themepreferencechanged  eventcallback...
Also would also not call it EntityTablePreference, but TablePreference, and put the functionality in a "FSHTable" component which is immediately derived from MudTable... there's other tables than entitytables that can make use of it.


data-error and data-success not working?

<input id="email" type="email" class="validate text email required" name="email">
<label for="email" data-error="wrong" data-success="right">Email Address</label>

Dont know if it is a bug or not?
Anyone Can Help me out with this?

It is working: http://codepen.io/Dogfalo/pen/xZzjWW

Your code snippet is not working in Chrome 51. No errors are showing up.

I also tried FF47, still no luck.

I had the same problem.

Check if it is in a container with a class input-field
The input has to be the 1st Element and the label has to the 2nd element in this container

2nd fixed it for me

I had the same problem.
It work only  with


HaxeDevelop README.md

To have some kind of landingspage on Github for the HaxeDevelop distro.
cc @ncannasse

The correct place for this would be in the Distros/HaxeDevelop dir as i am thinking that for easier maintainability this will be merged to main branches. Then we can also do the builds with the same CI instance on one go.
Also the README should contain only HaxeDevelop specific info not repeating FD info. I will handle this when i have everything ready.


unable to install sharp to latest node:12 docker container

I'm having problems installing sharp in a clean node:12 container.
docker run --rm -it node:12 npm i sharp

><EMAIL_ADDRESS>install /node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
prebuild-install WARN install libvips-cpp.so.42: cannot open shared object file: No such file or directory
make: Entering directory '/node_modules/sharp/build'
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp/src/common.o
../src/common.cc:25:22: fatal error: vips/vips8: No such file or directory
 #include <vips/vips8>
                      ^
compilation terminated.
sharp.target.mk:135: recipe for target 'Release/obj.target/sharp/src/common.o' failed
make: *** [Release/obj.target/sharp/src/common.o] Error 1
make: Leaving directory '/node_modules/sharp/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.0.0-29-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/sharp
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-09-23T18_08_09_973Z-debug.log

The issue is quite unfamiliar to me and i havent find the cause yet. Im posting early hoping somebody can point me in the right direction.

I'm getting this issue too when trying to push to heroku.

I'm getting the same issue.

Also seeing this attempting to install<EMAIL_ADDRESS>in a Google Cloud Function running Node 8:
info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.4/libvips-8.7.4-linux-x64.tar.gz
prebuild-install
WARN install libvips-cpp.so.42: cannot open shared object file: No such file or directory
../src/common.cc:25:10: fatal error: vips/vips8: No such file or directory
 #include <vips/vips8>
^~~~~~~~~~~~
compilation terminated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.15.0-1044-gcp
gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /workspace/node_modules/sharp
gyp ERR! node -v v8.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

We've been running on this specific version of Sharp / Node / GCF for awhile now without any issues, it just began today.

Guys, please review the documentation and use a libvips compatible container: https://github.com/TailorBrands/docker-libvips

Get the same issue without installing it on docker

I have same issue, without docker.

for Ubuntu users: apt install libvips-dev fixes the issue for us.

There have been no changes to sharp or the prebuilt binaries since 29th July.
I've received about 30 emails and notifications about this problem within the last hour so would expect this to relate to a (transient) dependency that has been published within the last couple of hours.

Why would you close this without at least attempting to provide some guidance? You can see there's MANY people having this issue.

Whatever is causing this problem, it looks like it's affecting pretty much every native node module that provides prebuilt binaries
https://github.com/mapbox/node-pre-gyp/issues/477
https://github.com/mapbox/node-sqlite3/issues/1222
@imkane This issue is not closed, I am actively working on investigating it right now.

Sorry, my mistake! I misread the referenced issue statues. Good luck!

Is there any way to work around this for now?

So far I've tried installing libvips-dev (https://github.com/lovell/sharp/issues/1882#issuecomment-534241405) and glib2.0-dev (https://github.com/lovell/sharp/issues/1148#issuecomment-370688930).
FROM node:10
...
RUN apt-get update && apt-get install -y glib2.0-dev libvips-dev
...
RUN npm --build-from-source install

and the result is still:
><EMAIL_ADDRESS>install /usr/src/app/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-linux-x64.tar.gz
make: Entering directory '/usr/src/app/node_modules/sharp/build'
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp/src/common.o
In file included from ../src/common.cc:25:0:
/usr/include/vips/vips8:35:25: fatal error: glib-object.h: No such file or directory
 #include <glib-object.h>
                         ^
compilation terminated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
sharp.target.mk:128: recipe for target 'Release/obj.target/sharp/src/common.o' failed
make: Leaving directory '/usr/src/app/node_modules/sharp/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.43-microsoft-standard
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/src/app/node_modules/sharp
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

This one did help so far:
...
RUN apt-get update && apt-get install -y libvips-dev --no-install-recommends
...

Just ran:
apt-get update && apt-get install -y libvips-dev --no-install-recommends

and then
npm install sharp

Still got the same error.

This one did help so far:
...
RUN apt-get update && apt-get install -y libvips-dev --no-install-recommends
...

Not for us :(

Strange. libvips-dev on Docker with Node 12.10.0 image fixed it up for me.

My current line of inquiry is that this relates to a recent change in one of the dependencies used to unpack tar files. For example, the minipass dependency, which is a dependency of tar was published an hour ago.

Out of desparation I tried Yarn and I'm surprised to report that it works for me.
I installed on Debian Buster from these instructions and when I ran yarn it installed all of my modules without any problems. For what it's worth, I can confirm these things don't work (for me):

changing Node version (node 10 and 12 both broken)
using npm install --sharp-cxx11=1
installing libvips, libvips-dev, or removing both
turning it off and back on again

Of course, using Yarn is just a temporary workaround, but it might help if you're in a pinch.
@lovell Thanks so much for your work on this module!

Yes it worked on Docker with Node 12.10.0 image with libvips-dev.

It looks like commit https://github.com/isaacs/minipass/commit/40e1d612d3d58e415362b1ebb97df8b69da5374f has collided with https://github.com/mafintosh/end-of-stream/issues/11
Pinning minipass to v2.7.0 should workaround this for now.

Follow up on this issue here:
https://github.com/isaacs/minipass/issues/9

I have same issue, but with NPM. How can i fix this?

same issue on mac os mojave

I have fixed our CI build by adding following to the package.json:
"dependencies": {
  "minipass": "2.7.0",
  "sharp": "^0.23.0"
}

It's silly because our app does not depend on minipass.

On Mac OS Mojave I removed .npm/_libvips/libvips-8.7.0-darwin-x64.tar.gz and reinstalled. No luck.

I have fixed our CI build by adding following to the package.json:
"dependencies": {
  "minipass": "2.7.0",
  "sharp": "^0.23.0"
}

It's silly because our app does not depend on minipass.

This also worked for me.

https://github.com/lovell/sharp/issues/1882#issuecomment-534266128 <-- this worked for me! Thanks so much, @lovell 🙏

I have the same problem, it was because my network I couldn't download libvips-8.8.1-win32-x64.tar.gz success, So I have to manual download it and put it on %appdata%/npm-cache/_libvips.

I'm using lerna with npm. For those who are using npm and not yarn.
Add minipass as a dependency or dev-dependency depending on where your issues lie.
"dependencies": {
  "minipass": "2.7.0",
}

For me this affects:

angular-cli/angular-compiler
grpc
sharp
lerna (@lerna/add)

I tried using this in my package.json with webpack, but the problem persists

"dependencies": {
"minipass": "2.7.0",
"sharp": "^0.23.0"
}

Adding
  "resolutions": {
    "minipass": "2.7.0"
  }

as @lovell suggested worked for me!

Adding
  "resolutions": {
    "minipass": "2.7.0"
  }

as @lovell suggested worked for me!

This works, but the same error when I install expo-cli, and I could not apply this patch.

I have fixed our CI build by adding following to the package.json:
"dependencies": {
  "minipass": "2.7.0",
  "sharp": "^0.23.0"
}

It's silly because our app does not depend on minipass.

This also fixed the installation problem for us

@lovell minipass does not work in my webpack project, I am using favicons which depends on Sharp.

This is what the console prints, i using Heroku
-----> Node.js app detected

-----> Creating runtime environment

       NPM_CONFIG_LOGLEVEL=error
       NODE_ENV=production
       NODE_MODULES_CACHE=true
       NODE_VERBOSE=false

-----> Installing binaries
       engines.node (package.json):  10.x
       engines.npm (package.json):   unspecified (use default)

       Resolving node version 10.x...
       Downloading and installing node 10.16.3...
       Using default npm version: 6.9.0

-----> Restoring cache
       - node_modules

-----> Installing dependencies
       Installing node modules (package.json)

       ><EMAIL_ADDRESS>install /tmp/build_729ee095c08666d6b22b28d278a7b552/node_modules/favicons/node_modules/sharp
       > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

       info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.4/libvips-8.7.4-linux-x64.tar.gz
       make: Entering directory '/tmp/build_729ee095c08666d6b22b28d278a7b552/node_modules/favicons/node_modules/sharp/build'
         TOUCH Release/obj.target/libvips-cpp.stamp
         CXX(target) Release/obj.target/sharp/src/common.o
       ../src/common.cc:25:10: fatal error: vips/vips8: No such file or directory
        #include <vips/vips8>
                 ^~~~~~~~~~~~
       compilation terminated.
       sharp.target.mk:128: recipe for target 'Release/obj.target/sharp/src/common.o' failed
       make: *** [Release/obj.target/sharp/src/common.o] Error 1
       make: Leaving directory '/tmp/build_729ee095c08666d6b22b28d278a7b552/node_modules/favicons/node_modules/sharp/build'
       gyp ERR! build error
       gyp ERR! stack Error: `make` failed with exit code: 2
       gyp ERR! stack     at ChildProcess.onExit (/tmp/build_729ee095c08666d6b22b28d278a7b552/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
       gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
       gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
       gyp ERR! System Linux 4.4.0-1048-aws
       gyp ERR! command "/tmp/build_729ee095c08666d6b22b28d278a7b552/.heroku/node/bin/node" "/tmp/build_729ee095c08666d6b22b28d278a7b552/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
       gyp ERR! cwd /tmp/build_729ee095c08666d6b22b28d278a7b552/node_modules/favicons/node_modules/sharp
       gyp ERR! node -v v10.16.3
       gyp ERR! node-gyp -v v3.8.0
       gyp ERR! not ok
       npm ERR! code ELIFECYCLE
       npm ERR! errno 1
       npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
       npm ERR! Exit status 1
       npm ERR!
       npm ERR! Failed at the<EMAIL_ADDRESS>install script.
       npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

       npm ERR! A complete log of this run can be found in:
       npm ERR!     /tmp/npmcache.J8tES/_logs/2019-09-24T03_48_38_001Z-debug.log
-----> Build failed

       We're sorry this build is failing! You can troubleshoot common issues here:
       https://devcenter.heroku.com/articles/troubleshooting-node-deploys

       If you're stuck, please submit a ticket so we can help:
       https://help.heroku.com/

       Love,
       Heroku

 !     Push rejected, failed to compile Node.js app.
 !     Push failed

Encountering this issue with turtle-cli. Will attempt the suggested solution and report back

I have fixed our CI build by adding following to the package.json:
"dependencies": {
  "minipass": "2.7.0",
  "sharp": "^0.23.0"
}

It's silly because our app does not depend on minipass.

This workaround fixed the issue for us as well

expo-cli does not work even with minipass added into dependencies.

@lovell minipass already works, I did not see that they omit '^' in the version, and now my application compile correctly

添加minipass可以正常编译了

This issue is fixed for me with<EMAIL_ADDRESS>(forced via resolutions in package.json)

it works again for me too, even without adding minipass.  thnx for investigating

><EMAIL_ADDRESS>install /node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

+<EMAIL_ADDRESS>added 71 packages from 102 contributors and audited 164 packages in 6.931s
found 0 vulnerabilities

There was a breaking change in v2.8.2 of the upstream minipass dependency that has now been reverted in its v2.8.5 release.
If you work at a for-profit organisation that relies on sharp, and I can tell there are a lot of you based on the sheer volume of emails and notifications I've received about this problem over the last 15 hours, please consider donating to the libvips OpenCollective at https://opencollective.com/libvips to say thank you and help with its continued support.

I've removed the resolution for minipass and can confirm it works. Thank you @lovell

I used yarn and npm i on my Gatsby project, and got the same issue.


Remove use gulp.start()

- Summary
gulp.start() is never officially supported by gulp, it's better to use the functionality provided by gulp.watch(). See: https://github.com/gulpjs/gulp/issues/755

- Test plan
Run gulp server to test.

- Description for the changelog
Remove use gulp.start()

- A picture of a cute animal (not mandatory but encouraged)
N/A

Not sure if you noticed something similar, but I tested this locally and it seems to kill Browsersync's auto-reload.

@heypaulmcgrath yes you're right, the auto-reload doesn't work properly. The fix is to use gulp build-in watch function. So, it should be like this:
  gulp.watch("./src/js/**/*.js", ["js"]);
  gulp.watch("./src/css/**/*.css", ["css"]);
  gulp.watch("./src/fonts/**/*", ["fonts"]);
  gulp.watch("./site/**/*", ["hugo"]);

And we can remove package gulp-watch as well.

Yup, that did the trick for me 👍

This is replace by PR #66


Add problem matcher for intentfest

This will help people see the validation errors as comments on their PR

Sorry if people got pinged for review. I added a validation error to test the problem matcher make validation errors show up as comments.

Score 😎


Revocation of token does not revoke the token and works with api resource end point

This was exact same question asked earlier but did not get any correct answer to it or atleast I did not find any, and was closed.
I am having the same issue, I am using Reference Token
Here is the code I am using
AuthServer:
Config.cs
public static IEnumerable<Client> GetClients()
        {
            return new List<Client>
            {
                new Client
                {
                    ClientId = "MyCompany",

                    // no interactive user, use the clientid/secret for authentication
                    AllowedGrantTypes = GrantTypes.ResourceOwnerPassword,
                    AccessTokenType = AccessTokenType.Reference,
                    RequireConsent = false,
                    AllowAccessTokensViaBrowser = true,
                    // secret for authentication
                    ClientSecrets =
                    {
                        new Secret("5E0BCAB9-E94F-4B20-BCE6-FC1EF622B015".Sha256())
                    },

                    // scopes that client has access to
                    AllowedScopes = {"miplusapi"}
                }
            };
        }

Web API
 public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            loggerFactory.AddConsole(Configuration.GetSection("Logging"));
            loggerFactory.AddDebug();

            app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions
            {
                Authority = "http://localhost:5000",
                RequireHttpsMetadata = false,
                ApiName = "miplusapi",
                ApiSecret = "5E0BCAB9-E94F-4B20-BCE6-FC1EF622B015",
                EnableCaching = true,
                CacheDuration = TimeSpan.FromMinutes(10), // that's the default

                AutomaticAuthenticate = true,
                AutomaticChallenge = true
            });

            app.UseMvc();
        }

Client
var disco = DiscoveryClient.GetAsync("http://localhost:5000").Result;
            // request token
            var tokenClient = new TokenClient(disco.TokenEndpoint, client, "5E0BCAB9-E94F-4B20-BCE6-FC1EF622B015");
            var tokenResponse = tokenClient.RequestResourceOwnerPasswordAsync(userName, password, api).Result;

            if (!tokenResponse.IsError) return tokenResponse.AccessToken;
            Console.WriteLine(tokenResponse.Error);

------------------------------------------------------------------
 var client = new HttpClient();
            client.SetBearerToken(accessToken);

            var response = client.GetAsync("http://localhost:51175/api/values").Result;

Logout code
 public static void Logout(string client, string token)
        {
            var revocationClient = new TokenRevocationClient(
                "http://localhost:5000/connect/revocation",
                client,
                "5E0BCAB9-E94F-4B20-BCE6-FC1EF622B015");

            var response = revocationClient.RevokeAccessTokenAsync(token).Result;
        }

Even after succefful revocation, I am able to call the api endpoint using the same token. So why or is this how it works ? Could you please help.

Ohh interesting, if I set  EnableCaching = false, then it works just fine. So the caching is messing up. May be I should be better away with caching. I understand that its to avoid the roundtrip , but in what scenario is this roundtrip woudl be costly ? I mean there are usually so many calls happening here and there in and between different services so then why is this a big thing that cache has to be done ?

It's a trade-off. Between performance and time-to-revoke.


SceneDebugger: Scene graph explore & state viewer

The idea is to be able to inspect the scene graph and inspect state (see video below).
When the query parameter "scene-debugger" is detected the debug button is added to SceneAppPage controls (top right). When clicked it opens a drawer
Debugger can

Show full scene graph
Select scene object and show scene object details

Todo

[ ] Show nested object states (inspect data etc, queries, etc)

Grafana-Monitoring---Scenes---Dashboards---Grafana.webm

I was talking to @dprokop pretty recently that something like this would be extremely useful. I was planning to build a Chrome extension for it but having it "inline" is way better.
This would help with understanding the structure of a Scenes project as well as determining if there's a hierarchical issue caused by custom objects.


Release v. 1.0.0

Update documentation and change naming in index.ts

The example playwright project in ./example currently uses v.0.0.9
I'll update it to use v. 1.0.0 when the package is published.


Labels overlap and the bottom one is invisible

Labels on intersecting relationship lines overlap and the bottom one is invisible... sometimes totally eclipsed.
I have been unable to find a way to prevent this from happening.  Am I doing something wrong or is this a bug?
workspace {
    model {
        user1 = person "User 1"
        user2 = person "User 2"
        softwareSystem1 = softwareSystem "Software System 1"
        softwareSystem2 = softwareSystem "Software System 2"
        user1 -> softwareSystem1 "Uses"
        user2 -> softwareSystem1 "Uses"
        user1 -> softwareSystem2 "Uses"
        user2 -> softwareSystem2 "Uses"
    }
}

The auto-layout algorithm isn't perfect unfortunately, so you may want to use the Structurizr renderer with manual layout instead, which will allow you to move the labels (see https://structurizr.com/help/diagram-editor for details).
workspace {
    model {
        user1 = person "User 1"
        user2 = person "User 2"
        softwareSystem1 = softwareSystem "Software System 1"
        softwareSystem2 = softwareSystem "Software System 2"
        user1 -> softwareSystem1 "Uses"
        user2 -> softwareSystem1 "Uses"
        user1 -> softwareSystem2 "Uses"
        user2 -> softwareSystem2 "Uses"
    }

    views {
        systemLandscape "Landscape" {
            include *
        }

        theme default
    }

}

But when I remove "autolayout", it stacks all the objects on top of each other.  Is there no way to "autolayout" and then fine tune by dragging?
Further, which project houses the code that actually geography/drawings?  I'm looking but I haven't found it yet.

But when I remove "autolayout", it stacks all the objects on top of each other. Is there no way to "autolayout" and then fine tune by dragging?

Yes, you can use the auto-layout button on the toolbar; see https://structurizr.com/help/diagram-editor

Further, which project houses the code that actually geography/drawings? I'm looking but I haven't found it yet.

Structurizr Lite/cloud service/on-premises installation are closed source, but the auto-layout library can be found on the java-extensions repo.

I think part of my problem is that I'm using the VS Code extension and it does not seem to enable the "auto-layout button on the toolbar".
Thank you for your help.  By the way, I begin a new job soon and the first thing I will do when I arrive is to map out their entire enterprise using C4 and Structurizr.  I'm loving this tool.

Thanks, you’re welcome. Are you using the preview feature in the VS Code extension? If so, that‘s not going to provide the full functionality of the diagram editor. I’d recommend previewing the diagrams in Structurizr Lite.

One last question, if I may... I'll be working in a .NET development shop.  What is your recommendation for the greatest control and flexibility in diagrams-as-code?  Would you recommend using Structurizr for .NET over the Structurizer dsl?  Or some other approach?

I'd recommend the DSL for most teams, and even then you can use a combination of the DSL and the .NET library if needed:

Convert the DSL workspace to JSON (using the CLI)
Import the JSON using Structurizr for .NET
Run .NET code to extend the workspace

Something like this, although you'd use the CLI to convert the DSL to JSON -> https://github.com/structurizr/dsl/tree/master/docs/cookbook/dsl-and-code

Beautiful.  Thanks so much.
On Fri, Dec 17, 2021 at 9:29 AM Simon Brown @.***>
wrote:

I'd recommend the DSL for most teams, and even then you can use a
combination of the DSL and the .NET library if needed:

Convert the DSL workspace to JSON (using the CLI)
Import the JSON using Structurizr for .NET
Run .NET code to extend the workspace

Something like this, although you'd use the CLI to convert the DSL to JSON
->
https://github.com/structurizr/dsl/tree/master/docs/cookbook/dsl-and-code
—
Reply to this email directly, view it on GitHub
https://github.com/structurizr/dsl/issues/95#issuecomment-996812108, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO26FD6S3MHU76ACMOSQ4LURNJNXANCNFSM5J7D6OQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>