Tool removes whitelisted apps as well from new profiles

Hello Guys,
First of all hats off to you guys for devoting so much time for this tool. I have been creating my own scripts to make the Windows junk apps go away, but never got it to work like this tool. Anyway, after following the howto and going through the documentation, I am able to get the script to work for the initial profile that I run the script on, but for the new profile/s it just removes everything, like windows store, calculator, sticky notes and it also didn't uninstall one drive or disabled Cortana. Could you please suggest if there's anything that I could be missing? I ran the Windows10DebloaterGUIOLD.ps1 because it gave me the option to Debloat only blacklisted apps. Unfortunately that got stuck after removing a few apps and the program crashed. After that I chose "Remove All Bloatware" which I am assuming removed everything to the point that even reverting is not bringing anything back. So I am at fresh install waiting to try something different.
Thanks in advance

Can you try the new version of the Windows10DebloaterGUIOLD.ps1 and see if it presents the same issue? It doesn't seem to have the same issue for myself.

@Sycnex I was able to get it to work after a few tries and running a combination of 2 scripts to get the desired results. I also had to modify couple lines of code in Windows10SysPrepDebloater.ps1. Please see the attached link to the screenshot https://user-images.githubusercontent.com/49837731/58053822-8359c300-7b0d-11e9-9c32-6047f4daa766.PNG. That took care of the Windows Store app disappearing on new profiles.
Another thing I noticed after trying to remove OneDrive that it would get uninstalled on the current profile but does reappear on new profiles. The same goes for the people icon on taskbar. It's not a huge issue in our environment and we can easily survive by it being there. I couldn't dig into the code anymore to find out why it might not be working due to time constraints, but when I do I will post my findings.
Thanks once again for your hard work


fix: bump base image of k3d-proxy to resolve vulnerabilities.

What
Bumps the base image of the k3d-proxy image to resolve various os package vulnerabilities.
Why
Resolves all vulnerabilities mentioned in #1472
Implications
I was unable to test this locally as of yet on my local machine to validate whether or not it causes any issues, will keep trying and update the ticket once I have validation (debugging local go installation issues with running the make files for this repo). If someone can validate easily and comment on ticket it would be appreciated.

Thanks for the PR @jackson-chris !
I'll merge it right away and it will land in the next patch release 👍

Can we merge this in please?

nginx:1.26.1-alpine3.19 is nearly 3 months old.
nginx:1.26.2-alpine3.20 is the current stable:
https://nginx.org/en/download.html
https://hub.docker.com/_/nginx
Why aren't you using Dependabot or Renovate to stay up-to-date and apply security fixes in time?

@reneleonhardt k3d is a development tool not focusing on running critical or production workloads, so there was never a focus around keeping everything up-to-date as fast as possible.
FWIW, Dependabot is active and proposing go module updates, but nothing else so far.
Feel free to open a PR to configure Dependabot or Renovate to catch all updates - I'll happily merge anything automating some work here :+1:
Then we need to make sure that there are automatic releases once critical vulnerabilities have been patched.

Hello @iwilltry42 thank you for introducing renovate!
For automatic security releases please have a look at https://github.com/aquasecurity/trivy-action but unfortunately I can't find examples for your understandable DevSecOps use case 😅
Daily workflow: If latest commit contains fewer critical vulnerabilities than the latest release, build and publish a new patch release


Format GherkinDocument AST as Markdown

Summary
Format a messages.GherkinDocument as either Gherkin or MDG.
Motivation and Context
As we're rolling out support for MDG in Cucumber, some users might want to convert all their existing feature files to MDG.
Doing this manually is tedious, so we should provide a migration tool to do this.
The intention is to have a tool that people can run like so:
npx @cucumber/gherkin-utils gherkin2mdg path/to/directory/or/file

How Has This Been Tested?
The pretty unit test performs the following transformation:
Gherkin Source --parse--> GherkinDocument --pretty--> Markdown Source --parse--> Gherkin Document --pretty--> Gherkin Source

We perform a string comparison of the initial and final Gherkin Source.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[x] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the CHANGELOG accordingly.

I would have created two distinct renderers and call the good one from the pretty method depending the desired syntax.

I did consider that, but went this solution to avoid too much code duplication. The traversal code is identical, and the only difference is prefixing/indentation of keywords. I think that can be improved by having distinct helper functions for each rendering function rather than using if statements.
I'll have a go at that.

Please remember to label issues and pull requests :-)

I did consider that, but went this solution to avoid too much code duplication. The traversal code is identical, and the only difference is prefixing/indentation of keywords. I think that can be improved by having distinct helper functions for each rendering function rather than using if statements.

This reminds me of all the visitor patterns I did already for Gherkin AST... I wanted to make a generic one into Gherkin, but never got the time for that. I wonder how much of the duplication we could avoid with a generic gherkin AST visitor...

@aslakhellesoy would be usefull to have this for Java too (e.g. to format existing feature files), in general it would be nice to support a configuration file where one could configure some aspects e.g. indentation deep, indentation style (tab versus spaces), numer of new lines before/after a given scenario/data table/ ...

@laeubi this will be published as a command line tool that you can run as npx @cucumber/gherkin-utils. This requires Node.js to be installed.
I realise people who don't use Node.js might not have it installed, but it's relatively easy to install. I'm not going to prioritise porting this to Java, but if someone submits a PR for this we'd accept it. The PR would also have to extract the test data to reusable tests so we can ensure consistent behaviour between implementations. A bit like we've done in Gherkin and create-meta.

@davidjgoss @aurelien-reeves @mattwynne could one of you review this please? Thanks!

The current CLI interface isn't very shell friendly. Consider making it easy to do:
Output formatted std in to std out:  cat test.feature | gherkin-utils format
Output formatted feature files to std out:  gherkin-utils format [ FILE1, FILE2, FILE3.... ]
Format feature files in place:  gherkin-utils  format --in-place [ FILE1, FILE2, FILE3.... ]
Format selected feature files in place: find <some thing> . -exec gherkin-utils format {} \;
Convert to markdown in place:  convert --in-place [ FILE1, FILE2, FILE3.... ]

I wonder if we could just call this CLI tool gherkin instead of gherkin-utils. We could still build/release it as a separate library (gherkin-cli would follow a common JS idiom for the package name).


fix Content item and app.config uptodate status

fix #11
fix both Content and app.config uptodate check
app.config is like Content with "Copy if Newer", so a new build doesn't replace a modified .exe.config in output directory

A fix for #11 should be fairly small, and your code here basically has those required changes.  However you have also included a lot of other stuff, including a redesign of how inputs and outputs are detected, some of which I don't think I agree with.
If you can trim this down to just the basic fix for #11 (with a test, please), then we will be happy to take it.
If you think the feature needs to be redesigned further (e.g. do content files have an issue?), please open an issue and provide some examples that demonstrate the bad behavior.

I not added a new issue for content items because there was a repro with content items by @rojepp
I added #388 for content items ( this pr fix also #388 )
I changed more code because the problem was bigger than an app.config workaround.
The 1-1 input -> output case (app.config and Content items) was not handled
I'll add test, just tell me this pr is the way to go
The app.config is like a content item with Copy to Output Dir = Copy if newer
The uptodate code is checking output groups, but should check msbuild build items instead. That's the root cause.
This pr is (ihmo) the minimal change to make it work right, without using msbuild build items directly
Using msbuild items inputs and output metadata is the real deal, but require more work (and changes), so i skipped this way for v4.
From msbuild msdn:

Incremental builds are builds that are optimized so that targets that have output files that are
up-to-date with respect to their corresponding input files are not executed.
A target element can have both an

