Scrutinizer Auto-Fixes

@JoseCage requested this pull request.
It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/doesangueorg/doesangue-core/

Codecov Report

Merging #42 into laravel-55 will not change coverage.
The diff coverage is 16.66%.

@@              Coverage Diff              @@
##             laravel-55      #42   +/-   ##
=============================================
  Coverage         23.52%   23.52%
  Complexity           99       99
=============================================
  Files                31       31
  Lines               357      357
=============================================
  Hits                 84       84
  Misses              273      273

Impacted Files
Coverage Δ
Complexity Δ

app/Http/Controllers/API/V1/CampaignController.php
30% <ø> (ø)
4 <0> (ø)
:arrow_down:

...p/Http/Controllers/Auth/AuthenticateController.php
87.87% <ø> (ø)
6 <0> (ø)
:arrow_down:

app/Models/User.php
0% <0%> (ø)
7 <0> (ø)
:arrow_down:

...Http/Controllers/API/V1/User/AccountController.php
0% <0%> (ø)
3 <0> (ø)
:arrow_down:

app/Console/Commands/MakeModelCommand.php
0% <0%> (ø)
2 <0> (ø)
:arrow_down:

app/Http/Controllers/API/V1/InvitesController.php
0% <0%> (ø)
3 <0> (ø)
:arrow_down:

app/Http/Controllers/API/V1/CommentsController.php
0% <0%> (ø)
9 <0> (ø)
:arrow_down:

...ttp/Controllers/API/V1/User/CampaignController.php
0% <0%> (ø)
9 <0> (ø)
:arrow_down:

app/Providers/AppServiceProvider.php
100% <100%> (ø)
5 <2> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Botsing problem with some examples

Characteristics

Issue Type: possible bug / misuse
Reproducibility: always
Tool/Service/Component: Botsing
Execution Environment: Linux
Reporter: Ricardo Tejada<EMAIL_ADDRESS>
Description
Botsing fails with a null pointer exception when using it on the given examples

Steps to reproduce
Execute botsing on the given example as shown in description
Files
Examples
ExceptionsForBotsing.zip

Dear @RicardoTej, I can not reproduce this stack trace in my system. Although, Botsing cannot achieve to the crash reproduction in this frame either, because it can not find a public method which calls the target method. Can you please send me the source code of null_pointer_example.jar?

Good morning :
You are right it was a visibility problem, I changed the visibility of the private methods to public and now it works fine.
Thank you.


typing_extensions missing in requirements

8e95c7180c97db2ed007eb1f6e2571b91a594dd3 added usage of typing_extensions to pipeline.py. Specifically, cast() is used which is only available in typing_extensions>=4.7.0. As typing_extensions is not a requirement to news-please, the solution to the issue is one of the following pull requests:

#276: Adding typing_extensions>=4.7.0 as a requirement, however necessarily also raising the python version to 3.7+

or

#277: Removing the usage of cast (as it is for type checking only and not needed anyway as far as I can tell)

EDIT: Newspaper4k (required by news-please) runs on python 3.8+. news-please should therefore be raised to 3.8 anyway so the first solution might be the best one.

thanks! fixed it with the help of your changes from #276


Fix nan eval loss in clip training

Fix nan eval loss in contrastive-image-text clip-roberta training.
Otherwise, get "losses_host not defined" error

Unmatched PR


Resue FtpClient for all requests in an app or create one per operation?

1 Can FtpClient object be reused across all requests with thread safety or must it be created like below for each operation (what about shared between operations within a request, like Scoped)?
2 Can calling Connect() and Disconnect() below be omitted for OpenReadAsync() and DeleteFile() methods?
        using (FluentFTP.FtpClient client = GetFtpClient())
        {
            client.Connect();
            using (var streamReader = new StreamReader(await client.OpenReadAsync(FilePath)))
            using (var ms = new MemoryStream())
            {
                streamReader.BaseStream.CopyTo(ms);
                content = ms.ToArray();
            }
            client.Disconnect();
        }

        private FluentFTP.FtpClient GetFtpClient()
        {

            FluentFTP.FtpClient client = new FluentFTP.FtpClient(Host, Port, Username, Password)
            {
                EncryptionMode = FtpEncryptionMode.Explicit,
                SslProtocols = SslProtocols.Tls
            };

            client.SocketKeepAlive = false;

            client.ValidateCertificate += OnValidateCertificate;

            return client;
        }

Please provide doc url if available.
Thanks in advance.

Better to create FTP client per operation, if you reuse across threads then it must be blocking (2 threads cannot do FTP operation with the same FTP client at the same time)

Why are you using OpenReadAsync? Better to call Download which will give you array of bytes.

Docs are in readme : https://github.com/robinrodricks/FluentFTP#api

Thanks for your prompt reply.
Sorry for not making it clear. Can you please answer my second question on my previous comment. That is, if either Connect() or Disconnect() can be omitted.

2 Can calling Connect() and Disconnect() be omitted when calling either DownloadAsync, OpenReadAsync() or DeleteFile() methods?
DownloadAsync

No it's better to call those
On Mon, Oct 7, 2019, 12:23 PM PingPongSet<EMAIL_ADDRESS>wrote:

Thanks for your prompt reply.
Sorry for not making it clear. Can you please answer my second question on
my previous comment. That is, if either Connect() or Disconnect() can be
omitted.
2 Can calling Connect() and Disconnect() be omitted when calling either
DownloadAsync, OpenReadAsync() or DeleteFile() methods?
DownloadAsync
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robinrodricks/FluentFTP/issues/462?email_source=notifications&email_token=ABT3UKW7IRYNVOAUUK2CFQTQNLMGPA5CNFSM4I56OQ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAPGM4A#issuecomment-538863216,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABT3UKU6SLLQCUMR26EAAULQNLMGPANCNFSM4I56OQ7Q
.

Great! .Thx.


Set up mutation prediction pipeline + reproduce BioBombe results

This adapts the code in BioBombe for predicting gene alteration status using TCGA data to a stand-alone pipeline.
The idea is that we can then extend this analysis to benchmark NMF regularization methods, such as PLIER and network-regularized NMF, without having to implement these methods for the other experiments in the BioBombe paper.
Major differences from the BioBombe version of the code:

Pipeline steps are Python scripts rather than Jupyter notebooks. This is so parts of the analysis can be rerun as methods are added, without rerunning the entire pipeline for the other compression methods.
Dependency on Tybalt is removed (no VAEs for now, unfortunately). data_model.py is similar to the Tybalt DataModel.
Dependency on R plotting packages is removed (for the time being); plots are made using matplotlib/seaborn

Not really. I added the script numbering to make it easy to follow the order in which things should be run

This is sufficient to include numbering. I wasn't sure if there was a script there that was run multiple times and at different steps. In this case, numbering is confusing!

These changes will be merged in greenelab/netreg#2 (see that PR for explanation). Closing this PR.


Docs: Cookie consent.

Description

How Has This Been Tested?
Visually.
Types of changes

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

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@henon @danielchalmers can someone help to finish this?
Need to modify the MudCookieConsentSettingsCategory / MudCookieConsentSettingsModal / MudCookieConsentPrompt to look like mudblazor.
I tried but it gets very clunky

@ScarletKuro
Can you take care of these before I work on the customize dialog:

Add link to let the user access the prompt again somewhere (cooke policy page?).
Create CSS files in an appropriate folder and hook up the divs and MudPaper in the prompt to new empty classes in there so I can fill in the styles

Maybe the landing page footer with all the links should be visible on all pages for two reasons:

User can always see privacy policy and cookie policy
Makes it easier to see examples at the bottom of the page

Add link to let the user access the prompt again somewhere (cooke policy page?).

Yes, this a good place to add the button, looking from what others are doing.
Added.

Maybe the landing page footer with all the links should be visible on all pages for two reasons

Meh, doesn't seems like others are bothered with it, that you need to scroll all way down to see this part.

Many thanks @danielchalmers for the help :heart:
FYI: @Garderoben

@ScarletKuro @danielchalmers good job here! thanks!


1st argument to for each is incorrect

(source
  (for_each_block
    (for_each)
    (local_variable_name)
    (value
      (local_variable
        (local_variable_name)))
    (end_for_each)))

[ ]

update tests

[ ] declare_block
[ ] classic_compiler_block
[ ] function_block
[ ] classic_array_block
[ ] var_declaration_block


Identify CSS units and variables

Assume CSS unit is a word or % after a number, CSS variable is a word inside var().
I think % should not be recognized as a part of number, but the leading - should.
When using minus operator in calc function, we must type a space in both sides of - (value like calc(100%-5px) is wrong), so if we met a pattern like -[\d.] in a CSS value (not in selector, rule or variable), it must be the start of a negative number.

Hi, this PR can now recognize operators in css-extras~

when it would be merged? i need it

Too late it seems.
I'll make a new PR.

Finaly! thx!


Unmerged PR

I have added a calculator according to the assigned issue :
https://github.com/Rakesh9100/CalcDiverse/issues/1610
This is my PR : https://github.com/Rakesh9100/CalcDiverse/pull/1826

@sanjay-kv When a calculator is added level 3 is given please review it

PR is getting reviewed one by one, you can remove the point label from here @sanjay-kv


Hand raise API for the video SDK

Description
Implement the hand raise APIs for the Video SDKs (browser and realtime)
ref: https://github.com/signalwire/cloud-product/issues/7901
Type of change

[ ] Internal refactoring
[ ] Bug fix (bugfix - non-breaking)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets
In the browser SDK
await room.setRaisedHand({
    memberId: "1234....", // Optional
    raised: false,  // Optional. Default is true
})

await room.setPrioritizeHandraise(false)

In the realtime SDK
await room.setRaisedHand({
    memberId: "1234....", // Mandatory
    raised: false,  // Optional. Default is true
})

await room.setPrioritizeHandraise(true)

await member.setRaisedHand({ raised: false }) // Optional param. Default it true

Note: I need to add test cases once the APIs are ready from the server.

Test cases for both realtime-api and JS SDKs are ready for review.


Feature Request: support DeepL and OpenAI for translation

Feature Request: support DeepL and OpenAI for translation

This is indeed part of our plan. We are going to first build a web server, and the second step will be supporting GPT and other translation engines.


Waveform sample in QT widget

