Featured event sort

Add a boolean checkbox to the CMS of events, that allows some to come before others. Appearance:

Only approve this PR if you want this feature!

@akmiller01 excellent!
Will need to add a couple of things (tomorrow we begin the website sprint, so one between me and John will pick this one up), one of which is to better higlight the featured event (just some css highlighting rather than a semi-anonymous "Featured" string)

@samuele-mattiuzzo , I think there's already a CSS class for this very purpose. We have it in news_index_page.html right now https://github.com/IATI/preview-website/blob/master/iati/news/templates/news/news_index_page.html#L25
listing--featured

Ah thanks for that @akmiller01 will use it (without that silly for loop statement though, since we now have a nice nice flag)


aria.utils.Bridge now uses aria.utils.FrameATLoader

aria.utils.Bridge now relies on aria.utils.FrameATLoader to load Aria Templates in the popup window instead of relying on its own implementation (which reduces duplication in the framework).
There is now a new crossDomain option in aria.utils.FrameATLoader to use document.write instead of loading FrameATLoaderHTML.html, which makes FrameATLoader work in case Aria Templates is loaded from a different origin (such as cdn.ariatemplates.com).
However, when this option is set to true, changing the hash in the popup causes issues on Firefox 3 and 11, so it is false by default.
Calls to document.write to load a script, are now removed, as these calls can be blocked on Chrome in some cases, as documented in the following document:
https://developers.google.com/web/updates/2016/08/removing-document-write
This commit fixes BridgeTestCase on IE 9.
It also fixes the crash which occured when closing Aria Templates debug tools (due to an endless recursive call).

@benouat Thank you for your review!


fixed #192

Fixed taxi fare data in Feature Engineering labs.  Just copied from introduction_to_tensorflow/data for continuity.
Reference: issue #192
Before

After

I posted my thoughts about this in #192! I think it is better to fix CSV_COLUMNS ordering rather than reduce the dataset to such a small one and then repeat it 30 times for training.


Privacy attacks simulation

The framework needs an effective way of quantifying how much privacy is leaked as a function of topology/collaboration approach between nodes. Additionally, this requires integrating existing well-known privacy enhancing mechanisms such as DP-SGD (Abadi et al.) and decentralized specific mechanisms like Muffliato (Cyffers et al.).
Doing it effectively allows us to quantify privacy leakage across different topologies and answer the question whether the communication topology leaks private information.

@hardlyhuman is working on integrating privacy mechanism

@photonshi is working on integrating privacy attacks


[9.x] Add failing tests $request->query() no longer can retrieve array query string

Exact same code from #40598 for Laravel 9
1) Illuminate\Tests\Http\HttpRequestTest::testQueryMethod
Symfony\Component\HttpFoundation\Exception\BadRequestException: Input value "user" contains a non-scalar value.

/home/runner/work/framework/framework/vendor/symfony/http-foundation/InputBag.php:37
/home/runner/work/framework/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php:510
/home/runner/work/framework/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php:383
/home/runner/work/framework/framework/tests/Http/HttpRequestTest.php:681

Signed-off-by: Mior Muhammad Zaki<EMAIL_ADDRESS>

This is due to the following deprecation https://github.com/symfony/symfony/blob/v5.4.2/src/Symfony/Component/HttpFoundation/InputBag.php#L39 (which was added via https://github.com/symfony/symfony/pull/34363)
In order for array parameters to work with Symfony 6 \Illuminate\Http\Concerns\InteractsWithInput::retrieveItem will have to be adjusted from
        if (is_null($key)) {
            return $this->$source->all();
        }

        return $this->$source->get($key, $default);

to
        if (is_null($key)) {
            return $this->$source->all();
        }

        return $this->$source->all()[$key] ?? $default;

@X-Coder264 feel free to create a PR. Mine is more just to verify there is a bug and the other test PR to 8.x will be nerged to 9.x eventually.

@crynobone Done -> https://github.com/laravel/framework/pull/40609


OpenRouter Integration

This PR:

Solves issue #20

I will merge this after PR #47 get's merged and also don't I need to change the slug here? I mean there are still some identical


Add Maj7♭5, Maj7♯5, 7♭5, 7♯5

Added a few chord types commonly found in jazz.
I tried to follow the naming conventions that were already in place, but I thought it'd be worth mentioning that in my experience, the names are a bit different than what would be used in the music scenes I work in.
For example:

dominantFlatNinthSharpEleventh would likely be called dominantSevenFlatNineSharpEleven
majorSeventhFlatFifth would likely be majorSevenFlatFive

The above are two examples, but the same conventions would be applied to many of the chords included.

Cool, we expected a bunch of help fleshing the many many chords out there!

Great! Will plan on adding some more!

We also welcome name updates on those jazz chords.


flutter update-packages can fail silently

There are probably other instances where this happens, but this is how I am able to consistently reproduce it:

Clone flutter from a fork (it's important that it's cloned from a fork because those are missing tags): git clone git@github.com:goderbauer/flutter.git
Run ./bin/flutter update-packages inside the cloned repository:

$./bin/flutter update-packages
Downloading Darwin arm64 Dart SDK from Flutter engine bf1c6da0dd31273405ae4107ba7225238686140b...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  201M  100  201M    0     0  16.3M      0  0:00:12  0:00:12 --:--:-- 26.2M
Building flutter tool...
Resolving dependencies...
Downloading packages...
Got dependencies.
Downloading Material fonts...                                      804ms
Downloading Gradle Wrapper...                                      117ms
Downloading package sky_engine...                                  245ms
Downloading flutter_patched_sdk tools...                           321ms
Downloading flutter_patched_sdk_product tools...                   360ms
Downloading darwin-arm64 tools...                                1,253ms
Downloading libimobiledevice...                                    125ms
Downloading usbmuxd...                                             107ms
Downloading libplist...                                            111ms
Downloading openssl...                                             182ms
Downloading ios-deploy...                                          144ms
Downloading darwin-arm64/font-subset tools...                      341ms

There's no indication in the output that something has failed, one has to inspect the error code to learn that the command in fact failed silently.

Expectation: It prints a clear error describing the failure so it is impossible to miss that something has gone wrong.
Currently, to learn about the real failure, one has to run the command with -v:
                    ERR : The current Flutter SDK version is 0.0.0-unknown.
                        |
                        | Because flutter_update_packages depends on webview_flutter_wkwebview >=2.0.14 which requires Flutter SDK version >=2.5.0, version solving failed.

Speculatively, the problem of failing silently could be related to this TODO:
https://github.com/flutter/flutter/blob/3695802295777e67af8c5f29c97b68877df29492/packages/flutter_tools/lib/src/commands/update_packages.dart#L527
cc @christopherfujino

Unassigned myself as I will be working on higher priority items for the next N weeks. The fix is to not call throwToolExit with a null message, as we do here:
https://github.com/flutter/flutter/blob/66367dd888458d94a3bd1ffd712c4cb473dc5f69/packages/flutter_tools/lib/src/dart/pub.dart#L447
But, it's non obvious what the message should be.

Unassigned myself as I will be working on higher priority items for the next N weeks. The fix is to not call throwToolExit with a null message, as we do here:
https://github.com/flutter/flutter/blob/66367dd888458d94a3bd1ffd712c4cb473dc5f69/packages/flutter_tools/lib/src/dart/pub.dart#L447
But, it's non obvious what the message should be.

I think we should capture the stdout/stderr from pub, and then surface it here.

Unassigned myself as I will be working on higher priority items for the next N weeks. The fix is to not call throwToolExit with a null message, as we do here:
https://github.com/flutter/flutter/blob/66367dd888458d94a3bd1ffd712c4cb473dc5f69/packages/flutter_tools/lib/src/dart/pub.dart#L447
But, it's non obvious what the message should be.

I think we should capture the stdout/stderr from pub, and then surface it here.

Ahh, ok, I missed that this is in the pub library...

I've also run into this :(

