[web] Flutter stays on "Attempting to connect to browser instance"

Steps to Reproduce

Trying to launch the Flutter app for the web.
After connecting to the browser (Chrome opens no problem), terminal indicates "Attempting to connect to browser instance", then "(this is taking an unexpectedly long time.)".

Target Platform: Web
Target OS version/browser: Chrome v78.0.3904.108
Devices: Windows
Logs

flutter run --verbose
[  +27 ms] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +100 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] 7726910a5bc4135a9f1fd497c872c9e5cb1e51b5
[        ] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +83 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +1 ms] v1.12.14-0-g7726910a5
[   +6 ms] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +60 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git ls-remote --get-url origin
[  +54 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +96 ms] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git rev-parse --abbrev-ref HEAD
[  +55 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[ +114 ms] executing: C:\Users\<user>\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[  +35 ms] Exit code 0 from: C:\Users\<user>\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
[  +12 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
[  +43 ms] Chrome     • chrome     • web-javascript • Google Chrome 78.0.3904.108
[   +1 ms] Web Server • web-server • web-javascript • Flutter Tools
[  +10 ms] "flutter run" took 273ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:289:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:515:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///C:/Users/<user>/Documents/DEV/FLUTTER/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

flutter analyze
Analyzing <project>...
No issues found! (ran in 9.4s)

flutter doctor -v
[√] Flutter (Channel dev, v1.12.14, on Microsoft Windows [Version 10.0.17763.864], locale en-CA)
    • Flutter version 1.12.14 at C:\Users\<user>\Documents\DEV\FLUTTER\flutter
    • Framework revision 7726910a5b (2 days ago), 2019-11-25 16:47:51 -0500
    • Engine revision c89ac6347b
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\<user>\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-Q, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\<user>\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.4)
    • Android Studio at C:\Program Files\Android
    • Flutter plugin version 35.0.1
    • Dart plugin version 183.5901
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] IntelliJ IDEA Community Edition (version 2019.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1
    • Flutter plugin version 35.0.2
    • Dart plugin version 191.6183.88

[√] VS Code (version 1.40.2)
    • VS Code at C:\Users\<user>\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.6.0

[√] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 78.0.3904.108
    • Web Server • web-server • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

New to the flutter world, so I'd be more than happy for feedback on anything I should've done differently!
Thanks 🤘🏻

Hi @FolksyTitan
could you please attach your flutter run -d chrome --verbose as well
thank you

@iapicca Here ya go!
flutter run -d chrome --verbose
[  +27 ms] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +84 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 7726910a5bc4135a9f1fd497c872c9e5cb1e51b5
[        ] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +82 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +1 ms] v1.12.14-0-g7726910a5
[   +6 ms] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +60 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git ls-remote --get-url origin
[  +55 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +95 ms] executing: [C:\Users\<user>\Documents\DEV\FLUTTER\flutter\] git rev-parse --abbrev-ref HEAD
[  +59 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[ +120 ms] executing: C:\Users\<user>\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[  +38 ms] Exit code 0 from: C:\Users\<user>\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
[  +17 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +166 ms] Generating C:\Users\<user>\Documents\<folder>\<folder>\<project_folder>\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +124 ms] Launching lib\main.dart on Chrome in debug mode...
[   +1 ms] Building application for the web...
[+7848 ms] Starting daemon...
[ +155 ms] Initializing inputs
[  +12 ms] Reading cached asset graph...
[ +154 ms] Reading cached asset graph completed, took 152ms

[ +228 ms] Checking for updates since last build...
[ +531 ms] Checking for updates since last build completed, took 531ms

[  +10 ms] Initializing inputs
[   +4 ms] Reading cached asset graph...
[        ] Reading cached asset graph completed, took 152ms
[        ] Checking for updates since last build...
[        ] Checking for updates since last build completed, took 531ms
[ +152 ms] Serving DevTools at http://<IP_ADDRESS>:54450

[ +641 ms] About to build [web]...
[ +161 ms] Running build...
[   +1 ms] Running build completed, took 79ms

[        ] Caching finalized dependency graph...
[   +1 ms] Caching finalized dependency graph completed, took 101ms

[   +2 ms] Succeeded after 187ms with 0 outputs (0 actions)

[   +9 ms] Building application for the web... (completed in 9.9s)
[   +1 ms] Attempting to connect to browser instance..

/cc @jonahwilliams

@FolksyTitan can you share the verbose logs after doing a flutter clean ?

I am facing this problem

I resolved it by moving my main in lib directly rather than another folder inside it

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 it's always better to open new issues and reference related issues.

i had same issued, antivirus is disabled. but still attempting. anybody resolve this probllm?
`[   +3 ms] Caching finalized dependency graph...
[ +109 ms] Caching finalized dependency graph completed, took 286ms
[   +7 ms] Succeeded after 1m 31s with 1967 outputs (3687 actions)
[  +11 ms] Building application for the web... (completed in 132.6s)
[   +1 ms] Attempting to connect to browser instance..`

@klokoleva Please file a new issue with full details.


Enhancement/Update useAccountManager functionality

Description
All changes relate to useAccountManager hook.
Changes
Related Issue
Issue #418
Motivation and Context
This change adds useful callback functions for users to logout/remove all accounts in the useAccountManager hook as well as verify token status. A bug was fixed in error handling within getThumbnail functions and functionality added to maintain thumbnail images. An enhancement was added to save an originPath to be used in application routing. Function param format was modified to unify format for entire hook and callback functions.
How Has This Been Tested?
Tested with Enterprise and AGO accounts within the docz environment.
Types of changes

[x] 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 change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Note: JS Image() is given back in the getThumbnail functions allowing a user to store in state. This effectively caches the image. To store within localStorage/accountManagerState would add another field for org and user thumbnails to the account object (this was not done for this enhancement)


ci: disable nightly ci for version 12

This version is no longer in LTS as such we no longer need to test it.

Please ignore failure since this branch is no longer going to be released.


Improve tooling and documentation

I've added some tooling stuff to the repo that I am using personally and that might be useful for others. I also took the opportunity to explain what we're doing a little in the README and provide an AUTHORS file. Obviously we will eventually need to document the actual use of the library, but this is a good start for now I think.

The build will fail, that's fine, expected on this branch.


Docs for MAX7219/LED Matrix Setup

TODO

Since this is actually a pretty complicated process that currently requires manually building source for the azure-iot-* libs, just the cookie crumbs will be added to the main documentation so that users can set this up if they'd like.


fix: anticipated docker push issue

Resolves #278

Thanks your super fast reaction!

Thanks your super fast reaction!

I encountered this issue around 2 weeks ago, when I wanted to push one of my docker image to ghcr with a slightly adjusted version of our workflow.
This is an example run of our last working configuration.
https://github.com/muety/wakapi/actions/runs/1328392599/workflow
This PR adds ghcr tags on top of that.
I don't believe we can use metadata-action in the intended way since we are publishing 2 images (alpine and non-alpine).
https://github.com/docker/metadata-action#basic
https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-docker-hub-and-github-packages
However, this does show that it's possible to publish to both Docker Hub and Github Packages with one workflow and I'm pretty certain that we don't need to provide the Github credentials explicitly.
I haven't tried it out in practice, but here is a tutorial with this configuration:
https://event-driven.io/en/how_to_buid_and_push_docker_image_with_github_actions/

Thanks a lot for that fix and your detailed explanation! :)


feat: async font loading

load non-fallback fonts via async, allowing the lib to load quicker when they are still being downloaded, this will probably need the font config to be reloaded too

https://github.com/ThaUnknown/jassub/commit/b238a6f4c3f55c0a8dd17041ad1fde0088024c9a


Bus stop

Hi Guys,
Can anyone assist me? When running the bus stop method the windows publish service seems to hang on the second execution of the stop method. Our logging code looks like this:
            logger.Debug("TaxProcessor, Publish, Stopping bus");
            bus.Stop();
            logger.Debug("TaxProcessor, Publish, Bus stopped");

Where upon the second time the bus is stopped "Bus stopped" does not appear in the log indicating that it has frozen at the stop method.
. Below is our code:
            var bus = Bus.Factory.CreateUsingRabbitMq(x =>
              x.Host(new Uri("rabbitmq://" + server + "/"), h =>
              {
                  x.PrefetchCount = 32;
                  h.Username(userName);
                  h.Password(password);

                  h.UseSsl(ssl =>
                  {
                      ssl.ServerName = System.Net.Dns.GetHostName();
                      ssl.AllowPolicyErrors(System.Net.Security.SslPolicyErrors.RemoteCertificateNameMismatch);
                      ssl.CertificatePath = certificatePath;
                      ssl.CertificatePassphrase = certificatePassphrase;
                      ssl.Protocol = System.Security.Authentication.SslProtocols.Tls12;
                  });
              }));
            //            x.Host(new Uri("rabbitmq://" + server + "/"), h => { x.AutoDelete = false; x.Durable = true; x.PrefetchCount = 32; h.Username(userName); h.Password(password); }));

            var busHandle = bus.Start();

            foreach (Item item in itemList)
            {
                try
                {
                    var message = new TaxMessage()
                    {
                        ItemID = item.ItemID,
                        AccessWarningEnabled = accessWarningEnabled,
                        AccessWarningDays = accessWarningDays,
                        AccessWarningInterval = accessWarningInterval
                    };

                    bus.Publish<TaxInterface>(message);
                }
                catch (Exception ea)
                {
                    int i = 1;
                }
            }

            logger.Debug("TaxProcessor, Publish, Stopping bus");

            bus.Stop();

            logger.Debug("TaxProcessor, Publish, Bus stopped");