Hi,
I liked GuiLite project and the sample which you have showcased is awesome.
I'm a QT developer i have checked the samples and didn't found the waveform drawing in QT application.
Is waveform drawing is possible in QT widget?.
I have planned to use this toolkit for drawing audio waveform please suggest me, how we can use it in QT widget.
Thanks,
Sundaram

Maybe you should custom a Qt widgets for your requirement. looks no default widget you could use directly.


Get grid of eval-rst from quickstart doc

Thank you so much for the feedback,
I improved the changes :)

@astrojuanlu  Thank you so much for the feedback,
I improved the changes :)

Congrats @brivadeneira for your first pull request! 🚀

Thanks @astrojuanlu !
I will keep contributing :)


Refactor visualization module

Refactor the visualization module
1) Refactor visualization.utils functions

parse_proj4_string: A more robust implementation of this function is implemented in pyproj. The refactored implementation uses a direct call to the pyproj function.
proj4_to_cartopy: Refactor the proj4_to_cartopy function

Use the parse_proj4_string to construct a dictionary with the proj definitions
Simplify the function code by using additional dictionaries to relate the Pyproj and Cartopy parameters.
Add support for additional cartopy keywords defined in the Proj4 definitions.

Add two plotting utility functions to avoid code duplication and to improve the axis handling:

get_basemap_axis: This function safely gets a basemap axis. If the current axis is not a cartopy axis, it creates a basemap. Otherwise, the current axis is returned.
get_geogrid: Returns the x,y grid used in the plots along with additional metadata.

Solves issue #197.

2) Refactor plotting functions

Refactor the plotting functions to use the new plotting utils
Merge _plot_field_pcolormesh and _plot_field in a single function.
Avoid plotting the no-data mask separately. Instead, plot it in the _plot_field function.
Merge quiver and streamplots functions into a single one called plot_motion for avoiding code duplication.
The quiver and streamplot functions are now wrappers for plot_motion.
IMPORTANT

Rename the type keyword in  plot_precip_field to ptype to avoid shadowing the built-in function with the same name. Add the corresponding deprecation warning.

3) Define a unique zorder for each type of plot

Basemap features zorder

ocean: 0
land: 0
lakes: 0
rivers_lake_centerlines: 0
coastline: 2
cultural: 2
reefs: 2
minor_islands: 2

precipitation: 10
quiver: 20
stream function: 30
tracks and contours: 40

Basemap features zorder
    ocean: 0
    land: 0
    lakes: 0
    rivers_lake_centerlines: 0
    coastline: 2
    cultural: 2
    reefs: 2
    minor_islands: 2
precipitation: 10
quiver: 20
stream function: 30

I like the way you formalized the zorder conventions used when plotting. However, personally I like to see the national boundaries on top of the precipitation field: this allows to keep a geographical reference even when the precipitation field is very large and covers most of the domain. Hence, I'd suggest to set the coastline, cultural, reefs and minor_islands features with a zorder > 10, what do you think?

Basemap features zorder
    ocean: 0
    land: 0
    lakes: 0
    rivers_lake_centerlines: 0
    coastline: 2
    cultural: 2
    reefs: 2
    minor_islands: 2
precipitation: 10
quiver: 20
stream function: 30

I like the way you formalized the zorder conventions used when plotting. However, personally I like to see the national boundaries on top of the precipitation field: this allows to keep a geographical reference even when the precipitation field is very large and covers most of the domain. Hence, I'd suggest to set the coastline, cultural, reefs and minor_islands features with a zorder > 10, what do you think?

I'd suggest to set the coastline, cultural, reefs and minor_islands features with a zorder > 10, what do you think?

:+1:  I'll make the changes.

I'd suggest to set the coastline, cultural, reefs and minor_islands features with a zorder > 10, what do you think?

:+1:  I'll make the changes.

Hi @aperezhortal, thanks for including my previous comments in this PR.
I had a look at the examples rendered from this branch, and unfortunately, it seems that something's still off, for example in thunderstorm_detection_and_tracking.py:
Figure 1, v:latest:

Figure 1, v:refactor_visualization_module:

I haven't had the chance to investigate the cause of this yet, but hopefully it relates to something minor.

Hi @aperezhortal, thanks for including my previous comments in this PR.
I had a look at the examples rendered from this branch, and unfortunately, it seems that something's still off, for example in thunderstorm_detection_and_tracking.py:
Figure 1, v:latest:

Figure 1, v:refactor_visualization_module:

I haven't had the chance to investigate the cause of this yet, but hopefully it relates to something minor.

Hi @Daniele, thanks for spotting this! The get_geogrid function was returning the wrong coordinates units when cartopy was not installed. I also updated the thunderstorms visualization module to deal with the geogrid=None case and remove the catch for the UnsupportedSomercProjection exception. A workaround was previously implemented and that exception was never risen.
Now the documentation is almost equal to the main branch. You may note small differences in the motion vectors since now they are plotted using the grid coordinates with the same y-origin of the data. Thus, the "steps" starts on the y-origin passed in the geodata (upper) instead of starting at the bottom as before.

Hi @Daniele, thanks for spotting this! The get_geogrid function was returning the wrong coordinates units when cartopy was not installed. I also updated the thunderstorms visualization module to deal with the geogrid=None case and remove the catch for the UnsupportedSomercProjection exception. A workaround was previously implemented and that exception was never risen.
Now the documentation is almost equal to the main branch. You may note small differences in the motion vectors since now they are plotted using the grid coordinates with the same y-origin of the data. Thus, the "steps" starts on the y-origin passed in the geodata (upper) instead of starting at the bottom as before.

This looks really great, Andres. I noticed only one last inconsistency with the current master branch, Figure 4 in plot_steps_nowcast.py:
v:latest

v:refactor_visualization_module

Notice the reddish background color in the second image? I think the transparency for zero probabilities is not working properly.
Digging a bit into the code, I figured that cmap.set_under("white", alpha=0) was missing when plotting probabilities. It also seems that with cmap.set_under, it is not necessary to manually flag all values below the minimum threshold to obtain the desired transparency.
I implemented my suggested changes in 9a0049c. Feel free to modify or revert them as needed.

This looks really great, Andres. I noticed only one last inconsistency with the current master branch, Figure 4 in plot_steps_nowcast.py:
v:latest

v:refactor_visualization_module

Notice the reddish background color in the second image? I think the transparency for zero probabilities is not working properly.
Digging a bit into the code, I figured that cmap.set_under("white", alpha=0) was missing when plotting probabilities. It also seems that with cmap.set_under, it is not necessary to manually flag all values below the minimum threshold to obtain the desired transparency.
I implemented my suggested changes in 9a0049c. Feel free to modify or revert them as needed.


Add a "squish math" command

We should add a command that reduces whitespace in a line of math (especially around symbols like +, -, =, which tend to be quite whitespace heavy.
Example -- not sure if this is possible, especially with the & inside, but ideally something like
\[
\squish{A &= b + c}
\]

As an example, this was prompted by me doing the following in a paper to squeeze some math into a two-column format
\hspace{-.3cm}\left(G\!+\!\tau I\right)^{-1}H(1\!-\!w) &= (\epsilon \|w\!-\!w^\star\|\!+\!\delta) v

Addressed in 8bfe81c


feat!: simplify UnoCSS integration

Mentioned on https://github.com/stackblitz/tutorialkit/issues/144
Fixes https://github.com/stackblitz/tutorialkit/issues/244
Testing on https://github.com/AriPerkkio/tutorial-vite-plugin/pull/21

Moves all configuration from uno.config.ts behind @tutorialkit/theme and @tutorialkit/astro packages. Users are no-longer needed to have complex uno.config.ts files in their projects. In cases like https://github.com/stackblitz/tutorialkit/pull/184 we no longer need to instruct users to modify their uno.config.ts - we can actually apply these in @tutorialkit packages and just release them.
Adds a custom defineConfig to @tutorialkit/theme, that can be used to configure TutorialKit theme and add additional UnoCSS configurations:
// uno.config.ts
import { defineConfig } from "@tutorialkit/theme";

export default defineConfig({
 // add your custom UnoCSS config here. See https://unocss.dev/guide/config-file
});

UnoCSS VS Code extension still works as expected:

Migration guide for projects:
In your package.json:
  "dependencies": {
    "@tutorialkit/components-react": "0.1.5",
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  },
  "devDependencies": {
    "@astrojs/check": "^0.7.0",
    "@astrojs/react": "^3.6.0",
-   "@iconify-json/ph": "^1.1.13",
-   "@iconify-json/svg-spinners": "^1.1.2",
    "@tutorialkit/astro": "0.1.5",
+   "@tutorialkit/theme": "0.1.5",
    "@tutorialkit/types": "0.1.5",
    "@types/node": "^20.14.6",
    "@types/react": "^18.3.3",
-   "@unocss/reset": "^0.59.4",
    "astro": "^4.12.0",
-   "fast-glob": "^3.3.2",
    "prettier-plugin-astro": "^0.14.1",
    "typescript": "^5.4.5",
-   "unocss": "^0.59.4"
  }

In your uno.config.ts:
+ import { defineConfig } from '@tutorialkit/theme';
- import { unoCSSConfig } from '@tutorialkit/astro';
- import { globSync, convertPathToPattern } from 'fast-glob';
- import fs from 'node:fs/promises';
- import { basename, dirname, join } from 'node:path';
- import { defineConfig, presetIcons, presetUno, transformerDirectives } from 'unocss';

+ export default defineConfig({
+  // add your custom UnoCSS config here. See https://unocss.dev/guide/config-file
+ });
- const iconPaths = globSync('./icons/languages/*.svg');
-
- const customIconCollection = iconPaths.reduce(
-   (acc, iconPath) => {
-     const collectionName = basename(dirname(iconPath));
-     const [iconName] = basename(iconPath).split('.');
-
-     acc[collectionName] ??= {};
-     acc[collectionName][iconName] = async () => fs.readFile(iconPath, 'utf8');
-
-     return acc;
-   },
-   {} as Record<string, Record<string, () => Promise<string>>>,
- );

- export default defineConfig({
-   ...unoCSSConfig,
-   content: {
-     inline: globSync([
-       `${convertPathToPattern(join(require.resolve('@tutorialkit/components-react'), '..')).replace('\\@', '/@')}/**/*.js`,
-       `${convertPathToPattern(join(require.resolve('@tutorialkit/astro'), '..')).replace('\\@', '/@')}/default/**/*.astro`,
-     ]).map((filePath) => {
-       return () => fs.readFile(filePath, { encoding: 'utf8' });
-     }),
-   },
-   transformers: [transformerDirectives()],
-   presets: [
-     presetUno({
-       dark: {
-         dark: '[data-theme="dark"]',
-       },
-     }),
-     presetIcons({
-       collections: {
-         ...customIconCollection,
-       },
-     }),
-   ],
- });

BREAKING CHANGES:

@tutorialkit/astro package no longer exports unoCSSConfig. Use defineConfig from @tutorialkit/theme instead.
@tutorialkit/theme package no longer exports rules, shortcuts and theme.
@tutorialkit/theme package exports transitionTheme from new entrypoint: @tutorialkit/theme/transition-theme.

@Nemikolh what do you think about adding https://pkg.pr.new to TutorialKit? Verifying changes like this would be really great if I could use real published packages. Relying on linked (file:// or link:// protocol on package.json) doesn't provide good confidence. Package managers and Node resolving is weird.

Oh that would be really cool! I like a lot that idea :smiley:

/pkg-pr-new

/pkg-pr-new

@AriPerkkio Not that I can think of! We can always fix them later once we encounter them. Let's move forward with this PR


cannot enable focus events without setting <FocusGained> and <FocusLost>

Steps to reproduce
Open a gnome terminal, and run this shell command:
TERM=gnome vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    execute "set t_fe=\<Esc>[?1004h"
    execute "set t_fd=\<Esc>[?1004l"
    echoraw(&t_fe)
    autocmd FocusLost * echomsg 'FocusLost is fired'
    &ttimeoutlen = 100
EOF
)

