【Crash!!!!!】After running flutter doctor I get the following error

command
flutter doctor
exception
FileSystemException: FileSystemException: Cannot resolve symbolic links, path = 'D:\SoftWare\develop\鍙嶇紪璇慭aapt.exe' (OS Error: 系统找不到指定的文件。
, errno = 2)
#0      FileSystemEntity._throwIfError (dart:io/file_system_entity.dart:818:7)
#1      FileSystemEntity.resolveSymbolicLinksSync (dart:io/file_system_entity.dart:348:5)
#2      ForwardingFileSystemEntity.resolveSymbolicLinksSync (package:file/src/forwarding/forwarding_file_system_entity.dart:56:49)
#3      ForwardingFileSystemEntity.resolveSymbolicLinksSync (package:file/src/forwarding/forwarding_file_system_entity.dart:56:49)
#4      AndroidSdk.locateAndroidSdk.findAndroidHomeDir (package:flutter_tools/src/android/android_sdk.dart:119:43)
#5      AndroidSdk.locateAndroidSdk (package:flutter_tools/src/android/android_sdk.dart:140:54)
#6      AppContext._generateIfNecessary.<anonymous closure> (package:flutter_tools/src/base/context.dart:104:42)
#7      _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:311:23)
#8      AppContext._generateIfNecessary (package:flutter_tools/src/base/context.dart:92:20)
#9      AppContext.get (package:flutter_tools/src/base/context.dart:121:32)
#10     AppContext.get (package:flutter_tools/src/base/context.dart:119:24)
#11     androidSdk (package:flutter_tools/src/globals_null_migrated.dart:34:39)
#12     runInContext.<anonymous closure> (package:flutter_tools/src/context_runner.dart:184:29)
#13     AppContext._generateIfNecessary.<anonymous closure> (package:flutter_tools/src/base/context.dart:104:42)
#14     _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:311:23)
#15     AppContext._generateIfNecessary (package:flutter_tools/src/base/context.dart:92:20)
#16     AppContext.get (package:flutter_tools/src/base/context.dart:121:32)
#17     AppContext.get (package:flutter_tools/src/base/context.dart:119:24)
#18     deviceManager (package:flutter_tools/src/globals.dart:38:44)
#19     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:262:17)
<asynchronous suspension>
#20     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#21     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
<asynchronous suspension>
#22     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#24     main (package:flutter_tools/executable.dart:91:3)
<asynchronous suspension>

An error occurs when any flutter command is executed

Just delete the local aapt.exe


I accidentally clicked "No" to "Was this page helpful."

When in fact the opposite is true. This web page is the most helpful page for me out there. It's like a checklist.

@JosephFerry curious, which page was it exactly?

Hi, Diego,
Sorry about that.
https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db
I copied the steps I needed to my own checklist to modify a few steps (such as to add flags to the Scaffold-DbContext command), but I know I can always search the web using keywords like "MVC Core 2.0 existing database getting started site:microsoft.com" if I'm not on my primary development computer and able to get to my checklist.
By the way, I'm interested in creating my own Razor template files that even generate .cs files (through tt5 concepts), and the articles I have found assume that I know a bit more than I do know. In particular, I am eventually interested in creating custom attributes that will affect code generation, if that is possible). Don't worry if you don't know this off the top of your head, I just thought I'd ask. I know the location of the folder where the template files are, and how to put my modified templates in a Templates folder of each application with additional, say, javascript and perhaps slightly modified Razor code.
I suppose that I could post this as a question, but people are such jerks if the question is not precisely worded that I will not bother.
Thanks.
Joe