Well, Publish is Async, and it's not being awaited, so you might be stuck waiting to publish or something. Just a guess.
If you're in a synchronous process, you can use TaskUtil.Await(() => bus.Publish()....). Or, you can create a list of all the publish tasks in itemList, and Use TaskUtil.Await(() => Task.WhenAll(taskList)) so they run concurrently. Just depending if order matters to you.

The bus stops the first time we run the code, and logger.Debug("TaxProcessor, Publish, Bus stopped"); gets run. The next time we publish to the bus , 24 hours later, the code hangs when we try to call Stop();

Can it have something to do with this?
"Once the bus has been started, it cannot be started again, even after is has been stopped."
https://github.com/MassTransit/MassTransit/blob/develop/src/MassTransit/IBusControl.cs#L23

Yeah, a configured bus can only be started once and should be stopped once.

Hi Guys,
Thank you for your assistance. I have changed the code to not close the bus and it seems to be running smoothly now.
Regards
JOhn


Update deploy button links for AWS Sytems Manager Solution

Required items, please complete
Change(s):

Updated deploy button link with master branch location for all the playbooks and custom connector

Reason for Change(s):

Update Deploy button links

Version Updated:

Initial version

Testing Completed:

Yes

@v-prasadboke Please proceed with packaging. This is a new solution.


add official arch linux repo updatecheck to script for updates customModules

the current checkUpdates.sh script just check AUR repo for update
i added official repo checkupdates to it

Could we make this a flag or a different command? :smile:
Some users may only want to track pacman, aur, or both and I think it would be neat to be able to switch between the choices.

Could we make this a flag or a different command? 😄
Some users may only want to track pacman, aur, or both and I think it would be neat to be able to switch between the choices.

separated now with flags

Also, do we need to document that pacman-contrib needs to be installed to use checkupdates?

yes


MSID: 88838 Version: 3 DOI: 10.1101/2<IP_ADDRESS>8564

MSID: 88838
Version: 3
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8564
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=88838
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8564

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/88838v3
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8564
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/88838/v3/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [journal-ref-article-title] This journal reference (id c88) has no article-title element.
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c84) has a publication-type='other'. Is that correct?

Fixing the above


Repository name regex is outdated [docs].

Please update the regex mentioned in docs because it is outdated.
https://docs.docker.com/registry/spec/api/#overview
A repository name is broken up into path components. A component of a repository name must be at least one lowercase, alpha-numeric characters, optionally separated by periods, dashes or underscores. More strictly, it must match the regular expression [a-z0-9]+(?:[._-][a-z0-9]+)*.

Now multiple dashes and double underscore is allowed.
https://github.com/docker/distribution/blob/master/reference/regexp.go#L18
I used the go playground which gave me as an output this regex [a-z0-9]+(?:(?:(?:[._]|__|[-]*)[a-z0-9]+)+)?
https://play.golang.org/p/wQ4w431jvS

@rahul3002 do you want to open a PR that fixes this?

yes i want to open

Please, be our guest --  we welcome contributions :)

Before we change; please double check if the regex in code matches the actual specification; in case there's a bug in the code; https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pulling-manifests

sure will check it, I'm working on it

I'm unable to understand what kind of regex u want to update In it

This is yet another issue that should be moved and recreated in the new repo https://github.com/distribution/reference
Mind moving it there @ipanova and closing this one.


Cache number of topic-partitions across messages in a batch

Cache number of topic-partitions across messages in a batch

@pankaj-kf we saw some optimization opportunities looking at the profile. Will do some testing to see if there is significant impact.

Not sure if this is worth it; lets not make changes to external library unless the gains are significant.


⚠ Bofrost.at has degraded performance

In 62bb227, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1398 ms

Resolved: Bofrost.at performance has improved in f079642 after 16 minutes.


api endpoints break after dingo/api update from 1.0.0-beta8 to 2.0.0-alpha1

Q
A

Bug?
no

New Feature?
no

Framework
Laravel

Framework version
5.6.*

Package version
2.0.0-alpha1

PHP version
7.1.3

Actual Behaviour
All api call are not working anymore, I get a 500 status_code error
Expected Behaviour
After update, I expected my api endpoints to work as usual
Steps to Reproduce
Possible Solutions
no ideas yet

Given you are updating from version 1.x.x to 2.x.x of something, I think it is wrong to expect everything to "work as usual". '
I am not sure what the general upgrade guide is, but I would recommend you don't do this update unless you are willing to change your code to fit the new version, but anyhow this is not a bug.

We have the same problem, I think is due to depreciation of PHP artisan.
After the update, we get the api routes not working. It can be fixed by running php artisan api:cache but it's really annoying... Hope this can be fixed soon


New SER dataset: MuSe-CAR

New SER DB MuSe-CAR!
This is a new multimodal sentiment and emotion dataset, which includes speech.
https://arxiv.org/pdf/2101.06053.pdf
We hope it is suitable for your list.
Thank you!

Thank you for contributing @aliceebaird :tada:  The MuSe-CAR is a nice addition to the existing list.
There are a couple of typos and formatting issues, but I understand that the formatting can be tricky. So I am merging this PR and fixing the formatting in the next commit on the master :)


import dashboards throws a new exception