E349 is given:
E349: No identifier under cursor

Focus a different window (e.g. web browser), then focus back the Vim terminal window.
E349 is given a second time:
E349: No identifier under cursor

Expected behavior
No error is given.  This message is echo'ed:
FocusLost is fired

Because according to :help xterm-focus-event, setting 't_fe' and 't_fd' is all that is needed to enable the focus event tracking feature:

If your terminal does support this but Vim does not recognize the terminal,
you may have to set the options yourself: >
let &t_fe = "<Esc>[?1004h"
let &t_fd = "<Esc>[?1004l"

Operating system
Ubuntu 20.04.3 LTS
Version of Vim
8.2 Included patches: 1-3757
Additional Context
The issue can be fixed by setting <FocusGained> and <FocusLost>:
TERM=gnome vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    execute "set t_fe=\<Esc>[?1004h"
    execute "set t_fd=\<Esc>[?1004l"
    execute "set <FocusGained>=\<Esc>[I"
    execute "set <FocusLost>=\<Esc>[O"
    echoraw(&t_fe)
    autocmd FocusLost * echomsg 'FocusLost is fired'
    &ttimeoutlen = 100
EOF
)

There are 2 possibilities:

this is a bug: when setting 't_fe', <FocusGained> and <FocusLost> should be automatically set as well
this is not a bug: the documentation should be updated to tell the user that setting 't_fe' and 't_fd' is not enough; they also have to set <FocusGained> and <FocusLost>

IMO, it's a bug.  Vim should be able to set <FocusGained> and <FocusLost> automatically.
For example, that's what it does for 'ttymouse':
vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    &term = 'xterm-256color'
    execute('set! termcap')->split('\n')->writefile('/tmp/termcap1.log')
    &ttymouse = 'sgr'
    execute('set! termcap')->split('\n')->writefile('/tmp/termcap2.log')
    edit /tmp/termcap1.log
    split /tmp/termcap2.log
    windo diffthis
EOF
)