Inputs attribute, which indicates what items the target expects as input
Outputs attribute, which indicates what items it produces as output.
MSBuild attempts to find a 1-to-1 mapping between the values of these attributes.
If a 1-to-1 mapping exists, MSBuild compares the time stamp of every input item to the time stamp
of its corresponding output item.
Output files that have no 1-to-1 mapping are compared to all input files.
An item is considered up-to-date if its output file is the same age or newer than its input file
or files.

This mean check input output of msbuild items not source files of the project or output groups.
The output group is a vs thing ( stuff used for installer project or publish targets? ).
Not all output files are equal (there are multiple groups, see my comment on #11 ) some like Built, Symbols etc doesn't have 1 input msbuild item -> should check all source files
old code
an outputs is everything except SourceFiles group items.
We find the older output timestamp and check with newer input timestamp
This is not correct, msbuild is not going to replace the .dll or .exe, because is up to date ( an .exe/.dll input are only the Compile source files like .fs ), is going to change only the content file.

That's the real problem.
new code
The content items (and app.config as workaround because we dont check msbuild items i/o directly) are checked with the output file generated by the content item.
The old check for Built/Documentation/Symbols is the same.
If you change a content item (or not exists in output dir) this cause a build.
The next time the content output is updated, so the build is not needed.
This pr handle also the Always, PreserveNewest ( = 'Copy if newer' ) and Never ( = Do not copy) of the Copy to output directory property of Content items

I understand the scenario you are describing, but I don't think we should change our current behavior.
It is acceptable to have conservative detection and sometimes trigger builds that aren't strictly necessary.  It is not acceptable to have aggressive detection that can sometimes fail to trigger a necessary build.
Treating all Content items that don't happen to copy into the output directory as having no role in the build falls into the latter category.  Content items can represent almost anything, and it's dangerous to make assumptions about how they do/do not contribute to the build, and how they might generate corresponding outputs.  The only way to have 100% fidelity in that detection is to re-implement MSBuild itself and inspect all targets, which defeats the whole purpose of the fast-up-to-date-check.
The current behavior:

Is harmless

i.e. at worst it's annoying, it doesn't cause incorrect things to happen

Is somewhat edge case

Only affects workflows where non-contributing Content items are updated much more frequently than actual code

Matches C# project system behavior

C# even trips over app.config files, so it's really fine if we don't even fix that.  Given that app.config are a well-known, established special case, though, I'm ok taking a scoped fix for those.

ok, got it, thx @latkin for feedback :smile:
I wrote a detailed reply about Content[Never] use case because i dont know how to detect it and i need help. I think, as you said, that is safer always start build when a file change (postbuild etc).
But this pr work for other Content types and app.config
I can update the pr and use the old way for Content[Never], so this pr fix

[ ] Content[Never]
[x] Content[PreserveNewest]
[x] Content[Always]
[x] app.config

is this ok?
for Content[Never] we can try a fix after v4. It's a shame, .fsx are Content[None] :sad:
Do you think there is a possible workaround? Like use the dirty flag of item, check another file, dont know. /cc @KevinRansom @vasily-kirichenko @dungpa @rojepp

@enricosada what is the status here? Are you planning to reduce to a minimal change and add tests?
As explained earlier, there is no need to for any detection of copy semantics.

@latkin didn't see this is the same behavior of c# for content items, np so.
i'll remove content items checks and leave only app.config with test. Tomorrow i think

ok, summary:

rebased for easier review
only app.config (no content items) as request
updated output files integration test and added a unit test
the integration test fails before this pr ( try bc41935 ).

removing the .exe.config from output dir must cause a build ( fixed )
stale .exe.config doesn't must cause a build ( fixed )

added check project build status with 8219016 because i got errors during test and this is safer

some notes:
pretty much the same behaviour of c#, but better ( fixed the deleted out config bug, c# got it ).
the app.config is like a content item with preserveNewest, so msbuild doesnt replace every time, only if stale ( newer is ok for msbuild )
Target "_CopyAppConfigFile" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\temp\temp projects\ConsoleApplication1\ConsoleApplication2\ConsoleApplication2.fsproj" (target "CopyFilesToOutputDirectory" depends on it):
	Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.

The app.config need a special check ( cannot add to output items hashset ) because is always old.
Change a file.fs -> new .exe but old .exe.config. If i use the output items hashset is a problem, because the .exe.config timestamp is used for stale check -> never up-to-date until rebuild

Now the check is exe.config < app.config -> not up-to-date. So the user can modify the .exe.config and the project is up-to-date.
I can check for .exe.config = app.config, but after build the .exe.config is unchanged (msbuild doesn't replace it until rebuild) so is useless, and i prefer use the msbuild behaviour ( @latkin you call, np for me, is a = vs < :smile: )
appconfig msbuild target
  <!--
    ============================================================
                                        _CopyAppConfigFile

    Copy the application config file.
    ============================================================
    -->
  <Target Name="_CopyAppConfigFile" Condition=" '@(AppConfigWithTargetPath)' != '' " Inputs="@(AppConfigWithTargetPath)" Outputs="@(AppConfigWithTargetPath->'$(OutDir)%(TargetPath)')">
    <!--
        Copy the application's .config file, if any.
        Not using SkipUnchangedFiles="true" because the application may want to change
        the app.config and not have an incremental build replace it.
        -->
    <Copy SourceFiles="@(AppConfigWithTargetPath)" DestinationFiles="@(AppConfigWithTargetPath->'$(OutDir)%(TargetPath)')" OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)" Retries="$(CopyRetryCount)" RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)" UseHardlinksIfPossible="$(CreateHardLinksForAdditionalFilesIfPossible)">
      <Output TaskParameter="DestinationFiles" ItemName="FileWrites" />
    </Copy>
  </Target>


Search bar dark mode contrast

Description
In dark mode, the search bar was white with white text.  Now it looks like this:

Related Issues
Closes https://github.com/flutter/flutter/issues/66781
Tests
In both light and dark mode, verify the color of the app bar and text are not the same.

@darrenaustin Let me know if this isn't how the search bar is supposed to be for dark mode.


[Youtube] Unable to extract initial JS player n function name

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Region
USA
Provide a description that is worded well enough to be understood
i dont quite understand what exactly is going wrong but it told me to make an issue
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
\home\nova\Music\MurderDrones> yt-dlp --audio-format mp3 -x --no-flat-playlist --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0" --cookies-from-browser firefox  "https://www.youtube.com/playlist?list=PLwyyUdV4sEKOnT3elPE5d_THK1TDQPnmQ"
[Cookies] Extracting cookies from firefox
[Cookies] Extracted 2259 cookies from firefox
[youtube:tab] PLwyyUdV4sEKOnT3elPE5d_THK1TDQPnmQ: Downloading webpage
[youtube:tab] PLwyyUdV4sEKOnT3elPE5d_THK1TDQPnmQ: Downloading API JSON with unavailable videos
[download] Downloading playlist: Murder drones ost!
[youtube:tab] PLwyyUdV4sEKOnT3elPE5d_THK1TDQPnmQ page 1: Downloading API JSON
[youtube:tab] playlist Murder drones ost!: Downloading 82 videos
[download] Downloading video 1 of 82
[youtube] 2RL2e6cK5DI: Downloading webpage
[youtube] 2RL2e6cK5DI: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] 2RL2e6cK5DI: Downloading android player API JSON (retry #1)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] 2RL2e6cK5DI: Downloading android player API JSON (retry #2)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] 2RL2e6cK5DI: Downloading android player API JSON (retry #3)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] 2RL2e6cK5DI: Downloading player 57c75fa4
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = F5Bm2QzmtTzopSk ; player = https://www.youtube.com/s/player/57c75fa4/player_ias.vflset/en_US/base.js
2RL2e6cK5DI: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2517, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2543, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2526, in _extract_n_function_name
    nfunc, idx = self._search_regex(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = ciUwyUzNgC6mCZH ; player = https://www.youtube.com/s/player/57c75fa4/player_ias.vflset/en_US/base.js
2RL2e6cK5DI: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2517, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2543, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2526, in _extract_n_function_name
    nfunc, idx = self._search_regex(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[info] 2RL2e6cK5DI: Downloading 1 format(s): 251
ERROR: unable to download video data: HTTP Error 403: Forbidden
[download] Downloading video 2 of 82
[youtube] AZFvFeTCmOA: Downloading webpage
[youtube] AZFvFeTCmOA: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] AZFvFeTCmOA: Downloading android player API JSON (retry #1)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] AZFvFeTCmOA: Downloading android player API JSON (retry #2)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] AZFvFeTCmOA: Downloading android player API JSON (retry #3)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = TusrAj7HQOoXOD3 ; player = https://www.youtube.com/s/player/57c75fa4/player_ias.vflset/en_US/base.js
AZFvFeTCmOA: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2517, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2543, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2526, in _extract_n_function_name
    nfunc, idx = self._search_regex(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = DCZomjFO359Cxap ; player = https://www.youtube.com/s/player/57c75fa4/player_ias.vflset/en_US/base.js
AZFvFeTCmOA: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2517, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2543, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2526, in _extract_n_function_name
    nfunc, idx = self._search_regex(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[info] AZFvFeTCmOA: Downloading 1 format(s): 251
ERROR: unable to download video data: HTTP Error 403: Forbidden
[download] Downloading video 3 of 82
[youtube] NXt4UGm2P84: Downloading webpage
[youtube] NXt4UGm2P84: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] NXt4UGm2P84: Downloading android player API JSON (retry #1)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] NXt4UGm2P84: Downloading android player API JSON (retry #2)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying ...
[youtube] NXt4UGm2P84: Downloading android player API JSON (retry #3)
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = btVeV1t7UElT6HT ; player = https://www.youtube.com/s/player/57c75fa4/player_ias.vflset/en_US/base.js
NXt4UGm2P84: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2517, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2543, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2526, in _extract_n_function_name
    nfunc, idx = self._search_regex(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = 01sT0hB_DGYn8bi ; player = https://www.youtube.com/s/player/57c75fa4/player_ias.vflset/en_US/base.js
NXt4UGm2P84: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2517, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2543, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 2526, in _extract_n_function_name
    nfunc, idx = self._search_regex(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[info] NXt4UGm2P84: Downloading 1 format(s): 251
ERROR: unable to download video data: HTTP Error 403: Forbidden
[download] Downloading video 4 of 82
[youtube] j4t4BqMq7P0: Downloading webpage
^C
ERROR: Interrupted by user
\home\nova\Music\MurderDrones>

You are running a really old version of yt-dlp.
With how often websites change, it is important for a software like yt-dlp to be updated regularly.

oh weird, this is the version from APT so i assumed it was up to date. thanks for telling me!

We don't maintain the packages in Linux distributions and sadly some distributions ship very out of date versions.
I think Debian/Ubuntu has a backports repo with a newer version, but not sure how up to date that is either.
Alternatively you can directly install yt-dlp with pip/pipx/use the zip import build.
https://github.com/yt-dlp/yt-dlp/wiki/FAQ#the-yt-dlp-in-my-package-manager-is-outdatedbroken


Remove deprecated SystemNavigator.routeUpdated method

The deprecation period has elapsed. The method was made obsolete in https://github.com/flutter/flutter/pull/82594.

I doubt that this one is worth the effort. It's a fairly low-level method that was likely only used directly within the framework...


Using Verify without a unit test sample appears to try to overwrite the file

Preamble
I'm trying to use Verify without a unit test as described in https://github.com/VerifyTests/Verify/blob/6bbb0defd5e1eb7012a957acde07cbba4342f591/docs/verify-file.md?plain=1#L40
When I put that snippet in a new console app, changing only the source file to be args[0] to pull from the command line I get this exception:
Unhandled exception. System.IO.IOException: The process cannot access the file 'D:\Projects\YamlDotNet\YamlDotNet\bin\YamlDotNet.16.1.0-refactor-dotnet-pack-.nupkg' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at IoHelpers.WriteText(String path, StringBuilder text) in /_/src/Verify/IoHelpers.cs:line 139
   at Comparer.Text(FilePair filePair, StringBuilder received, VerifySettings settings) in /_/src/Verify/Compare/Comparer.cs:line 8
   at VerifyEngine.GetResult(VerifySettings settings, FilePair file, Target target, Boolean previousTextFailed) in /_/src/Verify/Verifier/VerifyEngine.cs:line 28
   at VerifyEngine.<>c__DisplayClass18_0.<<HandleResults>g__Inner|0>d.MoveNext() in /_/src/Verify/Verifier/VerifyEngine.cs:line 53
--- End of stack trace from previous location ---
   at VerifyEngine.HandleResults(List`1 targetList) in /_/src/Verify/Verifier/VerifyEngine.cs:line 71
   at VerifyTests.InnerVerifier.VerifyInner(Object root, Func`1 cleanup, IEnumerable`1 targets, Boolean doExpressionConversion) in /_/src/Verify/Verifier/InnerVerifier_Inner.cs:line 30
   at VerifyTests.InnerVerifier.VerifyStream(Stream stream, String extension, Object info) in /_/src/Verify/Verifier/InnerVerifier_Stream.cs:line 93
   at Program.<>c__DisplayClass0_0.<<<Main>$>b__0>d.MoveNext() in D:\Projects\verify-nupkg-tool\Program.cs:line 18
--- End of stack trace from previous location ---
   at Program.<Main>$(String[] args) in D:\Projects\verify-nupkg-tool\Program.cs:line 13
   at Program.<Main>(String[] args)

That appears that the verifier is trying to overwrite the source file. I assume that either I'm doing something silly, or the snippet is out-of-date.
Minimal Repro
var solutionDirectory = AttributeReader.GetSolutionDirectory();
var settings = new VerifySettings();
settings.DisableRequireUniquePrefix();

var sourceFile = args[0]; // Path.Combine(solutionDirectory, "Verify.Tests", "sample.txt");

await new SettingsTask(
    settings,
    async settings =>
    {
        using var verifier = new InnerVerifier(sourceFile, settings);
        return await verifier.VerifyFile(sourceFile, null, null);
    });

And then run via  dotnet run -- path/to/file.txt
Submit a PR that fixes the bug
Happy to do so, but wanted to verify this is a real issue and not a user issue first :)

AFAIK everything is working over in https://github.com/flcdrg/Verify.Cli. I know I did have to update my code recently due to parameter changes, but I think you've got that in your example.
I'll take a closer look later tonight/weekend to see if I can see anything obvious.

Ok.. so the sample code works fine if you're pointing it at a text file.. but I can reproduce the same exception if I point it at a .nupkg file like you appear to be doing.

I can see that known extensions get handled specially inside VerifyStream in InnerVerifier_Stream.cs. I'm guessing because 'nupkg' isn't a known extension, it goes down the alternate path (line 96).
nupkg files do work fine when called in a unit test context, so maybe there's something extra we need to do for these kinds of files when in a non-unit test context.

do text files work if u put a write lock on them?

No.. it fails with a similar exeption and stack trace:
[Exception] System.Private.CoreLib.dll!Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(string fullPath, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.IO.FileOptions options) Line 114
	at /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs(114)
[Exception] System.Private.CoreLib.dll!Microsoft.Win32.SafeHandles.SafeFileHandle.Open(string fullPath, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.IO.FileOptions options, long preallocationSize, System.IO.UnixFileMode? unixCreateMode) Line 47
	at /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs(47)
[Exception] System.Private.CoreLib.dll!System.IO.Strategies.OSFileStreamStrategy.OSFileStreamStrategy(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.IO.FileOptions options, long preallocationSize, System.IO.UnixFileMode? unixCreateMode) Line 46
	at /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/OSFileStreamStrategy.cs(46)
[Exception] System.Private.CoreLib.dll!System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.IO.FileOptions options, long preallocationSize, System.IO.UnixFileMode? unixCreateMode) Line 35
	at /_/src/libraries/System.Private.CoreLib/src/System/IO/Strategies/FileStreamHelpers.Windows.cs(35)
[Exception] System.Private.CoreLib.dll!System.IO.FileStream.FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) Line 141
	at /_/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs(141)
[Exception] Verify.dll!IoHelpers.OpenRead(string path) Line 111
	at C:\dev\git\Verify\src\Verify\IoHelpers.cs(111)
[Exception] Verify.dll!VerifyTests.InnerVerifier.VerifyFile(string path, object info, string extension) Line 10
	at C:\dev\git\Verify\src\Verify\Verifier\InnerVerifier_File.cs(10)
[Exception] ConsoleApp2.dll!Program.<Main>$.AnonymousMethod__0(VerifyTests.VerifySettings settings) Line 18
	at C:\dev\sandbox\ConsoleApp2\ConsoleApp2\Program.cs(18)
[Exception] ConsoleApp2.dll!Program.<Main>$(string[] args) Line 13
	at C:\dev\sandbox\ConsoleApp2\ConsoleApp2\Program.cs(13)

Regarding the nupkg thing, in my real use case I'm also including https://github.com/MattKotsenas/Verify.Nupkg in case that matters. However as you mentioned I get the same behavior without initializing that extension, so I (perhaps incorrectly) thought it wasn't relevant.

i tweaked that api https://github.com/VerifyTests/Verify/blob/main/docs/verify-file.md#verify-a-file-without-using-a-unit-test
it is in 27.0.0-beta.1
can you both give it a try?

That API works very nicely and looks like I can now delete redundant code from Verify.Cli

cool. BTW i also added support for converter to that API


Error using Butterknife

The scrollbar is calling the following:
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.support.v7.widget.RecyclerView$Adapter.getItemCount()' on a null object reference
at com.turingtechnologies.materialscrollbar.ScrollingUtilities.getCurScrollState(ScrollingUtilities.java:146)
After Butterknife unbinder is called resulting in an NPE. I didn't have this issue on 9.0.2

I don't have this problem on 9.3.0 either, was attempting to upgrade but had to switch from the
new DragScrollBar(getContext(), recyclerView, false);
Implementation to the xml implementation.

The error suggests that the recyclerView doesn't have an adapter at the time when the bar is being drawn. Have you set the adapter in the onCreate method (or whatever the analogous method is for fragments if that's the case)?

I set it later actually, because my data loads later and adapter actions depend on what is returned from a server.  I don't think the library should cause a crash just because an adapter isn't attached until a later time period.

Whatever floats your boat then. I'll add back the programmatic route, but it won't have the formatting support like it used to. You'll need to add all of the layout constraints manually. Should only be a few lines though.

Let me know how it works.

Eh, I just use one line :)
new DragScrollBar(getContext(), recyclerView, false);
Could you not just add a check to see if the adapter exists before running code on it?  I would prefer the XML if it has additional features.
Or perhaps a manual, addAdapter method.

It doesn't really have any additional features, and I'm avoiding doing that because it prevents the scroll bar from doing setup things that it needs to do (for example, figuring out if it should hide because there are too few elements for scrolling). Anyway, the new update should work for what you need.

Hey great, thanks!


Update to use TS1.5 services

This PR updates to use one of the prerelease 1.5 compilers from Arnavion’s nightlies along with a few changes to services that are necessary for working with 1.5. Maybe this can just go on a separate branch until 1.5 is fully baked, but it seems like it’s far enough along now that we should start working with it.
I also note that 1.5 appears to be delivered along with a server for language services (tsserver) which could be more useful in the long term than having our own child language services process, but this PR just gets things fixed up to work again with 1.5.

Note that there are quite a lot of changes in the JS files because the release versions haven’t been getting compiled using grunt build.

:+1: Merge whenever you feel like we should release this. I leave that decision completely up to you :heart:

I think it needs to wait till at least more of the ES6 module support is in place, since right now the support in master is bit of a mixed bag (imports with destructuring are supported but it crashes if you generate declarations and doesn’t support the export default syntax). I’ll keep updating this PR until everything seems stable.

@csnover I'm going to join you on this branch. I'll start by bringing in master right now.

closed in favor of : https://github.com/TypeStrong/atom-typescript/pull/179


gvisor: omit platform code from coverage instrumentation

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

We don't merged, please git rebase master instead.


Should be using P.error() or P.catch()?

Just a quickie here.
I noticed in the documentation you've stated to use .error() From my understanding, the .error() only catches operational errors and .catch() catches all errors.
Should I being using .error() or .catch() while using rethinkdbdash?

Errors returned by the server are operational, so you can catch them with error - though catch works too.


IMERGv7 errors and missing files

/g/data/ia39/aus-ref-clim-data-nci/gpm/data/V07/
I could read and work with the IMERGv7 data from years 2001-2014 without problem, but I am encountering an issue on year 2000 (data avail from June)
"ValueError: Coordinate variable time is neither monotonically increasing nor monotonically decreasing on all datasets"
Reading month by month I find no issues for months 06-07-08, but the error above for months 09 through 12 .
Can this be checked? maybe some issue while processing cdo/nco to generate these files.
Also, when looking for potential file duplications, I find that month 12 has 29 files instead of 31.
Thanks
Joaquin
Code used:
files = glob.glob(DIR_MAIN+str(year)+'/ *.nc')
files = glob.glob(DIR_MAIN+str(year)+'/'+file+month+' *.nc')
len (files)
data = xr.open_mfdataset(files,combine='by_coords',compat='override',coords='minimal',parallel=True).sel(lat=lat_range)

thanks for letting us know, @greensh16 let me know if you can check this, otherwise I will fix it myself, thanks

Ok I'll have a look at this, maybe there's a corrupted file that messed up the concatenation for this months.

@joaquin-unsw 09-12 for 2000 should work now, I used your code above and that data opens fine for me.
Let us know if you have any other issues with this dataset.

excellent, issue solved, thanks !


TO API: unable to write a null or blank value to IPv6

Created two servers with v6 addresses, then removed the address for one.  When removing the second's in traffic portal, an error tells me that i'm unable to edit the v6 address as it already exists for another host.
Making the same change via the API results in no error, but no change either.  This occurs when setting the address to both "" or NULL.

if my memory serves me correctly, ipv6 addresses must be unique per profile. for example
server 1 has profile A which has ipv6=2001:aaaa:bbbb:cccc::
server 2 has profile B which has ipv6=2001:aaaa:bbbb:cccc::
^^ this is fine but if
server 3 has profile B which has ipv6=2001:aaaa:bbbb:cccc:: <-- that won't work.
anyhow, my guess is that this constraint is kicking in on a null or blank value. i.e.
server 1 has profile A which has ipv6=null
server 2 has profile A which has ipv6=null <-- the system thinks that null is already taken so it's throwing the unique constraint error.


Upstage/replace pdf library

Library Replacement

Library Change: We have replaced the fitz (PyMuPDF) library, which was previously used under the AGPL license, with the pypdf library, which is licensed under BSD 3.0.

Reason for Change: The shift to pypdf allows us to maintain a more permissive licensing model, aligning better with our project’s licensing requirements and ensuring broader compatibility and usability for our users.

Bug Fixes

Page Indexing Issue: Addressed and resolved an issue related to incorrect page indexing that occurred during element and page splitting operations.

Impact: This fix ensures that page elements are correctly indexed, which improves the accuracy and reliability of our document processing functionalities. Users should now experience correct element placement and page division as intended.

LGTM


[java] prevent failing if same procedure is found in java bytecode

When people are running commands like mvn compile it will create .class files, and mvn install will create .jar files containing the class files already existing in the directory. This PR checks if the same procedure is found, by comparing its signature and if that's the case, it prevents Infer to fail.

Hi Linpeng 🙂
Please, let me know if you have any issues with signing the CLA.


does jetstream support message delay?

Is it possible publish/subscribe message with time delay.. ?
Message timers let you specify an initial invisibility period for a message added to a queue. For example, if you send a message with a 45-second timer, the message isn't visible to consumers for its first 45 seconds in the queue. The default (minimum) delay for a message is 0 seconds.

no we dont have such a feature, mind explaining the use case a bit?

no we dont have such a feature, mind explaining the use case a bit?

We have an external API, sometimes it doesn't respond, after a while we try to send it again ... if our app is in one replica, that's not a problem, we get from the database and send it. but if we have more than one replica, the request will be more than one and it is problem..

We have an external API, sometimes it doesn't respond, after a while we try to send it again ... if our app is in one replica, that's not a problem, we get from the database and send it. but if we have more than one replica, the request will be more than one and it is problem..

You can use the duplicate tracking in jetstream to allow multiple publishes but only 1 going into the stream, would that not address the concern of the more than 1 replica?

You can use the duplicate tracking in jetstream to allow multiple publishes but only 1 going into the stream, would that not address the concern of the more than 1 replica?

it is OK! We are using Queue Subscribe in nats streaming, but need a message to delay.. I tested with nats streaming to resend. it is very fast and it is very overwhelmed.

it is OK! We are using Queue Subscribe in nats streaming, but need a message to delay.. I tested with nats streaming to resend. it is very fast and it is very overwhelmed.


APIM QSG needs to be updated for 4.0.0

Description:
APIM QSG needs to be updated for 4.0.0
https://apim.docs.wso2.com/en/4.0.0-dev/get-started/quick-start-guide/quick-start-guide/

Fixed in https://github.com/wso2/docs-apim/pull/3729


testing/fstest: TestFS fails on valid FS if it contains any symlinks

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

$ go version
go version devel +8869086d8f Thu Feb 4 04:46:49 2021 +0000 darwin/amd64

Also tried with go 1.16 rc1
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ goGO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/carlos/Library/Caches/go-build"
GOENV="/Users/carlos/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/carlos/Developer/Go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/carlos/Developer/Go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/carlos/Developer/forks/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/carlos/Developer/forks/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="devel +8869086d8f Thu Feb 4 04:46:49 2021 +0000"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/carlos/Developer/forks/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cz/k46fpqfd547_mn0ssjq7b5rr0000gn/T/go-build4008414779=/tmp/go-build -gno-record-gcc-switches -fno-common" env

What did you do?
Example reproducible:
package main

import (
	"os"
	"path/filepath"
	"testing"
	"testing/fstest"
)

func TestTestFS(t *testing.T) {
	tmp := t.TempDir()
	tmpfs := os.DirFS(tmp)

	if err := os.WriteFile(filepath.Join(tmp, "hello"), []byte("hello, world\n"), 0644); err != nil {
		t.Fatal(err)
	}

	if err := os.Symlink(filepath.Join(tmp, "hello"), filepath.Join(tmp, "hello.link")); err != nil {
		t.Fatal(err)
	}

	if err := fstest.TestFS(tmpfs, "hello", "hello.link"); err != nil {
		t.Fatal(err)
	}
}

Seems like it compares the stat of the file vs the stat of the link to the file... which fails (as it should).
Maybe I shouldn't use it against anything but MapFS? I'm not sure.
What did you expect to see?
Test should pass.
What did you see instead?
        hello.link: mismatch:
        	entry = hello.link IsDir=false Type=L---------
        	file.Stat() = hello.link IsDir=false Type=----------
        hello.link: mismatch:
        	entry.Info() = hello.link IsDir=false Mode=Lrwxr-xr-x Size=79 ModTime=2021-02-05 00:46:02.12900541 -0300 -03
        	file.Stat() = hello.link IsDir=false Mode=-rw-r--r-- Size=13 ModTime=2021-02-05 00:46:02.128923494 -0300 -03

A symlink is not a file in the sense of the FS interface, so a decision must be made about what a symlink's behavior should be. One can suggest that the symlink should evaluated, and that the resulting object be referenced, but one can also argue that a symlink is an error because it does not honor the simple FS semantics. The second case is what we see here.
I am not sure what the right answer is, but whatever it is, it should be documented. There is no documentation today and that should be addressed once the decision is made.

Understood.
For context, I got this while looking into replacing afero.Fs for fs.FS in one the packages I maintain.
The main usage of afero.Fs there was to avoid creating thousands of files in testdata to validate our behavior. So we "in production" we use the real FS implementation and when running tests a MemFS (although we could use a real FS on a temp dir as well).
Maybe that's the use case fs.FS was intent for, but then I agree it should be documented.
And would also be a bit sad because it would be really nice to not use 3rd parties for that...

I don't think  it makes sense for os.DirFS to lie about the types of directory entries, especially given that nothing fundamentally prevents io/fs from gaining an LstatFS extension interface in the future.
For now, I think fstest.TestFS should skip the Stat consistency check for any entry that has a type with ModeSymlink set.

I agree about skipping the Stat consistency check if ModeSymlink is set in the directory listing.
Mailed https://golang.org/cl/290009.


Firebase storage getdownloadurl doens't work on ios

StorageReference storageReference = storage.ref();
    final StorageReference imagesRef = storageReference.child('posters/$uuid');

    StorageUploadTask uploadTask = imagesRef.putFile(_imageFile);
    print(imagesRef.getDownloadURL());

    var imageURL = await (await uploadTask.onComplete).ref.getDownloadURL();

about await getDownloadURL works well on android but doesn't work on ios

@thinkcsww
The issue at https://github.com/flutter/flutter/issues/24967 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @thinkcsww
If you are still experiencing this issue
with the latest version of Flutter and FlutterFire plugin
can you please provide your updated  flutter doctor -v
and your and your flutter run --verbose/flutter build --verbose ?
Also, to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

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

I resolved it by update firebase version
On Thu, Nov 21, 2019 at 12:07 AM Francecsco Iapicca <
<EMAIL_ADDRESS>wrote:

Without additional information, we are unfortunately not sure how to
resolve this issue. We are therefore reluctantly going to close this bug
for now. Please don't hesitate to comment on the bug if you have any more
information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the
exact descriptions what happens, logs and the output of 'flutter doctor -v'
please.
All system setups can be slightly different so its always better to open
new issues and reference related issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/flutterfire/issues/560?email_source=notifications&email_token=AIOMY5CWA5ZIWGTVVOU7YH3QUVHDJA5CNFSM4JAIDQ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESI57A#issuecomment-556044028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIOMY5GZKDFLCGHBLWEE4Q3QUVHDJANCNFSM4JAIDQ5A
.


refactor(oxc_transformer): use enum to represent Pragma

#7613  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

@IWANABETHATGUY Oh I'm sorry. I didn't realize you were working on this.

One question, if you don't mind me asking: Same as in #7553, here you Box the result of the various match arms. What's the advantage of doing that?

One question, if you don't mind me asking: Same as in #7553, here you Box the result of the various match arms. What's the advantage of doing that?

No special reason, I saw your code and I think it is better than me, I just don't realize early return could avoid Boxing a iter trait.

Ah ha now I understand the Box. Thanks for explaining.


Plugin reload fails because of noexec mounted partition for the run directory

From Mark Moseley on the users@ mailing list:
https://lists.apache.org/thread.html/r2be4fcf306079ea2f1c993b8f9807c9ffbff3ac21afefda419c22fda%40<users.trafficserver.apache.org>
Plugin reload fails because of noexec mounted partition for the run directory.  We should have better error messages, fail without reloading (Emergency), and possibly use another directory (e.g. /tmp/).

I was able to get a good error message in the logs when trying to reproduce.
Commands to mount noexec filesystem:
cd /opt/ats/var
dd if=/dev/zero of=file bs=1000 count=100000
mkfs.ext3 file
mkdir trafficserver
mount -o noexec,loop file trafficserver

Configuration:
tail -1 /opt/ats/etc/trafficserver/remap.config
map / http://www.yahoo.com @plugin=header_rewrite.so @pparam=foo.config
cat /opt/ats/etc/trafficserver/foo.config
add-header Hello World

Error messages:
grep ERROR /opt/ats/var/log/trafficserver/diags.log | tail -2
[Mar 16 16:02:41.588] traffic_server ERROR: plugin 'header_rewrite.so' failed to load: /opt/ats/var/trafficserver/3c7814b4-a3f7-4b96-b6ab-441a79eda6bd/opt/ats/libexec/trafficserver/header_rewrite.so: failed to map segment from shared object
[Mar 16 16:02:41.588] traffic_server ERROR: [ReverseProxy] failed to add remap rule at /opt/ats/etc/trafficserver/remap.config line 197: /opt/ats/var/trafficserver/3c7814b4-a3f7-4b96-b6ab-441a79eda6bd/opt/ats/libexec/trafficserver/header_rewrite.so: failed to map segment from shared objectfailed to remove runtime copy: Success


Please Don't Lock Issues

No <3
You should be polite and follow the instructions left out on the other issues of which you now have two three.
I gave you all the information you need and if you keep this up we WILL stop you from participating in the repository actions.
Hope this helps! :)


[feature-request] Shorter shortnames for goodservice app

This PR adds shorter shortnames for Goodservice. Instead of displaying the name of the last station on the route, a configuration is provided to allow for setting the short name to "Uptown" or "Downtown". This PR also slows down the scrolling motion when displaying stations to make reading easier for users.

I'm going to be looking into the failing check, but I want to get the review process started on this so I'm opening it up to reviews.

Looks like you're erroring out because inputText is not a free fontAwesome icon.

Looks like you're erroring out because inputText is not a free fontAwesome icon.

Thanks for that, @rs7q5! I thought I changed that when I last amended the diff, but it looks like it didn't go through 🙃

@blahblahblah- any opinions on this one?

Unfortunately, "Uptown" and "Downtown" really only makes sense within Manhattan and also does not work on the crosstown lines (i.e. 7, L, S), so I would prefer to use borough-based destinations or by cardinal direction (I prefer the former).

Thanks for the feedback, @blahblahblah-! I've gone through and set the destination to be the capitalized direction instead.

Thanks for the change @connernilsen! @blahblahblah- raises legitimate concerns. A Southbound 7 train would be nonsensical :sweat_smile:. I'm going to close this, but if you really wanted this type of change we could maybe support another app?

I may revisit this in the future to have borough-based direction names using the geolocation of the station in the future, since that would require adding more information to the API.

Actually @connernilsen, I'm open to merging the PR as it currently stands, if you would make certain lines be be "East" and "West" instead. Specifically 7, L, and GS.


Add setting to disable arrow_forward functionality

I hate when a group of people are all memeing or spamming the #nsfw channel and people decide to click the arrow_forward button before someone's had a chance to either look at an image someone's talking about, or open it in their browser so that they have a reference to it. It would be great if this functionality could be disabled with a setting.

Added in eee07f057779c509356836e6c67c81ad212d1913
Use disableNextImage to disable it.
disableNextImage
================
Type----:: boolean
Default-:: false
Current-:: false

Disables the "next image" arrow reaction

Thank you so much for the functionality and for the quick response!


perfect6502 not quite perfect...?

I've put a test program here: https://github.com/tom-seddon/perfect6502/tree/_brk
Repro steps:

get latest of https://github.com/tom-seddon/perfect6502/tree/_brk
make
./cbmbasic

This clears memory, sets IRQ vector to 0x30, reset vector to 0x10, and runs the 6502 for 50 half cycles.
Expected result:
6502 hits the BRK, does its usual thing, and starts executing from 0x0030
Actual result:
6502 hits the BRK, does its usual thing, and starts executing from $4777
Notes:
This is intended to be the same as the following visual6502 link: http://visual6502.org/JSSim/expert.html?a=0000&d=000000000000000000000000000000000000000000000000&a=0030&d=ea&a=fffc&d=100030&graphics=false&steps=50 (and visual6502 behaves as I'd expect in this case)
Thanks,
--Tom

Judging by git bisect, b2cce8862046d99106ffe8576733acfec849592d is the first bad commit.
--Tom

Interesting find! I'd imagine it would be possible to revert to a perfect working state and generate and exhaustive suite of tests to run that measures the outputs of the pins wrt different inputs and clock cycles. It would likely be quite large as you'd want to cover a lot of combinations of instructions, but I don't think it would have to contain more than all possible two-instruction sequential pairs.
Such a test suite would be very, very valuable, both for this project while working on optimization, but also as a more or less standard test suite for other emulators.

Of course, I neglected to consider possible memory contents and interrupts, but I still think such a suite of tests would be possible to generate.

Thinking more about it something based on fuzzing instruction streams and memory contents would likely be more feasible but still provide a massive benefit, especially if users could change its seeds.

I've encountered the same issue working on 6581 emulation. Backing out (manually) the mentioned commit fixes the problem.

The problem is actually in the setNode function, removing the "if" check and adding a call to recalcNodeList before returning solves the issue.


How to calculate eigenvector

https://github.com/mirnylab/cooltools/blob/6a6857f7cc973ba589d8b47ae90b9325d3190e8b/cooltools/eigdecomp.py#L265-L269
I tested two other ways of finding A/B compartment.
1:
Abar = np.mean(A[is_valid])  # center by scalar mean
O = (A - Abar)
O[is_bad_bin, :] = 0
O[:, is_bad_bin] = 0
eigvecs, eigvals = numutils.get_eig(O, n_eigs, mask_zero_rows=True)

2:
Abar = np.mean(A[is_valid])  # center by scalar mean
O = (A - Abar)
O[is_bad_bin, :] = 0
O[:, is_bad_bin] = 0
u, s, vh = numpy.linalg.svd(O)

Their results of first eigenvector/principal coponennt are not equal while their separation of A/B compartment and plot of A/B compartment (use matplotlib.pyplot.fill_between) are quite similiar.
And the original way of finding compatment A/B in the paper use the second way i.e. use SVD/PCA

Lieberman-aiden, Erez.. 2009 . Comprehensive Mapping of Long-Range Interactions Reveals Folding Principles of the Human Genome

So,my question is how to deduce the formula in your code and waht's the relationship among these three ways.
I would sincerely appreciate your answer.

The matrix is already symmetric.  Thanks again. Finally figured out what you mean.


preparations for js-ipfs 0.35

👋 I upgraded ipfs to v0.35.0-rc.4 and ran the tests but there were some failures.
It looks like these are mostly caused by ipfs._libp2pNode being moved to ipfs.libp2p. It seems like there is a fix on this peer-base branch: https://github.com/peer-base/peer-base/pull/250, but when I checked it out and rebased to master there were still a few errors.
Release notes for v0.35: https://github.com/ipfs/js-ipfs/issues/1826
Here is the output of running the tests against master with ipfs v0.35.0-rc.4:
><EMAIL_ADDRESS>test:browser /Users/dirk/dev/ipfs/peer-base
> aegir test -t browser

Test Browser
rendezvous: Listening on: http://<IP_ADDRESS>:9090

ℹ ｢wdm｣:
ℹ ｢wdm｣: Compiled successfully.
ℹ ｢wdm｣: Compiling...
ℹ ｢wdm｣:
ℹ ｢wdm｣: Compiled successfully.
  vectorclock
    doesRemoteNeedUpdate
      ✓ empty (1ms)
      ✓ local empty remote has changes
      ✓ remote empty local has changes
      ✓ local same as remote
      ✓ local lower value than remote
      ✓ local higher value than remote
      ✓ local some lower some higher than remote
    doesSecondHaveFirst
      ✓ empty
      ✓ first empty second full
      ✓ second empty first full
      ✓ first same as second
      ✓ first lower value than second
      ✓ first some lower some higher than second
    increment
      ✓ empty (6ms)
      ✓ undefined
      ✓ null
      ✓ with no author has no effect
      ✓ empty with author (1ms)
      ✓ with author not in clock
      ✓ with author
    isDeltaInteresting
      ✓ accepts one up
      ✓ does not accept already included
      ✓ accepts many up
      ✓ does not accept already included
      ✓ accepts concurrent that starts from inside
      ✓ does not accept concurrent that starts from outside
      ✓ does not accept concurrent whose only change is target peer id
      ✓ accepts concurrent that starts from inside and expands multiple
      ✓ does not accept concurrent that starts from inside and ends in self
      ✓ does not accept previous clock that is outside current clock
    isIdentical
      ✓ empty clocks
      ✓ clocks with single equal k/v
      ✓ clocks with multiple equal k/v
      ✓ empty vs single k/v
      ✓ single k/v vs empty
      ✓ same key but different value
      ✓ first subset of second
      ✓ second subset of first
    areDeltasJoint
      ✓ works
    diff
      ✓ two empties
      ✓ one empty one full
      ✓ one full one empty
      ✓ two distinct
      ✓ two intersecting (1ms)
    merge
      ✓ two empties
      ✓ one empty one full
      ✓ one full one empty
      ✓ two distinct
      ✓ two intersecting
    minimum
      ✓ two empties
      ✓ one empty one full
      ✓ one full one empty
      ✓ two distinct
      ✓ two intersecting
    subtract
      ✓ two empties
      ✓ one empty one full
      ✓ one full one empty
      ✓ two distinct
      ✓ two intersecting
    sumAll
      ✓ two empties
      ✓ one empty one full
      ✓ one full one empty
      ✓ two distinct
      ✓ two intersecting

  ring
    ✓ can be created
    ✓ can add a node (1ms)
    ✓ can get successor
    ✓ can add a few more nodes
    ✓ can get the successor
    ✓ can get the successor's successor
    ✓ can get the successor of the last
    ✓ can get the exact point at
    ✓ can get the point at
    ✓ can get the point at past end
    ✓ can get a point before start
    ✓ can remove a point

  dias set
    ✓ can be created (2ms)
    ✓ is empty at start
    ✓ can add a node (1ms)
    ✓ can add some nodes before 1/5th
    ✓ can add a node before 1/5th
    ✓ can add a node before 1/4th
    ✓ can add a node before 1/3rd
    ✓ can add a node after 1/2 (1ms)
    ✓ can work with poorly distributed small sets

  dias set inbound connections
    ✓ distributes inbound connections evenly (49ms)

  keys
    ✓ can be generated (32ms)
    ✓ can be uri-encoded (1ms)
    ✓ can be uri-decoded (1ms)
    ✓ can generate a new symmetrical key (4ms)

  app-transport
    ✓ can be created (2ms)
    ✓ can create a listener
    filtered discovery
      ✓ unconnected peer is filtered (102ms)
      ✓ uninteresting peer is filtered (105ms)
      ✓ interesting peer is discovered (5ms)

  membership
    unit
      ✓ sends single gossip message on start even if multiple gossip now events are fired during start (17ms)
      ✓ needs urgent broadcast on delivery of gossip summary message that doesnt match local hash (2ms)
      ✓ does not need urgent broadcast on delivery of gossip summary message that matches local hash (3ms)
      ✓ still needs urgent broadcast on delivery of hash mismatch followed by hash match (2ms)
      ✓ needs urgent broadcast on delivery of gossip message that doesnt contain this peer (4ms)
      ✓ needs urgent broadcast on delivery of gossip message that contains this peer but has the wrong addresses (3ms)
      ✓ does not need urgent broadcast on delivery of gossip message that does contain this peer and addresses (3ms)
      ✓ calculates matching hashes regardless of order of peers and addresses (8ms)
      ✓ has correct peer count and events when delivering remote membership (11ms)
    convergence
      ✓ has all members (1ms)
      ✓ knows all members addresses (6ms)

  dial tracker
    ✓ silently ignores removeDial for unknown dial id
    ✓ silently ignores cancel on peer that has not been dialed (1ms)
    ✓ before any dials should return false for dial accessors (1ms)
    ✓ should report dial to peer
    ✓ should handle multiple dials to multiple peers (1ms)
    ✓ should handle cancel of multiple dials (1ms)

  membership gossip frequency heuristic
    ✓ heuristic fires gossip now after each snapshot interval (189ms)
    ✓ heuristic fires event when a gossip message with a state change is received (22ms)
    ✓ heuristic does not fire event when a gossip message with no state change is received (66ms)
    ✓ heuristic does not fire event when a gossip message with a state change is received but peer count too high (62ms)
    ✓ heuristic does not fire events before starting (52ms)
    ✓ heuristic does not fire events until another peer is discovered (163ms)
    ✓ heuristic does not fire events after stopping (78ms)

  handling data
    ✓ correctly decodes data
    ✓ sets error argument if the data is incorrectly encoded (1ms)
    ✓ sets error argument if the handler function throws an error

  dial cache
    ✓ returns correct value on add (103ms)
    ✓ does not exceed capacity (1ms)
    ✓ add is fresh after remove

  dial throttle
    ✓ returns a valid value with default options (1ms)
    ✓ returns values in expected range (11ms)

  dialer
    ✓ returns correct backoff values (1ms)
    ✓ dial before start returns error
    ✓ backs off when there are dial errors (453ms)
    ✓ dials that do not complete within dialerMaxAttempts should return from callback with completed false and an error (106ms)
    ✓ fails after one dial when retry is false (11ms)
    ✓ dials interrupted by stop should return from callback with completed false (105ms)
    ✓ dials after stop should be ignored (52ms)
    ✓ cancelled dials should return from callback with completed false (63ms)
    ✓ cancelled retry dials should return from callback with completed false (56ms)

  discovery
    ✓ dials peers even if discovered before startup (164ms)
    ✓ dials peers discovered after startup (54ms)
    ✓ does not redial peer when dial is in progress (52ms)
    ✓ does not redial peer that is already connected (107ms)
    ✓ does not dial peer if discovery is interrupted by stop (53ms)
    ✓ repeatedly dials peer after connection error (108ms)
    ✓ allows redial immediately after unexpected disconnect (116ms)
    ✓ emits events for interested / not interested peers (14ms)

  peer interest discovery
    ✓ emits event showing interest in topic (6ms)
    ✓ does not hang up after event showing interest in topic (6ms)
    ✓ hangs up after event showing not interested in topic (5ms)
    ✓ times out after waiting for interest event (115ms)
    ✓ aborts timer immediately if the peer is disconnected (13ms)
    ✓ aborts timers immediately if interest discovery is stopped (18ms)

  connection manager
    ✓ connects to newly interested peers (53ms)
    ✓ disconnects from no longer interested peers (52ms)
    ✓ ignores interested peers that are already in ring and not interested peers that were not in ring (52ms)
    ✓ removes unexpectedly disconnected peer from ring (111ms)
    ✓ removes peer from ring if we receive a dial failure event (104ms)
    ✓ removes peer from ring if we dial and theres a failure (162ms)
    ✓ cleans up all connections on stop (52ms)

  app swarm
    1) "before all" hook
    2) "after all" hook

  app
    3) "before all" hook
    ✓ can be created

  peer count guess
    ✓ can be created
    ✓ can be started (8ms)
    4) gets some gossip
    ✓ can be stopped (1ms)

  collaboration
    5) "before all" hook
    6) "after all" hook

  collaboration gossip
    7) "before all" hook
    8) "after all" hook

  sub-collaboration
    9) "before all" hook
    10) "after all" hook

  public collaboration
    11) "before all" hook
    12) "after all" hook

  collaboration with random changes
    13) "before all" hook
    14) "after all" hook

  stats
    15) "before all" hook
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR: 'error stopping IPFS:', Error: Not able to stop from state: starting
Error: Not able to stop from state: starting
    at Function.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:163396:23)
    at http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331911:14
    at new Promise (<anonymous>)
    at IPFS.<anonymous> (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:331906:12)
    at App.stop (http://localhost:9876/base/node_modules/aegir/src/config/karma-entry.js?16d14f8712a4d2375e025968968e5dd93ec55514:404033:25)

  161 passing (28s)
  15 failing

  1) app swarm
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  2) app swarm
       "after all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  3) app
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  4) peer count guess
       gets some gossip:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  5) collaboration
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  6) collaboration
       "after all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  7) collaboration gossip
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  8) collaboration gossip
       "after all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  9) sub-collaboration
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  10) sub-collaboration
       "after all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  11) public collaboration
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  12) public collaboration
       "after all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  13) collaboration with random changes
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  14) collaboration with random changes
       "after all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

  15) stats
       "before all" hook:
     Error: Uncaught TypeError: Cannot read property '_floodSub' of undefined (/Users/dirk/dev/ipfs/peer-base/src/discovery/peer-interest-discovery.js:32:4 <- node_modules/aegir/src/config/karma-entry.js:408004)

Command failed: karma start /Users/dirk/dev/ipfs/peer-base/node_modules/aegir/src/config/karma.conf.js --files-custom --log-level error
Error: Command failed: karma start /Users/dirk/dev/ipfs/peer-base/node_modules/aegir/src/config/karma.conf.js --files-custom --log-level error
    at makeError (/Users/dirk/dev/ipfs/peer-base/node_modules/execa/index.js:174:9)
    at Promise.all.then.arr (/Users/dirk/dev/ipfs/peer-base/node_modules/execa/index.js:278:16)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test:browser: `aegir test -t browser`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test:browser script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/dirk/.npm/_logs/2019-03-29T14_13_28_886Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Thanks for looking at this! I knew it was likely to break ... it's good to see where now.

No worries, should be a fairly straightforward fix, the complicating factor is that a bunch of the tests simulate parts of the libp2p stack by creating a fake ipfs object, so those will probably need to be modified.


run_tests: keep longer logs from individual test cases

we now have fewer failures, so we can afford to keep more error results
longer test outputs make all the needed info easily accessible in result store (right now the results are usually trimmed).

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


Narration sd/sanity image safeties

Added simple missing-image safety to both apps, in src/components/SanityImage.astro

Closing, as current commit has a nicer method, covering the original issue


Add README for BinaryData

Can we include little to/from snippets for all the supported conversions?  I want to link people here and have them get it instantly without follow up questions.

Can we include little to/from snippets for all the supported conversions? I want to link people here and have them get it instantly without follow up questions.

Added


Add pod selector matches to conformance test suite

Currently all conformance tests are only testing on a namespace level (users should use NetworkPolicy if they want to fall to a pod-level which is why the first round of tests are not giving importance to this). We need to also add tests that use podSelector since that is a supported part of the API.

/area conformance

/assign

/remove-lifecycle stale

/reopen


New animation: "Unfolding"

I love your style so I'm thinking of a little commission.
The three bounce is perfect for route transitions, but there are moments in certain views where a component is only fully constructed on demand. Suppose it takes a few seconds, up to six in my case, to build the component; I would like to overlay a spinner that conveys the work of "unboxing" (which the user prefers over "construction" in data entry apps).
The animation would begin with a plain square that unfolds from the centre into a diamond, which then unfolds from the centre into a square. If possible the shape would continuously shrink, and the shape would always be the same size, but if that's too difficult then the larger diamond could scale down before unfolding, and the larger square could scale down before the animation repeated. A simpler version of all this is to simply rotate the diamond back to the square and repeat, but I think the full version is more compelling.
This (or something like it) would make a nice addition to the SpinKit collection :D

Aiming to have this done by Tuesday (just updated the 2.0 milestone), will send you a preview when I have one ready :bow:

@macu So, I ended up with this: https://github.com/tobiasahlin/SpinKit/pull/87 - it's quite far from your original proposal, but this is where inspiration took me :smiley: Might have another go at this sometime, but closing the issue for now :heart: thanks for the detailed post, and the inspiration!

Very nice!


Bump hypothesis deadline to 1s or more per default

Many tests are simply failing because they exceed the tight deadline of 200ms. Especially tests that invoke the UPLC VM are concerned. Using profiles, the default can be raised to 1s
https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles

Closed in e1f6cbbfc525fb4ca69aa0f4728070f2fea8570d


[Enhancement] kclvm-go needs to be able to be installed through go install command

Enhancement
To enable kusionctl to be installed through go install, kclvm go needs to be installed and used through go install, which can be done through go embedded, such as the go binding method of wasmer and wasmtime:

https://github.com/wasmerio/wasmer-go
https://github.com/bytecodealliance/wasmtime-go

Goals
The following commands can be used directly

a.k

a = 1

$ go install kusionstack.io/kclvm-go@latest
$ kcl-go run a.k
a: 1

After #72, I run the following command and then I got
$ go install kusionstack.io/kclvm-go@latest
package kusionstack.io/kclvm-go is not a main package

One of the expected results is to directly install and build a kcl-go command. cc @NeverRaR

Test go install kusionstack.io/kclvm-go/cmds/kcl-go@main successfully.