If anyone is interested in reproducing this bug without forking the repository, apply this diff:
diff --git a/packages/flutter_tools/lib/src/version.dart b/packages/flutter_tools/lib/src/version.dart
index cbef04a989..926bd62552 100644
--- a/packages/flutter_tools/lib/src/version.dart
+++ b/packages/flutter_tools/lib/src/version.dart
@@ -138,13 +138,7 @@ abstract class FlutterVersion {
     required FileSystem fs,
     bool fetchTags = false,
   }) {
-    final GitTagVersion gitTagVersion = GitTagVersion.determine(
-      globals.processUtils,
-      globals.platform,
-      gitRef: frameworkRevision,
-      workingDirectory: flutterRoot,
-      fetchTags: fetchTags,
-    );
+    final GitTagVersion gitTagVersion = GitTagVersion.unknown();
     final String frameworkVersion = gitTagVersion.frameworkVersionFor(frameworkRevision);
     return _FlutterVersionGit._(
       clock: clock,

Then remember to rm bin/cache/flutter_tools.snapshot.


BugFix: Make sure infinite mode is used for the infinite scroller

Description
Fixes subflows getting into an infinite loop trying to load

Skipping code review to get this out


Import GO terms

We should import GO annotations from QuickGO into RNAcentral. This will require several new tables as well as import procedures for fetching and storing the annotations. They are producing a file at /ebi/ftp/pub/contrib/goa/goa_rna_all.gpa.gz which should contain the GO annotations on RNAcentral UPI's.

The import is implemented.


Mismatched type error when using skip_serializing_if

Summary
The compiler gives a type mismatch error when I try to add the "skip_serializing_if" field attribute.
Details
The struct is defined as follows
#[derive(Serialize, Deserialize, Debug, PartialEq)]
pub struct Helix {
    #[serde(skip_serializing_if = "Helix::uses_default_major_tick_distance")]
    pub major_tick_distance: usize,

    // --snip other fields--
}

And Helix::uses_default_major_tick_distance is defined as
impl Helix {
    fn uses_default_major_tick_distance(&self) -> bool {
        self.major_tick_distance == Model::default_major_tick_distance()
    }
}

As you can see, the provided function satisfies the signature fn(&T) -> bool, yet I have this strange compile error
error[E0308]: mismatched types
   --> src/model.rs:226:10
    |
226 | #[derive(Serialize, Deserialize, Debug, PartialEq)]
    |          ^^^^^^^^^ expected struct `model::Helix`, found usize
    |
    = note: expected type `&model::Helix`
               found type `&usize`

error[E0308]: mismatched types
   --> src/model.rs:226:10
    |
226 | #[derive(Serialize, Deserialize, Debug, PartialEq)]
    |          ^^^^^^^^^ expected struct `model::Helix`, found usize
    |
    = note: expected type `&model::Helix`
               found type `&usize`

I figured out the problem, T in this context refers to the type of the field, not the struct. I which that the error message could have been more explicit about this. Perhaps there should be an error that points to  the field attribute macro  `#[serde(skip_serializing_if = "path")] rather than the derive macro.


TypeError: object of type 'generator' has no len()

Background: I'm currently working at GristLabs, the creators of asttokens. It's a bit like a spreadsheet, and formulas are written in Python. I'm in the process of integrating friendly-traceback so that formula errors show a friendly explanation, similar to futurecoder. Separately, we're also looking at ways of making writing formulas easier for users in general. This is one point that came up in the discussion.
Both of these expressions are correct Python:
sum(x for x in y if f(x))
len([x for x in y if f(x)])

So it's confusing to beginners when this doesn't work:
len(x for x in y if f(x))

This could maybe be handled in Grist directly, but since we're soon going to be using friendly-traceback I thought it was best to handle it here where other projects could also benefit.

Thanks for suggesting this as an addition to friendly_traceback instead of handling it separately.  I can definitely look at it; or you can of course submit the code yourself! ;-)
If you use some objects specific to modules created by GristLabs that can raise custom exceptions that would be of no use for others, you can extend friendly_traceback by registering custom handlers.  An example is given in https://friendly-traceback.github.io/docs/custom_errors.html. I have started creating a "fake project [1]" illustrating how to do this in more details. I've written some code for this but have not yet updated the repository. I'm working on this as someone has contacted me as they thought of doing such an extension for pandas. This particular project is ready to start [2].
[1] https://github.com/friendly-traceback/friendly-custom-exception
[2] https://github.com/friendly-traceback/friendly-pandas

Proposed solution:
> python -m friendly_traceback

Friendly-traceback version 0.5.46. [Python version: 3.10.6]
Type 'Friendly' for help on special functions/methods.

[1]: nb = len(letter for letter in "word")

Traceback (most recent call last):
  Code block [1], line 1
    nb = len(letter for letter in "word")
TypeError: object of type 'generator' has no len()

        You likely need to build a list first.

[2]: why()

    I am guessing that you were trying to count the number of elements
    produced by a generator expression. You first need to capture them
    in a list:

        len([letter for letter in "word"])

[3]: where()

    Exception raised on line 1 of code block [1].

    -->1: nb = len(letter for letter in "word")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

            len:  <builtin function len>

Note: the version number has not been updated.
If this seems acceptable, I will do a commit first so that you can examine what I have done, after which I can upload a new version to Pypi.

Looks great!

Note that, unfortunately, this fails if such a statement is written on two lines:
> python -m friendly_traceback ignore.py
friendly_traceback\info_variables.py:120 get_all_objects
    f"Problem with ASTTokens: {e}" + f"\nline: {line}": (
        'Problem with ASTTokens: invalid syntax (<unknown>, line 1)\n'
        'line: len(letterforletterin"word")'
    ) (str) len=93
friendly_traceback\info_variables.py:120 get_all_objects
    f"Problem with ASTTokens: {e}" + f"\nline: {line}": (
        'Problem with ASTTokens: invalid syntax (<unknown>, line 1)\n'
        'line: len(letterforletterin"word")'
    ) (str) len=93

Traceback (most recent call last):
  File "HOME:\github\friendly-traceback\ignore.py", line 1, in <module>
    nb = len(letter
TypeError: object of type 'generator' has no len()

        You likely need to build a list first.

    A `TypeError` is usually caused by trying
    to combine two incompatible types of objects,
    by calling a function with the wrong type of object,
    or by trying to do an operation not allowed on a given type of object.

    I am guessing that you were trying to count the number of elements
    produced by a generator expression. You first need to capture them
    in a list:

        len([letterforletterin"word"])

    Exception raised on line 1 of file HOME:\github\friendly-traceback\ignore.py.

    -->1: nb = len(letter
               ^^^^^^^^^^
       2:          for letter in "word")
                   ^^^^^^^^^^^^^^^^^^^^^

            len:  <builtin function len>

My first reaction was that this might be related to https://github.com/gristlabs/asttokens/pull/50. But why are the spaces missing? Is this a tokenize/untokenize problem?

It appears to be a problem with the node obtained from stack_data/executing
self.tb_data.node_text='len(letterforletterin"word")'

self.node=<ast.Call object at 0x00000158367215E0>
self.node_text='len(letterforletterin"word")'

I don't think stack_data/executing/asttokens has a problem here:
import stack_data

try:
  len(letter
      for letter in "word")
except Exception as e:
  print(repr(stack_data.FrameInfo(e.__traceback__).executing.text()))
  # 'len(letter\n      for letter in "word")'

I think the problem must be here:
https://github.com/friendly-traceback/friendly-traceback/blob/ceef5364ae8e42e108ee3427c309e7f952704c62/friendly_traceback/frame_info.py#L244-L247

Yes, you are correct.  I will fix this by using token_utils.untokenize instead, and replacing multiple spaces by a single space.

Fixed:
> python -m friendly_traceback ignore.py

Traceback (most recent call last):
  File "HOME:\github\friendly-traceback\ignore.py", line 1, in <module>
    nb = len(letter
TypeError: object of type 'generator' has no len()

        You likely need to build a list first.

    A `TypeError` is usually caused by trying
    to combine two incompatible types of objects,
    by calling a function with the wrong type of object,
    or by trying to do an operation not allowed on a given type of object.

    I am guessing that you were trying to count the number of elements
    produced by a generator expression. You first need to capture them
    in a list:

        len([letter for letter in "word"])

    Exception raised on line 1 of file HOME:\github\friendly-traceback\ignore.py.

    -->1: nb = len(letter
               ^^^^^^^^^^
       2:          for letter in "word")
                   ^^^^^^^^^^^^^^^^^^^^^

            len:  <builtin function len>

Here's the new code that I use instead of joining the tokens:
            tokens = [tok for tok in tokens if tok != "\n"]
            node_text = token_utils.untokenize(tokens)
            # Replace multiple spaces by single space
            node_text = " ".join(node_text.split())

I'll come back to this in a couple of hours.

New version uploaded to Pypi.

The multiline test case fails for Python 3.11; however this is not unexpected.
The highlighted region for the multiline test case is done wrong for Python 3.6 and 3.7, but the analysis is still done correctly.

Node to self: do not close this issue. Implement a fix in case executing cannot find a node, as discussed in the recent commit.

The highlighted region for the multiline test case is done wrong for Python 3.6 and 3.7, but the analysis is still done correctly.

What do you mean by this? Why is there no sign of it in the test?

...
    I am guessing that you were trying to count the number of elements
    produced by a generator expression. You first need to capture them
    in a list:

        len([letter for letter in "word"])

    Exception raised on line 2 of file HOME:\github\friendly-traceback\ignore.py.

       1: nb = len(letter
    -->2:          for letter in "word")
               ^^^^^^^^^^^^^^^^^^^^^^^^^

            len:  <builtin function len>

Yes, I will need to investigate this. Mind you, 3.6 is no longer supported and before long 3.7 will be dropped as well. I wonder how long I should keep supporting 3.6.

I doubt this is really a version issue. It seems more like a case of your 'underlining' algorithm being sensitive to the exact frame.f_lineno.

I completely agree that the problem is likely in the way that my own 'underlining' algorithm works.
Anyway, I just pushed a new commit for more robust handling of the bad_line. I will need to look at the issue of underlining later as work is calling.

@alexmojaki I was able to make some small changes to stack_data so that it does a better job formatting the test case. Using Python 3.9, where the highlight line is 5
> python example.py
Traceback (most recent call last):
 File "C:\Users\Andre\github\stack_data\example.py", line 5, in <module>
       1 | import stack_data
       3 | stack_data.Formatter().set_hook()
-->    5 | nb = len(letter
                ^^^^^^^^^^
       6 |          for letter in "word")
                    ^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'generator' has no len()

Using Python 3.6, where the highlighted line is 6:
(venv3.6) C:\Users\Andre\github\stack_data
> python example.py
Traceback (most recent call last):
 File "C:\Users\Andre\github\stack_data\example.py", line 6, in <module>
       1 | import stack_data
       3 | stack_data.Formatter().set_hook()
       5 | nb = len(letter
                ^^^^^^^^^^
-->    6 |          for letter in "word")
                    ^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'generator' has no len()

I tried to run pytest on my fork but got an error about missing pyximport (which, I gather, is related to Cython).
My fix only requires some small changes which you could presumably change by hand in your repo and see if all the tests still pass - perhaps adding the one shown here as an additional test.
You can see the changes at https://github.com/aroberge/stack_data/commit/35b798bf100fd2427f937c9d351c8c0b3893b063

@alexmojaki (Just browsing issues.) I think @aroberge fixed this issue with his commit above.

I think you're right :)


Not able to connect Casper Signer with Ledger

As soon as the Ledger should be connected with the casper signer an error displays and it is not possible to proceed.
A Printscreen is attached who describes the error in Detail.
The reason for the error is not clear.
The newest firmware of the ledger was installed.
Thank you very much!
[

The issue was solved. The reason for this error was the use of a non-chromium browser. The user switched to brave browser and then the issue didnt appear.


Gracefully handle exceptions thrown from OnStarting callbacks

If OnStarting is being called after the app func has completed, return a 500.
If Onstarting is being called due to a call to write, throw from write.

Addresses #25

:shipit: :tanabata_tree:


Fix the newuser bug for closed projects

The bug:

Consider a project that is "closed", i.e. not accepting patient registration
But then assume that a developer sets up a website with a registration flow for that project
The registration flow involves 2 http requests:

Create a user or authenticate as existing user, either with email/password or google (/auth/newuser or /auth/google?create=true)

Create the patient using /auth/newpatient

We checked for whether patient registration is open, but only in step 2.
That meant that step 1 could create orphaned users with zero project memberships

This PR fixes that by checking for open registration in both step 1 and step 2.
Asana: https://app.asana.com/0/1201910659736061/1202823196699602/f

Coverage increased (+0.002%) to 94.386% when pulling 3cbc31b5ef55481d88c461d631fe8c1b5ba3578a on cody-fix-new-user-for-closed-project into 2b60896fc98e5e2b67cb262d9ada0af3ebf01b84 on main.


[Request] Setup script for MPV so it can be used as a default app on Windows 10/11

Bug Report
Package Name: mpv
Current Behaviour
After selecting the mpv.exe from scoop folder as a default app for a video file, windows does not register it.
Expected Behaviour
After selecting the mpv.exe from scoop folder as a default app for a video file, windows should register it and open mpv when running a supported video file.
Additional context/output

Possible Solution
Setup script? (saw a similar issue with irfanview and the solution was to request a setup script)

System details
Windows version: 10 and 11
OS architecture: 64 bit
PowerShell version:
Major | Minor | Build | Revision
5        | 1         | 22000 | 832
Additional software: git
Scoop Configuration

{
    "lastupdate":  "2022-08-30T10:00:53.8572495+02:00",
    "SCOOP_REPO":  "https://github.com/lukesampson/scoop",
    "SCOOP_BRANCH":  "master"
}

Not reproductible here. After selecting the mpv.exe from scoop folder as a default app for a video file, windows register it.

Maybe you select the wrong mpv, mpv.exe work here.
I'm not seeing  any special script in irfanview. Can you point me this past issues?

I'm sure I've selected the proper one.
Maybe it conflicts with previous mpv version's assignments to video files (upon installation)?
Maybe uninstalling the other version wasn't enough?
I don't know how hacky is this automatic assignement of filetypes there.
And this was the hint from irfanview:
https://github.com/ScoopInstaller/Scoop/issues/4252

I'm not sure there's any need for an installation script. I am able to set mpv as the default video player using the following steps:

scoop install mpv
Right click a .mp4 video, press Open with > Choose another app
Scroll down to More apps and then press Look for another app on this PC
Navigate to your Scoop installation folder and go to apps > mpv > current (NOT any other version)
Select mpv.exe, the video will play in mpv
Then right click the video again, press Open with > Choose another app
Select mpv and tick the box Always use this app to open .mp4 files
Press OK
Now all .mp4 videos will automatically open in mpv

My current non scoop assignment.
Renamed MPV folder to break it and set the new one for scoop mpv:

I follow the steps to choose another app, select the mpv.exe from C:\Users\MYUSER\scoop\apps\mpv\current and system does not start the video, neither creates new assignment = just shows the app select dialog again.

That's odd, I'm using Windows 11 too. Could you try setting it to Movies & TV first and then back to scoop\apps\mpv\current\mpv.exe?
If that doesn't work, can you try Settings > Apps > Default apps > Search for .mp4 in file type box at the top > choose mpv.exe?

Both tricks didn't change anything.

Here's a reg file that should fix your problem:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\.mp4]
@="scoop-mpv"

[HKEY_CURRENT_USER\Software\Classes\scoop-mpv]
@="MP4 File"

[HKEY_CURRENT_USER\Software\Classes\scoop-mpv\DefaultIcon]
@="C:\\Users\\<username-goes-here>\\scoop\\apps\\mpv\\current\\mpv.exe,0"

[HKEY_CURRENT_USER\Software\Classes\scoop-mpv\shell]

[HKEY_CURRENT_USER\Software\Classes\scoop-mpv\shell\open]

[HKEY_CURRENT_USER\Software\Classes\scoop-mpv\shell\open\command]
@="\"C:\\Users\\<username-goes-here>\\scoop\\apps\\mpv\\current\\mpv.exe\" \"%1\""

After filling in your username/location of scoop, save this to a file with a .reg extension and run it to add it to the registry. See if that makes mpv show up in the Open with > Choose another app menu.
If not, this program SetUserFTA is very useful and can set a default app for a given file extension and ProgId (the first part of the reg file). Someone made a Scoop manifest which you can use by adding their bucket and running scoop install setuserfta. Then finally you can run SetUserFTA .mp4 scoop-mpv.
That should immediately take effect. The icon will load after restarting File Explorer. Let me know if it works for you.

Sorry for the late response.
Adding reg keys did not help.
But SetUserFTA did.
Thank you!

Excellent! Just to let you know if you need to set it up again, add the reg files first then run the SetUserFTA command. It requires the above reg values to be set as it refers to the Software Class scoop-mpv.


Added missing return in winpr_Digest_New

(cherry picked from commit 0ea1957da5d574e2be0ad157aac397110377edf8)
Backported #8334

@freerdp-bot why don't you test that ?


Console output not appending succesful tasks

This is a follow-up on a bug report for the package @pellegrims/nx-remotecache-s3, which is depending on this awesome library.
The issue is about the console output with the custom task runner not appending succesful job results to previous results as is the case for the default task runner in nx > v14.
I was wondering if you encounter the same issue on other packages depending on nx-remotecache-custom? Any clue what causes this behavior?

Well I guess it's because the plugin is directly writing to the console, while Nx itself is using line replacement for keeping the progress up to date. As an intermediate fix you can turn on silent to disable any output from the plugin. For a longterm fix, I'll have to check different ways of displaying whether it was a cache-hit, or not.
Also great to see that there are other nx-remotecache packages, which are using this package! I didn't know about this s3 implementation until now 🚀 👍

Also great to see that there are other nx-remotecache packages, which are using this package! I didn't know about this s3 implementation until now rocket +1

I recently found out even Vercel is using it: https://github.com/vercel/remote-cache/tree/main/packages/remote-nx :partying_face:

@cuddlecake at the bottom of the readme there is the silent option displayed:
// nx.json
"tasksRunnerOptions": {
  "default": {
    "options": {
      "name": "My Storage",
      "silent": true
    }
  }
}

Got it, I'll check it 👍

+1 it would be nice to get the original output formatting with this awesome library

+1 would love to have a non-polluted dev console but still capture the critical info. I've peeked into how to accomplish this to little success...it is possible to hook into the nx output by using:
const nxOutput = require("nx/src/utils/output");

Much like Lerna does. But even given that, I'm not totally sure how that would be useful since it's trying to produce logs whereas Lerna is just hack overriding stuff.


Packaged version bugs

DONE dev mode (remove)
DONE cat icon (relative path issue)
DONE no close button
no multiple directory dialog windows (restrict to one)

OSX is now packaged and working. Will split into seperate issues for remaining platforms.


Update model, script, package.json and README

-This remove math.random() function in logic. Update the cto and logic.js file accordingly.
-Updated README instructions and images
-Updated package.json to Composer v0.19.5

issue #16


Please specify model type for pretrained weights.

Thank you for providing pretrained weights. Please  indicate model_type, cfg, kernel and
padding for the pretrained model.

I'd like to know too. Please.
I got an error:
RuntimeError: Error(s) in loading state_dict for DataParallel:
	size mismatch for module.loc.0.weight: copying a param with shape torch.Size([28, 512, 1, 5]) from checkpoint, the shape in current model is torch.Size([28, 512, 1, 1]).
	size mismatch for module.loc.1.weight: copying a param with shape torch.Size([28, 1024, 1, 5]) from checkpoint, the shape in current model is torch.Size([28, 1024, 1, 1]). ... ...

@huangtao36 I was able to test the model using the following parameters with pretrained weights:
https://github.com/jjdredd/ScanSSD/blob/4e10f4d433e1648e5a1ce37c2fb7a136ce4c0122/detect.py#L18

You should be able to use the following command for testing with pre-trained weights
python3 /home/psm2208/Workspace/ssd/test.py --dataset_root /home/psm2208/Workspace/ --trained_model AMATH512_e1GTDB.pth --visual_threshold 0.25 --cuda True --exp_name test_MATH512 --test_data validation_data  --suffix "_512" --model_type 512 --cfg hboxes512 --padding 0 2 --kernel 1 5 --batch_size 8


Add ROLE_USER to administrator role in order to fix web UI bug

Modifications:

Add ROLE_USER to administrator role
Make email of default User instances lowercase

Codecov Report

Merging #119 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   61.44%   61.44%
=======================================
  Files         257      257
  Lines        8723     8723
  Branches     1002     1002
=======================================
  Hits         5360     5360
  Misses       2758     2758
  Partials      605      605

Impacted Files
Coverage Δ

...gma/server/internal/admin/authentication/User.java
47.5% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Content Uris

Hi there, the API works nicely when using Container URI, the only issue I am having, which I am stuck at is getting to process files in only one subdir. The scenario here is , in the container there are 3 folders, Audio-Input , Processed, and Transcript-Out directories. even after I moved the files into the processed dire the API still process them, I tried to rename the extension like .old , also did not work, I tried to get the file list from the blob using segment sync, but that gives me only the file names and the API needs array of URI's. any suggestion or method you can provide to force the API to use a subdir and not the entire container or how to build Uri's for the list of files. thanks an advance!

There is no support for reading audio from a specific prefix of a blob container with the current API. Your best option is probably to use the API for lists of files, and generate SAS Uris for the files with the prefix you want with something like this:
from azure.storage.blob import (BlobClient, BlobServiceClient, ContainerSasPermissions, generate_container_sas)
import datetime

connection_string = ...
some_prefix = ...
container_name = ...
account_name = ...

serviceclient = BlobServiceClient.from_connection_string(connection_string)
containerclient = serviceclient.get_container_client(container_name)
blobs = containerclient.list_blobs(name_starts_with=some_prefix)

start = datetime.datetime.utcnow()
end = datetime.datetime.utcnow() + datetime.timedelta(days=1)
containersastoken = generate_container_sas(account_name, container_name, serviceclient.credential.account_key, permission=ContainerSasPermissions(read=True, list=True), start=start, expiry=end)

urls = []
for blob in blobs:
    blbclient = serviceclient.get_blob_client(container_name, blob['name'])
    urls.append(f"{blbclient.url}?{containersastoken}")

(Keep in mind that there is limit of 1000 urls per request, you might have to split the input into multiple requests if there are more)

Thanks for the information @chlandsi , I am not sure if the API language matter, I am working with C#. I will try to use the above logic and see the outcome. currently my workaround is to delete the blob when it is done transcribing. btw a 1000 limit is plenty :-)


Update Instanced3DModel3DTileContent.js

fix: shadowMode cannot apply to i3dm tileset.

Thank you so much for the pull request @JiaoJianing! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.


Design Issue with station to station as the transport for signatory vs noise.

So the identity key for a node and consensus signing key are typically the same key. The consensus signing key will need to live inside signatory. When a node is bootstrapping, it can't attest it's identity because the key lives in signatory.
We could detach the node identity from the consensus signing key or we could use just use noise and have a longterm X25519 key that is used to boostrap the secure channel.

This should probably be filed either in tendermint/kms or a different Tendermint/Cosmos repo.


get_quality_format() not in bcbio.pipeline.datadict code

In bcbio.ngsalign.rtg.py :
from bcbio.pipeline import datadict as dd
dd.get_quality_format(data).lower()
but get_quality_format not in bcbio.pipeline.datadict.py

Thanks for the report. Could you provide a bit more context about the error/problem you're having? A traceback from the initial run would be very helpful to try and provide some pointers.
For your question, the get_* functionality in datadict.py uses some python magic so the right place to look for these is in the LOOKUPS dictionary where quality_format is present. So it appears everything is right but seeing your initial error could help identify the problem you're running into. Thanks much.

This definitely should be a non-problem now, so closing. Thank you!


Bad Completion Spans for module/triple-slash completions

TypeScript Version:  master, commit 680fb2ea1b745105adadc908e9b1449c71e37978
The replacement spans for relative completions (ie: triple slash completions and relative imports) should include the parts of the path past the cursor up to the first slash/newline/closing quote, non-inclusive.
Code
Cursor at |.
// src/test.ts
/// <reference path="../sor|bet/referenced.ts" />

// src/referenced.ts
let x = 1;

Expected behavior:
After completing src, the reference line should be
/// <reference path="../src|/referenced.ts" />

Actual behavior:
After completing, the reference line is
/// <reference path="../src|bet/referenced.ts" />

Doesn't seem to be an issue anymore.


refactor: update ContractVersionSelect->Select to use JuiceListbox

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3553

PR #3554

PR #3555

PR #3556

PR #3557

PR #3558

PR #3559   👈

This comment was auto-generated by Graphite.

@wraeth-eth queued this pull request to merge with Graphite.

@wraeth-eth merged this pull request with Graphite.


feat(module:all): export all components when build

close #275
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Coverage increased (+0.6%) to 41.278% when pulling 9859e38c857a9ef17b44bb2bf88ac6306dbf6434 on vthinkxie:export-all-component into 4cb03fa2e1c7c093667cd6bc0e197c647a1430b9 on NG-ZORRO:master.


IsOrgAdmin is available on token claim

We currently using https://github.com/redhat-developer/app-services-cli/blob/cluster-complete-mess/pkg/api/rbac/api.go#L31:L31 this to check if user is admin

What is the action here? The issue is unclear to me. Where is that field being used exactly?

In not pushed code for ACL that you haven't seen :). Let's triage this on the next call.

Update. Decision was made to use RBAC API. Created issue to cover extra requirements.
https://issues.redhat.com/browse/RHCLOUD-16448


keyboard.dismiss() not work

当编辑器获取焦点弹出键盘，调用keyboard.dismiss()不能收起键盘

hey, use richTextReference.blurContentEditor() instead of keyboard.dismiss()

The principle of keyboard.dismiss() is only for RN, and it is not processed for WebView.
You can use the way @shayanaithal says

You are right @shayanaithal . but where to set this . because there is no on submit method.
so i dont know how to hide keyboard on submit or enter button of keyboard s clicked.


AD Registered Application ObjectId and token oid do not match

The documentation indicates that the oid claim returned as a result of a registered Application logging in through the Client Credentials Grant flow will match the ObjectId property indicated for that application in the Azure AD blade in the Azure Portal, but our experiments show this is not the case.
The oid and app claims match (as indicated in the documentation) but seem to have no relationship with any object in the directory that is locatable in the portal at all.
Further, the Application's ObjectId is not actually returned in any claim.
The only way for us to use the oid as an ACL tool is to:

first log in every registered Application using PostMan to retrieve a token
then decode the token in jwt.ms
then grab the oid claim for the Application

That's pretty infeasible for ongoing maintenance purposes.
When an Application receives a token from Azure AD, what is the oid and sub claim guid actually referring to?

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

ID: 2471c08b-befe-8e1a-df08-f13e116c231e
Version Independent ID: 0d827d33-2906-6352-9398-13863def9354
Content: Microsoft identity platform access tokens - Microsoft identity platform
Content Source: articles/active-directory/develop/access-tokens.md
Service: active-directory
Sub-service: develop
GitHub Login: @hpsin
Microsoft Alias: hirsin

@richardhauer
Thanks for your feedback! We will investigate and update as appropriate.

Hi @richardhauer - the object ID listed int he application registration blade is unfortuantely misleading.  You need to compare it against the service principal registered in your tenant.
In the JWT:

In the Enterprise apps:

In the app regsitration blade:

If you click on the "Managed application in the local directory" link on the Application page, it'll take you to the corresponding service principal in that tenant, where you can find the OID.

Thanks @hpsin I’ll check that out.
It’s probably worth noting this in the documentation as both values have the same label despite being different. I can’t be the first person to be confused by this - the documentation explicitly suggests using the oid for ACL purposes.

The oid of the service principal absolutely should be used for ACLs - but your registration exists only in your tenant.  OIDs are per-tenant.  We'll see about clarifying this, thanks!


React

After many long hours of development, me and @TurboMarshmello have successfully managed to rewrite Mue in React! It's now very cutting edge and has support for our new custom API etc.

@all-contributors add Turbomarshmello for code

@all-contributors add ohlookitsderpy for code


Change ShortRepoPath to return new repo path

Fix Rename a repository twice, then the first rename action target became the latest name. #18007

Change ShortRepoPath to return new repo path instead of recent repo path:
ShortRepoPath always returned actual repo name instead of new repo name according to the action:
A->C, B->C instead of A->B, B->C
Now it returns proper repo name.
Fix #18007
Signed-off-by: Viktor Yakovchuk<EMAIL_ADDRESS>

I don't think this is the right resolution.

I'm ready to rework and suggestions are appreciated

@lunny Couldn't you say whats wrong with my approach to this issue?

Come across this PR, I agree that this approach is not the proper method, it's too hacky and inefficient.
The suggested approach was in the original issue:

https://github.com/go-gitea/gitea/issues/18007#issuecomment-999990327

maybe we need store the current name of that time in to database

It's inactive for too long, I will close it since it doesn't get updates or feedbacks. Feel free to re-open or propose a new one.


Feature Req: Motion Controls? Gyro/ Accelerometer?

Great to see that this project exists! I ddin't see where I might grab motion data from the IMU. Any plans for reading gyro for the sake of dualshock, dualsense, ninendo switch pro/joycons?

Sure thing. I would have to integrate the sensors API for that. I don't really have any devices I can test this with but maybe you can help me out with testing. I'll let you know when it's done.

@HilariousCow I have added this in v0.8.4. I believe the sensors on your controller should appear under sdl.sensor.devices. Let me know if it works.

I hope to try tomorrow or at the weekend! Thank you so much for taking the time!


Document: Use Case - liquidity pool trading

Description
Document the Use Case - liquidity pool trading to showcase how it can be done using Cosmpy
Acceptance Criteria
Doc published on Fetch documentation

Added in #186


Get ERROR: giving up after 0 fragment retries (last nightly version)

[X] I've verified that I'm running youtube-dl version 2021.12.17
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar bug reports including closed ones
[X] I've read bugs section in FAQ

Verbose log
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.youtube.com:443
DEBUG:urllib3.connectionpool:https://www.youtube.com:443 "GET /watch?v=_OKAwz2MsJs HTTP/1.1" 200 None
[debug] Encodings: locale cp1251, fs utf-8, out utf-8, pref cp1251
[debug] youtube-dl version 2024.08.02 [71223bff3]
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Git HEAD: 1278be0
[debug] Python 3.9.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 - OpenSSL 1.1.1m  14 Dec 2021
[debug] exe versions: ffmpeg 2023-01-12-git-fc263f073e-essentials_build-www.gyan.dev, ffprobe 2023-01-12-git-fc263f073e-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] _OKAwz2MsJs: Downloading webpage
[debug] [youtube] Decrypted nsig Qm536sut23muowSm => gPzfoGXIyPH5eg
[debug] [youtube] Decrypted nsig y8r9VdSTeJPDq_6v => CV-R0tNLKCrfRw
[debug] Invoking downloader on 'https://rr1---sn-585uxauxaxjvh-hw8l.googlevideo.com/videoplayback?expire=1722789855&ei=f1uvZuSAJ_CjvdIPo-G5uAo&ip=<IP_ADDRESS>&id=o-AAAGxGN9VxkYeMpSRs81kPCzbONTOrGmF8x0uraNOGFl&itag=135&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=eD&mm=31%2C29&mn=sn-585uxauxaxjvh-hw8l%2Csn-h5q7kned&ms=au%2Crdu&mv=m&mvi=1&pl=21&initcwndbps=1710000&bui=AXc671IgcgyZgsxOhgZePMFXLDky3iVjgO1Od5g1l6RUx-WA4vPN7R8J_lkLbqxT3voVEjz1e7MpGqsf&spc=NO7bAeZtuJFJ6ceo0qpxyQy2Yhrcrn6HvpN-bkdNHKL4A9Z30NzWCyPWNuiR&vprv=1&svpuc=1&mime=video%2Fmp4&ns=UY2gwW6Ofrf9ldh1b7xBGi0Q&rqh=1&gir=yes&clen=8725720&dur=170.169&lmt=1721766646012129&mt=1722767837&fvip=5&keepalive=yes&c=WEB&sefc=1&txp=5532434&n=CV-R0tNLKCrfRw&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgUJda5-y-AO7qlh9UCBAGM8EZkTjGf1ldrwfRy3QjnQQCIQDOFXG5nsJJ7BDIVdJsIedFXJV1MaARmy5VDJQ5TIovEw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRQIhAMvFfD-S1-dmo2iy6hEn2IkKbC-4hasHZDrHgyhzhEB4AiBGYfPux3Y3VH6iMXIdPrJgREd8322H7fsZeWEbd6iRFA%3D%3D'
[dashsegments] Total fragments: 1
[download] Destination: Temp\4db3dfbb-bdc3-404f-a1e7-c3a49aeb0938\Joker - Folie À Deux _ Official Trailer.f135.mp4
ERROR: giving up after 0 fragment retries
Description
Hey. Stuck with an issue that can't download files after last nightly update 2024.08.02
file https://www.youtube.com/watch?v=_OKAwz2MsJs
pipeline:

The first run and second were successful
get an error after the third run
the same code on linux machine behaves the same
--rm-cache-dir or manually deleting the cache helps in most cases and I can download files (or other files from youtube)
but the 2d or 3d attempt again brings up the issue.
use in code:

...
        options = {
            "format": "bestvideo[height <=? 480][ext = mp4]+bestaudio[ext = m4a] / best[ext = mp4]",
            "outtmpl": f"{temp_subfolder}/%(title)s.%(ext)s",
            'nocheckcertificate': True,
            'ignoreerrors': True,
            "ffmpeg_location": r"D:\ffmpeg\bin",
            "verbose": True,
        }
...

                    with youtube_dl.YoutubeDL(options) as ydl:
                        ydl.download([url])

I can't repro here. The reason for giving up after 0 retries doesn't seem to be logged; maybe inserting a pdb.set_trace() (say, youtube_dl/downloader/dash.py:21) would help.
I find that  --external-downloader ffmpeg is always (?) giving 403, but this PC has a rather ancient ffmpeg. You might also try any available external downloaders.
@dant4ick, do feel free to add any substantive comment. We are all rolling our eyes here.

I can't repro here. The reason for giving up after 0 retries doesn't seem to be logged; maybe inserting a pdb.set_trace() (say, youtube_dl/downloader/dash.py:21) would help.
I find that  --external-downloader ffmpeg is always (?) giving 403, but this PC has a rather ancient ffmpeg. You might also try any available external downloaders.
@dant4ick, do feel free to add any substantive comment. We are all rolling our eyes here.

many thx @dirkf
yeah. this is traceback
[dashsegments] Total fragments: 1
[download] Destination: Temp\702f6ca2-ab5a-434c-a7c1-8ce4172e1574\Joker - Folie À Deux _ Official Trailer.m4a.f140-drc.m4a
ERROR: giving up after 0 fragment retries
  File "C:\Users\Dimitri\AppData\Local\Programs\PyCharm Professional\plugins\python\helpers\pydev\pydevd.py", line 2252, in <module>
    main()
  File "C:\Users\Dimitri\AppData\Local\Programs\PyCharm Professional\plugins\python\helpers\pydev\pydevd.py", line 2234, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "C:\Users\Dimitri\AppData\Local\Programs\PyCharm Professional\plugins\python\helpers\pydev\pydevd.py", line 1544, in run
    return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
  File "C:\Users\Dimitri\AppData\Local\Programs\PyCharm Professional\plugins\python\helpers\pydev\pydevd.py", line 1551, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "C:\Users\Dimitri\AppData\Local\Programs\PyCharm Professional\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "D:\Test\Docs\yp.py", line 82, in <module>
    parse_youtube_link(youtube_link)
  File "D:\Test\Docs\yp.py", line 58, in parse_youtube_link
    ydl.download([url])
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 2257, in download
    res = self.extract_info(
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 872, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 879, in wrapper
    return func(self, *args, **kwargs)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 986, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 1020, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 1864, in process_video_result
    self.process_info(new_info)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 142, in wrapper
    return func(self, *args, **kwargs)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 2156, in process_info
    partial_success = dl(fname, new_info)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 2092, in dl
    return fd.download(name, new_info)
  File "D:\Test\venv\lib\site-packages\youtube_dl\downloader\common.py", line 380, in download
    return self.real_download(filename, info_dict)
  File "D:\Test\venv\lib\site-packages\youtube_dl\downloader\dash.py", line 78, in real_download
    self.report_error('giving up after %s fragment retries' % count)
  File "D:\Test\venv\lib\site-packages\youtube_dl\downloader\common.py", line 175, in report_error
    self.ydl.report_error(*args, **kargs)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 682, in report_error
    self.trouble(*args, **kwargs)
  File "D:\Test\venv\lib\site-packages\youtube_dl\YoutubeDL.py", line 634, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

You could try to see what exception is being raised on the download by either tracing in the DASH downloader module that I identified above or inserting print() calls there and elsewhere. Presumably it gets to l.53:
                    success, frag_content = self._download_fragment(ctx, fragment_url, info_dict, headers)

That call (into fragment.py, same directory) is returning a falsy success (not raising DownloadError, since on the first fragment fatal is True). Looking at the called method, we see that it's actually False because its first return value can only be that or True. So the failure is a falsy return from, presumably, the HTTP downloader (http.py, same directory); the circumstances where that would happen are unclear to me.

I found out that some fragment_url for example this one https://rr1---sn-585uxauxaxjvh-hw8l.googlevideo.com/videoplayback?expire=1722796824&ei=uHavZvrKMIG5mLAP6d-X0A4&ip=<IP_ADDRESS>&id=o-AN27AHuO_OYDC1ZPdZF62x1ckTi7EZShC7Y84MPLg97t&itag=135&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=eD&mm=31%2C29&mn=sn-585uxauxaxjvh-hw8l%2Csn-h5qzen7l&ms=au%2Crdu&mv=m&mvi=1&pl=21&initcwndbps=1387500&bui=AXc671K11H8_xro4zuscFP71W_128wNGQnQhNi2ZcAB4HaomqnnJyF3XEl7stcIyfHA6H8mAxtzLNFvi&spc=NO7bARZouLLeXCwgfMYoPEYMP7B1RzPRoYTpVKKKX_jbGOmgShTkrOz3axgB&vprv=1&svpuc=1&mime=video%2Fmp4&ns=q8p4f_XeRBg1-wQJxabKHIgQ&rqh=1&gir=yes&clen=8725720&dur=170.169&lmt=1721766646012129&mt=1722774803&fvip=5&keepalive=yes&c=WEB&sefc=1&txp=5532434&n=7fGekQpLcgIl6A&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgONMja921ObtPfl1lPLQJyTHQAAqpNCgsTDlz44iv2yMCIF5LN3CWKDCQ5dY3Q48vKA4sbdbz34I3I_zovSzvVbHv&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRgIhAP7k0--rdwfa6uSinx5ztnYNCTTsZfgA2JU4bGTY_fyEAiEAgQIsjCwP9Pene6B9DJacV0mBzU5kZedeibR2up7SICw%3D&range=0-8725720 has status denied. ctx here is
{'filename': 'Temp\\57180b1b-4c2c-4b70-8606-d1ac808d74e2\\Joker - Folie À Deux _ Official Trailer.f135.mp4', 'total_frags': 1, 'live': False, 'tmpfilename': 'Temp\\57180b1b-4c2c-4b70-8606-d1ac808d74e2\\Joker - Folie À Deux _ Official Trailer.f135.mp4.part', 'fragment_index': 0, 'dl': <youtube_dl.downloader.fragment.HttpQuietDownloader object at 0x0000018527F94850>, 'dest_stream': <_io.BufferedWriter name='Temp\\57180b1b-4c2c-4b70-8606-d1ac808d74e2\\Joker - Folie À Deux _ Official Trailer.f135.mp4.part'>, 'complete_frags_downloaded_bytes': 0, 'started':<PHONE_NUMBER>.7545826, 'fragment_started':<PHONE_NUMBER>.7545826, 'prev_frag_downloaded_bytes': 0, 'frag_resume_len': 0}

so I catch error here

I am curious if for some reason YouTube returns the URL with 403- is it possible to add other attempts to get the correct URL (fragment)?

If so, why don't we see output from here? Is fragment_retries <= 1, say? Are you setting that value in the parameters passed to your download code?
                    if count < fragment_retries:
                        self.report_retry_fragment(err, frag_index, count + 1, fragment_retries)
                        continue

because I have count an fragment_retries as 0
and jump to break

Maybe letting the download retry will help.

Continued in #32905.

I think the issue exists. no? why do you close it?

because it is continued in another issue post as stated right above your post, its merging issues into one centralized post.

@dirkf to avoid opening new issues - I saw a new type of error with the same code (just on linux platform). I made a new update (2024-08-07) and see this. any ideas on how to cope with it?
DEBUG:urllib3.connectionpool:https://www.youtube.com:443 "GET /watch?v=HL0TnWXLnzs HTTP/1.1" 200 None
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2024.08.07 [c5098961b]
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.5.0-1023-aws-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35
[debug] exe versions: ffmpeg 7.0.2, ffprobe 7.0.2
[debug] Proxy map: {}
[youtube] HL0TnWXLnzs: Downloading webpage
ERROR: Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Traceback (most recent call last):
  File "/home/ubuntu/venv/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 879, in wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 975, in __extract_info
    ie_result = ie.extract(url)
  File "/home/ubuntu/venv/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 571, in extract
    ie_result = self._real_extract(url)
  File "/home/ubuntu/venv/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 2248, in _real_extract
    raise ExtractorError(reason, expected=True)
youtube_dl.utils.ExtractorError: Sign in to confirm you’re not a bot
This helps protect our community. Learn more

YT ban? Review https://github.com/yt-dlp/yt-dlp/issues/10128.

Regarding "not planned",. it may not be clear if you aren't able to close issues, but the subhead under the Close as not planned menu item says Won't fix, can't repro, duplicate, stale; here it's item 3. I have a policy-like view that an issue can retrospectively become duplicate if a newer issue is more directly focused on the underlying policy, which is what "Continued in..." means.

Regarding "not planned",. it may not be clear if you aren't able to close issues, but the subhead under the Close as not planned menu item says Won't fix, can't repro, duplicate, stale; here it's item 3. I have a policy-like view that an issue can retrospectively become duplicate if a newer issue is more directly focused on the underlying policy, which is what "Continued in..." means.

no problem. understood the idea.

YT ban? Review yt-dlp/yt-dlp#10128.

yes. the same absolutely.  this a fork of your youtube-dl seems? It's funny, but the contributor just closed the issue without any solution)

It looks like you just have to wait for your IP to get unbanned, and/or use a different connection. Or conceivably, actually using YT in your browser (presumably, you'll have too sign in) will get you unbanned. Or maybe the solution to #32905 will change things.
Regarding yt-dlp, once upon a time, long before I was involved (and so this account is hearsay), yt-dl was forked to add features that the then maintainers wouldn't accept. That fork eventually died and was later resuscitated as yt-dlp. Although yt-dlp is not a fork in the GitHub sense, there is shared commit (ancient) history, a common program architecture and interfaces sufficiently similar that an extractor can be written to run in both programs. Basically, this program tries to remain compatible with existing platforms while yt-dlp targets only supported platforms (and so is able to deploy novel Python syntax and library features as well as a more extensive set of dependencies).

It looks like you just have to wait for your IP to get unbanned, and/or use a different connection. Or conceivably, actually using YT in your browser (presumably, you'll have too sign in) will get you unbanned. Or maybe the solution to #32905 will change things.
Regarding yt-dlp, once upon a time, long before I was involved (and so this account is hearsay), yt-dl was forked to add features that the then maintainers wouldn't accept. That fork eventually died and was later resuscitated as yt-dlp. Although yt-dlp is not a fork in the GitHub sense, there is shared commit (ancient) history, a common program architecture and interfaces sufficiently similar that an extractor can be written to run in both programs. Basically, this program tries to remain compatible with existing platforms while yt-dlp targets only supported platforms (and so is able to deploy novel Python syntax and library features as well as a more extensive set of dependencies).

many thx


Haxe syntax problem in functions within blocks

Opening the issue from http://www.flashdevelop.org/community/viewtopic.php?f=6&t=11513 here, as suggested by Philippe. There is some confusion with code completion when using special code constructs like functions within blocks. Here's how to reproduce:

Install haxedci from command line: haxelib install haxedci
Clone this repository: https://github.com/ciscoheat/haxedci-example
Open the project and and a context class, for example dci.examples.moneytransfer.contexts.MoneyTransfer
Add code to the function transfer or some other function.

Especially in the beginning of functions in such a block, the tab indentation won't work.
More details can be found in the thread. Thanks!

class Main {
	static function main() {
		{
			fun| // | <-- cursor
		}
	}
}

Fixed in latest development build.


Deactivated GPT4 on chat.llamaindex.ai

Dear friends, I regret to inform you that Chatlamaindex's response has been invalidated
{
"error": true,
"message": "There was an error calling the OpenAI API. Please try again later."
}

Sorry for the trouble @StarRing2022
All of the demo bots have been using GPT4, and we deactivated support for GPT4 on https://chat.llamaindex.ai/
As the demo bots are stored in your local browser, please click on "Clear All Data" on the settings page:

This will re-create the demo bots using GPT 3.5.
You can still use GPT4 on your local deployment of chat llamaindex. The ALLOW_ALL_MODELS env variable controls the behavior, which is set to TRUE by default.

Thanks,Give best wishes


Feat: update docs for dashboard, swap, staking, whales and watchlist pages

What
Add information for below pages:

Dashboard
Swap
Staking
Whales
Watchlist

Thanks @kdq162126


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In 4399151, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 7358 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in c01619d after 2 days, 6 hours, 51 minutes.


Added swaybg support

pull request #711
@madstone0-0 just an interesting pattern i noticed both swaybg and swww take precedence before feh, my first thought is that is because a wayland environment could expect to find feh as part of xwayland and try to set the wallpaper there instead of where it should be setting it, no need to answer was just something i thought.

Yeah, swaybg taking precedence was personal preference as I use Hyprland and I don't think wallpaper changing with feh works. Also sorry about the typo. I've fixed it in my fork, but I'm still pretty new to collaborative git stuff, so I haven't figured out how to update my pull request.

Eh don't worry, i'll just push the commit directly to master, gotta review every commit to master since last release before creating an new one anyway.


Option to Upload Block/Append Blobs to Premium SV2 Accounts

Storage Explorer Version: 1.6.2
Platform/OS Version: Windows
Architecture: ia32
Regression From: N/A
Steps to Reproduce:

Create a Premium StorageV2 storage account.
Select the created storage account in Storage Explorer.
Select a container in this account in Storage Explorer and select Upload > Upload Files... to view the Microsoft Azure Storage Explorer - Upload Files to Blob Container dialog.

Expected Experience:
Block Blob and Append Blob should not be a selectable option in the Blob type drop-down.
Actual Experience:
Page Blob should be the only available option in the Blob type drop-down.

Related to https://github.com/Microsoft/AzureStorageExplorer/issues/1170

Ran quick verification. Appears to be fixed after resolving #1050.


Use config rows only

Solve #73
This PR must be merged after merging #69

Removes old config definition, only ConfigRow is allowed
Remove parameter db.password, only db.#password is allowed
Parameter name is not required any more

I'd like to completely get rid of name, id, and enabled in the config definition but I guess there will be some mysql configs that may have this set and could break.  I suppose we can get rid of them once we know that no more configs have it set.


frontends/ilang/ilang_lexer.cc:912:35: warning: comparison of integers of different signs

I am getting two warnings during the build process.
...
[ 13%] Building frontends/ilang/ilang_lexer.o
frontends/ilang/ilang_lexer.cc:912:35: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare]
                        for ( yyl = (yy_more_len); yyl < rtlil_frontend_ilang_yyleng; ++yyl )
                                                   ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
frontends/ilang/ilang_lexer.cc:1926:17: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare]
        for ( i = 0; i < _yybytes_len; ++i )
                     ~ ^ ~~~~~~~~~~~~
2 warnings generated.
[ 14%] Building frontends/ilang/ilang_frontend.o
[ 14%] Building frontends/verilog/verilog_parser.tab.cc
[ 14%] Building frontends/verilog/verilog_parser.tab.o
[ 14%] Building frontends/verilog/verilog_lexer.cc
[ 15%] Building frontends/verilog/verilog_lexer.o
frontends/verilog/verilog_lexer.cc:1363:35: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare]
                        for ( yyl = (yy_more_len); yyl < frontend_verilog_yyleng; ++yyl )
                                                   ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
frontends/verilog/verilog_lexer.cc:2863:17: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare]
        for ( i = 0; i < _yybytes_len; ++i )
                     ~ ^ ~~~~~~~~~~~~
2 warnings generated.
[ 16%] Building frontends/verilog/preproc.o
...

This is code generated by flex. You can check if this is still there with the latest version of GNU flex, and if it is try reporting a bug with GNU flex.


Initialize Docs repository: https://github.com/LandoSun/triggertest o…

…f branch live

Docs Build status updates of commit da38fa9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

test/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Lowercase logic modifies non-letter characters in header names

The current logic applies the lowercase mask: https://github.com/aspnet/KestrelHttpServer/blob/dev/src/Kestrel.Core/Internal/Http2/HPack/HPackEncoder.cs#L144. But this logic does not check whether the character is a letter and can change non-letter symbols. For example, it would change ^ to ~ in header names. The fix would be to ensure that the lower case mask is only applied for upper case letters. We can also consider checking for invalid characters in the header here as well.

The response header character set is validated as the headers are added to the collection. Are there any allowed characters being altered? E.g. -?


Unhandled panic in conformance tests

For example https://github.com/rs-ipfs/rust-ipfs/actions/runs/266541212 shows the messages, which luckily are picked up by GHA. The culprit is line 232 of src/repo/fs/blocks.rs: https://github.com/rs-ipfs/rust-ipfs/blob/ffc65c8b5de3390e94864904e11cbc425a3912e7/src/repo/fs/blocks.rs#L228-L250
Probably something I missed in #355 or later PRs. Looking into this now.
Additionally we should probably not have any panics during conformance testing, so probably use panic=abort there, or install an aborting panic handler behind a feature..?

Trying out just:
[profile.dev]
panic = "abort"

Reveals "only" 46 failures. I dont think we can enable the panic="abort" easily, unless it was usable with RUSTFLAGS?


user docs: Searching for something (e.g. via Ctrl+F) doesn't scroll /help.

As an example, search for something like "emoji", which appears halfway down the page.
More discussion at https://chat.zulip.org/#narrow/stream/9-issues/topic/scroll.20on.20.2Fhelp.

@gooca this is probably a good thing for you to investigate given your recent work on scrollbars :)

Looks like a familiar bug with upstream. I can fix it locally using .markdown {overflow: auto !Important;} but I don't think this is the right solution!

good find. Looks like a won't fix.
I think this means we should just use the browser scrollbar for now?

What ReadTheDocs does is they don't have a separate scroll for the two panes: they both use the same scrollbar on the right side of the screen.

We could just remove the perfect-scrollbar if it's not that useful in /help page and use browser's default scroll behaviour.

It's visually nice, especially on the left side, on Linux.  But ctrl+f is probably more important.
Let's do a bit more debugging, and if we can't find a reasonable workaround, try that, and if not, we can go back to browser scrollbars :/.

Well if it's all about the visual then we could make it look like the perfect-scrollbar (in the worst case if can't find a fix)-
https://codepen.io/akinjide/pen/BpggrZ
https://codepen.io/devstreak/pen/dMYgeO

Detailed info on the bug - https://github.com/malihu/malihu-custom-scrollbar-plugin/issues/486

@rishig that second issue is not a perfect-scrollbar bug; that's almost certainly in our own scrollToHash JS for controlling scroll position on the page.  Please open a separate issue.  My guess is it's something subtle like our scrolling is racing with the images loading, but it could also be something more broken.

@akashnimare your fix doesn't seem to work on Firefox 59.0.2 (64-bit) on Ubuntu.

@timabbott all of the discussion in the bug reports that @akashnimare found seem to indicate that there is no workaround without completely rewriting perfect-scrollbar, which the maintainer doesn't want to do. Mostly, because it depends on overflow: hidden working in a way that was fundamentally changed. There is no javascript event for ctl-f, so it's not possible to fix via javascript. Basically, in order to have ctl-f work with scrolling as expected, we have to use built-in scrolling.

We should look for alternative cross-platform scrollbar UI libraries that provide this feature.


nimble compile error (IDFGH-11343)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2-dev-3775-gb4268c874a
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
build success.
What is the actual behavior?
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c: In function 'ble_gap_master_connect_reattempt':
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1036:40: error: storing the address of local variable 'conn' in 'ble_conn_reattempt[idx].cb_arg' [-Werror=dangling-pointer=]
1036 |         ble_conn_reattempt[idx].cb_arg = &conn;
|         ~~~~~~~~~~~~~~~~~~~~~~~^
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:992:30: note: 'conn' declared here
992 |     struct ble_gap_conn_desc conn;
|                              ^~
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:130:46: note: 'ble_conn_reattempt' declared here
130 | static struct ble_gap_connect_reattempt_ctxt ble_conn_reattempt[MYNEWT_VAL(BLE_MAX_CONNECTIONS)];
|
Steps to reproduce.
Just build with nimble for esp32c3.
Build or installation Logs.
No response
More Information.
No response

Hi @AxelLin ,
May i know which example you attempting to compile ? We tried both peripheral and central and don't see the issue. Also enabled / disabled the ENABLE_CONN_REATTEMPT flag, but don't see the issue.
The code being pointed is not modifed since a year. Is there any specific GCC version being used for this ?

@rahult-github
I compile with our application code, not example code.
However, the error message does make sense, I think this needs fix.
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1036:40: error: storing the address of local variable 'conn' in 'ble_conn_reattempt[idx].cb_arg' [-Werror=dangling-pointer=]
1036 | ble_conn_reattempt[idx].cb_arg = &conn;

BTW, I didn't hit this issue when I build with v5.1 branch.
And the ble_gap.c  file is exactly the same in v5.1 branch and master.
Maybe this is toolchain issue?

Seems to be an upstream code issue. cb_arg does become a dangling reference after ble_gap_master_connect_reattempt exits.

Hi @AxelLin ,
Not able to hit the issue at my end yet. Will investigate on the toolchain input provided.
In meantime, can you check if attached patch helps ?
dangling_pointer_error.txt

Hi @rahult-github
It's strange that I no longer hit the compile error today (even without your path).
I'm closing the issue, sorry for the noise.

Hi @AxelLin ,
Not able to hit the issue at my end yet. Will investigate on the toolchain input provided.
In meantime, can you check if attached patch helps ? dangling_pointer_error.txt

Hi @rahult-github
I hit this compile error again, and confirm your patch fixed the compile issue.

Hi @AxelLin , noted . Will raise fix internally.

Hi @AxelLin , noted . Will raise fix internally.

I reopen this issue because I still cannot find this fix in esp-nimble.


"remove" action should remove the home directory

Everything works great but remove action is not deleting the removed user account's home directory. Is this intentional?

That's standard for the "userdel" command on Linux systems.

If I use the native Chef module:
user 'tom' do
action  :remove
end
It works perfectly fine removing both the account and its home directory.
The reason I want to use cookbook 'users' is the native one doesn't have
builtin way to deploy authorized_keys.
On Thu, Mar 17, 2016 at 11:14 AM, Nico Kadel-Garcia <
<EMAIL_ADDRESS>wrote:

That's standard for the "userdel" command on Linux systems.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/chef-cookbooks/users/issues/137#issuecomment-198010667

And not if you run userdel -r

On Mar 17, 2016, at 11:14 AM, Nico Kadel-Garcia<EMAIL_ADDRESS>wrote:
That's standard for the "userdel" command on Linux systems.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/chef-cookbooks/users/issues/137#issuecomment-198010667

Then perhaps it should be databag enabled option, disabled by default? It contributes to databag complexity to support all the resources of other tools in chef, but it can be very useful.

It is intentional and I think we should provide an opt-in property for nuking the directories.

So I've handled this through wrapping the users cookbook... which took a bit of effort because I also wanted to remove any users that are effectively managed in the data bag that may have been added at one point.
It resulted in performing the same similar searches in the provider without as many conditions. In the end I got it working, but it wasn't a small effort to get the logic right. In this case, we've decided to leave the old directories behind, and created a cleanup to do this for us after-the-fact

I just added manage_home rm_user['manage_home'] ||= false to manager.rb in resources then bumped my version to 5.1.1 from 5.1.0.  After that all you need to do is add "manage_home": true to the data bag for the user you want to remove.  You, of course, also need to be sure to have "action": "remove" in the databag object.  This works for me on chef client 12.21.
This should hold us over until this issue gets merged into a release.

This has been fixed in #444


feat(apps/prod/tekton/configs/pvcs): add global crate index mirror

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

Use a versioned busybox image in the Job resource to ensure consistency and reproducibility.

👍

I have already done a preliminary review for you, and I hope to help you do a better job.

Summary of changes:

A k8s job has been added to add a cargo config file in the PVC.
The cargo config file contains a new environment variable CRATES_IO_REGISTRY_MIRROR that points to a new crate index mirror.

Potential problems:

The pull request does not provide a clear explanation of why the new crate index mirror is necessary or what benefits it brings. This could make it difficult for other team members to understand and evaluate the change.
The pull request does not include any tests to ensure that the new crate index mirror is functioning correctly.
The pull request does not provide any information about how to revert the change if necessary.

Fixing suggestions:

Provide a clear explanation of why the new crate index mirror is necessary and what benefits it brings. This could be included in the pull request description or as a comment on the code.
Add tests to ensure that the new crate index mirror is functioning correctly. These tests could be included in a separate pull request or added to the existing one.
Provide information about how to revert the change if necessary. This could be included in the pull request description or as a comment on the code.

I update the PR description to guide the reverting.


New player endpoint for major_teams

Player Object Update - Major Teams (_major_teams)
This attempts to fix issue [BUG] Player class is not working with Python 3.11.0 #59
The ESPN Cricinfo html page has been updated with class and syntax changes which mean the previous _major_teams function did not work:
def _major_teams(self):
        return [x.text for x in self.parsed_html.find('div', class_='overview-teams-grid').find_all('h5')]

There is a new endpoint which the ESPN Cricinfo page appears to utilise for player data (or in conjunction with the previous). Example: (https://hs-consumer-api.espncricinfo.com/v1/pages/player/home?playerId=7069)
This provides similar data to the previous endpoint, however there are some differences. For this reason I have only modified the major_teams function with this in order to get it functional (with which the rest are).
def _major_teams(self):
        return [x['team']['longName'] for x in self.new_json['content']['teams']]

Eventually it would most likely be wise to update the rest of the functions to the latest 'endpoint' but for now this fixes previous problems.

Thank you!


python3Packages.minidump: 0.0.19 -> 0.0.20

Motivation for this change
Update to latest upstream release 0.0.20
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 138189 run on x86_64-linux 1

12 packages built:

python38Packages.angr
python38Packages.angrop
python38Packages.cle
python38Packages.lsassy
python38Packages.minidump
python38Packages.pypykatz
python39Packages.angr
python39Packages.angrop
python39Packages.cle
python39Packages.lsassy
python39Packages.minidump
python39Packages.pypykatz


add support for s390x testing for packages

Deployed for testing...

ocaml-git might not like big-endian?
2021-07-27 18:31.22      git.store [ERROR] Object aadeea1bbe697e38d64cddffa23b57da78653a34 not found.
solver bug: (Invalid_argument
  "Git.Store.read_exn: aadeea1bbe697e38d64cddffa23b57da78653a34 not found")
Fatal error: exception (Invalid_argument
  "Git.Store.read_exn: aadeea1bbe697e38d64cddffa23b57da78653a34 not found")
Raised at Dune__exe__Solver.main in file "solver/solver.ml", line 90, characters 4-12
Called from Dune__exe__Main in file "solver/main.ml", line 54, characters 37-82
2021-07-27 18:31.22      git.store [ERROR] Object aadeea1bbe697e38d64cddffa23b57da78653a34 not found.
solver bug: (Invalid_argument
  "Git.Store.read_exn: aadeea1bbe697e38d64cddffa23b57da78653a34 not found")
Fatal error: exception (Invalid_argument
  "Git.Store.read_exn: aadeea1bbe697e38d64cddffa23b57da78653a34 not found")
Raised at Dune__exe__Solver.main in file "solver/solver.ml", line 90, characters 4-12
Called from Dune__exe__Main in file "solver/main.ml", line 54, characters 37-82
2021-07-27 18:31.22      git.store [ERROR] Object aadeea1bbe697e38d64cddffa23b57da78653a34 not found.
solver bug: (Invalid_argument
  "Git.Store.read_exn: aadeea1bbe697e38d64cddffa23b57da78653a34 not found")

Probably related to https://github.com/mirage/ocaml-git/issues/521


apiserver configuration for auto allocation

I am following these directions to setup auto allocation. I am unable to create the claim pool:
$ kubectl create -f ext_ip_pool.yml
error: unable to recognize "ext_ip_pool.yml": no matches for ipcontroller.ext/, Kind=IpClaimPool

`$ cat ext_ip_pool.yml
apiVersion: ipcontroller.ext/v1
kind: IpClaimPool
metadata:
    name: test-pool
spec:
    cidr: <IP_ADDRESS>/28
    ranges:
        - - <IP_ADDRESS>
          - <IP_ADDRESS>
        - - <IP_ADDRESS>
          - <IP_ADDRESS>

I do not see the ipcontroller.ext extension enabled on my kube-apiserver. I try to enable the extension using the kube-apiserver --runtime-config=extensions/v1beta1/ipcontroller.ext=true flag.

You dont need to enable them in apiserver. Those extensions are just instances of third party resources. To check if they are enabled run:
kubectl get thirdpartyresources

I have no third party resources enabled:
$ kubectl get thirdpartyresources
No resources found.

Unless I missed it, I did not see any documentation on creating the necessary third party resource. I found these directions for creating thrid party resources. Instead of fumbling around with this, can you provide information on how you created the third party resource and the custom objects (if applicable)?

expipcontroller pod should create them during startup

@danehans Are you still experiencing the issue or it can be closed?

Not sure. I moved on to kube-parrot after experiencing issues with the k8s-externalipcontroller. Feel free to close the issue.

Will close this as we didn't face such situation (when expipcontroller pod was started already - according to Dmitry's comment).


Cannot kubectl rollout restart a federated deployment

What happened:
After running kubectl rollout restart deployment X, the restart begins, but then is overridden by the kubefed controller and basically cancelled (returned to previous ReplicaSet?)
What you expected to happen:
The deployment on one cluster performs a rolling restart
How to reproduce it (as minimally and precisely as possible):
Attempt to restart a deployment using kubectl rollout restart deployment deployment-name
Anything else we need to know?:
Additionally it would be nice if kubectl rollout restart FederatedDeployment deployment-name could somehow work too. Or kubefedctl rollout restart (or similar)
Environment:

Kubernetes version (use kubectl version) v<IP_ADDRESS>
KubeFed version 0.1.0-rc6
Scope of installation (namespaced or cluster) two clusters?


Test slowdown

There has been a significant reduction in test speeds over the past few weeks. Thanks to @iliiliiliili and @negarhdr for noticing this.
Can this be alleviated or is it a result of the additional method integrations?

Fixed in PR #81


Fix the select statement to leverage the existing records_by_name index

Resolves https://github.com/tektoncd/results/issues/336 which contains further
details on the rationale.
This is a low-hanging fruit, but causes a huge impact in terms of performance at
scale. After this fix, the GetRecord operation started to use the indexed
columns to find records and we reduced the CPU utilization of our Postgres
instance from almost 100% to around 3% during high peaks.

Cudos for @marcodalcin who helped me in the investigation.

Thanks @alan-ghelardi and @marcodalcin
/approve

assign @adambkaplan

/assign @ad

H/assign @adambkaplan

/assign @adambkaplan

/kind cleanup


LoginView: on Android click event selects the password field after the view is opened

this is a minor bug, which is annoying

The problem was with a misplaced autofocus attribute


don't apply invalid filter(s) (helps with issue #1591)

@RH-sdavey this at least prevents the inconsistent count/listing. It doesn't indicate very clearly what the error is - as absurd as it seems I can't find an easy way to do that with the angular-patternfly toolbar component (@vbusch do you have any suggestions on somehow indicating the actual error more clearly?)

@grs  I still see the same results after your changes here Gordon, not sure if Im doing something wrong but Ill ping you tomorrow if you wouldnt mind walking  me through and making sure Im testing it correctly.
The code looks like it should be doing the trick just fine though.


pull request for e2e test at 11/22/2016 03:56:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


feat: add BasicAbility dcc client and adjust dcc configuration directory

Description
Add BasicAbility dcc client and adjust dcc configuration directory
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation

@doddgu


[#2920]feat(core): supports more table event

What changes were proposed in this pull request?
supports AlterTableEvent PurgeTableEvent LoadTableEvent ListTableEvent
Why are the changes needed?
Fix: #2920
Does this PR introduce any user-facing change?
no
How was this patch tested?
existing tests

@mchades @jerryshao please help to review when you are free, thanks

@jerryshao please help to review again


Whats this?

Collection: https://koda.art/ahp/collection/158?art_view=true&page=2

taking back cannot reproduce


Preload web3

This PR adds web3 to MainframeOS for compatibility with dApps expecting a similar interface to Mist and Metamask. Additionally it adds a new module to the launcher - electron-rebuild which rebuilds native Node.js modules against the version of Node.js that your Electron project is using. This allows you to use native Node.js modules in Electron apps without your system version of Node.js matching exactly (which is often not the case, and sometimes not even possible).

interesting that it shows merge conflicts. I'll thought I hashed this one out already.


Use System Proxy

Is your feature request related to a problem? Please describe.
Ex. I'm always frustrated when I have to deal with multiple proxies, the company I work for have this .pac (proxy autoconfig file) which is actually a Javascript file that Windows use to select the proxy.
Describe the solution you'd like
Either a radio button that select from specific proxy (textboxes as now it is) or pick the one used by the system (Same as Postman)
Describe alternatives you've considered
You can also do it the same way as Windows10 where you can enter the URL to fetch the pac file and run it before the request to select the proxy according to the PAC file.
Additional context
I hope this makes sense.

Picking proxy settings from system will make usage of insomnia much easier for me.
For now I have to manually enter proxy settings every time


Compatibility with Vitis-AI v1.3

Hi,
First of all, let me thank you for the amazing job of implementing a NN on MPSoC. As I see, your project runs on Vitis-AI v1.2; Is it possible for you to give an update so it can be compatible with Vitis-AI v1.3?
I tried to do some modifications so I can run your project on v1.3 but I was unsuccessful and I cannot generate the *.elf file... For example, as you know, from v1.3, DPU on the ZCU platform uses XIR based compiler. I already noticed this but I had no luck running your project on the ZCU102 board.

Updated to Vitis AI 1.4