In the upper window, notice how Vim automatically set <SgrMouse> and <SgrMouseRelease> when we set 'ttymouse' to sgr:
<SgrMouseRelease> ^[[<*m
<SgrMouse>  ^[[<*M

Why can't Vim do the same when we set 't_fe'?

If this is not a bug, then at least the documentation should be updated.  As a suggestion, here is a patch:
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 3333a3ab6..bc42233bb 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -150,12 +150,14 @@ terminal that tmux is running in): >
         " Enable focus event tracking, see  :help xterm-focus-event
         let &t_fe = "\<Esc>[?1004h"
         let &t_fd = "\<Esc>[?1004l"
+        execute "set <FocusGained>=\<Esc>[I"
+        execute "set <FocusLost>=\<Esc>[O"

         " Enable modified arrow keys, see  :help arrow_modifiers
-        execute "silent! set <xUp>=\<Esc>[@;*A"
-        execute "silent! set <xDown>=\<Esc>[@;*B"
-        execute "silent! set <xRight>=\<Esc>[@;*C"
-        execute "silent! set <xLeft>=\<Esc>[@;*D"
+        execute "set <xUp>=\<Esc>[@;*A"
+        execute "set <xDown>=\<Esc>[@;*B"
+        execute "set <xRight>=\<Esc>[@;*C"
+        execute "set <xLeft>=\<Esc>[@;*D"
     endif
 <
 							*cs7-problem*
@@ -606,6 +608,8 @@ If your terminal does support this but Vim does not recognize the terminal,
 you may have to set the options yourself: >
 	let &t_fe = "\<Esc>[?1004h"
 	let &t_fd = "\<Esc>[?1004l"
+	execute "set <FocusGained>=\<Esc>[I"
+	execute "set <FocusLost>=\<Esc>[O"
 If this causes garbage to show when Vim starts up then it doesn't work.

 							*termcap-colors*

We should update the help to mention setting <FocusGained> and <FocusLost>.
The use_xterm_like_mouse() checks for "screen", "tmux", "stterm".  Perhaps it should also check for "gnome"?
Is $TERM usually just "gnome" or could there be an addition?
I side effect is that 'ttymouse' will default to "xterm".  Is that OK?

The use_xterm_like_mouse() checks for "screen", "tmux", "stterm". Perhaps it should also check for "gnome"?

I used gnome because I suppose it's the default terminal on Ubuntu.  But the same issue probably applies to Konsole, xfce, and other popular terminals.  I need to do more tests to be sure, but I suspect the suggested settings would work in all popular terminals.
I don't know why there is a link between the focus event tracking feature and the mouse codes.  Maybe the code should handle both features in separate functions?

Is $TERM usually just "gnome" or could there be an addition?

Here is the list of all terminal names mathing "gnome" on my machine:
$ toe -as | grep gnome
*-----+-:       gnome           GNOME Terminal
*-----+-:       gnome+pcfkeys   VTE's variation on xterm+pcfkeys
*-----+-:       gnome-2007      GNOME Terminal snapshot 2.18.1
*-----+-:       gnome-2008      GNOME Terminal snapshot 2.22.3
*-----+-:       gnome-2012      GNOME Terminal 3.6.0
*-----+-:       gnome-256color  GNOME Terminal with xterm 256-colors
*-----+-:       gnome-fc5       GNOME Terminal
*-----*-:       gnome-rh62      Gnome terminal
*-----*-:       gnome-rh72      GNOME Terminal
*-----+-:       gnome-rh80      GNOME Terminal
*-----+-:       gnome-rh90      GNOME Terminal
*-----+-:       screen-bce.gnome        screen optimized for GNOME-Terminal
*-----+-:       screen.gnome    screen in GNOME Terminal

A side effect is that 'ttymouse' will default to "xterm". Is that OK?

In gnome-terminal and xfce4-terminal, the default value is empty.  Switching to xterm should be OK, but I would need to make more tests to be sure.

I don't anticipate it will cause problems, let's just recognize gnome and see if someone has a problem with it.

fixed by 48873aebc05608e9e5e56b8628ae6d2789ab7c48


style(Colors): Switches default text color to navy and removes h1-6 overrides   [GM-159] [GM-160]

Overview
This is a stop gap change to prep for a larger swap to emotion managed color modes.  Currently a lot of text elements have been overrided with navy, and we need to remove these hard codings before we switch to a more scalable solution.

Default color changed to navy for all text.
Removes specific color overrides for heading tags.

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [GM-159] + [GM-160]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.7-alpha.d2a86c.0@codecademy/gamut-kit@0.2.4-alpha.d2a86c.0@codecademy/gamut-labs@10.5.3-alpha.d2a86c.0@codecademy/gamut-styles@8.3.2-alpha.d2a86c.0@codecademy/gamut-tests@2.2.2-alpha.d2a86c.0@codecademy/gamut@26.0.2-alpha.d2a86c.0@codecademy/markdown-overrides@0.5.9-alpha.d2a86c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60465f6eecf9d428b099fa99--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.7-alpha.586959.0@codecademy/gamut-kit@0.2.4-alpha.586959.0@codecademy/gamut-labs@10.5.3-alpha.586959.0@codecademy/gamut-styles@8.3.2-alpha.586959.0@codecademy/gamut-tests@2.2.2-alpha.586959.0@codecademy/gamut@26.0.2-alpha.586959.0@codecademy/markdown-overrides@0.5.9-alpha.586959.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60466ffd106dd7008362ffae--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.7-alpha.8066a7.0@codecademy/gamut-kit@0.2.4-alpha.8066a7.0@codecademy/gamut-labs@10.5.3-alpha.8066a7.0@codecademy/gamut-styles@8.3.2-alpha.8066a7.0@codecademy/gamut-tests@2.2.2-alpha.8066a7.0@codecademy/gamut@26.0.2-alpha.8066a7.0@codecademy/markdown-overrides@0.5.9-alpha.8066a7.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://604682dae332720fea1739c7--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.7-alpha.88b052.0@codecademy/gamut-kit@0.2.4-alpha.88b052.0@codecademy/gamut-labs@10.5.3-alpha.88b052.0@codecademy/gamut-styles@8.3.2-alpha.88b052.0@codecademy/gamut-tests@2.2.2-alpha.88b052.0@codecademy/gamut@26.0.2-alpha.88b052.0@codecademy/markdown-overrides@0.5.9-alpha.88b052.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://604684b92bea081ab2a778b1--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.7-alpha.c5bf56.0@codecademy/gamut-kit@0.2.4-alpha.c5bf56.0@codecademy/gamut-labs@10.5.3-alpha.c5bf56.0@codecademy/gamut-styles@8.3.2-alpha.c5bf56.0@codecademy/gamut-tests@2.2.2-alpha.c5bf56.0@codecademy/gamut@26.0.2-alpha.c5bf56.0@codecademy/markdown-overrides@0.5.9-alpha.c5bf56.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60468a0166675700d7f000fe--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.7-alpha.a96dc4.0@codecademy/gamut-kit@0.2.4-alpha.a96dc4.0@codecademy/gamut-labs@10.5.3-alpha.a96dc4.0@codecademy/gamut-styles@8.3.2-alpha.a96dc4.0@codecademy/gamut-tests@2.2.2-alpha.a96dc4.0@codecademy/gamut@26.0.2-alpha.a96dc4.0@codecademy/markdown-overrides@0.5.9-alpha.a96dc4.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60468f2c567101009dae9530--gamut-preview.netlify.appDeploy Logs


Updating package versions for taco-cli (feature addition, live-reload…

…) and taco-kits (new kits)

got this offline reviewed from @leotlee


Cannot open two way pipe

Today when I use it, it gives me such an error

"Connection refused" indicates a network error. Please make sure you have access to googleapis.com (through a proxy or alike).


Have a .pukeignore file

Following git syntax, have a .pukeignore file, project specific, that would allow to specify matching patterns that would be entirely ignored by the FileSystem API.
eg: in .pukeignore
*.pyc
*.DS_Store

.pukeignore added in 1.5.3


Add the ability to manage entries added from other applications

Is your feature request related to a problem? Please describe.
This is a great tool, as the hosts file can be a b**ch to organize! The issue I am having is that I use tools to add entries to the hosts file and (maybe I simply do not understand the tool) would like to somehow manage these entries easily. I use tools like Spybot Anti-Beacon which automatically add entries specifically to the default "hosts" file.
Describe the solution you'd like
Would like to somehow combine files into one hosts file. As stated, maybe I don't fully understand how it works. If I were to divide my hosts file into profiles, then use Anti-Beacon to update its entries, I would like to be able to add all of those new entries to the "Anti-Beacon" profile basically. If this is possible already, then disregard this.
Describe alternatives you've considered
What I've considered, as hostctl (to my knowledge) can target other hosts files easily, is to have several files for each tool and use hostctl to combine these into a "master" hosts file. This is cumbersome as it involves the swapping of hosts files (e.g if I have all Anti-Beacon entries in a 'hosts.beacon' file, when I want to update these entries I have to rename it to "hosts" and then use the tool to update the entries, rename it again to 'hosts.beacon' and use hostctl to import the new entries).
Additional context
The documentation for this tool seems (to me) inadequate as I am not entirely sure how to exactly import entries to the hosts file. I just now found how to add profiles, as the set command is not part of the "CLI Usage" documentation for some reason...

@Fooughhy thanks for taking the time to add this issue.
AFAIK the OS uses only one hosts file. What hostctl can do is import data from other files into the main hosts file. If you want to manage data added from other tools you can just wrap the lines with the profile header/footer like this:
# profile some-other-tool
<IP_ADDRESS> any.domain.loc
<IP_ADDRESS> some.random.domain
# end

If you have a hosts.beacon you can import it easily with hostctl add beacon --from hosts.beacon, and then disable or remove with hostctl remove beacon.
I'm not sure if I answered your question correctly. Is this info helpful?
I've updated the docs to change set to replace that is the proper command.
(Note: There is a --host-file parameter, but probably it's used mainly to test)

Hi @guumaster ! Thanks for the reply!
What I meant was maybe more of an added functionality to hostctl, to be able to EASILY use and organize several hosts files. So that I can create a hosts.beacon file and have hostctl be able to incorporate that one into the regular one. Essentially use a pool of files, and run an "update" command for example to fetch the entries in these files. I could maybe assoiciate a profile with a file.
This still doesn't really make my original issue easier though, as what I now did was to remove the entries from the hosts file by using the original tool (Anti-Beacon) and reset hostctl. Then I added it through Anti-Beacon again, ran hostctl add antibeacon --from /etc/hosts (but for windows). This does not produce the intented results (for me) as there are now duplicates in the hosts file. So I remove the originals, disable the hostctl entries and add entries using another tool. This I have to do for each tool. That is the issue I am trying to find a solution to.

Is the anti-beacon tool rewriting hosts file content?
Can you describe your ideal layout of files and ideal way of working of hostctl for your use case?

to be able to EASILY use and organize several hosts files

@guumaster I think he's talking about https://github.com/guumaster/hostctl/issues/31, the ability to define a master profile from various profiles.
@Fooughhy, you conflict between describing your personal issue and your proposal. I think you should have used a far more minimal version of your personal issue to illustrate your feature request. And, perhaps, link to this anti-beacon tool. Could you focus on your proposal for a second (unless you don't have a concrete proposal)?

@guumaster The anti-beacon tool is only adding entries, and it will recognize then even if I move them around.
@smhmd Yes, I know that my vision isn't clear and I didn't have that clear of a solution in mind when I wrote this.
Maybe I can split this up into several feature requests if I can be clear in my mind.
One problem, which maybe isn't the most important one, is that it would make the organization clearer if we were able to EASILY update the hosts file using the profiles. If the profiles contained (optionally) more information such as a file, or list of files, we may be able to simply use a command such as "update" to fetch new entries from these files when we add things to them. Everything in this tool is quite manual. This would make it more automatic.
Another problem is the organization of new entries. I have now updated my hosts file and divided everything into profiles. But when I use a tool, e.g Anti-Beacon, it will add new entries which are not in a profile. These new entries have to be manually added to a profile, while you still have to remove the old entries. There is a lot of duplicate work, atleast for me, using this tool.
And the Anti-Beacon tool can be found here.

Thanks @Fooughhy for your patience. I get it better now.
Watching the hosts file is easy, but knowing to which profile copy new content is hard to infer.
Although, I think there is some changes that can be done to improve usage. We can add a cache of profiles for hostctl to store its content, this way the update feature you propose can be done.
Maybe if we have a layout like this:
$HOME/.hostctl/
 \_ profile_awesome
 \_ profile_x
 \_ ...

hostctl can use that folder as base for profile content. This will change how enable/disable works, but would result in a much cleaner hosts file. And also enable to undo remove actions.
All this will simplify some parts, but sitll not sure how to handle content added from other tools (like Anti-Beacon).

I think it's you who has the patience while I figure out what I mean 👍
That is basically exactly what I mean. Even though it will introduce redundancy, it would make things clearer to work with.
What I want from the "added content from other tools" part is simply a parameter for the commands (such as ´hostctl add´) to MOVE content in a profile to another profile. Maybe this is the current functionality, but I did something wrong. There seems to be some special circumstances with the 'default' profile. I added the entries from this profile to another, then tried to remove the 'default' profile (this was my attempt at MOVING entries recently added to another profile). I do not recall if I tried to remove all entries in the 'default' profile or simply the profile itself, but this didn't work.

Well, my view is that the default profile has to be always left alone. hostctl will only handle things added with hostctl and any previous content will remain untouched, except on backup/restore actions.
Also, moving from one profile to another adds lots of complexity and I think it won't be a much used feature.
I'm not discarding anything yet, but we need to come up with an elegant solution.

@guumaster

Maybe if we have a layout like this:
$HOME/.hostctl/
 \_ profile_awesome
 \_ profile_x
 \_ ...

I think you should use $XDG_CACHE_HOME (typically $HOME/.cache/hostctl, to not further clutter $HOME.)
You've talked about a config file before. One thing that you could consider is an event-based config file where you can define commands to run on events (e.g. add, enable, disable --only, etc.) on specific profiles (e.g. awesome).

@guumaster

Well, my view is that the default profile has to be always left alone. hostctl will only handle things added with hostctl and any previous content will remain untouched, except on backup/restore actions.
Also, moving from one profile to another adds lots of complexity and I think it won't be a much used feature.
I'm not discarding anything yet, but we need to come up with an elegant solution.

Yeah, that was my feeling regarding the 'default' profile and it makes perfect sense. Maybe my needs are simply out-of-scope for this tool.
But I'm still wondering why adding a MOVE command would add that much complexity?
Also, does this tools include some kind of regex functionality? Otherwise I could see that helping with the MOVE command, and in THAT case it could add alot of complexity.


Move common crs to cluster chart

What this PR does / why we need it
This PR removes common Custom Resources from CAPI so that we can use cluster chart.
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

@njuettner closing this old PR as we're adding cluster chart usage gradually in other PRs.


FactoryGuy.define devours the supplied config object

Here's the problem I ran into when I was defining factories for a set of similar models. To avoid repeating the whole config, I assigned it to a variable. However, I found that the data disappear from the config object after the first call to FactoryGuy.define:
var config = {
  default: {
    color: 'yellow',
    shape: 'spherical'
  }
};

FactoryGuy.define('apple', config); // works just fine
FactoryGuy.define('lemon', config); // the config is empty!

As I can see from your code, it happens due to the specifics of the implementation. To overcome this, I currently use Ember.copy(config), but this behaviour was somewhat unexpected. Wouldn't in be better to spare the supplied object?

Yes, it would be better. I will update the code to make a copy ( of config ) before I destroy it.

fixed in v2.7.5

Thank you very much for fixing it! Now I can safely remove Ember.copy from my factory definitions :)

You're welcome.  That was a good idea .. 👍  to copy the config anyway .. so glad that is in there now.


Update security docs

With support for self signed certs being removed from tls-certificates-operator, the docs need to be updated for self-signed to use the self-signed-certificates charm and tls-certificates-operator otherwise.

@cjohnston1158 , tnx for the report!
The postgresql(-k8s) charm supports both Juju 2.9 and Juju 3.1 but self-signed-certificates is designed for Juju 3.1 only.
The plan is to use tls-certificates-operator for Juju 2.9 from channel legacy/stable and self-signed-certificates for Juju 3.1+

Dear @cjohnston1158 all SQL documentation migrated from tls-certificates-operator to self-signed-certificates. Resolved.
CC: Tnx to @a-velasco !


Allow unused type in no_type_leakage test

A contender for the world's smallest PR.
Right now, the code builds with a warning (for me):
warning: field `0` is never read
  --> tests/no_type_leakage.rs:15:16
   |
15 | pub struct Bar(Foo);
   |            --- ^^^
   |            |
   |            field in this struct
   |
   = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
15 | pub struct Bar(());
   |

This PR makes the type
#[allow(unused)]
pub struct Bar(Foo);

To suppress that warning.

Thanks!


Missing Xray build scan information on Artifactory tab?

The Artifactory tab in the Azure DevOps pipeline result page is only showing a single 'Artifactory Build Info' link and no 'Xray Build Scan Report'.
I ran a build pipeline with the JFrog Publish Build Info task and JFrog Build Scan task according to the following documentation: https://www.jfrog.com/confluence/display/JFROG/JFrog+Azure+DevOps+Extension
Should the Xray scan information be more visible from this tab?
Screenshots
Expected (Publishing Build Info to Artifactory):

Actual:

Versions

JFrog Azure DevOps Extension version: 2.0.4
Agent operating system: Windows
JFrog Artifactory version: 7.33.12
JFrog Xray version: 3.37.0

Hi @Andrew-F ,
Thank you for reporting this.
Im afraid the documentation was misleading. When the new extension was created, the Xray report link was removed from the Artifactory tab in favor of a vulnerabilities table in the task run logs. The table is informative, reducing the need to access the UI in a lot of cases. The link to the report is also printed along with the table.
We've update the documentation accordingly. Sorry for the inconvenience caused by this.

Would it be possible to add the ability to choose the output format for the JFrog Build Scan task?
For example, if we could export the output to a Sarif file we could use an extension like SARIF SAST Scans Tab to display the result in the Azure DevOps interface.


Features not toggleable in config?

Problem Statement
I see a list of features (some described as on by default) -- I'm trying to disable all features that write out the full query text of the executed query. Is there a way I can currently do that?
Proposed Solution
SpanOptions or something like it would support a "WriteQueryStatement" arg.
Alternatives
It seems like there is a way to configure some things, maybe I am overlooking how to disable these other spans?

Sorry about the confusing description of "Enabled by default", which actually means it is a feature that can't be disabled. I can fix that confusing description in the next updates.
Interestingly, the OpenTelemetry Specification is now claiming the db.statement is not a required attribute anymore.
I can try to add a config, maybe called Query, to disable this feature. That will stop populating the db.statement attribute.


Refactor AB3 files to Linkedout

Refactor existing function names, class names and comments to fit our project.
Integrate our Applicant shell class (mocking Person functionality) as part of the refactoring.
Todo:

[x] Rename class files
[x] Rename functions
[x] Rename comments + other misc. files (eg. json)
[x] Enable Main to run using our new classes, functions and json
[x] Refactor Test Cases as well

Resolved with PR found here. 🎊 🎊


Fix typo in README.md

Fix a typo in the code example (variable query doesn't exist, should have been count).

:+1: nice catch, thanks!


Passing a String to AbstractControl.find throws exception navigating into ControlArray

It's easy to see the problem from looking at the code, but I think the simplest repro is
new ControlArray([new Control()]).find('0');

This should return the inner control, but it just throws an exception downcasting to num here. When a string path was passed in, it is just split along "/", so the name will be a String, not a num, and the cast will fail. It should probably check whether name is a string and attempt to parse an int from it.
This also affects more complex paths like 'foo/2/bar' and methods like setErrors, which uses find.
As a side note, it would be nice to document find to describe the expected argument. The only way to know what it expects you to pass it (e.g. that the path separator is '/') is to dig through the impl.

/cc @alorenzen @TedSander

ControlArray has a lot of holes on working with the rest of the forms system. There is no really way to use it only from a template syntax for example.
I think we will get around fixing these holes, but it won't be in the near term. Contributions are welcome to help make it more consistent with the rest of forms.

I've been making some other changes in this code, so this should be easy to address while I'm there.


How Can i get list of DataTable in DataSet ?

Hello Sir/Madam
May you help me how can i get list of datatable in layer Dataset ?
And How can i select layer with Dataset name ?
i try to add feature directly in Datatable ,  is this right way ?
How can i get Control of one exist layer with Dataset name ?
Where are lat and long of feature stored?
Thank You

Have you tried the documentation? I see samples for most of your questions here http://dotspatial.codeplex.com/wikipage?title=Desktop_SampleCode

@sindizzy Thank you for your response
i saw that but i can not understand what should i do
may u send me sample code here ?

Do this:
            'Dim lyr As MapPolygonLayer = CType(myGroup.Layers(0), MapPolygonLayer) 'if using a group
            Dim lyr As MapPolygonLayer = CType(map.Layers(0), MapPolygonLayer) 'if no groups
            Dim fs As IFeatureSet = lyr.FeatureSet
            Debug.Print("Records=" & fs.DataTable.Rows.Count)

Make sure you are using the right type of MapXYZLayer object and also make sure that you are referencing a feature layer and not a category.

@sindizzy Thank you in Advance
I can not found CType in MapPolygonLayer Class
is it work for 1.9 ?
may you check it again ?

I realized Ctype is a Vb Command ... I should use Cast in C# ....
Thank You Dear @sindizzy

@sindizzy id Dot that you say it finally work ...
but as you said it not work when i add category ....
do you have any idea about my new problem ?

The categories are enumerable just like layers. Do the same thing. Or if you want you can assign your category to a global variable. Look at the documentation SDK under DOTSPATIAL SDK STYLE DOCUMENTATION. That should show you all that is available to you. You should download the CHM help file and spend some time reviewing it.

@sindizzy thank you for response
I do it .

@DavisMillier can we close the issue?

@mogikanin Thank you for your respect


support async output binding behavior

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature

It might be beneficial to 'fire-and-forget' a message sent to an output binding without waiting for the request to be fulfilled.
Possibly, this entails exposing an async write endpoint on an output binding component so that it would immediately reply and perform the writing to the binding in a context external to the http/grpc request.
For example, persist a blob to some sorts of blob storage such as S3. This fits a scenario where the write success/failure less important to the application than the latency by which the sidecar responds to its request to persist.
Release Note

RELEASE NOTE: ADD capability to write to an output binding asynchronously

@amimimor - Thanks for opening this issue!
My main question here is is this not something that we should do/already support in the SDKs? For instance, in the .NET SDK, all of the client calls are already async calls. If you wanted to "fire and forget" it, you could just throw it in a background task. This does give the benefit of also being able to see if the put succeeded. Especially in the case of putting large objects into S3, you'd definitely want to monitor that instead of just assuming it succeeds.

These are good points. In my use case we are using Python that has limited
async semantics in some cases (too long to detail here). Furthermore we do
have use cases that writing a json to a datalake system is a side effect of
a server operation (we use that for shadowing in canary deployments) so
it’s not that important if a file is missing as it can be recovered from
the server’s own persistency. In addition putting the async semantics on
the “daprd side” opens up a door to interval/size based batching that
benefits the system by reducing the network load.
On Fri, 27 May 2022 at 1:16 halspang @.***> wrote:

@amimimor https://github.com/amimimor - Thanks for opening this issue!
My main question here is is this not something that we should do/already
support in the SDKs? For instance, in the .NET SDK, all of the client calls
are already async calls. If you wanted to "fire and forget" it, you could
just throw it in a background task. This does give the benefit of also
being able to see if the put succeeded. Especially in the case of putting
large objects into S3, you'd definitely want to monitor that instead of
just assuming it succeeds.
—
Reply to this email directly, view it on GitHub
https://github.com/dapr/dapr/issues/4670#issuecomment-1139106507, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHL4STX66SUWL7FV5IUKXLVL7Z2XANCNFSM5XBCFMGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
All the best,
Amit Mor


AK to CCS merge 10-08-2020

This PR includes the commits related to AK 2.7 branch cutting and subsequent commits afterward
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ping one of @bob-barrett @ijuma for review.


Is it possible update/install  only new cores?

I have question about pocket updater. Is it possible update new cores only? Usually use update all but it update everything. At select core menu there’s option update new/latest cores default. But I still end up to that update all at menu. When start up pocket updater it shows new cores if those are there. But is it possible just add those new cores?😮

When starting pupdate and using the menu, depending on your settings, it will ask you if you want to include any new cores in your update all. If you do choose to add those cores, it makes a change to the settings to add those cores to the update all process. You would then need to run update all to both update any other cores that have updates AND install the new ones.
If you want to just update or install a single core, you can do so on the command line by running pupdate update -c "<core name>".
Currently pupdate is not setup to just update or install some cores without running the entire update all process. Is there a reason that running update all isn't something you want to do?

yeah pupdate update -c will do what you want

When start pupdate it shows if there’s new cores, like new arcade games etc. You can select these. If you just wanted add these new games to Analogue pocket, I don’t know how. So I usually use update all because it’s easy and does everything. But because it goes true everything and all cores that’s already installed to sd card it takes time. So I was thinking is it possible just add those new games that are shown at start up and not check games/cores that already are at sd card? Lähetetty iPhonestaMichael Hallett @.***> kirjoitti 15.3.2024 kello 23.06:
When starting pupdate and using the menu, depending on your settings, it will ask you if you want to include any new cores in your update all. If you do choose to add those cores, it makes a change to the settings to add those cores to the update all process. You would then need to run update all to both update any other cores that have updates AND install the new ones.
If you want to just update or install a single core, you can do so on the command line by running pupdate update -c "".
Currently pupdate is not setup to just update or install some cores without running the entire update all process. Is there a reason that running update all isn't something you want to do?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Right, you have to run update all to install the new cores and keep the others up to date. If you don't want to run update all, your only other choice is to run the command both @mattpannella and I mentioned for a single core. That command will install or update a single core.
The way pupdate works, it's not possible to just install a small list or update a small list without doing the entire process.


Kim mb 5390 no access state in setstate

Description
This remediates security advisory https://github.com/transcom/mymove/security/advisories/GHSA-f589-vqjw-vr8p
Reviewer Notes
This has already been approved in advisory fork.
Setup
Code Review Verification Steps

[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
forked branch

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against c3c459c1328b7ece4f09d797aeada8a5be12c4a9

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against c3c459c1328b7ece4f09d797aeada8a5be12c4a9


Luacheck throws errors for additional assignment operators

Now that I've got luacheck working in VSCode and Nova, I've begun building some stuff with it. Unfortunately, while the new Additional assignment operators that the Playdate SDK adds to the language are useful, but luacheck doesn't know about them. Using them in your project results in false-negative errors -- errors reported by luacheck that aren't actually problems in your code.

Unfortunately, I think luacheck is right here -- for normal Lua code these are invalid operators. It just doesn't know about the PlaydateSDK's additions.

I've filed https://github.com/lunarmodules/luacheck/issues/53 to see if they could make the operators understood by luacheck extensible in the .luacheckrc file.

FWIW, this can be solved in VSCode by adding "Lua.runtime.nonstandardSymbol": ["+=", "-=", "*=", "/="] to settings.json.


[FEATURE]  Add dynamically loaded widgets

Description of the requested feature
As the title says, this feature would add dynamically loaded widgets. Essentially, this would allow a given config to flip a variable to true and another widget would appear in the window; similarly to the behavior of the gnome bar.
In gnome, when an additional feature is in use like location services or bluetooth, a new icon appears in the system tray(?). For examle:
Location services off:

Location services on:

The use case of this feature is fairly straightforward; to enable a widget that may not always be in use through some automated process. From only showing the status of bluetooth and location services, to embeding notifications into the bar, this could allow for a lot more flexability in creating highly customized eww applications.
Proposed configuration syntax
Implementing this feature in eww configs could be as simple as using the preexisting conditionals that are already in yuck.
;; Render bar
(defwindow bar
  :monitor 0
  :geometry (geometry
              :x "0%"
              :y "40px"
              :width "100%"
              :height "35px"
              :anchor "top center"
            )
  :stacking "fg"
  :reserve (struts :distance "20px" :side "top")
  :windowtype "dock"
  :wm-ignore false
  (bar-content)
)

(defvar example-widget-visible false)

(defwidget example []
  (box
    :class "example-box"

    "example-content"
  )
)

(defwidget bar-content []
  (box
    (box
      :halign "end"
      :spacing 2
      :space-evenly false

      ; CONFIG EXAMPLE BEGINS HERE
      {example-widget-visible ? (example) : "" }
    )
  )
)

Simply flipping example-widget-visible to true using eww ... update example-widget-visible=true would load the widget.
Additional context
No response

visible: bool visibility of the widget

Also revealer, literal and css with opacity: 0 if you want to keep the space the widget takes.

Goddamnit.


Add new get state api, fix kqueue build error on Mac

Added a new API to get the current state of Dynomite.
curl http://localhost:22222/state/get_state

Also, fixed the kqueue build error on Mac.
And lastly, updated build.sh to find the ssl libs on a Mac.

LGTM

Adding to command to help now. Will push in a minute.

Thank you @akbarahmed


Player.Seek

This should support seeking by time (e.g., +/- 5, 10, 30, 60, 600 seconds, etc) and chapters.
If possible, we could respect the user's configured seek granularity.

I had a go at adding the basic stepforward, stepbackward, bigstepforward, bigstepbackward commands. I am working on being able to define a chunk of time to skip and also to jump to a specific time.
#27

Just commenting for myself to use AMAZON.DURATION for this.  Will need to parse ISO-8601 duration format.

Request for opinions, too:  if I do implement arbitrary seeking ("seek 34 seconds", "seek 5 minutes", etc), do we still have a need for the pre-configured steps?

I have the duration parser for another skill I wrote. I'll paste it into slack.

Thanks :)


pageAppeared: not called when using setCurrentPageIndex:

The delegate method pageAppeared: is not called when "manually" going to a page with setCurrentPageIndex:. The same is for onPageDidAppear Block in EAIntroPage.
Is this a bug or on purpose?

That should work with manual index change, I'll check when I have time.

Okay. I had to use scrollToPageForIndex: instead of setCurrentPageIndex:. But the problem was that this method is not in the current Cocoapods release. The version on Cocoapods is from May.
I fixed the problem by linking directly to the latest commit in my Podfile. But i think a better solution would be to just publish the new features and fixes to Cocoapods. 😄

Sure, will push update on this weekend :)
But we still need to fix delegate call from setCurrentPageIndex:, so keep this issue open.

Cleaning up the issues in preparation for CocoaPods release.
For anyone having issues with setCurrentPageIndex:animated: - use scrollToPageForIndex:animated:. Difference between them and reason to split into 2 methods discussed in #144, #174, #177.
In future releases this redundancy of similar methods should be removed.

EAIntroView 2.10.0 pushed to CocoaPods trunk! :tada:


VS2015 linking error

Hey everyone,
i'm very new to using oF in VS and want to check out ofxEdsdk, but i can't run any project since i keep on getting Linker errors like
LNK2019
unresolved external symbol __imp__EdsInitializeSDK@0 referenced in function "void __cdecl Eds::InitializeSDK(void)" (?InitializeSDK@Eds@@YAXXZ)

I applied for the canon EDSDK and downloaded it and copied the EDSDK-folder into OF > addons > ofEdsdk > src, allthough it seems to me as if this install instruction is meant for OSX only...
Any idea how i need to progress from here? Where should i place the files? Or am I just missing any includepaths for linking somewhere? Thanks a lot

see https://github.com/kylemcdonald/ofxEdsdk/issues/48
cheers


World of Warcraft, renderpass issue?

I'm not entirely sure this is a DXVK issue, but I think it is. Without DXVK enabled, the problem does not show. When changing Vulkan driver from RADV to AMDGPU, the issue is exactly the same. So I'm leaning towards that this is a dxvk related.
In certain situations in World of Warcraft, when specific windows are opened or specific spell effects showing, there is a huge slowdown. The simplest example to trigger this is to open the Appearances tab (shift+p, select Appearances tab in the window). The framerate goes down to approx 50-60% of the "normal" value while the window is opened, and is restored when closed.
Example:
Window not opened (regular scene with average amount of players / objects visible): https://i.imgur.com/jK0eQsq.png
Window opened (same scene, only static window visible): https://i.imgur.com/5HQWvFl.png
As you can see in the screenshot above, the "renderpasses" count almost exactly doubles when the window opens. Usually with many players / complex objects in view the drawcalls increase, while the renderpasses stay roughly the same. The increased drawcalls in the screenshot was mostly due to more players in view at the time of the second screenshot, normally when opening the window the drawcalls increase by ~200.
Software information
World of Warcraft, 7/10 quality setting
System information

GPU: Radeon R9 290X
Driver: 18.2.4
Wine version: 3.18 staging
DXVK version: 0.91

Apitrace file(s)
Took a while to log in and start game, but when started I opened / closed the problematic window a few times before exiting:

https://drive.google.com/file/d/1I6i4CoFjOSXAak685YyLT2J8NOPXRGvr/view?usp=sharing (note, 6 GB file!)

Log files
Can't see anything interesting here, but here they are anyways:

d3d11.log: https://pastebin.com/5DfZNgFJ
dxgi.log: https://pastebin.com/pzfSmpjT

100 render passes is still in the normal. As far as I can tell, there's no bug here.

You might be right, I just wanted to ask the question to see if this was something that can be improved, as it is an annoyance.
What is odd though is that even if you face a wall (ie few things to render = high fps), it drops from say 200 fps to < 100 when opening that static window. No slowdown is noticed without DXVK or on the windows version.
Anyway, if there is no bug here to be fixed, feel free to close this issue. Thanks for the feedback :)

Was not really able to reproduce a huge problem with nVidia.
Standing in Boralus, i have 70'ish fps, and opening the Appearance tab i dropped 5-7 fps, and renderpasses changed from 50 -> 90 at most (so almost double).
I do however remember SOME issues with this when doing mouseover + shift to compare gear, but kinda think this got fixed with a addon update (but MIGHT have been a dxvk or driver update a while back).

It might be my old GPU (290X), that is also only supporting vulkan 1.1.70 that might be the issue. I have at least tried updating Mesa, Vulkan amd DXVK to the latest version without success.

Closing this as there does not seem to be any reproducible issue here


implement clonePartialCurve for B-splines

This is needed for offsetting CurveChains with B-spline curve components.
Also:

removed overrides of CurvePrimitive methods that were the same as super
narrowed the return type of CurvePrimitive.clone overrides to reduce caller type assertions on the returned curve
remove "undefined" as a return type of CurvePrimitive.clone overrides where appropriate.
implement KnotVector.normalize, getKnotMultiplicity, getKnotMultiplicityAtIndex

@Mergifyio update


install_scl_repo Error

Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID.
It seems to be the same as https://github.com/poise/poise-languages/issues/8
Error popped up within the following parameters:
RHEL-7.3
poise_languages 2.1.1
poise_python 1.6.0
chef-client 13.1.31
Full Error Log & Stacktrace:
python_runtime[2] (poise-python::default line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: poise_languages_scl[python27] (/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb line 27) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[subscription-manager repos --enable rhel-server-rhscl-7-rpms] (/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/resource.rb line 110) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of subscription-manager repos --enable rhel-server-rhscl-7-rpms ---- STDOUT: Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories. STDERR: ---- End output of subscription-manager repos --enable rhel-server-rhscl-7-rpms ---- Ran subscription-manager repos --enable rhel-server-rhscl-7-rpms returned 1

Are you on a cloud version of RHEL?

Yes, I am testing this suggestion at the moment https://github.com/poise/poise-languages/pull/9

I can confirm that the suggestion https://github.com/poise/poise-languages/pull/9 worked. Closing the issue.


Permission set create/update behaviour bug with empty relayState / sessionDuration

The solution's current create/update operation of a permission set for an empty relayState/SessionDuration is incorrect , and needs to be fixed

@jjleigh , fya

@jjleigh , with #89  , in case of an

empty permission set description, the solution would use permission set name for this value
empty session duration, the solution would not set anything. However, the SSO API would set this to a default of 60 minutes in case of an empty value
empty relay state, the solution would not set anything for this


add removed types and functions as obsolete for better backwards comp…

…atibility with v7
fixes #40

This looks fantastic, I'll take a proper look in the morning when I'm less tired and get it merged in ASAP :) Thanks!


[release-1.11] bump x/net to v0.17

This patch runs ./hack/update-deps.sh --upgrade --release 1.11 to pull https://github.com/knative/pkg/pull/2860.
$ ./hack/update-deps.sh --upgrade --release 1.11

/lgtm
/approve

/hold

/hold cancel


Fixed code

and also remove dead code

ping @brendt

I've already changed it myself before I saw this PR, thanks anyway! (https://github.com/spatie/php-cloneable/blob/main/src/Cloneable.php#L14)
@freekmurze ?? wouldn't work if you'd pass null to with, so this is a legitimate change.


Do not reset scroll and zoom on reload

When the PDF is modified in the background or a manual reload is triggered, it would be nice to preserve the original scroll and zoom position.

Seems to be fixed by #13

Seems to be fixed by #13


How do you search all youtube for 10 videos whose audio codec is m4a

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
It gives me the right answer but in the wrong format. I just want the list of ids
The ids in verbose are right.
yt-dlp -vU "ytsearch10:acodec" --match-filter "acodec=m4a" --get-url --skip-download
[debug] Command-line config: ['-vU', 'ytsearch10:acodec', '--match-filter', 'acodec=m4a', '--get-url', '--skip-download']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.03.03 [934496428] (pip)
[debug] Python 3.11.1 (CPython AMD64 64bit) - Windows-10-10.0.19041-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1782 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec
ERROR: You installed yt-dlp with pip or using the wheel from PyPi; Use that to update
[youtube:search] Extracting URL: ytsearch10:acodec
[download] Downloading playlist: acodec
[youtube:search] query "acodec": Downloading web client config
[youtube:search] query "acodec" page 1: Downloading API JSON
[youtube:search] Playlist acodec: Downloading 10 items of 10
[download] Downloading item 1 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=RqxeNmg4Wbo
[youtube] RqxeNmg4Wbo: Downloading webpage
[youtube] RqxeNmg4Wbo: Downloading android player API JSON
[debug] [youtube] Extracting signature function js_36754c51_107
[debug] Loading youtube-sigfuncs.js_36754c51_107 from cache
[debug] Loading youtube-nsig.36754c51 from cache
[debug] [youtube] Decrypted nsig ZSWInYB3-8k0JrP1de0 => JjmGGE3YTOfTFw
[debug] [youtube] Extracting signature function js_36754c51_103
[debug] Loading youtube-sigfuncs.js_36754c51_103 from cache
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] RqxeNmg4Wbo: Downloading 1 format(s): 303+251
[download] What is a Codec and What Does it Do? does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 2 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=GhWki9a7s18
[youtube] GhWki9a7s18: Downloading webpage
[youtube] GhWki9a7s18: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] GhWki9a7s18: Downloading 1 format(s): 248+251
[download] What is a Codec as Fast As Possible does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 3 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=z-GGg9Y7yVg
[youtube] z-GGg9Y7yVg: Downloading webpage
[youtube] z-GGg9Y7yVg: Downloading android player API JSON
[debug] Loading youtube-nsig.36754c51 from cache
[debug] [youtube] Decrypted nsig UnCrxxVzzG9TWF6pDgW => stF6OE-mGjEfrQ
[youtube] z-GGg9Y7yVg: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] z-GGg9Y7yVg: Downloading 1 format(s): 303+251
[download] ACODEC شهادة : الوكيلي بوعزاوي - جمعية does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 4 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=kdKnddqCJbY
[youtube] kdKnddqCJbY: Downloading webpage
[youtube] kdKnddqCJbY: Downloading android player API JSON
[debug] Loading youtube-nsig.36754c51 from cache
[debug] [youtube] Decrypted nsig dfqca9YbLPBcBl2YVou => d2OpZkH_E7jm5Q
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] kdKnddqCJbY: Downloading 1 format(s): 308+251
[download] How to play MP3 files without a codec chip on the ESP32 does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 5 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=P5Vs7BgeQog
[youtube] P5Vs7BgeQog: Downloading webpage
[youtube] P5Vs7BgeQog: Downloading android player API JSON
[debug] Loading youtube-nsig.36754c51 from cache
[debug] [youtube] Decrypted nsig HxI5bQrUnqkVl0aJk_O => 6RHagKdlnnrPpA
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] P5Vs7BgeQog: Downloading 1 format(s): 137+251
[download] What Is a Codec? does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 6 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=V2P2waAOabA
[youtube] V2P2waAOabA: Downloading webpage
[youtube] V2P2waAOabA: Downloading android player API JSON
[debug] Loading youtube-nsig.36754c51 from cache
[debug] [youtube] Decrypted nsig iUH0BsU5iIpApErLFbf => 1vyc2ST_sC0FAg
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] V2P2waAOabA: Downloading 1 format(s): 137+251
[download] Jordan Peterson vs Naked Snake From Metal Gear On A Codec Call does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 7 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=AoXMpGmihms
[youtube] AoXMpGmihms: Downloading webpage
[youtube] AoXMpGmihms: Downloading android player API JSON
[debug] Loading youtube-nsig.36754c51 from cache
[debug] [youtube] Decrypted nsig 4XycLThranc5m0MRxyc => dOriv9GQJaskKA
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] AoXMpGmihms: Downloading 1 format(s): 136+251
[download] Yaser Sheikh - What is a Codec Avatar? does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 8 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=kVh4ArkzzRo
[youtube] kVh4ArkzzRo: Downloading webpage
[youtube] kVh4ArkzzRo: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] kVh4ArkzzRo: Downloading 1 format(s): 313+251
[download] Panasonic Camcorder - How to Select a CODEC does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 9 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=7s2wZORdy1Q
[youtube] 7s2wZORdy1Q: Downloading webpage
[youtube] 7s2wZORdy1Q: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 7s2wZORdy1Q: Downloading 1 format(s): 271+251
[download] ffmpeg -i DJI_0069.MOV -vcodec copy  -acodec copy Nignt.mp4 does not pass filter (acodec=m4a), skipping ..
[download] Downloading item 10 of 10
[youtube] Extracting URL: https://www.youtube.com/watch?v=7AiHVcwrN4A
[youtube] 7AiHVcwrN4A: Downloading webpage
[youtube] 7AiHVcwrN4A: Downloading android player API JSON
[youtube] 7AiHVcwrN4A: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 7AiHVcwrN4A: Downloading 1 format(s): 247+251
[download] how to play avi and any type of video files and what is a codec! does not pass filter (acodec=m4a), skipping ..
[download] Finished downloading playlist: acodec
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
No response