I'm running wizzy import dashboards and i get the following error:
Importing 110 dashboards:
/app/src/remote/grafana/importSrv.js:73
    if (options.auth.bearer) {
                    ^

TypeError: Cannot read property 'bearer' of undefined
    at Request.saveHandler [as _callback] (/app/src/remote/grafana/importSrv.js:73:21)
    at Request.self.callback (/app/node_modules/request/request.js:186:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request.<anonymous> (/app/node_modules/request/request.js:1163:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:110:20)

I can import one dashboard at a time. I can list the dashboards. My wizzy setup is all good.
$ wizzy status
✔ conf directory exists.
✔ conf file exists.
✔ .git directory exists.
✔ wizzy setup complete.

I'm running the latest code from this repo in a docker container.
Can you please help me fix this?

Ok, so, i've checked the code and i saw that bearer needed an api_key that i wasn't using. When i was using wizzy installed with npm or the docker image from docker hub i didn't get this error.
I went to the Grafana UI, i generated an API Token, saved it and used it in wizzy.json and it worked perfectly!
I don't know why the import works without the API key when i want to import one dashboard at a time or when i imported 54 dashboards at once using wizzy installed via npm.


Legitimate host cannot fetch IP adress through DHCP

This is probably due to specific DHCP frames handling (frames without sender IP adress)
The fix should not be too hard to do, probably a new "if" to add in FENRIR2.py

Just found this awesome tool, saving me a ton of time trying to hack things together on my own. Downloaded and running on a kali live image. Debugging my dot1x machine downstairs and can see EAPOL start packets with no response. Adding this in case useful, may be an issue with the default kernel blocking the default address for EAP.. Going to have to debug more tomorrow. Pass through isn't working for me either right now.


Update German translation in footer

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Add translation for friends tag.

The test failures are in the hindi version which is unrelated to this change and fixed elsewhere. Bypassing reqs and merging.


Request to use your source-code

Hi Matt,
Hope you are doing well. I had previously sent out an email to your email address, but got no response, so trying again.
As a quick introduction, I manage the silicon research team in Intel Labs that implemented Loihi, a spiking neural network chip. We are building up a path-planning demo using an SNN built on Loihi for an upcoming event (John Hopfield has a paper on this). As part of creating a real world demo, we ran across your code on GitHub (see below) that can act as a great straw-man for us to build upon:
https://github.com/mplewis/osm-pathfinding
https://github.com/mplewis/osm-redis-processor
Would you be able to give us permission to use your code? Alternatively if you could put a license file in the repo, we could cite that too. Please let us know.
Thanks,
-prasad

Oops. Just noticed that you added the License.md file. That resolves my problem. Thanks!
-prasad


failing tests

We have failing tests. These must be fixed for 2.12.
In Chrome and FireFox :
Layer/Grid.html: fail 2 ok 30 (detailed: fail 0 ok 177)
test_Layer_Grid_constructor planned 6 assertions but got 4; fail 0 ok 4
exception: : object: Maximum call stack size exceeded
ok returns OpenLayers.Layer.Grid object
ok buffer default is 0
ok ratio default is 1.5
ok numLoadingTiles starts at 0
test_Layer_Grid_inittiles ok 2
ok Grid rows is correct.
ok Grid cols is correct.
test_Layer_Grid_tileClass planned 2 assertions but got 0; fail 0 ok 0
exception: : object: Maximum call stack size exceeded

In FireFox :
Tween.html: fail 1 ok 2 (detailed: fail 3 ok 7)
test_Tween_constructor ok 3
ok new OpenLayers.Tween returns object
ok constructor sets easing correctly
ok tween has a start function
test_Tween_start fail 3 ok 2
ok animationId correctly set
ok start callback called
fail finish callback called. eq: values differ: got false, but expected true
fail eachStep callback called. eq: values differ: got false, but expected true
fail Number of steps reached is correct. eq: values differ: got 0, but expected 11

 deprecated/Layer/MapServer.html: fail 1 ok 0 (detailed: fail 2 ok 3)
test_Layer_MapServer_Reproject fail 2 ok 3
ok left side matches
ok top side matches
fail bottom side matches. eq: values differ: got 11.250000, but expected 11.178402
fail top side matches. eq: values differ: got 22.500000, but expected 21.943046
ok okay

deprecated/Layer/WMS.html: fail 1 ok 0 (detailed: fail 2 ok 3)
test_Layer_WMS_Reproject fail 2 ok 3
ok left side matches
ok right side matches
fail bottom side matches. eq: values differ: got 11.250000, but expected 11.178402
fail top side matches. eq: values differ: got 22.500000, but expected 21.943046
ok okay

Control/OverviewMap.html: fail 1 ok 5 (detailed: fail 4 ok 28)
test_control_events fail 4 ok 6
ok Overviewmap center lon correct
ok Overviewmap center lat correct
ok Overviewmap zoomcorrect
fail Clicking on the Overview Map has the correct effect on map lon. eq: values differ: got -71, but expected -71.3515625
fail Clicking on the Overview Map has the correct effect on map lat. eq: values differ: got 42, but expected 42.17578125
fail Dragging on the Overview Map has the correct effect on map lon. eq: values differ: got -71, but expected -71.2734375
fail Dragging on the Overview Map has the correct effect on map lat. eq: values differ: got 42, but expected 42.09765625
ok Overviewmap center lon correct -- second zoom
ok Overviewmap center lat correct -- second zoom
ok Overviewmap zoomcorrect -- second zoom

The Format/WKT.html and Strategy/BBOX.html tests also fail, but this is tracked elsewhere (#218).

Wrt the Renderer/Canvas issue in Safari, the test starts passing at the following values (I am not yet sure what explains the half pixel difference though):
msg: "edge of point", x: -102.5, y: 2.5, id: layer.features[0].id

Wrt the Renderer/Canvas hit detection issue: I suspect it's a combination anti-aliasing and the way Safari renders onto the canvas. The point (103,3) falls right on the inner side of the point's outline. The point (102.5,2.5) falls fully inside the interior. Due to anti-aliasing the edges of points/symbols/features drawn onto the hit canvas become partly transparent. This should not be a problem because the inner edge of the point's outline is drawn onto the point's interior. The interior is opaque, so any partly-transparent points (including the point (103,3)) rendered on top of it should become fully opaque as well.
Maybe Safari 5.1.3 has a rendering issue when overlaying partly transparent pixels? I tested the point (103,3) with Safari 5.1.2 on Windows XP and it passes.

In FF the Tween, deprecated/WMS and deprecated/MapServer tests still don't pass.

See the Map.html tests for a likely solution.

Thanks a lot @ahocevar.
I'll look at deprecated/WMS and deprecated/MapServer tonight.
(The tests that fail because of timing issues, and that require being run multiple times to verify if they actually pass, are making me more and more nervous. I'd really like to find solutions for those).

@elemoine: no need to be nervous. The timing issue is because of an if/else logic in these tests: when the GMaps API is not available (and we know it takes a while to load), the tile bounds are not really tested:
t.debug_print("can't test google layer from " + window.location.host);

Having said that, the tile bounds that we get make more sense than the ones we expect.

@ahocevar I am not talking about that. I'm talking about OverviewMap.html, Measure.html, GeoRSS.html and a few others that I need to run multiple times.

@elemoine sorry, I had misread your comment.

I'll look at deprecated/WMS and deprecated/MapServer tonight.

git bisect tells me that ef85f43 (a tile queue that can be aborted) is the commit that breaks these tests.

@elemoine This looks exactly like the right thing to do. Thanks!

@ahocevar what do you think about this: https://github.com/elemoine/openlayers/compare/fixtests?

In with e409b77

@ahocevar the Grid.html tests report too much recursion errors for me in FireFox 10 (see below). I thought you fixed those.

I thought so too. I'm taking a closer look right now.

Regarding Animation.html I had the popups blocked on Chrome. Problem solved. Sorry for the noise.

Wrt the Renderer/Canvas issue in Safari, the test starts passing at the following values (I am not yet sure what explains the half pixel difference though):

Since this only happens on Safari 5.1.3, and in real life the difference is 1px in detecting a hit, I'd say this is an academic problem and we can consider all tests passing, as they do in Safari 5.1.2 in both OSX 10.6 and Windows XP.

The Animation tests fail in IE 8:
Animation.html: fail 1 ok 0 (detailed: failed 0 ok 2)
test_all planned 8 assertions but got 2; fail 0 ok 2
ok isNative is set
ok requestFrame is a function

The Tile/Image/IFrame.html test was fixed with 456a17b61c8a25c087d883af59dca8c6896b5646

@ahocevar Cool. We can close the issue and focus on #277 (IE 9).


PF Passthrough Validation for IAA Plugin

Validate IAA device plugin works in VM (QEMU, PF passthrough) environment.

Done, closing.


Move request configuration into a common trait

There are two ways of configuring request execution:

Create a custom client using HttpClientBuilder, which provides inherent methods for configuring defaults that will be used for all requests executed by the client.
Configure an individual request using extension trait methods provided by RequestBuilderExt. The provided methods have the same names and documentation as the above methods.

To centralize documentation and avoid having two methods with the same in the public API, it would be helpful to centralize these methods into a common trait. Such a trait might look like this:
pub trait Configurable {
    /// Set a timeout for the maximum time allowed for a request-response cycle.
    ///
    /// If not set, no timeout will be enforced.
    fn timeout(self, timeout: Duration) -> Self;

    // more methods...
}

// Clients are configurable...
impl Configurable for HttpClientBuilder {
    // ...
}

// and so are requests.
impl Configurable for http::request::Builder {
    // ...
}

~This is not currently possible, because HttpClientBuilder is a by-value builder (that takes self, while http::request::Builder is a mutable builder (takes &mut self), so the methods cannot have the same signature.~
~It appears that in the 0.2 next release of http, the builders may change to also be by-value: https://github.com/hyperium/http/issues/191. If that is the case, it may be best to introduce this change at the same time as when we upgrade our http dependency.~

This is no longer blocked, as http 0.2 was released today!

This change is now available in the 0.9 release!


Composite primary key array is broken

I could fix this by just adding multiple primary keys individually, but it seems like ...t.primaryKey(['keyOne', 'keyTwo']) composite primaryKey is now broken as of one of the recent updates.

Please let me know how and where is it broken. Broken in migration or in the table classes? TypeScript error or runtime error?

On migration it was telling me the primaryKey didn't exist for the table (which was a composite like that). This is code that I haven't updated outside of updating the rake-db and orchid-orm versions.
Seems like I'm also having another issue with migrations about a foreignKey relation saying it doesn't exist when trying to add my seed data, which once again worked fine on previous versions.
 INSERT INTO "user"("displayName", "username", "email", "password", "roleId", "id") VALUES ($1, $2, $3, $4, $5, $6), ($7, $8, $9, $10, $11, $12) RETURNING * ['John Doe', 'johndoe'<EMAIL_ADDRESS>'$2b$10$53a0zsw2z/qj9GWyB3AvceNgtrn3vfjV3zR7RPNuzT199EQJNVoT6', 'wmqvk83h9kw94ja1i7ytxtjn', 'i5jhcbllv7d2usrc3e4mnean', 'Jane Doe', 'janedoe'<EMAIL_ADDRESS>'$2b$10$dnaSLOmO/KjGPaN0/IGTT.VRknKFInPz2G2VtXcNgFwwTzsK/7Ezq', 'j2n1gpjnchpafb6n1fjpka9d', 'uvlcfsix27ep79ar8ocoka5v'] Error: column "roleId" of relation "user" does not exist

It then shows the db instance which does seem to be aware of roleId so I'm not sure what the issue is.

Ok so re the second issue it's literally any single instance of adding a foreignKey if I'm also not creating the tables in the same migration.
await db.createTable('location', (t) => ({
    id: t.text().primaryKey(),
    name: t.text(),
    url: t.text().nullable(),
    updatedAt: t.timestamps().updatedAt,
    createdAt: t.timestamps().createdAt.index().default(t.raw('now()')),
    addressId: t.text().foreignKey('address', 'id').index(),
  }))

  await db.changeTable('dateStop', (t) => ({
    locationId: t.add(t.text().foreignKey('location', 'id').index()),
  }))

So this wouldn't work, but adding location before the createTable call with 'dateStop' would work.

So I updated all my migrations to account for that, which is obviously super brittle, but it is a temporary fix. I'm not sure why it's not working like that, but it isn't.

I'm confused, so there are two issues here: one for primary key and second for foreign key.
I need your guidance in order to reproduce it to fix it.
For the primary key:

On migration it was telling me the primaryKey didn't exist for the table

Could you share the code that is not working? I assume the following is not working, right?
await db.createTable('tableName', (t) => ({
    ...t.primaryKey(['one', 'two']),
}))

another issue with migrations about a foreignKey relation

The error tells "roleId of user doesn't exist", it's an SQL error that we can trust, it guarantees that the column indeed doesn't exist. I need to know more context to know why you expect it to exist and where is the potential bug.

So this wouldn't work, but adding location before the createTable call with 'dateStop' would work.

It's hard for me to follow. "adding location" - location is a table that you're creating, "before the createTable call with 'dateStop'" - in your code it is changeTable('dateStop') and not create.
Ideally, if you could push your code to a repo so I could check it that would help a lot.

Not going to push to a repo, this is relatively proprietary code, so I'll just share what I can.
Issue 1.
Yes that is correct.
I had to change it to
t.field('one').primaryKey()
t.field('two').primaryKey()

to get it to work. the array did not work.
Issue 2.
I had the user table already, then in a different migration I created the role table that has a reference to the user table, so I added a foreignkey to role in the same migration. This code previously worked in previous rake-db versions.
What I had to do in the meantime was add role to the same migration as the user, and then just added roleId as a normal field, not a t.add(...) field. I had to do this for several other foreignKeys in the same situation. I'm not sure if it's that the t.add() doesn't work with foreignKeys anymore and you have to use t.addForeignKey() and that solves the problem. If so it would just be another breaking changes situation.

Alright, got it, so:

composite primary key is not working in migrations
t.add(...) is expected to add a new column and a foreign key in one turn, but it doesn't work

Correct

Just tried the composite primary key and it works for me:
import { change } from '../dbScript';

change(async (db) => {
  await db.createTable('tmp', (t) => ({
    one: t.text(),
    two: t.text(),
    ...t.primaryKey(['one', 'two']),
  }));
});

Logs show the following SQL:
CREATE TABLE "tmp" (
  "one" text NOT NULL,
  "two" text NOT NULL,
  PRIMARY KEY ("one", "two")
)

Cannot reproduce the second problem as well:
import { change } from '../dbScript';

change(async (db) => {
  // create table dateStop without locationId
  await db.createTable('dateStop', (t) => ({
    id: t.text().primaryKey(),
  }));

  // create location table
  await db.createTable('location', (t) => ({
    id: t.text().primaryKey(),
  }));

  // add locationId column with a foreignKey to location id
  await db.changeTable('dateStop', (t) => ({
    locationId: t.add(t.text().foreignKey('location', 'id').index()),
  }));
});

@quinnvaughn what should I change?

So my situation for number two was that the dateStop was originally created in a different file, then location and locationId in the same file. So I would check that that still works and then I will see what's up with mine.

It doesn't matter for rake-db if the table was created in the same file or a previous one, it always executes from the oldest file to the newer file from top to bottom when migrating.
But there is one important thing about rollback:
import { change } from '../dbScript';

change(async (db) => {
  await db.createTable('name', (t) => ({
    // ...
  }));

  await db.changeTable('name', (t) => ({
    // ...
  }));
});

The code above first creates a table and then modifies this table, it's okay when migrating, but it will fail when doing rollback because it will first drop the table and then will try to revert the change.
When you have a createTable and changeTable for the same table in the same file, or if you're creating a table and then referencing it with a foreign key in the other table, you should separate these steps into multiple change blocks:
import { change } from '../dbScript';

change(async (db) => {
  await db.createTable('location', (t) => ({
    // define columns
  }));
});

change(async (db) => {
  await db.changeTable('dateStop', (t) => ({
    // add foreign key
  }));
});

Having multiple change in a single file is ok. With this code, rollback of this file will: 1) remove the foreign key 2) drop the location table.
I guess you were doing rollbacks and something went wrong with tables, and that's why the problems appeared.


bug: userAgent in request header shows axios

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Current Behaviour
Currently, if you check the request header, you see that we are previewing it as axios; since axios is used under the hood.
Expected Behaviour
Set userAgent to bruno-runtime/version_noSet userAgent to bruno-runtime/version_no, so that we can differentiate these request agents.
Example:
{ "level": "info", "message": "{ "timestamp ": "2024 -08 - 29T21: 37:06.281Z ", "method ": "GET ", "url ": " / health - check ", "status ": "404 ", "responseTime ": "0.420 ", "remoteAddr ": ":: 1 ", "userAgent ": "axios / 1.7.2 "}", "timestamp": "2024-08-29T21:37:06.282Z" }

.bru file to reproduce the bug
No response
Screenshots/Live demo link
Attaching sample screenshot for reference:

This will be available in v1.29.0


Unable to install with given command line

Installation instructions say scope=currentuser should (seemingly) avoid the need for an Administrator session of Powershell. However:
> Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force -AllowClobber
Install-Package: C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:9711
Line |
9711 |  … talledPackages = PackageManagement\Install-Package @PSBoundParameters
     |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Administrator rights are required to install or update. Log on to the computer with an account that has Administrator rights, and then try again, or install by adding "-Scope CurrentUser"
     | to your command. You can also try running the Windows PowerShell session with elevated rights (Run as Administrator).

I then went on to attempt installation in an Administrator Powershell which also fails both with and without the Scope parameter:

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: af4e5ed1-394b-6575-5801-424dc3e5f75d
Version Independent ID: bd4fb194-d6af-e442-5ced-793e09c3fa83
Content: Install the Azure Az PowerShell module with PowerShellGet
Content Source: docs-conceptual/azps-6.0.0/install-az-ps.md
Service: azure-powershell
GitHub Login: @mikefrobbins
Microsoft Alias: mirobb

@brandonh-msft Thank you for bringing this to our attention.  We are investigating this and will get back to you shortly.

@brandonh-msft I created a new Windows 10 VM and installed PowerShell 7 on it (Windows / PowerShell 7.1.3 x64 MSI).  The command worked for my repro so I'm curious what the differences might be in our two setups.

@brandonh-msft I get the same results when I run Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force -AllowClobber.  I noticed that you're using PowerShell Core.  What happens if you use a fresh install of PowerShell 7?

Thanks for digging in @kobulloc-MSFT ! What happens if you don't use Administrator Powershell? Docs seem to allude this to not be required (and would potentially lock out some users if it was).
Regarding PSCore vs PSW that I'm not sure of. I honestly thought that PS7 and PSCore were the same thing 😄

@brandonh-msft No worries!  I tried running the same command without administrator privileges (as that is a very good question) and that worked for me as well.
At this point I suspect it has to do with the original installation of PowerShell.  We don't appear to have a brief rundown of the PowerShell history in the docs (which is a shame) but there are 3 noteworthy versions of PowerShell:

Windows PowerShell (up to 5.1):  The "classic" version of PowerShell that you'll find in older installations of Windows 10.
PowerShell Core (up to 6.2):  PowerShell Core is a cross-platform and open source version of PowerShell released in 2018 that could do most of the things Windows PowerShell could do but not quite everything.  This was effectively PowerShell 6.
PowerShell (up to 7.1):  PowerShell 7 is the current version of PowerShell.  It is also cross-platform and is much more in line with Windows PowerShell along with several new features including default support for the Azure Az module.  This is a separate release from PowerShell Core and more than just a version upgrade.

(I don't believe any of this is commonly known and there are a number of blogs dedicated to explaining the confusing history.)
I believe that a fresh install of PowerShell 7 will unblock you and will likely make things run much smoother moving forward.  Let me know if you run into any issues!

ok in that case I'm not running PSCore, I'm on PS7 as shown by the first line of my screenshot ... 🤔
I can try reinstalling powershell then.

If that doesn't work, let me know and we can troubleshoot this some more.  My hope is that a fresh install is all you need.

In fact I do have PS7; I downloaded the installer and was met with this:

I've issued 'Repair' and will see what happens.

Just ran the command in both Windows Terminal PS 7.1.3 and PS 7.1.3 straight up. Same results in both:

Thank you for the update.  I'll do some more investigation and see what I come up with.

@brandonh-msft It looks like others have run into this issue as well.  I would try installing through the MSI:
https://docs.microsoft.com/en-us/powershell/azure/install-az-ps-msi?view=azps-6.0.0#install-or-update-on-windows-using-the-msi-package

@brandonh-msft This appears to be a product issue.  I'm going to close this GitHub issue as there doesn't appear to be anything we can do from a documentation standpoint and follow up with a bug for tracking if that looks like it is appropriate.

It looks like the conversation has moved to https://github.com/PowerShell/PowerShell/issues/12777.
I'll include this there but there are two other scenarios to be aware of:
Az module falsely throws Admin rights required error:
(Trying to install az module when it already exists)
https://docs.microsoft.com/en-us/azure-stack/operator/powershell-install-az-module?view=azs-2102#error-thrown-when-installing-the-az-modules

Applicable: This issue applies to 2002 and later
Cause: When installing the module from an elevated prompt, an error is thrown. The error says, Administrator rights required.
Remediation: Close your session and start a new elevated PowerShell session. Make sure there isn't an existing Az. Accounts module loaded in the session.
Occurrence: Common

Someone working with the AZ modules to work against a private cloud may want to run the modules in an isolated environment such as a container.
You can find instructions here:
https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-powershell-user-docker?view=azs-2102&tabs=az


Run go mod tidy automatically when using sysl modules

@joshcarp Can you be more specific? Is there another issue about Sysl modules that this ties into?


dua: 2.3.8 -> 2.5.0

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Byron/dua-cli/releases.
meta.description for dua is: "A tool to conveniently learn about the disk usage of directories, fast!"
meta.homepage for dua is: "https://github.com/Byron/dua-cli"
Updates performed:

Rust version update

Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.5.0 with grep in /nix/store/cp24nkgj7k69bgxfqwj67iynsxy20knb-dua-2.5.0

directory tree listing: https://gist.github.com/f78c6cdd05c8728c0b11738e3ba0ef5c

du listing: https://gist.github.com/964285c287cb4638471e350e0e671156

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
dua

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cp24nkgj7k69bgxfqwj67iynsxy20knb-dua-2.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dua https://github.com/r-ryantm/nixpkgs/archive/db2cdc5ca0f932e092c72eb34d434fcba79a1e63.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cp24nkgj7k69bgxfqwj67iynsxy20knb-dua-2.5.0
ls -la /nix/store/cp24nkgj7k69bgxfqwj67iynsxy20knb-dua-2.5.0/bin

cc @killercup for testing.

This built for me.
I also think I have a new package, I like the idea behind this one..!
Thus: binaries also tested more than normal.


Location Preferences Displays Incorrectly On Review Screen

See screenshot, notice the Location Preferences:

Note that the form for entering the Location Preferences looks like this, ie has the dropdown to rank the preference:

Appeared on Desktop:

OS: MacOS M1 Pro
Browser: chrome
Version: 113.0.5672.92 (Official Build) (arm64)

@drieJAC Is this still an issue?


DB Export Doesn't Work on Firefox

When using the "DB: Export..." feature, in Chrome this creates a Json file to save as expected, but in Firefox, nothing happens (except the word "export" gets printed to the web console)

Hm, thanks for reporting. How big is the database? it will display the estimated size under the search box. Sometimes the export takes a while to build up the JSON file, however, i bet your database isn't too big so this likely isn't the issue. Just want to be sure.

I had first tried it almost immediately after installing the extension, when it only had 3 documents.  But now that I can check the exact numbers, I'm at currently:
Documents: 3,498 Fragments: 220,091 Size: 89.16MB

I notice there's a PR that's been merged that addresses this issue; might you consider pushing an update to the Firefox Add-ons store?
I could just clone and build the extension myself, but I'd like to export data from my current install which already has a good bit of history. Thank you so much for this tool!

hey, thanks for the reminder. I will submit a new version to the store shortly

Should be out. both stores reported it was published.

Thank you so much! I confirmed it's now working in FF for me


Rename l2 regularization -> h1 regularization.

The previsouly called L2 regularization is more often related to as H1 regularization, as it is the H1 seminorm which is added to the data term. Thus, the regularization is characterized by the diffusion equation (compared e.g. to TV regularization where the TV term is added).

@EStorvik FYI


Does harbor helm chart now support multiple replicas in stateful set?

k8s cluster : v1.10
helm : v2.9.1
minikube : v0.28

harbor commit : 7d6f8f9
I tried to change the registry's stateful set replicas from 1 to 2, for the experiment of HA on k8s.
the web works fine, also the docker login.

But I have to try many times to push the images

Does harbor helm chart now support multiple replicas in stateful set?
Do you recommend to set up HA harbor based on helm chart?
Or the best way to set up HA is based on docker-compose and the HA guide you offer, since the current design of helm chart is not suit for set up HA?
Thank you.

Currently HA deployment is not supported, the plan is to enable that on helm chart first.
The HA guide is a reference.  So currently for serious HA use, you need to understand the structure and come up with your own solution based on your environment.

Thank you. So the current helm chart is not supported, right? Neither the images and the chart/yamls
The most stable solution for HA now is based on docker-compose not k8s.

The most stable solution for HA now is based on docker-compose not k8s.

I won't say it's a stable solution, the idea is to provide a opinionated approach, so user can view it as a reference to come up with his own solution, we may rely on community to provide update-to-date manual solution for HA deployment.


irmin-graphql: use irmin-mem in tests

The test-suite introduced by https://github.com/mirage/irmin/pull/989 was accidentally attached to the irmin-git package, causing CI for irmin-git to fail in Travis (but not in OCaml-CI, since these cross-package bugs are not caught there).
Only one of the two failures on that PR were "unrelated"...

As discussed offline, simply attaching these tests to the irmin-graphql package does not work, since they depend on irmin-unix (which in turn depends on irmin-graphql...). A simple solution is to just use irmin-mem as a backend store for these tests, which makes more sense anyway :slightly_smiling_face:
A minor niggle is that Irmin_mem.KV does not expose its metadata type (so it's impossible to import concrete trees). That is fixed here.

Thanks!


Update sloth_2.13, sloth_sjs1_2.13 to 0.4.0

Updates

com.github.cornerman:sloth_2.13
com.github.cornerman:sloth_sjs1_2.13

from 0.3.0 to 0.4.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.cornerman" } ]

labels: library-update, early-semver-major, semver-spec-minor

Superseded by #37.


Remember Executable Path between runs

Description
In the old UI (the C# one), RenderDoc would remember what .exe and folder was used the last time:

Hitting the "..." to open the Open File dialog still remembers the folder; however it is problematic when I have literally > 30 EXEs to chose from in that same folder.
This is a small usability suggestion / request.
It seems to affect at least Windows & Linux clients.
Cheers

Hi there I'm currently away until the end of next week so I will look at this when I'm back.

No hurry!
I've actually thought this would get fixed quickly when the Qt version came out and that was like a year ago or.. two (I've been lazy to submit the report), so I can definitely wait one or two more weeks.

Well I also had some thoughts on this. Like application profiles that RenderDoc could save.
There're some apps that I have to set environment variables for and other settings.
So a new feature to save the Launch tab to multiple profiles so we can select and run is very helpful and good time-saving.

Such feature could be, UI/UX wise, be implemented using four new controls right in the "Launch Application" tab:

Dropdown or Listbox: To select a session
Button: Clone session
Button: Rename session
Button: Delete session

There's always a session called "Last Sesssion". Clone session would clone the currently selected session and add it to the dropdown.
The session would save all the settings (Executable Path, Allow Fullscreen, Queue Capture, etc)
This feels a bit more advanced though and feels like it should be in its own ticket.
What I originally asked (remembering last launched app) should take 5 minutes of coding and is basically restoring the behaviour the C# version had.

It sounds like you are both describing the existing feature to save and load the capture settings to a .cap file, that's been there since the first release. See the save and load buttons at the bottom of the panel.
On recent nightly builds the last launched session is also auto saved and there's a button to restore it.

Ah yeah somehow I didn't notice the Save/Load Settings buttons.

On recent nightly builds the last launched session is also auto saved and there's a button to restore it.

I'm talking about remembering the exec path automatically (i.e. an usability enhancement). I consider this a regression from RenderDoc 0.9.x
No need to press a button to restore it. I'm also not looking to restore all the other fields. Just exec path and working dir is enough.

It sounds like you are both describing the existing feature to save and load the capture settings to a .cap file, that's been there since the first release. See the save and load buttons at the bottom of the panel.

When it comes to manhnt9's request, the functionality is there but the UX is not very productive nor obvious. As manhnt9 says it is very easy to miss and doesn't autosave/clone.
Again to me this is not very important.

I understand your original request perfectly well, as I mentioned I'm currently away so I cannot look at it until I'm back. My previous comment was addressed to you both discussing a way to save and load the whole session, which already exists.

I've re-added the code to save the executable as it worked in v0.x.


improve README.md file

The README.md file should contain all the requisite code of conduct and steps from forking this repo to creating a PR so that newbies can easily read, commit and get their PR merged.

Hey I want to work on this
Can you assign this to me??

sure @coderaman7 i am assigning it to you.


Attribute updateValue of undefined renders as value="undefined"

Description:
Why is the default updateDelegate for a "value" attribute updateValue() instead of updateStringValue()? This causes problems with a keypath whose value is undefined, since that is rendered as value="undefined".
Versions affected:
0.9 build 120
Platforms affected:
all
Reproduction:
https://jsfiddle.net/c4nay9me/
Code:
var r = new Ractive({
  el: '#container',
  template: '<custom-element value="{{value}}"></custom-element>',
  data: {
    value: undefined
  }
});

That's a fair question. Does anyone know if there's a good way to detect string vs value attributes on a given element? I think at this point it's largely just hard coded around form elements.

I thought every time node.setAttribute('attr-name', someVal) was called, the browser would always convert it to a string (except for special boolean, on/off attributes), so I'm not sure what your "string vs value attributes" distinction means. Note: it looks like updateValue() is the only update* method in this file that does not use the safeToStringValue() method:
https://github.com/ractivejs/ractive/blob/dev/src/view/items/element/attribute/getUpdateDelegate.js

I suppose any non-input value attributes should probably just use updateAttribute, which could be accomplished by moving the return for that section to the inside of the preceding conditional. There are input types where a non-string value is used, but that code predates web components where other elements might have a useful value attribute.

Do you know of an example input whose "value" attribute is not a string? I thought the browser would put the non-string value in the input.value property but that input.getAttribute('value') would always return a string. MDN's docs on setAttribute() and getAttribute() sound like an element's attribute value is always a string (or sometimes null). This webcomponents issue was closed with this comment: "Attributes are strings. Making them something else would make them no longer attributes. You can use properties (and attributes that reflect them) to store other data."

There might be a reason why the logic defaults to a non-string as value. Is this.node in updateValue always a DOM element?

There might be some insight on the PR that added the line https://github.com/ractivejs/ractive/pull/2022/files

I was conflating the value property and value attribute a bit. I think it's safe to say that we can change updateValue to use safeToStringValue for the setAttribute, as it's going to get stringified either way. As long as the value property setting is correct, everything should continue to work properly.

Sounds great, thanks!


Allow creating an Authority from an Issuer

Right now, the creator of an Authority needs to know the JWKS URL for the issuing authority. However, for OIDC-compliant issuers, this can be inferred from the issuer itself. Add a creation method that pulls the JWKS URL from the well-known OIDC configuration endpoint (inferred from the issuer), and refreshes the configuration endpoint periodically to ensure that any updates to the JWKS URL are also tracked (this should be rare).

https://github.com/neoeinstein/aliri/pull/36
Как я понимаю также нужно добавить упрощенное создание ClientCredentialsTokenSource в проекте aliri_tokens?


Does anyone who run the test_convX case all passed?

I've run the conv2D and conv3D test.
The result shows that some cases faild!
In the conv2D ,6failed 2passed

In the conv3D ,40failed,0passed

@Genlk ,
For conv3D, yes, it still not work. But for Conv2D it can pass from our in-house test. Could you share more information about the software configuration in your test?
Thanks

@Genlk ,
For conv3D, yes, it still not work. But for Conv2D it can pass from our in-house test. Could you share more information about the software configuration in your test?
Thanks

“For conv3D, yes, it still not work. ”
------You means that the pytest is not work, or the tim-vx(tflite-vx-delegate) doesn't suport the Conv3d?
For the conv2D,I have modify the tolerance to 1e-3(default 1e-6) in the last line of test script, it works!

@Genlk ,
For conv3D, yes, it still not work. But for Conv2D it can pass from our in-house test. Could you share more information about the software configuration in your test?
Thanks

“For conv3D, yes, it still not work. ” ------You means that the pytest is not work, or the tim-vx(tflite-vx-delegate) doesn't suport the Conv3d?
For the conv2D,I have modify the tolerance to 1e-3(default 1e-6) in the last line of test script, it works!

@sunshinemyson

@sunshinemyson
I've saw the release log,you added the feature "Added Conv3D API inside lowlevel driver without dilation support." in version V1.1.37.
What does it mean "inside lowlevel driver",I have not see the limit  in other ops feature

Is that means the conv3d is not totally support?

@sunshinemyson I've saw the release log,you added the feature "Added Conv3D API inside lowlevel driver without dilation support." in version V1.1.37. What does it mean "inside lowlevel driver",I have not see the limit in other ops feature
Is that means the conv3d is not totally support?

@Genlk ,
we support conv3d but with some restriction, the team will update mapping then you will know the restrictions. And we will make sure conv3d can pass with kernel test.
Thanks

@Genlk ,
For conv3D, yes, it still not work. But for Conv2D it can pass from our in-house test. Could you share more information about the software configuration in your test?
Thanks

“For conv3D, yes, it still not work. ” ------You means that the pytest is not work, or the tim-vx(tflite-vx-delegate) doesn't suport the Conv3d?
For the conv2D,I have modify the tolerance to 1e-3(default 1e-6) in the last line of test script, it works!

@sunshinemyson
we have fixed conv3d kernel test in vx_delegate just now


Failed to copySourcePathAssetToOutputDirectory if subDirectory not exists

why not create directories automatically?

Fixed in 47dbf5b already. There will be an update soon.
In the meantime, you can temporarily disable the bundled version of asconfigc in the VSCode settings by changing nextgenas.asconfigc.useBundled to false. Then, install the npm version of asconfigc, which does not have this issue.


Adding DLL Injection

this is a rough way to do a basic DLL injection.

This function shouldn't have the [[nodiscard]] attribute. I also recommend changing the argument type to const std::string& so it is much easier to work with the function.


Missing indices on tables

Version Information
Version of Akka.Persistence.Sql? Latest
Describe the bug
All SQL tables are missing crucial indexes that potentially makes query slower
We need to add these indexes available on all flavor of SQL tables (example is for MSSql):
CREATE INDEX IX_journal_persistence_id_ordering ON journal (persistence_id, ordering DESC);
CREATE INDEX IX_journal_persistence_id ON journal (persistence_id);

Could not find any supporting evidence that the new indices helps with performance (see #496), closing this issue.


Built app behaves differently than in dev mode

Environment

Operating System: Windows_NT
Node Version:     v20.12.0
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-bhndpd?file=app.vue
Describe the bug
I have created a <TypedField> component to provide correct typing for field.state.value property when used.
to test that the typing works, you can add age: 2 to the `defaultValues'

now the LSP suggests that all field.state.value is string | number

the <TypedField> component fixes it

you can also test that the dev mode works by running pnpm dev

however, after you build the app with pnpm build and then pnpm preview the app, it crashes with the following error

Additional context
I am not sure whether this is Nuxt or Tanstack Form issue, but since the discrepancy is caused by pnpm build which is a Nuxt command, I am posting the report here. Please let me know if I have incorrectly located the issue.
Logs
No response

This doesn't seem like a Nuxt issue. Would you raise it instead in the tanstack form repository?


pprof tries to POST /debug/pprof/symbol

pprof tries to POST /debug/pprof/symbol but ginpprof only has GET for that path registered.
If that path is not reachable for pprof you'll get empty results.
When adding that path on POST it works again.

@Allendar thanks for report, fixing


Fixing variable name

Description
As reported in https://github.com/webrtc/apprtc/issues/437, AppRTC does not work without an ICE server because
of a wrong assignment.
This pull reuqest should fix.
Purpose
Fixing https://github.com/webrtc/apprtc/issues/437.

LGTM


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack e35bcb8...e28525d:
  > e28525d Add knative-release-leads to OWNERS (# 69)
  > 13753fa update owner aliases manually (# 76)
  > 66ab1a0 go-licenses fixed file permissions so we no longer need our workaround (# 75)
  > 3d4b264 Cleanup release script more (# 74)
  > daccc2c Allow for ignoring arbitrary files with shellcheck (# 48)
bumping knative.dev/pkg c1db741...dd0db4b:
  > dd0db4b upgrade to latest dependencies (# 2163)
  > 7521c92 drop deprecated enabledComponents field (# 2162)
  > f454995 Update community files (# 2161)
  > 841aa73 fix package name (# 2159)
  > 77ff8d9 Bump k8s min k8s version to 1.19 (# 2157)
  > 192b0c9 Add KReference.Group field and ResolveGroup function (# 2127)
  > b2bf37c upgrade to latest dependencies (# 2156)
  > ed09cd0 upgrade to latest dependencies (# 2155)
  > 82f3973 Update actions (# 2152)
  > dd15eb0 URIResolver verifies that services actually exist (# 2149)
  > 9593069 upgrade to latest dependencies (# 2154)
  > 8d21ce6 set webhooks OwnerReferences to namespace (# 2044) (# 2098)
  > c96c7be drop kubeclient struct (# 2151)
  > eaa823c bump k8s to v1.20.7 (# 2145)
  > 0f304f6 support multiple cleanup functions (# 2141)
  > 00fa154 Bump a few assorted libs (# 2153)
  > 97f1823 drop camel as downstream test as it's being archived (# 2150)
bumping knative.dev/reconciler-test 0071c48...88c8473:
  > 88c8473 Fix eventshub race (# 218) (# 220)
  > b155197 upgrade to latest dependencies (# 215)
  > 46348d2 Skip emitting events if they are eventshub events (# 217)
  > d15e91e Update actions (# 214)
  > 500f632 Update community files (# 208)
bumping knative.dev/eventing 5e0d902...0cb7873:
  > 0cb7873 ./hack/update-deps.sh --upgrade (# 5545)
  > 95b4275 upgrade to latest dependencies (# 5540)
  > 74d711b Bump deps, fix tests (# 5541)
  > a02a8f2 RetryConfig.RequestTimeout to configure the timeout of a single request (# 5503)
  > 587958f Fix IMC webhook cluster role (# 5539)
  > 9cd2858 Delivery timeout (# 5149)
  > b312f0e Support `KReference.Group` in `Subscription.Spec.Channel` (# 5520)
  > 3247d83 Update community files (# 5530)
  > 39e1be2 upgrade to latest dependencies (# 5519)
  > b164d3c Fix subtest client scope (# 5531)
  > 6adafe5 Implement `KReference.Group` resolution for `Subscriber.Ref` (# 5440)
  > 193809a Use test namespaces with numeric suffix (# 5337)
  > c4bcc3a upgrade to latest dependencies (# 5514)
  > 4eb1738 Add API doc generation to codegen (# 5504)
  > af6744d :dizzy: Add permission to update namespace finalizer (# 5501)
  > 8a110a1 upgrade to latest dependencies (# 5495)
  > d4244d5 Fix tests (# 5498)
  > fc21a1a pass transformers to executeRequest (# 5512)
  > 02403a5 Remove flaky test (# 5508)
  > 39d1977 Wait for receiver to be done (# 5509)
  > b0b32c4 Use transformers efficiently for extracting info for metrics in Kafka Channel  (# 5505)
  > 03c2a69 Reorganized kncloudevents retries code (# 5502)
  > 393e411 remove self from community contact and add to NON_ROSTER (# 5493)
  > 5de1e47 Fix tests relying on non-existent services (# 5489)
  > c3c1bf4 Update actions (# 5492)
  > 8a3aa9f clean up extra With call (# 5488)
  > 7b48edc drop deprecated kubeclient (# 5491)
  > d114cc1 Retry install_knative_eventing on 502 errors from GitHub (# 5490)

/close


Host variable in the swagger definition is not copied in the Private Base URL field

I would expect the field in the tool to take into account the private url backend field and automatically copy that into the Private Base URL field.
I attached the definition and here is the command I'm executing:
3scale-cli import swagger -f inditex.json -p {method}_{path} [inditex.json.txt](https://github.com/3scale/3scale-cli/files/1084507/inditex.json.txt)

We are using the 3scale API. If it's not doable with the API we can't automate it in the CLI.
Pretty sure it's not doable via API.

just tracked that here https://github.com/3scale/system/issues/8510

it is possible by using the Proxy Update service from what I've seen


display only seconds

Hi!
Is possible to see only seconds that i set manually or by mysql query?

https://guides.github.com/features/mastering-markdown/


CheckStyle: Service Client Methods (5)

Add serivce client method naming CheckStyle rules:

Method name should follow a common vocabulary
Method name imply certain rules acound expected return type - these should all be validated
Method name should not include "Async"

This issue is part of this PR: https://github.com/Azure/azure-sdk-for-java/pull/4712


Fix typos in threat-alert-email-to-owner

Fix the typos to unblock #2078 and in the end #2070.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

#2084

superseded by https://github.com/aquasecurity/tfsec/pull/2100


[Storage] Prettying

Fixes #11100.

Please approve and merge this PR because https://github.com/Azure/azure-sdk-for-js/pull/11107 has been merged. Please note that the behavior of the hook changed so that it format whole changed files instead of formatting changed parts only of those files, so having a formatted code to begin with helps minimizing formatting changes needed. cc @XiaoningLiu


yt-dl isn't downloading max available resolution/quality for YouTube

Checklist

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

Verbose log

youtube-dl.exe --newline -R 15 -i -o "X:\video\%(title)s (%(id)s) [%(height)sp].%(ext)s" -v --hls-prefer-native --cookies Z:\quarentine\cookies.txt --mark-watched --fixup detect_or_warn "https://www.youtube.com/watch?v=N5di3IroHnY"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--newline', '-R', '15', '-i', '-o', 'X:\\video\\%(title)s (%(id)s) [%(height)sp].%(ext)s', '-v', '--hls-prefer-native', '--cookies', 'Z:\\quarentine\\cookies.txt', '--mark-watched', '--fixup', 'detect_or_warn', 'https://www.youtube.com/watch?v=N5di3IroHnY']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2021-01-12-git-ca21cb1e36-full_build-www.gyan.dev, ffprobe 2021-01-12-git-ca21cb1e36-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] N5di3IroHnY: Downloading webpage
[youtube] N5di3IroHnY: Marking watched
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r5---sn-hp57kn7s.googlevideo.com/videoplayback?expire=1611827639&ei=VjUSYL3HN4K18gOPmanQBA&ip=<IP_ADDRESS>&id=o-ADP7oaiLv1cicVo7_CZzyqHwcJpnzwiZPLSxbVNGOECv&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=Rw&mm=31%2C26&mn=sn-hp57kn7s%2Csn-hp57ynel&ms=au%2Conr&mv=m&mvi=5&pl=24&initcwndbps=1572500&vprv=1&mime=video%2Fmp4&ns=M_1mEvTV6aSuK7lvkcT7e-EF&gir=yes&clen=409537952&dur=814.547&lmt=1604547725182481&mt=1611805749&fvip=5&keepalive=yes&c=WEB&txp=5535434&n=gHBhyfWSsP9dx8afSN3K&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhALqrfqgEObHhNoz1POPzuYftqbtsIvwfib2p-PqeE0n-AiEA6jmBV2JeSnJwQ_rSutZelBn0o8p2YZ72srLXVjNZ9HU%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgPyAI4Zcjw7xeacCLeNqVBWH9_RTww4i19h09mNgMLKECIQDbZiN80wsKkIQuHtPUH5qgeRJKtEakWnOo5pUXDh2_CQ%3D%3D&ratebypass=yes'
[download] Destination: X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [720p].f136.mp4
[download] 100% of 11.56MiB in 00:03
[ffmpeg] Merging formats into "X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [720p].mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [720p].f136.mp4" -i "file:X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [NAp].f251.webm" -c copy -map "0:v:0" -map "1:a:0" "file:X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [720p].temp.mkv"
Deleting original file X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [720p].f136.mp4 (pass -k to keep)
Deleting original file X:\video\AS PARAGUAIAS BUGARAM A PRAIA DE GUARUJA (N5di3IroHnY) [NAp].f251.webm (pass -k to keep)

Description

The following video: https://www.youtube.com/watch?v=N5di3IroHnY is available in at least 1080p60 but yt-dl is downloading it only at 720p. This isn't happening with all videos but this is the only one I have noticed it has happened, I would have to check all the videos I've downloaded, which are a whole lot, to see if it has happened again.

@remitamine can you please tell me which issue is this duplicate of? I can't find one regarding YT, is #27980 the one?

@remitamine can you please tell me which issue is this duplicate of? I can't find one regarding YT, is #27980 the one?

youtube-dl downloads the video with largest bitrate by default. But youtube often reports wrong bitrate for the videos. that's why it is downloading the 720p version. Use -F to see all the formats and -f to download a specific format; -f 303 for example
[youtube] N5di3IroHnY: Downloading webpage
[info] Available formats for N5di3IroHnY:
format code  extension  resolution note
249          webm       audio only tiny   52k , opus @ 50k (48000Hz), 4.59MiB
250          webm       audio only tiny   69k , opus @ 70k (48000Hz), 5.21MiB
140          m4a        audio only tiny  131k , m4a_dash container, mp4a.40.2@128k (44100Hz), 12.57MiB
251          webm       audio only tiny  138k , opus @160k (48000Hz), 11.56MiB
394          mp4        256x144    144p   83k , av01.0.00M.08, 30fps, video only, 6.96MiB
278          webm       256x144    144p  100k , webm container, vp9, 30fps, video only, 9.18MiB
160          mp4        256x144    144p  126k , avc1.4d400c, 30fps, video only, 8.97MiB
395          mp4        426x240    240p  182k , av01.0.00M.08, 30fps, video only, 14.66MiB
242          webm       426x240    240p  235k , vp9, 30fps, video only, 20.73MiB
133          mp4        426x240    240p  362k , avc1.4d4015, 30fps, video only, 20.80MiB
396          mp4        640x360    360p  398k , av01.0.01M.08, 30fps, video only, 31.07MiB
243          webm       640x360    360p  493k , vp9, 30fps, video only, 38.43MiB
134          mp4        640x360    360p  704k , avc1.4d401e, 30fps, video only, 46.12MiB
397          mp4        854x480    480p  720k , av01.0.04M.08, 30fps, video only, 56.97MiB
244          webm       854x480    480p  823k , vp9, 30fps, video only, 70.29MiB
135          mp4        854x480    480p 1040k , avc1.4d401f, 30fps, video only, 74.37MiB
247          webm       1280x720   720p 1524k , vp9, 30fps, video only, 141.43MiB
398          mp4        1280x720   720p60 2042k , av01.0.08M.08, 60fps, video only, 164.20MiB
302          webm       1280x720   720p60 2767k , vp9, 60fps, video only, 246.95MiB
298          mp4        1280x720   720p60 2891k , avc1.4d4020, 60fps, video only, 157.78MiB
399          mp4        1920x1080  1080p60 3964k , av01.0.09M.08, 60fps, video only, 313.94MiB
303          webm       1920x1080  1080p60 4808k , vp9, 60fps, video only, 417.66MiB
299          mp4        1920x1080  1080p60 6213k , avc1.64002a, 60fps, video only, 524.01MiB
136          mp4        1280x720   720p 8338k , avc1.4d401f, 30fps, video only, 390.57MiB
18           mp4        640x360    360p  728k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 70.76MiB
22           mp4        1280x720   720p 4155k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz) (best)

youtube-dl downloads the video with largest bitrate by default. But youtube often reports wrong bitrate for the videos. that's why it is downloading the 720p version. Use -F to see all the formats and -f to download a specific format; -f 303 for example
[youtube] N5di3IroHnY: Downloading webpage
[info] Available formats for N5di3IroHnY:
format code  extension  resolution note
249          webm       audio only tiny   52k , opus @ 50k (48000Hz), 4.59MiB
250          webm       audio only tiny   69k , opus @ 70k (48000Hz), 5.21MiB
140          m4a        audio only tiny  131k , m4a_dash container, mp4a.40.2@128k (44100Hz), 12.57MiB
251          webm       audio only tiny  138k , opus @160k (48000Hz), 11.56MiB
394          mp4        256x144    144p   83k , av01.0.00M.08, 30fps, video only, 6.96MiB
278          webm       256x144    144p  100k , webm container, vp9, 30fps, video only, 9.18MiB
160          mp4        256x144    144p  126k , avc1.4d400c, 30fps, video only, 8.97MiB
395          mp4        426x240    240p  182k , av01.0.00M.08, 30fps, video only, 14.66MiB
242          webm       426x240    240p  235k , vp9, 30fps, video only, 20.73MiB
133          mp4        426x240    240p  362k , avc1.4d4015, 30fps, video only, 20.80MiB
396          mp4        640x360    360p  398k , av01.0.01M.08, 30fps, video only, 31.07MiB
243          webm       640x360    360p  493k , vp9, 30fps, video only, 38.43MiB
134          mp4        640x360    360p  704k , avc1.4d401e, 30fps, video only, 46.12MiB
397          mp4        854x480    480p  720k , av01.0.04M.08, 30fps, video only, 56.97MiB
244          webm       854x480    480p  823k , vp9, 30fps, video only, 70.29MiB
135          mp4        854x480    480p 1040k , avc1.4d401f, 30fps, video only, 74.37MiB
247          webm       1280x720   720p 1524k , vp9, 30fps, video only, 141.43MiB
398          mp4        1280x720   720p60 2042k , av01.0.08M.08, 60fps, video only, 164.20MiB
302          webm       1280x720   720p60 2767k , vp9, 60fps, video only, 246.95MiB
298          mp4        1280x720   720p60 2891k , avc1.4d4020, 60fps, video only, 157.78MiB
399          mp4        1920x1080  1080p60 3964k , av01.0.09M.08, 60fps, video only, 313.94MiB
303          webm       1920x1080  1080p60 4808k , vp9, 60fps, video only, 417.66MiB
299          mp4        1920x1080  1080p60 6213k , avc1.64002a, 60fps, video only, 524.01MiB
136          mp4        1280x720   720p 8338k , avc1.4d401f, 30fps, video only, 390.57MiB
18           mp4        640x360    360p  728k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 70.76MiB
22           mp4        1280x720   720p 4155k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz) (best)


string pointer invalidation after large resize allocation

hi there, I'm trying to reproduce a bug I see when compiling TagLib and their String class. when it's defined as a static global
when accessing it from a WASM exported function, the string appears empty (stream of null bytes)
however, this isn't the case when calling from main()
const TagLib::String instrumentPrefix("PERFORMER:");

__attribute__((export_name("print_instrument_prefix"))) void print_instrument_prefix() {
    std::cout << instrumentPrefix; // it's empty
}

int main() {
    std::cout << instrumentPrefix; // it works
    return 0;
};

to try narrow the issue down, I tried to copy what their String class does as best I can. I'm not a C++ dev so I'm sure it could be better. but it certainly seems to exhibit the same behaviour
it goes like this
#include <iostream>

const auto EXAMPLE = std::make_shared<std::string>("hello");

std::string copy(std::string &input) {
  std::string result;
  result.resize(input.size() * 8);

  const char *data_start = input.data();
  const char *data_end = data_start + input.size();

  size_t pos = 0;
  while (data_start != data_end) {
    result[pos] = static_cast<char>(*data_start++);
    pos++;
  }

  result.resize(pos);
  return result;
}

// not working
// output:
//   b:
//   b size: 0
__attribute__((export_name("do_debug"))) void do_debug() {
  auto s = copy(*EXAMPLE);
  std::cout << "b: " << s << std::endl;
  std::cout << "b size: " << s.size() << std::endl;
}

// working
// output:
//   b: hello
//   b size: 5
int main() {
  auto s = copy(*EXAMPLE);
  std::cout << "b: " << s << std::endl;
  std::cout << "b size: " << s.size() << std::endl;
  return 0;
};

it looks a bit weird but it's based on their string which is internally represented as a std::wstring, which gets copied to std::string with some buffer. for this example I used std::string and made the buffer larger anyway
as you can see, it works from main(), and not do_debug()
to make things more strange, not resizing fixes it
works:
   std::string result;
-  result.resize(input.size() * 8);
+  result.resize(input.size());

any ideas what's going on here? if it helps, I'm using wasi-sdk like so:
clang++ -target wasm32-wasi --sysroot /opt/wasi-sdk/share/wasi-sysroot main.cpp -Wl,--allow-undefined -o main.wasm
thank you!

PS here is one more example which also reproduces the behaviour. this time we hack a wstring -> string, where we do need the resize
// is now a wstring
const auto EXAMPLE = std::make_shared<std::wstring>(L"hello");

std::string convertString(std::wstring &input) {
  std::string result;
  result.resize(input.size() * 4);

  size_t pos = 0;
  const wchar_t *data_start = input.data();
  const wchar_t *data_end = data_start + input.size();

  while (data_start != data_end) {
    result[pos] = static_cast<char>(*data_start++);
    pos++;
  }

  result.resize(pos);
  return result;
}

// not working
// output:
//   b:
//   b size: 0
__attribute__((export_name("do_debug"))) void do_debug() {
  auto s = convertString(*EXAMPLE);
  std::cout << "b: " << s << std::endl;
  std::cout << "b size: " << s.size() << std::endl;
}

to fix this one, we can just move the resize:
-  std::string result;
-  result.resize(input.size() * 4);

   size_t pos = 0;
   const wchar_t *data_start = input.data();
   const wchar_t *data_end = data_start + input.size();

+  std::string result;
+  result.resize(input.size() * 4);

Do I understand correctly that you're calling the print_instrument_prefix export, or the do_debug export, before calling the _start export which calls main? If so, then that's likely the source of the problem; C++ global constructors are called when _start is called, so if you're calling into an export before that, static variables like EXAMPLE aren't constructed yet.
If that's the case, could you say more about the environment in which you're calling these exports? Depending on what you're doing, there may be ways to fix this.

@sunfishcode I'm using Go and wazero as the host
it does indeed call _start, and later the exported function. all in the same Module
I created a reproduction repo here: https://github.com/sentriz/taglib-string-wasm-repro
as you can see when calling from main it works, but later fails in the exported func

Shouldn't you be linking with -mexec-model=reactor and calling _initialize instead? Because _start will also call __wasm_call_dtors that call all C++ destructors, which I assume will make any C++ function invocation undefined behavior after that point?

@TerrorJack that did it! thank you so much. been really pulling my hair out on this. and I didn't know about __wasm_call_dtors
thanks!!


Interface to Seurat's ReadH5AD

An attempt to read scVI's h5ad file (e.g., the one produced by saving adata after step 13 of this tutorial) leads to an error:
Error in ReadH5AD.H5File(file = hfile, assay = assay, layers = layers,  :
Seurat requires normalized data present in the raw slot when X is scaled
The reason for it is understandable, but still it would be nice to be able to read these easily to Seurat without a cumbersome workaround

please ignore, found an easy workaround


E227: mapping already exists for <80>SAirlineSelectedTab1

Hello,
After updating my plugins today, when I want to enable buffer indexes using buffer_idx_mode =1 I get the following errors. I thought that maybe it was going into that function twice, it doesn't. I noticed there has been much moving around of the code. I had not updated my plugins for about two weeks.
Let me know if you need any more details.

I have the same problem since I updated this morning.
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb  5 2015 10:19:59)
Included patches: 1-621

I have that problem too..
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 29 2015 16:54:03)
MacOS X (unix) version
Included patches: 1-258
Compiled by Homebrew
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_binary
+arabic          +find_in_path    -mouse_sysmouse  +tag_old_static
+autocmd         +float           +mouse_urxvt     -tag_any_white
+balloon_eval    +folding         +mouse_xterm     +tcl
+browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     +fullscreen      -mzscheme        +textobjects
+cindent         -gettext         +netbeans_intg   +title
+clientserver    -hangul_input    +odbeditor       +toolbar
+clipboard       +iconv           +path_extra      +transparency
+cmdline_compl   +insert_expand   +perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con_gui  +lua             +rightleft       +windows
+diff            +menu            +ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
+dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     +xim
+emacs_tags      +mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
+farsi           +mouse_netterm   +syntax
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X_UNIX  -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/System/Library/Frameworks/Tcl.framework/Headers  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_DARWIN_C_SOURCE=1
Linking: clang   -L. -L/usr/local/lib -L. -L/usr/local/lib -L/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -framework CoreFoundation -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework Cocoa  -L/usr/local/lib -llua -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -framework Python  -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby

Hi, same problem here.


[firebase_storage] Support Android v2 embedding

Fixes: https://github.com/flutter/flutter/issues/41877

Reminder to sync and merge this

Once the build is green, I'll rebase and merge this PR.


Concurrent UI Patterns CodeSandbox Examples Not Functional

There is an issue with the CodeSandbox examples in the Concurrent UI Patterns article. It seems like the useTransition hook's isPending gets stuck as true, causing the examples to not function correctly.

A lot of the information on that page is outdated, and sandboxes are likely using wrong versions of React. How did you find that page?


Browser widget should allow to intercept page loads

For the tabris-connect launcher we need to intercept a page load in the browser widget and extract a token from the url.
After we have handled the url we need to pass something back to the native client to indicate that we have handled the url. eg:

browser.on("pageload", function(e) {
  if (handleUrl(e.url)) {
    return true;
  }
  return false;
});

Currently tabris.js is not able to return any values from a "notify" operation.

I'd suggest to call the event request. Optionally, we could also introduce an event named response. The life cycle would be:

request (the request is about to be sent)
response (the response has been received)
load (the page has been loaded)

Should these events also be triggered for background (ajax) requests?

Windows WebView does not provide events for XHR.

The agreed upon solution is to have a navigate notify operation on the client that returns a boolean value indicating to load the url. A value of true means to suppress the request.
JS Example:
var webview = tabris.create("WebView", {
  layoutData: {left: 0, top: [urlInput, 8], right: 0, bottom: 0}
}).on("navigate",function (view, event) {
  if (event.url == "http://some-url.com") {
    event.preventDefault()
  }
}).appendTo(page);

Intercepting "navigate" event works fine on both platforms now.