From: Diego Vega<EMAIL_ADDRESS>Sent: Friday, July 13, 2018 6:36 PM
To: aspnet/EntityFrameworkCore
Cc: Joe Ferry; Mention
Subject: Re: [aspnet/EntityFrameworkCore] I accidentally clicked "No" to "Was this page helpful." (#12670)
@JosephFerryhttps://github.com/JosephFerry curious, which page was it exactly?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/EntityFrameworkCore/issues/12670#issuecomment-404979453, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIsPhAJuHyqQQ0j3qkye_B_vuPu1tVTCks5uGS8QgaJpZM4VPbdd.
If you have a service request please send it to<EMAIL_ADDRESS>for prompt attention.
Confidentiality Notice:
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.

@JosephFerry when you say that attributes would affect code generation, do you mean that code generation would use the attributes in the code they generate?

I think we're talking about the same thing.?I want to create a custom attribute that can be used for an annotation in a model that a Razor template will use to generate conditional custom cshtml or cs code based on the custom attribute and (if it has one) its value. I might create an attribute on a property in a model that will trigger the creation of a search text box in a search form at the top of its index page for each field that has such an attribute, and the attribute might have a value of "Contains", "StartsWith" or "ExactMatch". Or the search field might be a dropdown list from unique values in the columns populating the index page, or a dropdown list based on a field associated in a navigation property. The model class might have an attribute that tells whether to use the NuGet package for pagination when creating an index page for that index, or put a combobox at the top of the page to show 5, 10, 25 or whatever rows per page. A primary key property might have an attribute that tells whether to show the primary key in the index page and/or, say, the Edit page (the primary key would not be editable, however).
Thanks.
From: Diego Vega<EMAIL_ADDRESS>Sent: Monday, July 16, 2018 4:17 PM
To: aspnet/EntityFrameworkCore
Cc: Joe Ferry; Mention
Subject: Re: [aspnet/EntityFrameworkCore] I accidentally clicked "No" to "Was this page helpful." (#12670)
@JosephFerryhttps://github.com/JosephFerry when you say that attributes would affect code generation, do you mean that code generation would use the attributes in the code they generate?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/EntityFrameworkCore/issues/12670#issuecomment-405384876, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIsPhGpGTaTJ2a4-6HOdq51bz8-K7pNNks5uHQLngaJpZM4VPbdd.
If you have a service request please send it to<EMAIL_ADDRESS>for prompt attention.
Confidentiality Notice:
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.

?Thank you very much, Diego. I'm sure I will be working on this in a while. Joe

From: Diego Vega<EMAIL_ADDRESS>Sent: Tuesday, July 24, 2018 1:27 PM
To: aspnet/EntityFrameworkCore
Cc: Joe Ferry; Mention
Subject: Re: [aspnet/EntityFrameworkCore] I accidentally clicked "No" to "Was this page helpful." (#12670)
@JosephFerryhttps://github.com/JosephFerry thanks for the additional details. This sounds well beyond the scope of what we would use in EF Core's DbContext scaffolding. It is possibly a good idea to discuss it in https://github.com/aspnet/scaffolding. Otherwise, once you make progress, if you learn about any specific blockers for integrating your project with EF Core, please create issues for those.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/EntityFrameworkCore/issues/12670#issuecomment-407506220, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIsPhKkfMdQOsc1g1ws99j47XrH-zaXoks5uJ2cvgaJpZM4VPbdd.
If you have a service request please send it to<EMAIL_ADDRESS>for prompt attention.
Confidentiality Notice:
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.


Node Having Difficulty Keeping Up

Looks like there might be two separate issues. The first is that the node is having trouble keeping up for some reason.
Later (see below) it looks like the follow process might have crashed.

Happened here as well:


[Validator] check file, type, size and so on..

.

Can i join this issue ?

of course.
master(4.0-beta) branch and 3.0 branch are very different. please note this only.
it doent matter whether PL master or 3.0. :-)
ref.

master's tester
3.0's rule

@wan2land Got it.
Why don't we make slack channel to share the progress of the project?

just 2 people only......................... but, i make it!
check README.md :-) Thank you


Create a Business Service Using CDS

Hi Experts,
I am a developer in SAP and I run in a real SCP environment and purchase HANA service and hdi container, when I get started to build my project following the tutorials, I face some errors:
1.When I run srv as java application, it returns error like: [INFO] --- exec-maven-plugin:1.6.0:exec (npm run build) @ POC-srv --- npm ERR! missing script: build
2.When I build my simple db package it returns error like: Error:
Error: Command failed: npm install && npm run build    at checkExecSyncError (child_process.js:601:13)    at Object.execSync (child_process.js:641:13)    at Object. (/home/vcap/app/.java-buildpack/tomcat/temp/builder/hdi-builder/builds/build-8726518107791239025/POC/db/.build.js:12:15)    at Module._compile (module.js:635:30)    at Object.Module._extensions..js (module.js:646:10)    at Module.load (module.js:554:32)    at tryModuleLoad (module.js:497:12)    at Function.Module._load (module.js:489:3)    at Function.Module.runMain (module.js:676:10)    at startup (bootstrap_node.js:187:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! deploy@ postinstall: node .build.js
npm ERR! Exit status 1npm ERR!
npm ERR! Failed at the deploy@ postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Could you please guide my about above issues? Many thanks!
Best Regards,
Jay.

@chgeo can you help Jay? We already looked at his cds version and he followed the steps as described.

Looks like the build script got missing in package.json.
Please provide the link or zip with the complete project.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Add Slack badge to readme

Adds readme badge that links to our Slack group and shows the
embarrassingly low user count.

LGTM


Left menü journal manager check is wrong.

@hasantayyar  @hmert
Why editor can view manager block  ?
{% if isJournalManager() or isEditor() %}

related #590


Null pointer error fired on aborting postscribe execution

When postscribe(null, null, "clear"); is called it seems to continue using active stream writer which is null. This leads to several null pointer exceptions.

hi @OleksandrShatylo,
I can't reproduce this.  I've added a unit test to this branch: https://github.com/krux/postscribe/tree/fix/issue-306.  However, either I'm not understanding your problem or the code works.  If you can reproduce, please update that unit test and file a pull request.

Here's a link directly to the unit test: https://github.com/krux/postscribe/blob/fix/issue-306/test/bugs/issue306.spec.js

Closing due to lack of a failing unit test.

Removed the unit test branch as it's been a month and we don't seem to want that on master.


Fix #1027

Fix the parsing of workload storage specified in the .yaml file. When then transition from yaml to json happened the disks struct was omitted resulting the yaml files being incorrectly parsed.
This PR fixes the tags on the struct and updates the examples to explicitly use the source type.
A further PR will remove the image_id functionality as per #988

Coverage decreased (-0.02%) to 66.78% when pulling 055c2d8adafd2f06ad49e86dba320fad4b72505c on rbradford:fix-1027 into f16db23defd9f198b470349b08ea19b3e895fbcb on 01org:master.

Looks good to me.


Addition of verbosity setting for all of the algorithms

Currently, none of the algorithms have a verbosity setting while fitting. It is useful to see some details when the fitting process is going on.

Many algorithms support a verbose flag, which sounds like it's what you want: ITML, LMNN, LSML, MMC, and SDML.
The trick is that you need to pass this to the constructor (or otherwise set it before calling fit).
I'll leave this issue open to note that we should add similar verbosity options for:

[ ] NCA
[ ] MLKR

Thanks for your help, @perimosocordiae. NCA is the major culprit here for me, 1000 iterations take upto 4-5 hours to complete and it gets pretty confusing wether it's still working or not. If you don't mind, even though I am not very familiar with the metric-learn source, I would love to send a patch to NCA and MLKR for verbosity.

Sure, pull requests are always welcome! Let me know if you have questions about the process.
Also be aware of gh-45: our NCA implementation isn't as efficient as it could be, and in general it's probably a bad choice for large datasets. We should still provide verbose progress reports for it, though.


Increase code coverage with unit tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

38 of 45 (84.44%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 24.377%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

herculens/Instrument/noise.py
14
15
93.33%

herculens/MassModel/Profiles/pixelated.py
1
2
50.0%

herculens/Analysis/plot.py
1
3
33.33%

herculens/MassModel/mass_model_base.py
9
12
75.0%

Totals

Change from base Build<PHONE_NUMBER>5:
1.7%

Covered Lines:
1818

Relevant Lines:
7458

💛  - Coveralls


fix: Remove params from chat completions

@etang-ai21 Will the return values return logprobs object?

@etang-ai21 Will the return values return logprobs object?

@asafgardin only if the flag is true, which is not enabled ATM. Since it's Optional, I don't mind keeping it in the response


kubevirt, e2e, ginkgo: change output interception

What this PR does
Before this PR:
After this PR:
As reported in https://github.com/kubevirt/kubevirt/issues/12787 tests are sometimes failing on ReportAfterSuite with parallel process having exited. We change the output interception to see more output

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

/test pull-kubevirt-e2e-k8s-1.31-sig-compute

/close
Fix uncovered a test panic https://github.com/kubevirt/kubevirt/issues/12787#issuecomment-2343693984


firmware-linux-nonfree: update to master

New binary blobs for the XPS 13 bluetooth radio

You also have to update the version attribute with the current date. :)

@fpletz good catch, I put the date of the commit is that alright ?

Yes. I don't really understand what's the meaning of other branches than master, e.g. https://github.com/wkennington/linux-firmware/commits/2016-01-26. @wkennington might be best able to explain that, but he seems to have forked off nixpkgs completely, even calling the OS "Triton" now and not contributing to the official repo anymore. (Perhaps /cc @copumpkin due to related discussions.)

@vcunat I know that he doesn't "like" us anymore.

Oh, interesting! I'm gonna bump this to the current state of https://github.com/wkennington/linux-firmware/commits/2016-01-26 because there are new versions for my iwlwifi card that depending on the kernel version sometimes causes the kernel to initialize the card up to one minute after boot which causes the wpa_supplicant service to fail on boot.

Yes, you want to use the dated branches as they are a merge of iwlwifi and
linux-firmware periodically.
On Sun, Jan 31, 2016 at 5:21 AM Franz Pletz<EMAIL_ADDRESS>wrote:

Oh, interesting! I'm gonna bump this to the current state of
https://github.com/wkennington/linux-firmware/commits/2016-01-26 because
there are new versions for my iwlwifi card that depending on the kernel
version sometimes causes the kernel to initialize the card up to one minute
after boot which causes the wpa_supplicant service to fail on boot.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/pull/12696#issuecomment-177499475.

Thanks for the clarification!


Fix getTables to show the query error if a query error occurs.

Hey webcaetano — Thanks for writing this package. One thing I noticed: If there is a query error, a callback with the error should execute immediately; code that operates on the expected results of the query should not run, or the error that will ultimately be thrown will be cryptic. For example, I made the stupid mistake of putting in the wrong host info, and I got this error originally:
TypeError: Cannot read property 'length' of undefined
After the change in this PR, this is the error I get:
Error: Error: connect ECONNREFUSED <IP_ADDRESS>:3307
The latter provides a better hint that my connection info is wrong.

Thanks @cperryk
Merged.


Unable to retrieve Einstein Prompt Templates after changing Allowed Languages

Summary
When attempting to retrieve recently updated Prompt Templates made in the CRM using Prompt Builder, be it via the VSCode extension under Org Browser > GenAiPromptTemplate or sfdx project retrieve start -m GenAiPromptTemplate ,  the following error occurs :
Metadata API received improper input. Please ensure file name and capitalization is correct. Load of metadata from db failed for metadata of type:GenAiPromptTemplate and file name:{Prompt Template Name}..
This does not occur for "Old" prompt templates which haven't seen updates recently. Exact timeframe would be hard to define, but 3-month-old templates are all okay, and the ones we've modified today all fail immediately upon being saved, even if all that was added was whitespace.
Steps To Reproduce

In an org with sufficient licenses / permissions to create Einstein Prompt Templates, create one under Prompt Builder.
Attempt to retrieve said Prompt Template with sfdx project retrieve start -m GenAiPromptTemplate

Expected result
Metadata is retrieved via the command
Actual result
Error : Metadata API received improper input. Please ensure file name and capitalization is correct. Load of metadata from db failed for metadata of type:GenAiPromptTemplate and file name:{Prompt Template Name}.
  After I created a new prompt template I was able to retrieve it with the CLI v2.67.7.  I also modified existing templates and they were retrieved.
The error you're seeing is a server error.  The general rule we use in cases like this is if the CLI is sending the correct request then this is a server side problem.  You can use the SF_MDAPI_TEMP_DIR environment variable to save the package.xml generated and used for the retrieve request.  If it looks correct, then I would suggest either trying again or open a support case for the server side team who owns GenAiPromptTemplate.
This looks similar to: https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A9379SAB
If you discover new details that indicate a problem with the CLI please reopen this providing those details.

Hello, I have identified a few more specifics regarding this. It seems the breaking factor is changing the allowed response languages.
I have tried creating an exact copy of an existing Prompt Template, without touching this setting, and I was able to retrieve it.
Then, upon changing the allowed languages in any way, I am unable to retrieve it, receiving the aforementioend error message. Restoring the allowed languages to the default value does not render the metadata retrievable again either. As such, I'm inclined to believe it becomes impossible to retrieve a Prompt Template as soon as one version has had modifications to the allowed languages.
Is this reproducible on your end ?

Hi @Eliott-Mischler - I was able to reproduce this, and it seems like a server-side bug, so we'll get one created and assigned to the correct team


Update arty_a7.py

correct naming of input clock which is default of 100MHz on arty-a7. PLL parameters match the 100MHz clock already

Good catch! Thanks for the PR. :)


Font size too small in script interface

Hi to all
I need a solution to this problem
I have a very strange situation on font size on sql script input, because the characters on the screen have reduced in size and become unreadable.
I probably used some buttons or settings by mistake.
I couldn't find any option to set the font size.
Can you help me ?
thank you
Version 22.0.2
<EMAIL_ADDRESS>

Hello @amisano,
Are you talking about the font size in the SQL Editor?
You can adjust its size using Ctrl+- and Ctrl+= keyboard shortcuts.


Bert Split Support

I accidentally made the issue in the wrong project (pytorch2.0) , so I'm copying it here.
Sprint on making sure all split configs are supported in Bert.
aten.split.Tensor

ATen Input Variations
Status

0
Tensor<[1, 256, 2]> self = ?,int<> split_size = 1,int<> dim = -1
Unknown

This is equivalent to TTNN split where we set splitting into two chunks on the last dim. Let's just make sure that works for this shape.
The split op currently only splits in two (@jaykru-tt is adding support for splitting N ways), on the last dim and its tilized.
As you see with this shape its not a friendly tiliizable shape, lets start with Row-Major support.
You can have the split op under neath the hood use slice since slice is more flexible.
Split into two equals = Slice first half, Slice second half.
Sync with @sjameelTT on how to use the slice op
CC: @ayerofieiev-tt

resolved by #12804.


Abstract graph

Change Description
Description of change / link to associated issue.
Steps to Test
Steps for reviewers to follow to test the change.
Pull Request Checklist
Testing

[ ] Your PR passes all CI checks.
[ ] Tests covering the positive and negative (error paths) are included.
[ ] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

[ ] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
[ ] Commits follow the Ideal Git Commit Structure.
[ ] Any new logging statements use an appropriate subsystem and logging level.
[ ] Any new lncli commands have appropriate tags in the comments for the rpc in the proto file.
[ ] There is a change description in the release notes, or [skip ci] in the commit message for small changes.

📝 Please see our Contribution Guidelines for further guidance.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

1230 of 2738 (44.92%)  changed or added relevant lines in 75 files are covered.
27897 unchanged lines in 434 files lost coverage.
Overall coverage decreased (-9.7%) to 49.181%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

chainreg/no_chain_backend.go
0
1
0.0%

chanbackup/pubsub.go
3
4
75.0%

chanbackup/recover.go
3
4
75.0%

chanrestore.go
5
6
83.33%

lnrpc/devrpc/dev_server.go
0
1
0.0%

lnrpc/devrpc/driver.go
0
1
0.0%

lnrpc/routerrpc/router_backend.go
0
1
0.0%

routing/graph.go
3
4
75.0%

routing/localchans/manager.go
4
5
80.0%

routing/router.go
10
11
90.91%

Files with Coverage Reduction
New Missed Lines
%

graph/errors.go
1
94.74%

lnwire/typed_lease_expiry.go
2
78.95%

lnwire/typed_fee.go
2
66.67%

htlcswitch/linkfailure.go
2
58.62%

routing/graph.go
2
86.96%

channeldb/forwarding_policy.go
2
85.14%

record/hop.go
2
93.33%

rpcperms/interceptor.go
2
82.59%

lnwire/short_channel_id.go
2
89.74%

lnwallet/sigpool.go
2
65.63%

Totals

Change from base Build<PHONE_NUMBER>6:
-9.7%

Covered Lines:
99114

Relevant Lines:
201531

💛  - Coveralls


GitHub release failed with status: 403

In a private repo, with this
  - name: Create Release
    uses: softprops/action-gh-release@v1
    with:
      tag_name: ${{steps.tagger.outputs.tag}}
      prerelease: ${{ env.PRE_RELEASE }}
      name: ${{steps.tagger.outputs.tag}}
      generate_release_notes: true
      files: |
        ./app/build/outputs/apk/release/app-release.apk
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

I run into

Does someone has a hint how to solve this ?

https://github.com/softprops/action-gh-release/issues/236#issuecomment-1150530128

Thanks for the advice, it works now


Add a new tutorial for DotNet Core with MongoDB

Help us make content visible

Tell us what search terms you used and how you searched docs: MongoDB Dotnet Core, Mongo VS2017

Tell us what docs you found that didn't address your concern.

Describe the new topic

Explain why this topic is needed :
There is no tutorial present for beginners to understand how dotnet core can work with MongoDB.

Suggest a location in the Table of Contents:
Docs/tree/master/aspnetcore/tutorials

Write an abstract. In one short paragraph, describe what this topic will cover.
Creating a Web API using ASP.NET Core to perform CRUD operations on a MongoDB Collection.

Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.

Setting up MongoDB
Creating Dotnet Core web API Application on VS2017
Adding required packages
Adding Data Models
Writing Class for CRUD Operations
Making Controller
Building and running the application

Are you looking for a ASP.NET COre UI + mongo version or a WEB API + mongo version. Googling "DotNet Core with MongoDB" yield several of each.

Yeah, I know googling will yield several results. I jus t think that having it in our official docs is a good idea.


Introduce SAD to decoders

Introduce Sampling Ambisonics Decoder

With
import numpy as np
import spaudiopy as spa
N = 5
tvecs = spa.grids.load_t_design(2*N)
lslayout = spa.decoder.LoudspeakerSetup(*tvecs.T)
lslayout.characteristic_order = N
lslayout.show()
spa.plots.decoder_performance(lslayout, 'SAD')


spec: clarify referrers response for index

Addresses : #458
@sudo-bmitch

Thanks @sudo-bmitch @jdolitsky PTAL.


Unable to use action via workflow call (reusable workflow)

Description
I have no issue using this action via a push trigger, but when used as a workflow_call (i.e a reusable workflow), it doesn't work. I tested this both in a fork of the repo (see here) and in our own (private) repo. Same behavior in both.
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 1.18.0
node version: n/a
OS version(s): n/a
Steps to reproduce:

Create a workflow using the action (like this one) and set up Slack webhook URL as described in README
Invoke it via a caller workflow (like the one linked above, in the description)
Workflow fails to trigger in Slack, even though invoking the workflow defined in step one via push works just fine

Expected result:
Workflow should trigger in Slack
Actual result:
Workflow fails to trigger in Slack via workflow_call triggers
Log output
Logs
##[debug]Evaluating: secrets.SLACK_MOBILE_RELEASE_TRAIN_WEBHOOK
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SLACK_MOBILE_RELEASE_TRAIN_WEBHOOK'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating condition for step: 'Send a message to Mobile Release Train Webhook'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Send a message to Mobile Release Train Webhook
##[debug]Loading inputs
##[debug]Loading env
Run<EMAIL_ADDRESS>  with:
    payload: {
    "message": "Testing"
  }

  env:
    SLACK_WEBHOOK_URL:

::set-output name=time::13:05:[2](https://github.com/btrautmann/slack-github-action/runs/6128937737?check_suite_focus=true#step:2:2)6 GMT+0000 (Coordinated Universal Time)
##[debug]='1[3](https://github.com/btrautmann/slack-github-action/runs/6128937737?check_suite_focus=true#step:2:3):0[5](https://github.com/btrautmann/slack-github-action/runs/6128937737?check_suite_focus=true#step:2:5):2[6](https://github.com/btrautmann/slack-github-action/runs/6128937737?check_suite_focus=true#step:2:6) GMT+0000 (Coordinated Universal Time)'
##[debug]Node Action run completed with exit code 0
##[debug]Finishing: Send a message to Mobile Release Train Webhook

So this was actually an issue on my end. Secrets can't be used in reusable workflows, so you need to pass them in via the secrets option from the root workflow. After doing this, everything worked as expected. You can check out the docs here if you run into this!


Feature request: display class methods

Adapter version:  https://github.com/felixfbecker/vscode-php-debug/commit/74f566250ad565e73753eb427fd02c0ce41c4a40
List methods/functions of a class when it's evaled/displayed
At the moment only properties specific to the class are shown and usually when working with large frameworks such as this one the methods are a lot more relevant than the properties.
I've briefly gone through the dbgp protocol and I haven't seen anything that can be used to achieve this other than the eval command.
Retrieving class methods can be simulated with the eval command can be used to evaluate get_class_methods($obj) to retrieve the functions/methods of said class.

I don't understand what exactly you are proposing

I would like to have a class's methods displayed under the locals section or when it's evaled,
In a typescript/js context for example you'd have a proto property that lists all the methods.
I'd like to have the same thing for php classes.
I'm not sure whether this possible via the cs code debugger API; I see variableRequest's implementation but I'm not sure if it has something like methodsRequest, or if you might have to add a psuedo property to the object that contains all the methods.
I was simply suggesting a way to retrieve a given object's methods, but I don't know how you could approach surfacing them to the frontend.

Imo this would mess with the semantics of the Variables panel. I personally never needed this tbh, this is more the job of IntelliSense (jump to definition, hover). I suggest you simply execute get_class_methods in the debug console when you need it.

The problem with php intellisense and framewoks like magento and other frameworks that generate compiled code or attempt to do things like dependency injection is that php intellisense often fails to locate a given class if it's generated code, the 'go to definition' feature is a hit and miss sometimes even with wordpress . I found this debug adapter to be a lot more powerful than php intellisense, not only when it comes to debugging, but also when exploring scopes and the code base  in general. Not to say that the debug adapter isn't complimented by intellisense though.
I suggest you try using your extensions with magento2 and similar,more moderbn frameworks like laravel, if you really wanna see their limits.
For starters, on windows 10 the php intellisense extension crashes before it completes  a full work space scan. (On ubuntu it works fine though with 1.3G+ allocated)
Anyway, let's stay within scope and at least acknowledge that there's  a problem to be solved. I understand that the extension is partially limited by vscode and xdebug, but that shouldn't stop you from thinking out of the box and solving the problem at hand

Do you have an example of another IDE that supports this and how it shows this in the UI?

The idea is like this http://joomla-book.ru/images/stories/blog/jdump/com_jdump_3.jpg
Currently to check which methods an object has I need to edit the code with get_class_methods which demands extrasteps.
@felixfbecker suggests to  jump to definition. But when a class extends another class which extends ... and at several extends it uses traits it becomes extremely hard to see the list of the class methods.


Support building on webassembly

It would be great if proptest could be built on WASM. Slightly related to #47 but more specific, since proptest can almost be compiled to webassembly already.
I'm already disabling the default forking feature, to avoid the rusty-fork dependency.
The only thing blocking building proptest on webassembly is these few lines, importing std::os::unix inside a #[cfg(not(target_os = "windows"))] block.
Could the osstring_invalid_string function be constrained more, by excluding wasm32 for example? Or maybe there's a better solution to avoid using std::os::unix on all non-windows targets?

A possible solution here would be to split proptest into two crates:

a proptest-traits, which exposes strategy trait and related machinery. This part could be strictly pure & platform-independent I think?
proptest-runner, which allows one to actually run property test, maintaining a failure database, etc.

I gated the code you deleted behind a cfg check in 0.9.2, so I think it should be working for you now.

split proptest into two crates

Unfortunately, the two are rather intertwined — even the basic public API requires Strategy to know about TestRunner and vice versa.

Were any of you able to get proptest to compile for WebAssembly? I am running into this error:
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
  --> /home/lastmjs/.cargo/registry/src/github.com-1ecc6299db9ec823/wait-timeout-0.2.0/src/lib.rs:66:9
   |
66 |         imp::wait_timeout(self, dur)
   |         ^^^ use of undeclared crate or module `imp

I turned off all features except for std, and it now compiles.
Have you had success actually getting proptest to run? I keep getting a panic when trying to create a runner: Panicked at 'not supported on this platform', library/std/src/sys/wasm/../unsupported/os.rs:76:5

^ that's about how far I got too, with a more precise message in a few places:

panicked at 'condvar wait not supported', library/std/src/sys/wasm/../unsupported/locks/condvar.rs:23:9

I tried a minimal reproduction with wasm-pack and wasm_bindgen_test like:
proptest! {
    #[wasm_bindgen_test]
    fn some_test(num: u32) { assert_eq!(num, num); }
}

And ran into three failures:

Two were usages of Instant::now in runner.rs. Not sure if those can/should be grouped under the timeout feature. If so, that'd be convenient and I'd happy to PR that.
The other one was env vars in the config and I have no idea what to do about that :sweat_smile:

Neither of these address the more niche cases like condvar mentioned above but maybe we can iteratively approach WASM support by handling something like that minimal reproduction first? Happy to help if anyone has bandwidth to offer any guidance!


[user] unexpectedly quits

[user] consult got a hiccup:
$ ./tpl -v
Trealla Prolog (c) Infradig 2020-2022, v2.6.29
$ ./tpl
?- [user].
   true.

Tested on WSL2. It doens't prompt for some clauses or directives.

This may have been fixed with getline fix?

No.
v2.7.3-2-g302b
?- [user].
   true.

?- [user]. true. false. listing :- listing.
   true.

?- listing.
true.
false.
listing :- listing.
   true.
?-

Can confirm this fixes it for me in WSL2. Nice!

With the recent update I can do:
Trealla Prolog (c) Infradig 2020-2022, v2.7.15
?- [user].
p :- write(hello), nl.
   true.
?- p.
hello
   true.

Closing this ticket.


[ISSUE - 514] Adding a FAQ Page for the website

Fixes Issue🛠

Closes #514

Description👨💻
Adding a comprehensive FAQ page to the project. I've ensured that the page is complete, responsive, and adheres to the project's theme.

[x] Responsive Design
[x] Relevant FAQ Question
[x] Themed Integration
[x] Routing of FAQ Page
[x] Feature Request

Type of change📄

[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
I have tested the project locally by Unit, Alpha & Beta Testing.
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100 The Pull Request is ready for a review and merge. Kindly review the Pull Request and provide your feedback.

Seems good, Pls work on these:

Keep the background, navbar and footer exactly same as home page.
The contributors and FAQ button link is broken of the footer of FAQ page.
Align the heading Frequently Asked Questions in center. @antilneeraj

@Rakesh9100 Noted, I'll fix the above listed changes by today...

@Rakesh9100, I kindly request that you review the PR again, as I have addressed the listed changes. If there are any remaining items or if you require additional modifications, Just let me know.

Check your Page and the contact Page navbar and footer, make it exactly same on hovering or without hovering @antilneeraj

@Rakesh9100 Fixed the Difference kindly review it and provide your feedback.

Nice one, Merged 🎉✨ @antilneeraj


Callbacks for each slide

There should be away to execute code based on if you are currently on a certain slider. This could be a prop called onView or something that receives a callback function.
Use case:
There are multiple slides in the swiper. On the last slide, you can auto-focus on a text field at the same time onMomentumScrollEnd is called

Can't you just use onMomentumScrollEnd? It receives an index of current slide, so there should not be any problem ;)


Support -o or --preserve-cell-outputs to preserve cell outputs

If you are interested in this ability, I'll help you in the README or others if needed.

Solve https://github.com/srstevenson/nb-clean/issues/134

Test and README updated.
But, nb-clean check, nb-clean add-filter , and nb-clean remove-filter  is not supported yet. I prefer to add that in separate PR.

I don't know why GitHub has marked this as merged: I squashed your commits and pushed back to this branch, but despite what GitHub is showing this hasn't been merged into main. 🤷🏻♂ I've opened #136 with your changes, and as I had some time also implemented the flag for check and add-filter.


Donation platforms

Is your feature request related to a problem? Please describe.
Currently there's no donating information, if users want to show appreciation like that.
Describe the solution you'd like
Add a Donations section to the readme and some buttons below as to where donate.
Describe alternatives you've considered
If you comment the information of the donation methods you use and addresses, i will do it for you and make a pull request, did this a couple of times.
I saw a lot of open-source projects use LiberaPay or other in the list:

LiberaPay -- example
PayPal
Github Sponsors
Ko-fi
OpenCollective -- example
Flattr
BountySource

Displaying a sponsor button in your repository: link
Some donate buttons

Thanks for the suggestion. Right now I only use PayPal for donations, so I added that via a FUNDING file (https://github.com/ncosgray/cuppa_mobile/commit/299495cc5c79c789a833cb174401442c2ea1547f). I'll reopen this issue and let you know if I set up other donation methods and need help with sponsor buttons.


Potentially migrage to wasm-tool

https://twitter.com/svensauleau/status/1008319046717198337
https://github.com/wasm-tool/emscripten

I rather not touch this part and I think we are currently doing well with what we got.


[SPARK-18123][SQL] Use db column names instead of RDD column ones during JDBC Writing

What changes were proposed in this pull request?
Apache Spark supports the following cases by quoting RDD column names while saving through JDBC.

Allow reserved keyword as a column name, e.g., 'order'.

Allow mixed-case colume names like the following, e.g., [a: int, A: int].
scala> val df = sql("select 1 a, 1 A")
df: org.apache.spark.sql.DataFrame = [a: int, A: int]
...
scala> df.write.mode("overwrite").format("jdbc").options(option).save()
scala> df.write.mode("append").format("jdbc").options(option).save()

This PR aims to use database column names instead of RDD column ones in order to support the following additionally.
Note that this case succeeds with MySQL, but fails on Postgres/Oracle before.
val df1 = sql("select 1 a")
val df2 = sql("select 1 A")
...
df1.write.mode("overwrite").format("jdbc").options(option).save()
df2.write.mode("append").format("jdbc").options(option).save()

How was this patch tested?
Pass the Jenkins test with a new testcase.

Test build #67673 has started for PR 15664 at commit 9558f96.

Test build #67673 has finished for PR 15664 at commit 9558f96.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67673/
Test PASSed.

Merged build finished. Test PASSed.

Retest this please.

Test build #68459 has started for PR 15664 at commit 9558f96.

Test build #68459 has finished for PR 15664 at commit 9558f96.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68459/
Test FAILed.

Two failures seems to be irrelevant.
[info] - randomized aggregation test - [typed, with partial + safe] - with grouping keys - with non-empty input *** FAILED *** (1 second, 367 milliseconds)

Retest this please.

Test build #68481 has started for PR 15664 at commit 9558f96.

Test build #68481 has finished for PR 15664 at commit 9558f96.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68481/
Test PASSed.

Test build #69584 has started for PR 15664 at commit 4bad553.

Test build #69584 has finished for PR 15664 at commit 4bad553.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69584/
Test PASSed.

Thank you for review, @viirya .
I'll update like that.

Test build #69658 has started for PR 15664 at commit 528ccfe.

This is a bug fix, right? Will review this tomorrow.

Yes, right! Thank you, @gatorsmile !

Test build #69658 has finished for PR 15664 at commit 528ccfe.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69658/
Test PASSed.

Test build #70577 has started for PR 15664 at commit 11f5874.

Test build #70577 has finished for PR 15664 at commit 11f5874.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70577/
Test PASSed.

Merged build finished. Test PASSed.

Test build #70642 has started for PR 15664 at commit e0a467c.

Test build #70643 has started for PR 15664 at commit f803f41.

The PR is updated to

get table schema once in createRelation
respect spark.sql.caseSensitive

For insertStatement, I thought it seems to be better to keep the current structure to isolate INSERT PreparedStatement generation code like dialect.quoteIdentifier.

Test build #70642 has finished for PR 15664 at commit e0a467c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70642/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70643/
Test PASSed.

Test build #70662 has started for PR 15664 at commit 8d520dd.

Test build #70663 has started for PR 15664 at commit 66af06d.

Test build #70662 has finished for PR 15664 at commit 8d520dd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70662/
Test FAILed.

Test build #70663 has finished for PR 15664 at commit 66af06d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70663/
Test FAILed.

Merged build finished. Test FAILed.

The failure is not related to this PR.
[info] - fatal errors from a source should be sent to the user *** FAILED *** (84 milliseconds)
[info]   org.apache.spark.sql.streaming.StreamingQueryException: Query [id = 5ae8eeb2-81f1-44df-b8ad-55b780512ee5, runId = 3a5bfebc-e3a3-496e-987b-e0e789f1fdcb] terminated with exception: null

Test build #70665 has started for PR 15664 at commit 194f7c3.

Test build #70665 has finished for PR 15664 at commit 194f7c3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70665/
Test FAILed.

You can move normalization of schemas into saveTable without passing save mode. See my private branch: https://github.com/apache/spark/compare/master...gatorsmile:pr-15664Changed?expand=1

Wow. Thank you for the code.

Test build #70683 has started for PR 15664 at commit a28c511.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70683/
Test PASSed.

Merged build finished. Test PASSed.

Test build #70695 has finished for PR 15664 at commit 86ab6df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70695/
Test PASSed.

Merged build finished. Test PASSed.

Thank you for deep review again, @viirya and @gatorsmile .
I'll update the PR soon.

Test build #70726 has started for PR 15664 at commit 2cc738a.

Hi, @gatorsmile .
I have no objections on your patch! So, I merged that into this PR.

Test build #70726 has finished for PR 15664 at commit 2cc738a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70726/
Test FAILed.

Merged build finished. Test FAILed.

The only failure is irrelevant to this PR.
[info] StreamSuite:
[info] - fatal errors from a source should be sent to the user *** FAILED *** (101 milliseconds)
[info]   org.apache.spark.sql.streaming.StreamingQueryException: Query [id = b3869a67-68d5-4fc1-a3e2-d5879a49166c, runId = cdb70502-63b9-439a-9ece-bdbdcad5c2b4] terminated with exception: null
[info]   at org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches(StreamExecution.scala:296)
[info]   at org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:186)
[info]   Cause: org.apache.spark.sql.streaming.StreamSuite$$anonfun$12$$anon$2:

Retest this please

Test build #70731 has started for PR 15664 at commit 2cc738a.

Test build #70731 has finished for PR 15664 at commit 2cc738a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70731/
Test PASSed.

Merged build finished. Test PASSed.

Test build #70746 has started for PR 15664 at commit 54adaf5.

Test build #70746 has finished for PR 15664 at commit 54adaf5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70746/
Test FAILed.

Merged build finished. Test FAILed.

The only failure is irrelevant to this PR.
[info] StreamSuite:
[info] - fatal errors from a source should be sent to the user *** FAILED *** (84 milliseconds)
[info]   org.apache.spark.sql.streaming.StreamingQueryException: Query [id = d522aafe-085e-43e4-b796-037695dec113, runId = fc2f679a-907a-4445-8042-9198649bb55d] terminated with exception: null
[info]   at org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches(StreamExecution.scala:296)
[info]   at org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:186)
[info]   Cause: org.apache.spark.sql.streaming.StreamSuite$$anonfun$12$$anon$2:

Retest this please.

Test build #70749 has started for PR 15664 at commit 54adaf5.

Test build #70749 has finished for PR 15664 at commit 54adaf5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70749/
Test PASSed.

Merged build finished. Test PASSed.

LGTM

Merging to master. Thanks!

Thank you, @gatorsmile .
Happy New Year! :)


Analyzing Reports Shared by Personas

Title of ticket: Analyzing Reports Shared by Personas
Description
Analyzing Reports Shared by Personas and create first iteration of default reporting for each persona
Dependencies

[x] Receiving 2-4 Report Samples from each Persona

DOD

[x] Review and Group Reports Received
[x] Find commonalities
[x] Create first iteration of default report for each persona
[x] Review internally with SME, PO & SM

https://miro.com/app/board/o9J_liXw0Ic=/?invite_link_id=724990042092


Add ability to specify custom cropping values for zoomCrop

Currently, when you use zoomCrop() you cannot set custom cropping position other than basic left / right, top / bottom, center.
With this PR, you can set a target cropping "zone" as it were (based on the original dimensions of the image) and it will try to crop from that area. It also handles if the given cropping position will result in a crop outside the bounds by forcing it stay within the bounds of the image (maybe that could be configured, if people really want it to crop outside for some reason?)
My use case: I use a library to do face detection which returns a X, Y coords of the face. I want to zoomCrop around that area but currently that is not easily possible, this PR allows such a use case and others.

@Gregwar any news on this?

@Gregwar please can you respond? This is really needed in our app

Sorry for the huge delay
Thanks for contributing

Thank you! 😁

Will you need a new version tag?

Yes please. This PR is fully backwards compatible, there's no breaking changes. So should only need a minor version bump


fix: missing type declarations

Fixes #4234 and #4235
In tsconfig.json "declarationDir" was set to ".", by removing that type declarations are included in the "dist" output.
This looks like the Rollup TypeScript Plugin workaround when using file output. As far as I can see styled-components doesn't need that. See this issue for the workaround.

Apperantly this is needed 😂
#4235

I'm confused why this is suddenly an issue? The tsconfig hasn't changed for months...

@quantizor my guess is because of https://github.com/styled-components/styled-components/commit/4df0cd768c196a9b13e02f804e7a01f5e7a723d9 ?

@quantizor my guess is because of 4df0cd7 ?

Could be. Maybe some of the installed versions shifted within their server ranges and a bugfix quietly broke output or something. I'll verify this fix in a bit.


Feature request: Add nothing

I've been thinking about adding the following features, I think they would come in handy:

Let me know if you would be interested in collaborating on this. I'm ready to work on a Pull Request as soon as this gets greenlight.

Agree, we need this feature ASAP

This is already in nofork 1211. Check it out and let me know what you don't think.


Reminder: opening apps from the All Apps list doesn't work yet, but a datatemplate or something from this SO page may work.

Too tired to decide on which is the best, so this is just here for now. SO page:
https://stackoverflow.com/questions/5545187/wpf-how-to-bind-a-command-to-the-listboxitem-using-mvvm

Actually, it's using buttons to get a command, but I still have to figure out how to bind the command based on the exec key for the .desktop file.

This is now implemented. Forgot to check for issues to close when doing #25.


Add Unvariant view

Implements https://github.com/natefaubion/purescript-variant/issues/24
So I had a few attempts at implementing this.  Although this isn't that nice an API, it's the only one that I could get to really work.  If you substitute type in for newtype, then you'll get constraint errors.
Any ideas about how to do this in a better way?

Cannot wait to try this out. I have had to use newtypes like this for other complicated contexts. There is probably no other way short of patching the compiler, assuming there is actually a bug or shortcoming with solving constraints. The number of people knowledgeable enough to do this are few.

Does not build for me on purs 0.12 and bower 1.8.2.
Error 1 of 2:

  in module Data.List.ZipList
  at bower_components\purescript-lists\src\Data\List\ZipList.purs line 56, column 1 - line 64, column 18

    Unknown type class Fail

  See https://github.com/purescript/documentation/blob/master/errors/UnknownName.md for more information,
  or to contribute content related to this error.

Error 2 of 2:

  in module Data.Symbol
  at bower_components\purescript-symbols\src\Data\Symbol.purs line 18, column 1 - line 18, column 99

    Unknown type TypeConcat

  See https://github.com/purescript/documentation/blob/master/errors/UnknownName.md for more information,
  or to contribute content related to this error.

* ERROR: Subcommand terminated with exit code 1

Does this definition compile for you LiamGoodacre?
completeness ::: forall r. Variant r -> Variant r
completeness = (\(Unvariant f) -> f inj) <<< unvariant


Publishing finch artifacts is not happening

I think there's a bug in the publish process. finchx artifacts where published for 0.28 but not finch artifacts and I think they should both have gone out.

Auto-releases weren't set up for normal artifacts, I was supposed to keep publishing them manually and, obviously, have been failing at this.
I'm cutting a release now. I don't have a strong opinion on whether or not we should set up autorelease for rerrunable branch so if somebody wants to put together a PR, I'd +1 it.

I made some improvement to our rerunnable release process so it's just one command now (w/o the extra clicks at the Sonatype UI).
It fails with (not because of my changes, it was failing before):
[error] (test / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-test_2.12/0.28.0/finch-test_2.12-0.28.0.pom.asc was refused by the server: Unauthorized
[error] (core / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-core_2.12/0.28.0/finch-core_2.12-0.28.0.jar.asc was refused by the server: Unauthorized
[error] (refined / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-refined_2.12/0.28.0/finch-refined_2.12-0.28.0-sources.jar.asc was refused by the server: Unauthorized
[error] (generic / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-generic_2.12/0.28.0/finch-generic_2.12-0.28.0-sources.jar.asc was refused by the server: Unauthorized
[error] (iteratee / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-iteratee_2.12/0.28.0/finch-iteratee_2.12-0.28.0-sources.jar.asc was refused by the server: Unauthorized
[error] (jsonTest / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-json-test_2.12/0.28.0/finch-json-test_2.12-0.28.0-javadoc.jar was refused by the server: Unauthorized
[error] (circe / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-circe_2.12/0.28.0/finch-circe_2.12-0.28.0.pom.asc was refused by the server: Unauthorized
[error] (sse / publishSigned) java.io.IOException: Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/finagle/finch-sse_2.12/0.28.0/finch-sse_2.12-0.28.0.pom was refused by the server: Unauthorized

I'm going to re-try again tonight before I dig deeper. Same credentials are used to publish finchx artifacts and it worked just fine a week ago.

I figured it out. Release 0.28 just now.
I made some changes along the road to make it a little easier for me to release these next time.


sparse matrices could allow sparsity-invariant changes to the elements

Fast element-wise update to a sparse matrix without changing sparsity structure

Some algorithms (e.g.: least_squares()) require call a user-defined sparse matrix at every iteration. It happens that, for each iteration, although the matrix is different, its sparsity structure remains constant (i.e.: changing the values of the non-zero floats inside without touching the zeros).
Currently, unless I am mistaken, we're forced to re-instanciate the whole matrix at every iteration (which slows down the calling algorithm, like least_square(), which can have a lot of iterations).
A more efficient way would be to instanciate the matrix before calling the algorithm, and updating only the non-zero values inside at every iteration, like we could do with a dense numpy array.

Describe the solution you'd like

A set_items() method to allow for such element-wise changes with constant sparsity would be very welcome, and since the sparsity is constant, it should be possible to make it quite fast and efficient.
I guess this method would have to be sparse-format specific:

would allow for row-wise changes for csr_matrix
would allow for column-wise changes for csc_matrix
....

An optional indices array could be provided to specify which elements in the row / column would be changed (by defaut assume all non-zero elements are changed ?)

Describe alternatives you've considered

Alternatively, we could use a different sparse format better at assigning (e.g.: lil_matrix) and perform conversion to csr_matrix (because least_squares is best used with csr_matrix format). But it means there would be a sparse format conversion at every iteration, which would be an unnecessary cpu time usage.

The current way that we allow users to make efficient sparsity-preserving updates is by allowing access to the .data member array. It's a power user feature that comes with some caveats, but it's very fast and very flexible.
I'm not so familiar with the least squares usage, but I suspect we could improve it using this technique.

Thanks @perimosocordiae, I didn't know I could access the data attribute, I'll try it and come back here if I see something constructive to propose in relation with least_square


Missing security policy and dependabot workflow

Hello maintainers,
I come with a couple of questions:
I see this repo lacks a security policy (see: https://github.com/Madrapps/jacoco-report/security), are there any plans to have one?
At the same time, I saw both the issue and PR about bumping/upgrading this action to use node v20, since node v16 seems to be deprecated. Are there any plans to add a .dependabot workflow to also keep up with dependencies updates?
Thank you in advance

Thanks for raising this issue. We have added both now.


IR frame format

Required Info

Camera Model
D400

Operating System & Version
Ubuntu 16.04 LTS

Platform
PC

SDK Version
2.28.0

Language
C++

Issue Description
This is my code for receive left ir camera, but it can't take ir frame with BGR8 or RGB8 format.
But in the Realsense-viewer, i am able to choose the BGR8 format for the ir camera and it can stream it. so i want to ask how can i set the IR camera with the BGR8 format. Thank for your support
My code:
rs2::pipeline pip;
rs2::config cfg;
cfg.enable_stream(RS2_STREAM_INFRARED,1,640,480,RS2_FORMAT_Y8);
pip.start(cfg);

You can only select Y8 or Y16 for the IR camera as far as I am aware:

If you are talking about the colour camera, then:
cfg.enable_stream(RS2_STREAM_COLOR,640,480,RS2_FORMAT_RGB8);

g2-bernotas is correct that if you are using D435(i) series camera, Infrared 1 sensor only support Y8 or Y16 format.
For D415 series, Infrared 1 is capable of streaming RGB8 format.
https://www.intelrealsense.com/compare-depth-cameras/
Thank you.


unable to see undeploy and redeploy option from start menu

Hi all,
Please help me sort out the issue with btdf as i am new learner of this framework.
in our project , we use btdf 5.0 version and executing through WIX scripts.
but i can see deploy option from start menu and no undeploy and redeploy option.
Can anyone tell where exactly and what exactly i need to look for this.
do we need to set any property anywhere?
Please help on this..
regards,
Meena
This work item was migrated from CodePlex
CodePlex work item ID: '10737'
Vote count: '1'

Issue closed by tfabraham with comment
Duplicate of Discussion item
Reason closed
Declined


Where is the part about building the cost function and what kind of cost function is designed?

As shown in the title. Looking forward to your answer.

Hi,
See lines 123-127 in acados/mpcPathTracking.py
The mpc uses a least-squares cost function of several states and functions like the distance to the path (cross track error), angle relative to the path, control effort used and more.  See the costFunc function in the script for more details.
You can tune the cost function by changing W in line 127 (".cost.W").

thanks


Fix ExpressibleByArgument conformance on LogLevel

The initializer is failable, not throwing, and there is a default conformance provided via the integer literal that was not correct.

@swift-ci please test


Damaged dmg Issue

Hi,
Program couldnt be opened. Macos (ventura) warned about application is damaged cant be opened you shoul move it to the trash.
I hope it can be solved.
Regards

Hello!
After you drag Flowgorithm to your applications folder, open terminal and then paste this command:
xattr -d com.apple.quarantine /Applications/Flowgorithm.app

Flowgorithm should then be able to open up normally. Let me know if you have any other issues!

@os2992 Let me know if you have any other issues!

Hello, The fix worked fine for me with the V.4 beta. Thanks


Feat: Position of scroll-up button

Describe the feature
The alignment of the KrisiConnect bot and the scroll-up button needs to be corrected as they are not currently aligned properly and do not look good.
It will look good if we just change to position of scroll-up button from right to left
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@RitiChandak Kindly assign this issue to me


database connection

Hi luis , i trying to connect with my database and make a login but always return false.
this parametere should by my database ?
LDAP_SCHEMA=databasename
or always
LDAP_SCHEMA=OpenLDAP ?

LDAP_SCHEMA has to be one of these values: OpenLDAP, FreeIPA or ActiveDirectory.
Ask your LDAP administrator for the specific configuration values.
For the database configuration you use the default DB_CONNECTION, DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME and DB_PASSWORD.

I see , thanks man !

only one question , laravel continue using bycrypt to hash passwords ??  i can connect to database and retrive user but login fails ,  its not a new database so i must use password column that i have now

Finally login its working , but i dont know  is redirecting to login view , and user is not logued , but atemplogin function return true , and auth()->check() return true inside atemp function.


LZMA-compressed files in ZIPs not supported

That shipped a while ago, cf. https://github.com/itchio/butler/blob/8ee478660d87a8864e69dfd368c43af4d28acd9b/vendor/github.com/itchio/arkive/zip/register.go#L115-L128


Corrupted icons?

On v.1.0.3 Windows UI
I have two games where their icons consistently are downloaded but not shown correctly in steam

I've tried to delete everything in the grid folder and then download new images.
Here is my grid folder: https://mega.nz/file/gzxzgI5Z#UlL630frOJyPAAa2uN_MoBbj0IQYLABH_UzHXHowzPc

I have tried the same thing on windows (might happen on linux as well, but have not seen it there).
I "fixed it by" opening properties of the shortcut and then for some reason Steam picked up on the correct icon.
Also, it seems BoilR is pretty good at finding icons now, so I will make it prefer those icons over the exe files.


Can't generate seed with these settings

This configuration displays an error every time I click Generate. It does SEEM to generate a ROM and Spoiler file but I'm not sure if the resulting file is or isn't generated correctly because of the error.

It seems to be an issue with the "Create Spoiler" option.


Feature/async tdtm work

This pull requests includes testing of all of the ADDR related TDTM trigger handler classes as async.
While most of it is just testing infrastructure changes and test fixes, there are a few real fixes in TDTM core code.

@ceiroa @njjc this passes build and is ready for review.  I suggest Carlos review it, since he should see the changes done in TDTM, since he will want to migrate these to HEDAP.  thanks!


Wrong like endpoint called from public pages

Pages like this one, https://team.cartodb.com/u/matallo?paco, are calling endpoints without username, https://team.cartodb.com/api/v1/viz/c31d168e-f88c-11e4-9baa-0e4fddd5de28/like. It should be https://team.cartodb.com/u/matallo/api/v1/viz/c31d168e-f88c-11e4-9baa-0e4fddd5de28/like .
cc @xavijam

I'll take care of it


Add release notes for version 2.1.0

Description
This commit adds the release notes for the v2.1.0 Release starting from 2.x version bump to 2.1.
Issues Resolved
part of #3636
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

pretty bad, the notes for v2.0.0 are also missing. 😕

Thanks @saratvemulapalli , @dreamer-89 for quick reviews. Sure Sarat I will list down the process to generate release notes in those issues.

Waiting for gradle check to pass before merging this PR

pretty bad, the notes for v2.0.0 are also missing. 😕
the links from GitHub release are 404 because of this.

@viceice the release notes for 2.0 is working for me: https://github.com/opensearch-project/OpenSearch/blob/main/release-notes/opensearch.release-notes-2.0.0.md Could you point to the link where you are seeing 404?

🤔 Can't find it anymore. maybe i made a mistake. Thanks for new releasenotes for v2.1. Maybe those should be created automatically on release, so we don't get those 404 when checking for new releases until the notes file is pushed.


Error refunding

INFO [05-11|09:51:49.573] found new head                           head=8,980,736 synced=true
ERROR[05-11|09:51:51.980] error while trying to refund user        err="failed to build transaction: validation fail
ed for *txnbuild.Payment operation: Field: Destination, Error: invalid address length" amount=100,000,000

This was caused because no feewallet was given. 4c2e6863e59861bd8f571e14244d83694531aa78 makes the feewallet mandatory.


[general options] add --force-extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

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

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

What is the purpose of your pull request?

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

Description of your pull request and other information
This commit adds support for a new command-line flag, --force-extractor,
that takes as an argument the name of an extractor. This extractor is
pased to extract_info as the ie_key, which causes the given extractor to
be used directly without having to run __init__ on all supported
extractors.
This is important because each extractor typically needs to compile a
regex, and all of that regex compilation adds up. In a profiler, this
extractor initialization occupies 80% of startup time on my test
machine (the rest is module import and checking ffmpeg versions).
Passing --force-extractor therefore gives the user a faster startup when
a given invocation is known to always need a particular, named
extractor.

This is something that has been requested (unofficially) before, but will need a few changes to this implementation:

--force-generic-extractor can be deprecated in favor of --force-extractor generic
The name --force-extractor gives the impression that the extractor will be forced irrespective of the URL. This is not the case (and is not possible). So --restrict-to-extractors may be a more suitable name (I'm open to other suggestions)
We need the ability to restrict to multiple extractors like --force-extractor youtube,twitch
It is useful to be able to block only specific extractors (#2044). Eg: --force-extractor -generic/--force-extractor all,-generic
Many sites are split across multiple extractors. So ability to match extractor names with a regex would be a plus. Eg: --force-extractor youtube.* (would this degrade performance?)
Some extractors need "instance checking" (#1791). I would like to be able to fold that into this option if possible. Eg: --force-extractor mastadon-instances

I won't say we have to implement all of this now, but the interface must be designed accounting for these requirements

This is important because each extractor typically needs to compile a
regex, and all of that regex compilation adds up.

Slight clarification. Extractors are not initialized unless actually used. The regex compilation actually happens when the URL is checked against the _VALID_URLs (this PR removes the checks)

In a profiler, this
extractor initialization occupies 80% of startup time on my test
machine (the rest is module import and checking ffmpeg versions).

Out of curiosity, is this with or without lazy extractors?

Slight clarification. Extractors are not initialized unless actually used. The regex compilation actually happens when the URL is checked against the _VALID_URLs (this PR removes the checks)

Perhaps I'm misunderstanding, but based on looking at the profiler and some scattered prints, it seems to me that by default the input URL is checked against all extractors' _VALID_URL. That checking is what is expensive.

Out of curiosity, is this with or without lazy extractors?

I believe it's with lazy extractors. The time is spent in re.compile(_VALID_URL). I performed the performance analysis with snakeviz like follows.
python3 -m cProfile -o profile_output yt-dlp ...
snakeviz profile_output

Also, thank you for taking a look. I'm unfamiliar with some of the things you mention (like instance checking). I'll take a look at solving the first few, though.

I believe it's with lazy extractors.

You can check yt-dlp -v. If they are disabled, it will show [debug] Lazy loading extractors is disabled

I'm unfamiliar with some of the things you mention (like instance checking). I'll take a look at solving the first few, though.

That is fine. I put all the related points here more for reference purposes. The last 2-3 points definitely doesn't need to be addressed in this PR. They are just further enhancements to this feature that would be helpful

The user only ever sees the extractor name in the logs, not their key. So either this needs to match using the names, or we need to document the ie_keys in supported_sites/--list-extractors

Also, it might be best if I do this part myself. But first we need to decide whether to use the name or the key (will using name undermine the performance gain?)

Also, another clarification to what I said:

it seems to me that by default the input URL is checked against all extractors' _VALID_URL. That checking is what is expensive.

The checking itself is not what shows up in the profile. It's the compilation of the regexes that is expensive.

But first we need to decide whether to use the name or the key (will using name undermine the performance gain?)

Is there a map from name to key currently? If there is such a map, there will be no performance impact. I take back what I said about __init__, that was incorrect. The expensive part is the implementation of _match_valid_url in LazyLoadExtractor (I can't link this because it's code generated). As you can see, each time you call _match_valid_url on an extractor, it has to run re.compile(cls._VALID_URL). This method call dominates the runtime.
Any other kind of processing like looking up key from name, or doing a search through all of the names for your idea for youtube.*, will be very cheap by comparison.

Also, it might be best if I do this part myself.

I'm completely fine closing this if you want to take it over, just let me know!

Is there a map from name to key currently? If there is such a map, there will be no performance impact.

No

I'm completely fine closing this if you want to take it over, just let me know!

No! I was talking about the documentation part in specific... (I can push changes directly to the PR if I need to)

I can't link this because it's code generated)

The code in lazy extractor is copied from this: https://github.com/yt-dlp/yt-dlp/blob/8a7f68d0b12d0f4910a15b59a3ec090bbf83b6f2/yt_dlp/extractor/common.py#L492-L501

As you can see, each time you call _match_valid_url on an extractor, it has to run re.compile(cls._VALID_URL)

Yes, but even if the re.compile was not explicitly present, it would take the same time due to re.match. Am I wrong? The explicit compilation only makes future matches much faster for playlists
On a sidenote, would unpickling the compiled regex be faster than compiling it? If so, that data can be auto-generated at build time similar to lazy-extractors.

Please revert the changes to the executable bit of files

Yes, but even if the re.compile was not explicitly present, it would take the same time due to re.match. Am I wrong? The explicit compilation only makes future matches much faster for playlists

Yes, you're right, I was just trying to be specific about what the profile sees - the compilation is expensive, the subsequent matching is cheap.

On a sidenote, would unpickling the compiled regex be faster than compiling it? If so, that data can be auto-generated at build time similar to lazy-extractors.

Interesting idea, I don't know. This StackOverflow answer suggests it might be too painful to be worth it: https://stackoverflow.com/a/65440/73632

I'm fine with any option name, please let me know your pick. Here are some other ideas:
--restrict-to-extractors
--extractors
--load-extractors
--use-extractors
--only-extractors

The value of the option needs to be validated in options.py
❯ yt-dlp test:youtube --force-extractor abcd
Traceback (most recent call last):
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\__main__.py", line 19, in <module>
    yt_dlp.main()
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\__init__.py", line 870, in main
    _real_main(argv)
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\__init__.py", line 860, in _real_main
    retcode = ydl.download(all_urls)
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\YoutubeDL.py", line 3272, in download
    self.__download_wrapper(self.extract_info)(
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\YoutubeDL.py", line 3245, in wrapper
    res = func(*args, **kwargs)
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\YoutubeDL.py", line 1378, in extract_info
    ies = {ie_key: self._get_info_extractor_class(ie_key)}
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\YoutubeDL.py", line 739, in _get_info_extractor_class
    ie = get_info_extractor(ie_key)
  File "D:\Programs\Source\yt-dlp\yt-dlp\yt_dlp\extractor\__init__.py", line 54, in get_info_extractor
    return globals()[ie_name + 'IE']
KeyError: 'abcdIE'

hm, restrict-extractors is not quite right either. The restriction is applied only to the input URL and not to the redirects. Is this what we actually want? If so, point (6) cannot be implemented with this
❯ yt-dlp https://www.youtube.com/c/ИгорьКлейнер --playlist-end 1 --force-extractor YoutubeTab
[youtube:tab] ИгорьКлейнер: Downloading webpage
[youtube:tab] A channel/user page was given. All the channel's videos will be downloaded. To download only the videos in the home page, add a "/featured" to the URL
[download] Downloading playlist: Igor Kleiner - Videos
[youtube:tab] playlist Igor Kleiner - Videos: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] ctSSXR4JtIg: Downloading webpage
[youtube] ctSSXR4JtIg: Downloading android player API JSON
[youtube] ctSSXR4JtIg: Downloading MPD manifest
[youtube] ctSSXR4JtIg: Downloading MPD manifest
[info] ctSSXR4JtIg: Downloading 1 format(s): 248+251
[dashsegments] Total fragments: 353
[download] Destination: 4.4 דגימה וקטורים אקראיים [ctSSXR4JtIg].f248.webm
[download]   0.3% of ~698.76KiB at  421.19B/s ETA -1:59:56 (frag 1/353)
ERROR: Interrupted by user

It seems like we'd want to apply it to all redirects as well, though I'm not sure where the code for redirects is - is that the invocations in process_ie_result? Maybe it would be easier to implement this as a list that's stored in YoutubeDL rather than passing as args everywhere.

All invocations of extract_info leads to a _match_valid_url. So something like this should work (untested):
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index b90173508..a3c865014 100755
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -1378,7 +1378,10 @@ class YoutubeDL(object):
         else:
             ies = self._ies

+        allowed_extractors = self.params.get('force_extractor')
         for ie_key, ie in ies.items():
+            if allowed_extractors and ie_key not in allowed_extractors:
+                continue
             if not ie.suitable(url):
                 continue

It's RFAL, thanks! I've solved 1, 3 and 4. The updated option name is pending your decision, happy to update whenever. It doesn't parse commas yet but that can be easily added, for now multiple extractors can be passed with multiple options (argparse's append action).

--use-extractors extractor_1_ID [, extractor_n_ID]* could be a good option syntax, as it also allows --no-use-extractors ... for excluding, which doesn't work so well with the other suggestions. I refer to extractor 'ID', depending on how the extractor should be specified.

Since the primary motivation seems to be performance, wouldn’t it be better to redo the URL-matching machinery to scale better?
In particular, many extractors can only match URLs from a single domain. If we took that into account, extracting the domain name from the URL first, each link would have be matched against not a nearly-thousand patterns, but ideally just one domain-specific pattern and failing that, a handful of general-purpose extractors.
We could replace regex-based _VALID_RE with a more structured URL matching, similar to what HTTP server frameworks like Flask do; extract the domain name from the pattern, and later look up patterns to match against a given link by the domain.

Since the primary motivation seems to be performance, wouldn’t it be better to redo the URL-matching machinery to scale better?
In particular, many extractors can only match URLs from a single domain. If we took that into account, extracting the domain name from the URL first, each link would have be matched against not a nearly-thousand patterns, but ideally just one domain-specific pattern and failing that, a handful of general-purpose extractors.
We could replace regex-based _VALID_RE with a more structured URL matching, similar to what HTTP server frameworks like Flask do; extract the domain name from the pattern, and later look up patterns to match against a given link by the domain.

But this wouldn't be possible to do without significant changes to ALL the extractors, correct? Or do you have some idea for infering domain etc from the _VALID_URL?

Yes, it might be hard. Though with a careful enough design, the necessary modification to extractors would be just one line invoking a decorator (and maybe another one removing _VALID_URL).
The domain might be possible to exfiltrate from the regex with some heuristics, though doing so at runtime might not necessarily be advantageous.

Yes, it might be hard. Though with a careful enough design, the necessary modification to extractors would be just one line invoking a decorator (and maybe another one removing _VALID_URL).

I have no idea what kind of design you have in mind. You'll have to elaborate

Eventually, I would like to see something like:
# module-private function, not actually exported;
# ctx aggregates objects providing stuff like
# a network client, access to the credential store,
# terminal output, etc.; it does *not* contain any
# methods for parsing any data; that is delegated
# to specialised modules, which may be handed ctx
# or its constituent sub-objects as needed
def _extract_from_id(ctx, id, *, time=None):
    ...

# new-style registration: matched URL parts are
# decoded and passed as keyword arguments
@register_urlmatch(r'//<www>.youtube.com/embed/<:id>', iframe=True)
@register_urlmatch(r'//<www>.youtube-nocookie.com/embed/<:id>', iframe=True)
def __extract_embed(ctx, url, /, *, id):
    return _extract_from_id(ctx, id, time=url.qs.get('t'))

# legacy class registration: disables _VALID_URL matching,
# the extractor is otherwise written the same way as before
@register_urlmatch(r'//<www>.youtube.com/watch?v=<:id>')
@register_urlmatch(r'//youtu.be/<:id>')
class YoutubeIE(InfoExtractor):
    # not used for initial matching because
    # a registration decorator is present
    _VALID_URL = ...

    def _extract_url(self, url):
        return _extract_from_id(self._context, self._match_id(url))

where the registration decorators remember the decorated method/class in some kind of a trie of domain names (possibly in a fallback ‘catch-all’ node at the root).  Matching a URL walks this trie and tests only those patterns that appear on the trie path towards the full domain name in the given URL; presumably the most specific pattern (i.e. the most nested domain) first.  If no pattern matches, the page should be downloaded and tested by extractors registered against MIME types of a page (to handle e.g. direct manifest links), specific HTML elements, or iframe embed URIs.
The pattern matcher should automatically decode percent-encoding and match query parameters structurally (e.g. ?foo=<:foo>&quux=<:quux> should match ?quux=%EF%BC%B1&foo=foo+bar&bar=3 and assign 'foo bar' to foo and 'Ｑ' to quux).  Unless, of course, the pattern is specifically written to override that.
Heuristic extraction of the domain name may be attempted by scanning the regex until the part where it matches the path.  E.g. whatever comes between (?:https?:)?// (or https?://, or http://, or…) and subsequent / must be a pattern matching the hostname.  Though one must carefully pay attention to metacharacter escaping rules.  If domain name extraction fails, the extractor is appended to the catch-all list.
Incremental porting could be achieved simply by importing the decorator into each extractor module and decorating extractor classes with new-style patterns, followed by systematic refactoring to fully take advantage of the new architecture.

Thank you @pukkandan

cc @dasl-

[ ] 1. --force-generic-extractor can be deprecated in favor of --force-extractor generic

Deprecated by --use-extractor generic,default

[ ] 2. The name --force-extractor gives the impression that the extractor will be forced irrespective of the URL. This is not the case (and is not possible). So --restrict-to-extractors may be a more suitable name (I'm open to other suggestions)

Changed to --use-extractors as per @dirkf's suggestion

[ ] 3. The value of the option needs to be validated in options.py

It was difficult to validate in options without affecting perfomance. So validation is implemented in YoutubeDL

[ ] 4. The user only ever sees the extractor name in the logs, not their key. So either this needs to match using the names, or we need to document the ie_keys in supported_sites/--list-extractors. We also need to decide how to deal with case sensitivity of the keys

I decided to go by case-insensitive extractor names

[ ] 5. We need the ability to restrict to multiple extractors like --force-extractor youtube,twitch
[ ] 6. It is useful to be able to block only specific extractors (#2044). Eg: --force-extractor -generic/--force-extractor all,-generic (Does this have any use except for generic?)
[ ] 7. Many sites are split across multiple extractors. So ability to match extractor names with a regex would be a plus. Eg: --force-extractor youtube.* (would this degrade performance?)

All done

[ ] 8. Some extractors need "instance checking" (#1791). I would like to be able to fold that into this option if possible. Eg: --force-extractor mastadon-instances

Extractors can disable itself by setting _ENABLED = False. Along with previously implemented _VALID_URL = False, now it is possible to implement instance checking extractors (cc @Lesmiscore)

cc @sdomi @selfisekai - I remember you guys were asking for this

Amazing! thank you @pukkandan !
I've just tested timing the performance improvement on a raspberry pi model 3B+ using a fresh clone of this repo (https://github.com/yt-dlp/yt-dlp/commit/2516cafb28293612cfb6e158dac34a3117b42461)
Here are the results of running this test:
for i in $(seq 1 10) ; do time ./yt-dlp.sh -o - https://www.youtube.com/watch\?v\=zmr2I8caF0c >/dev/null ; time ./yt-dlp.sh --use-extractors youtube -o - https://www.youtube.com/watch\?v\=zmr2I8caF0c >/dev/null ; done

median of 10 trials w/o --use-extractors youtube: 9.95 seconds
median of 10 trials w/ --use-extractors youtube: 5.01 seconds
lower is better. That's a 50% speed increase with this new feature!

Seems to cause a regression for me. Running
yt-dlp -v
I'm getting
WARNING: Falling back to normal extractor since lazy extractor [...] does not have attribute _ENABLED; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version [...]
for all lazy extractors, when using 2516cafb28293612cfb6e158dac34a3117b42461
5314b521925498356e78652fe59866116d56e1d1 is fine, lazy extractor are present using
yt-dlp --list-extractors

yt-dlp https://html.com/media/ -v --ie default,html5

Sorry for probably asking a dumb question 😊 , but README.md has the short form of
 --use-extractors as   --ies ; is it safe to assume
 --ie =  --ies ?

Any option name can be shortened as long as there is no other conflicting option

@samoht0 Fixed by https://github.com/yt-dlp/yt-dlp/commit/e5458d1d88fcc81011ab19ba610c4b37946c9fa9

I just noticed that initialization of a youtube video download is a lot faster, even without using the --use-extractors flag, ever since this change: https://github.com/yt-dlp/yt-dlp/commit/d2c8aadf799a63aaa7da81ae03052b1ec2addd20#diff-780b22dc7eb280f5a7b2bbf79aff17826de88ddcbf2fc1116ba19901827aa4e3R3
If I understand correctly, it seems like it's because now youtube is the first extractor that is loaded to try to match URL. So if you are downloading a youtube, using --use-extractors now only gets you an ~8.5% speed boost in my testing just now. Seems like a sensible change to make youtube the first extractor loaded by default!


Name conflict of between "google_mobile_ads.dart" and "native_admob_flutter"

When trying to implement BannerAd() widget VS Code shows ...

Now tell me what to do.

https://github.com/flutter/flutter/issues/34395


The Hero Editor: Issue with Multi-Line Template Strings

I am new to Angular 2. While attempting part 2 of the challenge I encountered an issue with the multi-line templating for this tutorial. The tutorial instructs us to write the template as follows:
@Component({
  selector: 'my-app',
  template:

{{title}}

{{hero.name}} details!

id: {{hero.id}}

      name:
      <input [(ngModel)]="hero.name" placeholder="name">

})

Which in turn throws an error on VS Code (see screenshot below) and Chrome is unable to read the template.

However when I rewrite it back in its original format (as a single-line template string). It works fine:
@Component({   selector: 'my-app',   template:              "
{{title}}

{{hero.name}} details!

id: {{hero.id}}

name: <input [(ngModel)]='hero.name' placeholder='name'>
" })
Am I missing something here? I followed the Quickstart tutorial word-for-word. I would like to learn how to use multi-line template strings in the future.
Thanks.

There maybe a type in this editor, but did you add the back ticks around the template?
@Component({
  selector: 'my-app',
  template: `

{{title}}

{{hero.name}} details!

id: {{hero.id}}

      name:
      <input [(ngModel)]="hero.name" placeholder="name">

    `
})

Didn't notice the back ticks! The back ticks definitely made the difference - and it works. Thanks!


Add ErrorResponseExceptionMapper to handle restclient 500 error

This is for MMENG-4089 to improve the exception handler to return a meaningful message.
Add a unit test together.

LGTM.


Multi-sample variant of EGO

The EGO application is fixed for issue #189 and a new variant of EGO in ego_ms.py has been added.
This new variant is able to evaluate multiple samples of the objective function simultaneously by temporarily updating the surrogate model with worst-case estimates until the real objective values are acquired.
Below is a sample using the UCB criterion, with 4 new samples generated per iteration.

Script for generating the sample:
import numpy as np
import six
from smt.applications import EGO_MS
from smt.sampling_methods import FullFactorial

import sklearn
import matplotlib.pyplot as plt
from matplotlib import colors
from mpl_toolkits.mplot3d import Axes3D
from scipy.stats import norm

def function_test_1d(x):
    # function xsinx
    import numpy as np

    x = np.reshape(x, (-1,))
    y = np.zeros(x.shape)
    y = (x - 3.5) * np.sin((x - 3.5) / (np.pi))
    return y.reshape((-1, 1))

n_iter = 4
n_sample = 4
xlimits = np.array([[0.0, 25.0]])
xdoe = np.atleast_2d([0, 7, 25]).T
n_doe = xdoe.size

criterion = "UCB"  #'EI' or 'SBO' or 'UCB'

ego = EGO_MS(n_iter=n_iter, n_sample=n_sample, criterion=criterion, xdoe=xdoe, xlimits=xlimits)

x_opt, y_opt, ind_best, x_data, y_data, x_doe, y_doe = ego.optimize(
    fun=function_test_1d
)
print("Minimum in x={:.4f} with f(x)={:.4f}".format(float(x_opt), float(y_opt)))

x_plot = np.atleast_2d(np.linspace(0, 25, 100)).T
y_plot = function_test_1d(x_plot)

print("Sample values: x={}".format(x_data))

fig = plt.figure(figsize=[10, 10])
for i in range(n_iter):
    k = n_doe + i*n_sample
    x_data_k = x_data[0:k]
    y_data_k = y_data[0:k]
    ego.gpr.set_training_values(x_data_k, y_data_k)
    ego.gpr.train()

    y_gp_plot = ego.gpr.predict_values(x_plot)
    y_gp_plot_var = ego.gpr.predict_variances(x_plot)
    y_ei_plot = -ego.EI(x_plot, y_data_k)

    ax = fig.add_subplot((n_iter + 1) // 2, 2, i + 1)
    ax1 = ax.twinx()
    #ei, = ax1.plot(x_plot, y_ei_plot, color="red")

    true_fun, = ax.plot(x_plot, y_plot)
    data, = ax.plot(
        x_data_k, y_data_k, linestyle="", marker="o", color="orange"
    )
    opt, = ax.plot(
        x_data[k:k+n_sample], y_data[k:k+n_sample], linestyle="", marker="*", color="r"
    )
    gp, = ax.plot(x_plot, y_gp_plot, linestyle="--", color="g")
    sig_plus = y_gp_plot + 3 * np.sqrt(y_gp_plot_var)
    sig_moins = y_gp_plot - 3 * np.sqrt(y_gp_plot_var)
    un_gp = ax.fill_between(
        x_plot.T[0], sig_plus.T[0], sig_moins.T[0], alpha=0.3, color="g"
    )
    lines = [true_fun, data, gp, un_gp, opt]#, ei]
    fig.suptitle("EGO optimization of $f(x) = x \sin{x}$")
    fig.subplots_adjust(hspace=0.4, wspace=0.4, top=0.8)
    ax.set_title("iteration {}".format(i + 1))
    fig.legend(
        lines,
        [
            "f(x)=xsin(x)",
            "Given data points",
            "Kriging prediction",
            "Kriging 99% confidence interval",
            "Next point to evaluate",
            #"Expected improvment function",
        ],
    )
plt.show()

:x: Build SMT 0.4.612 failed (commit https://github.com/SMTorg/SMT/commit/4b4411cd08 by @)

Thank you for your contribution, I will pull your fix for #189 and deal with EGO_MS later on.

Note: The fix for #189 seems to break test_branin_2d(), but it turns out to be caused by a random fluke that allowed the earlier version to reach the given criterion within 10 iterations.

:x: Build SMT 0.4.613 failed (commit https://github.com/SMTorg/SMT/commit/d420e5b349 by @)

:white_check_mark: Build SMT 0.4.617 completed (commit https://github.com/SMTorg/SMT/commit/d71e3a52e9 by @relf)

As I understand you've implemented q-EI approximation. Do you have any paper reference?

The fix for #189 was done in #192, I rename this issue to focus on the enhancement proposal.

Thanks for your contribution. Multi-sample EGO is implemented with PR #202


Fixed footer to be responsive in mobile #932

Corresponding Issue:
fixes #932
PR Summary:

Made footer to be responsive in mobile by adding media query in Footer.css file
I also removed a duplicate css class in the same file

Outcome Snapshot(s):

This was a perfect PR @GiotisK .  Congratulations on getting it merged!