see here under sorting formats aext - https://github.com/yt-dlp/yt-dlp#filtering-formats

All youtube videos have m4a available which you can access by -f m4a

Have you  at least tried -f 4ma?
And who told you that Youtube has m4a version for all videos? I think they were kidding you
Anyway, this is ERROR you get when -f m4a
\Users\bbkma\Documents\LocalPython>-f m4a
'-f' is not recognized as an internal or external command,
operable program or batch file.
From: pukkandan @.>
Sent: Saturday, April 15, 2023 11:39 PM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
All youtube videos have m4a available which you can access by -f m4a
—
Reply to this email directly, view it on GitHub https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1509983558 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAVCGIZQMRE3SPSIBRJKDXBMIRDANCNFSM6AAAAAAW7RHCQM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCAXCOXE6ZF7YQKO2K3XBMIRDA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2ACCUM.gif Message ID: @.*** @.***> >

yt-dlp -vU "ytsearch10:acodec"

when you use yt-dlp ytsearch10:PHRASE, PHRASE is your search terms, the same as if you were to search on the youtube website. example: yt-dlp ytsearch10:puppies
searching youtube for acodec is probably not what you want

who told you that Youtube has m4a version for all videos? I think they were kidding you

youtube does have m4a formats for all videos. But they will not be selected by default, you need to do that, with -f m4a

\Users\bbkma\Documents\LocalPython>-f m4a

you need to use it like yt-dlp -f m4a "https://www.youtube.com/watch?v=RqxeNmg4Wbo"

Searching videos codecs for m4a is exactly what I want. I want 10 videos whose audio code is m4a. I want them to test an application.
Mine provides 10 videos whose audio codec are m4a but only with vU option. Please read the uV output.
In fact, could you please send it back to me as I didn’t save it again anticipating you would know how to get rid of the verbose part.
If you can get the 10 video ids as part of the output without all the verbose stuff, then that is exactly what I want.
[Search10:] only accepts query terms regarding the content of videos and not the properties of the video.I did it once but I didn’t write it down.
You didn’t test your advice again, did you?. 1st of all I want 10 video ids. So that is not what I want.
C:\Users\bbkma\Documents\LocalPython>yt-dlp -f m4a "https://www.youtube.com/watch?v=RqxeNmg4Wbo"
[youtube] Extracting URL: https://www.youtube.com/watch?v=RqxeNmg4Wbo
[youtube] RqxeNmg4Wbo: Downloading webpage
[youtube] RqxeNmg4Wbo: Downloading android player API JSON
[info] RqxeNmg4Wbo: Downloading 1 format(s): 140
[dashsegments] Total fragments: 1
[download] Destination: What is a Codec and What Does it Do？ [RqxeNmg4Wbo].m4a
[download] 100% of    2.38MiB in 00:00:01 at 1.35MiB/s
WARNING: RqxeNmg4Wbo: writing DASH m4a. Only some players support this container. Install ffmpeg to fix this automatically If you look my uV output, you will find 10 video id and if you check the audio codec of them are all m4a. All I want are those verbose stuff around.
In fact, could you please send it back to me as I didn’t save it again anticipating you would know how to get rid of the verbose part.
If you want to see the [search:10] works. Then change the 10 to 3 and with verbose option I bet you anything you like that it will give you three video ids that have audio codec=m4a.
Besides if I knew the video ids with audio codec m4a why would I want to check its audio codec?
I would just do this:
yt-dlp --list-formats https://www.youtube.com/watch?v=oHg5SJYRHA0 that lists you all the formats that you can download for that video. Youtube converts audio codec to opus on streaming. I wish it could do that on all downloads as well. That would make my life a lot easier.
If you don’t know how to do it, then please pass it someone else. There is nothing to prove here. I wouldn’t know if the sender was some else, would I?
From: bashonly @.>
Sent: Sunday, April 16, 2023 6:09 PM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
yt-dlp -vU "ytsearch10:acodec"
when you use yt-dlp ytsearch10:PHRASE, PHRASE is your search terms, the same as if you were to search on the youtube website. example: yt-dlp ytsearch10:puppies
searching youtube for acodec is probably not what you want
who told you that Youtube has m4a version for all videos? I think they were kidding you
youtube does have m4a formats for all videos. But they will not be selected by default, you need to do that, with -f m4a
\Users\bbkma\Documents\LocalPython>-f m4a
you need to use it like yt-dlp -f m4a "https://www.youtube.com/watch?v=RqxeNmg4Wbo"
—
Reply to this email directly, view it on GitHub https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1510422318 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAVCDXVJ2MA3S7F3HVKILXBQKRJANCNFSM6AAAAAAW7RHCQM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCBQM74F53MGW22AMMDXBQKRJA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2A43S4.gif Message ID: @.*** @.***> >

1st of all I want 10 video ids.

go to the youtube homepage and select 10 videos at random
then get rid of the https://www.youtube.com/watch?v= bit
👍

Please read the suggestions again carefully and try them out. If you still have issue while running the suggestions, post new verbose log.

You missed half the sentence: 10 video ids with m4a audio codes
The way I did it with vU,
I would like to complain.
 You wll see you emails in reviews,
From: garret @.>
Sent: Monday, April 17, 2023 7:25 PM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
1st of all I want 10 video ids.
go to the youtube homepage and select 10 videos at random
then get rid of the https://www.youtube.com/watch?v= bit
👍
—
Reply to this email directly, view it on GitHub https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1511781199 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAVCDLS2GETXLSE4WM7HLXBV4GLANCNFSM6AAAAAAW7RHCQM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCGWSXFKMJ25HOJ4DJTXBV4GLA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2DPZU6.gif Message ID: @.*** @.***> >

You missed half the sentence: 10 video ids with m4a audio codes

All of them have m4a audio codes, just use --list-formats

I would like to complain

This is a volunteer run forum, not a commercial support service!

I think we are at cross-purpose’s, your previous misinterpreted me because they didn’t consider it within the context which was, I want 10 video ids whose audio codes is m4a because m4a doesn’t fit webm container with V9b video codec.
Please correct me if I am wrong. This is what I understood from your last email:
Your email instructed me to go to Youtube home page and select 10 videos regardless of their audio codec, right?
Then extract the video ids from the 10 URL. And then what?
Will their audio codec magically turn to m4a?
Or you tube will trans process them to m4a? If I could pass the post processing to Youtube that would be. Then I wouldn’t even need to find F17 versions with audio codec=m4a.
I am searching for 10 videos ids whose acodec=m4a.
My command runs but doesn’t output anything unless it has -vU option. With -vU option it does contain 10 video ids that meet the criteria of having m4a as audio codec when you list format 17.
Youtube converts it to opus on streaming it. But when downloading F 17 version it will have its native audio codec which mean port processing them to m4a to suit my search criteria. But then why would I do that. I don’t want to use post processing on my side. It slows things up and increases the cost on a Google Engine app.
2ndly you don’t try your recommendation before sending the despite having asked for it several times. So far none of them have worked except the one which was you don’t that, you want this.
As if I was asking builder for an estimate and he was trying to sell me something more expensive like in one of Harry Enfield sketches.
That is either unprofessional or taking the piss of the person who has asked you for help.
What is the point of listing available format of 10 known video ids?
From: garret @.>
Sent: Monday, April 17, 2023 7:25 PM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
1st of all I want 10 video ids.
go to the youtube homepage and select 10 videos at random
then get rid of the https://www.youtube.com/watch?v= bit
👍
—
Reply to this email directly, view it on GitHub https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1511781199 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAVCDLS2GETXLSE4WM7HLXBV4GLANCNFSM6AAAAAAW7RHCQM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCGWSXFKMJ25HOJ4DJTXBV4GLA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2DPZU6.gif Message ID: @.*** @.***> >

You were already told that YouTube does provide m4a files for all the videos as always, so 10 of any 10 YouTube videos has m4a.
You were also told that you can get one with -f m4a.
No postprocessing will take place with -f m4a.
Use of -vU does not matter.
What do you want any more than that?

That is either unprofessional

Again, this is a volunteer run forum. We don’t try to be professional

I have sent you the:  -vU log.

From: pukkandan @.>
Sent: Tuesday, April 18, 2023 12:48 AM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
Please read the suggestions again carefully and try them out. If you still have issue while running the suggestions, post new verbose log.
—
Reply to this email directly, view it on GitHub https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1512185792 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAVCHZSFDIAZAEOV3EATLXBXCBTANCNFSM6AAAAAAW7RHCQM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCAQCCZOH3QRQK2PI53XBXCBTA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2EIP4A.gif Message ID: @.*** @.***> >

[TestURL] Extracting URL: test:youtube_3
[TestURL] Test URL: https://www.youtube.com/watch?v=a9LDPn-MO4I
[youtube] Extracting URL: https://www.youtube.com/watch?v=a9LDPn-MO4I
[youtube] a9LDPn-MO4I: Downloading webpage
[youtube] a9LDPn-MO4I: Downloading android player API JSON
[info] a9LDPn-MO4I: Downloading 1 format(s): 140
[download] Destination: UHDTV TEST 8K VIDEO.mp4 [a9LDPn-MO4I].m4a
[download] 100% of 942.10KiB in 00:01 at 508.22KiB/s
[FixupM4a] Correcting container of "UHDTV TEST 8K VIDEO.mp4 [a9LDPn-MO4I].m4a"
[VideoRemuxer] Not remuxing media file "UHDTV TEST 8K VIDEO.mp4 [a9LDPn-MO4I].m4a"; could not find a mapping for m4a

I have tried. I get the result you expect. I bet you did not test it.

$ yt-dlp --print id ytsearch10:cats
HEtjKEW59uU
S9hDCskzWSM
6pbreU5ChmA
eBEn2zxgtQ4
xbs7FT7dXYc
DvjmOTaQGJ4
RzP2PaEDDHU
_yqSbnbUsj4
nHTuud_pFLE
878435bD4wE

$ yt-dlp -f m4a HEtjKEW59uU S9hDCskzWSM 6pbreU5ChmA eBEn2zxgtQ4 xbs7FT7dXYc DvjmOTaQGJ4 RzP2PaEDDHU _yqSbnbUsj4 nHTuud_pFLE 878435bD4wE
[youtube+NSigDeno] Extracting URL: HEtjKEW59uU
[youtube+NSigDeno] HEtjKEW59uU: Downloading webpage
[youtube+NSigDeno] HEtjKEW59uU: Downloading android player API JSON
[info] HEtjKEW59uU: Downloading 1 format(s): 140
[download] Destination<EMAIL_ADDRESS>[download] 100% of    9.90MiB in 00:00:00 at 24.76MiB/s
[FixupM4a] Correcting container of<EMAIL_ADDRESS>[youtube+NSigDeno] Extracting URL: S9hDCskzWSM
[youtube+NSigDeno] S9hDCskzWSM: Downloading webpage
[youtube+NSigDeno] S9hDCskzWSM: Downloading android player API JSON
[info] S9hDCskzWSM: Downloading 1 format(s): 140
[download] Destination<EMAIL_ADDRESS>[download]  32.8% of  445.16MiB at    1.33MiB/s ETA 03:44^C
ERROR: Interrupted by user

Please read the suggestions again carefully and try them out. If you still have issue while running the suggestions, post new verbose log.

Unless you can do this, I will be forced to treat further comments as spam

Attached is a screen shot of your email.
Pleas point out the part that I missed. I am presuming you are referring to:
But you are right but wasn’t before 21/03/2023.
Now all format id 17 have m4a audio codes, just use --list-formats 17
This must be new because I have idtag 17 webm files downloaded only the 21/03/2023. Now the same format 17 is 3gp.
How could I have downloaded a file in WebM container when its video codec was V9B? You can’t have m4a and V9B is a WebM.
So Youtube must have changed all the audio codecs for idtg 17s to m4a so the download is in 3gp container.
Do they annonce this thing. I can prove it the audio codec was not always m4a,
Also Why?
I have tried that
From: gamer191 @.>
Sent: Tuesday, April 18, 2023 2:42 PM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
You missed half the sentence: 10 video ids with m4a audio codes
All of them have m4a audio codes, just use --list-formats
This must be new, because I have idtag 17 webm files downloaded only the 21/03/2023. Now the same format 17 is 3gp.
How could I have downloaded a file in WebM container when its video codec was V9B? You can’t have m4a and V9B is a WedM.
So Youtube must have changed all the audio codecs for m4a so the download is in 3gp container.
Do they annonce this thing. I can prove it the audio codec was not always m4a,
—
Reply to this email directly,  https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1513047670 view it on GitHub, or  https://github.com/notifications/unsubscribe-auth/ABGAVCG32NKUKU53EPBFNFLXB2DXVANCNFSM6AAAAAAW7RHCQM unsubscribe.
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCBBK6DZHQ3LZUQQSM3XB2DXVA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2F5DHM.gif Message ID: < @.> @.>

There is no screenshot or verbose log attached in your message. I would recommend you try using the Github webpage instead of answering through mail and see what you are actually posting here.

As I explained I wasn’t aware of recent changes. This id 17 format is in m4a was not the case before the21/03/2023. And I can prove it.
If someone told me of recent change in YouTube, I wouldn’t have pursued the matter. So, the commands you sent were never complete .
One of you should have told me that Youtube has change it available for download such that Format id 17 is aways in m4a.
So, I won’t apologise because none of your response was complete. 21/03/2023 is less than month ago.
But, I agree that you can close this down.
From: Lesmiscore @.>
Sent: Tuesday, April 18, 2023 2:49 PM
To: yt-dlp/yt-dlp @.>
Cc: blockbabak @.>; Author @.>
Subject: Re: [yt-dlp/yt-dlp] How do you search all youtube for 10 videos whose audio codec is m4a (Issue #6821)
You were already told that YouTube does provide m4a files for all the videos as always, so 10 of any 10 YouTube videos has m4a.
You were also told that you can get one with -f m4a.
No postprocessing will take place with -f m4a.
Use of -vU does not matter.
What do you want any more than that?
—
Reply to this email directly, view it on GitHub https://github.com/yt-dlp/yt-dlp/issues/6821#issuecomment-1513063823 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAVCB7KLRTLRI4M6LH67DXB2EUZANCNFSM6AAAAAAW7RHCQM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ABGAVCD2RZKNWCWHVPTEY6TXB2EUZA5CNFSM6AAAAAAW7RHCQOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2F6CY6.gif Message ID: @.*** @.***> >


Dracula always loads with soft palette when using Telescope

When trying to select Dracula regular theme through Telescope colorscheme, the regular palette is not loaded, but rather the soft palette.

Closed by #92


Incredible! Thank you! 😄👍🏼

I just installed spotify_player on my Mac, and it's such a delight
The official app for Mac always freezes and is super slow
This app on the other hand, is such a wonderful experience to use
Very grateful for everyone that has made this possible
Looking forward to using this app for many years to come

I just installed spotify_player on my Mac, and it's such a delight
The official app for Mac always freezes and is super slow
This app on the other hand, is such a wonderful experience to use
Very grateful for everyone that has made this possible
Looking forward to using this app for many years to come

exactly, sometimes I just wish to have vim key shortcuts 🤩