update etcher version - will update to electron v25

Description of changes

https://github.com/balena-io/etcher/commit/f38bca290fe26121bed58d1131265e1aa350ddb5 (patch: upgrade to electron 25, 2023-08-30)
https://github.com/balena-io/etcher/commit/fb8ed5b529e22bc9e766bfe99c2b6955ed695b58 (patch: refactor scanner, loader and flasher out of gui + upgrade to electron 25, 2023-08-30)
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.
:+1:  - Security related update
cc @wegank

This is my first pull request for a pkg update, please let me know if I did something wrong, or did not do something I was supposed to do.

There is an unresolved problem upstream (balena-io/etcher#4138) that blocks all previous update attempts at #261626 and #263729.

No, I will look up how to build locally to test.

Do you happen to know of any blog or easily digestible content related to building and testing packages for nikpgs?
I found this in the docs https://github.com/jtojnar/nixpkgs-hammering, there is a lot to read though, and something more concise would be helpful if you know of anything.

For contributions to nixpkgs, you can find some instructions in pkgs/README.md. Specifically, for building etcher, you'll need to run this from the root of the nixpkgs source tree:
$ NIXPKGS_ALLOW_INSECURE=1 nix-build -A etcher

NIXPKGS_ALLOW_INSECURE=1 is something that will be prompted when running nix-build -A etcher, since both Electron 19 and 25 are marked as insecure in nixpkgs.

For contributions to nixpkgs, you can find some instructions in pkgs/README.md. Specifically, for building etcher, you'll need to run this from the root of the nixpkgs source tree:
$ NIXPKGS_ALLOW_INSECURE=1 nix-build -A etcher

NIXPKGS_ALLOW_INSECURE=1 is something that will be prompted when running nix-build -A etcher, since both Electron 19 and 25 are marked as insecure in nixpkgs.

Oh no, I was hoping going to 25 would remove that security prompt. Thank you for this, I am doing now.

It builds, I will test package now with sudo nixos-rebuild switch -I nixpkgs=/path/to/local/nixpkgs and see what happens.

Seemed to flash for me, and validated.  I did receive a partition table warning, but I imagine that is because of the image I had on this USB already.

Seems when I comment out the permittedInsecurePackages config, that it is still referencing electron-19.1.9 when the subsequent error occurs.
I ran this command: sudo nixos-rebuild switch -I nixpkgs=/home/stephen/Repos/github/nixpkgs --flake /home/stephen/Repos/gitlab/flakes/machines#tor-dev-01

Update: I think I need to update the electron dependency version somehow in the PR. Local path works in flake, but still reverences v19.1.9. Looking into now, but I don't see how the dependency version is determined yet in etcher default.nix. I do see electron passed in as input though, so will trace.

For doing this, you also have to change electron_19 to electron_25 somewhere in the pkgs/top-level/all-packages.nix.
But what's interesting is that you've discovered that Electron 1.18.13 works with Electron 19. I'll check whether this is the case on my machine, and if it is, we can definitely do the upgrade.

Update: I think I need to update the electron dependency version somehow in the PR. Local path works in flake, but still reverences v19.1.9. Looking into now, but I don't see how the dependency version is determined yet in etcher default.nix. I do see electron passed in as input though, so will trace.

For doing this, you also have to change electron_19 to electron_25 somewhere in the pkgs/top-level/all-packages.nix.
But what's interesting is that you've discovered that Electron 1.18.13 works with Electron 19. I'll check whether this is the case on my machine, and if it is, we can definitely do the upgrade.

I need to learn about all-packages.nix now, but was hoping this upgrade would move etcher to electron 25 also.

But what's interesting is that you've discovered that Electron 1.18.13 works with Electron 19. I'll check whether this is the case on my machine, and if it is, we can definitely do the upgrade.

This is not the case on my machine, unfortunately... Does Etcher report itself as 1.18.13 when clicked on the settings button?

But what's interesting is that you've discovered that Electron 1.18.13 works with Electron 19. I'll check whether this is the case on my machine, and if it is, we can definitely do the upgrade.

This is not the case on my machine, unfortunately... Does Etcher report itself as 1.18.13 when clicked on the settings button?

No, 1.18.2. I will restart machine and see if that changes anything.

Builds have been taking a long time since clearing garbage and restarting. I am going to put a pin in this for today.

I won't have time to finish this so closing.


Make serialization and printing green-thread-safe

Original identification by @jberthold: https://github.com/runtimeverification/hs-backend-booster/issues/94#issuecomment-1409912409
In the LLVM backend, the printing and serialization code uses static thread_local storage to maintain state throughout a single printing / serialization call. At each call, the state is explicitly cleared before entering the internal routines.
This works fine so long as the code is not used in the context of a bindings library where a runtime system such as Haskell has its own non-OS threading model. In these cases, the code is no longer thread-safe, and will produce garbage results if called in parallel.
The solution to this issue is to explicitly thread the state previously kept in static data through each call to the printing and serialization routines. Because the block visitors trampoline back and forth between C++ and code-generated LLVM, this requires some changes to the logic that emits a block traversal.
The changes in this PR are roughly as follows:

Add an extra void * parameter to the C++ / LLVM recursion scheme code that traverses runtime terms when printing and serializing.
Wrap up the existing static, thread-local state into a single structure type.
Pass an instance of that structure as an extra argument through the printing / serialization code.
(small, unrelated) move the MatchLog code to its own file away from the printer code.

The diff is large but mostly mechanical, as there are a lot of places that need to be updated to account for the extra parameter.
I'm confident that the existing test suite is sufficient to exercise this change fully; any breakage of configuration printing / serialization would be caught by every test in the suite.
Fixes #643

@jberthold confirmed that the issue remains on his side.
I'm going to merge this PR anyway, for the following reasons:

The code has been reviewed and CI is passing.
I suspect that the changes here are necessary but not sufficient to make the backend fully thread-safe.
The diff for this PR is largely mechanical (i.e. threading the extra parameter through the visitor recursion scheme). Further related changes will be harder to review if mixed in with this PR.


A story from AirDAO on Medium

Read this story from AirDAO on Medium: https://blog.airdao.io/airdao-tokenomics-update-amb-hard-cap-node-rewards-75a34853176e

Please submit the correct information, invalid information will cause the issue to close


config_type: add unstable_variant attribute

First pass at #5378
Adds new functionality to the existing config_proc_macro crate, such that enums used for configuration can have their variants annotated as unstable_variant:
#[config_type]
/// How to merge imports.
pub enum ImportGranularity {
    /// Do not merge imports.
    Preserve,
    /// Use one `use` statement per crate.
    Crate,
    ...
    /// Adapt import granularity, based on internal heuristics.
    #[unstable_variant]
    Adaptive
}

This will be checked upon loading config, and a warning emitted similar to using current unstable options on stable toolchain:
Warning: can't set `imports_granularity = Adaptive`, unstable variants are only available in nightly channel.

I would also ask - how should I go about testing this? I couldn't find any tests for the existing unstable options, or the proc macro code internals. In fact, I get test failures when I run cd config_proc_macro && cargo test on master

Haven't really had a chance to look at this yet, but just wanted to say I love the idea! Attributes seem like a really clean and simple way of managing this and I'm excited about the possibilities

@tommilligan as well as updating fill_from_parsed_config I also believe you'll need to modify override_value, which ends up getting called when overriding the config with any values passed on the command line using --config

I can see how testing this could be a little tricky since we don't currently have any options that are stable with unstable_variants. I wonder if it would be possible to add a config_type to Config thats only available for testing.
// src/config/options.rs

/// This configuration option is only available for testing purposes
#[cfg(test)]
#[config_type]
pub enum SemiStableOption {
    Stable,
    #[unstable_variant]
    NotStable,
}

// src/config/config_types.rs

#[cfg(test)]
use crate::config::options::SemiStableOption;

macro_rules! create_config {
    ($($i:ident: $ty:ty, $def:expr, $stb:expr, $( $dstring:expr ),+ );+ $(;)*) => (
        #[cfg(test)]
        use std::collections::HashSet;
        use std::io::Write;

        use serde::{Deserialize, Serialize};

        #[derive(Clone)]
        #[allow(unreachable_pub)]
        pub struct Config {
            #[cfg(test)]
            semi_stable_option: (Cell<bool>, bool, SemiStableOption, bool),
            // For each config item, we store a bool indicating whether it has
            // been accessed and the value, and a bool whether the option was
            // manually initialised, or taken from the default,
            $($i: (Cell<bool>, bool, $ty, bool)),+
        }
...

And then we could write a few tests in tests/rustfmt/main.rs that call the rustfmt binary directly. You can take a look at some of the existing tests in that module. I also opened #5025 a while ago, which touched similar areas of the config code. It's in limbo right now, but some of the tests I wrote in tests/rustmft/main.rs could be useful to help you test that you get the expected warning messages when running on stable. You should be able to use the #[stable_only_test] attribute to only run the test when we set CFG_RELEASE_CHANNEL=stable to simulate running on a stable rustfmt.
Not 100% sure if this approach will work. This might cause some issues with the configuration_snippet_tests, which checks to make sure that each configuration option is documented so maybe we'll need to work around that? We can totally brainstorm some other options though!

Do we need to define a new proc_macro_attribute macro?

We don't - I've verified that the attribute works as intended locally. The reason is that the unstable_variant annotation is processed by the config_type proc macro and stripped off - so it's never actually 'called', if that makes sense.

Also I believe the tests are failing because the doc tests for nightly_only_test and stable_only_test aren't quite right. We could fix them by adding /// # use rustfmt_config_proc_macro::nightly_only_test; and /// # use rustfmt_config_proc_macro::stable_only_test; to bring each attribute macro into scope for the doc tests. I can open up a PR for that a little later.

Thanks for this - I've opened #5389 with a fix for this plus CI to enforce it.

override_value

Added a test to show that updating override_value is not required, the value is parse from a JSON string as expected:
    #[test]
    fn test_override_skip_macro_names() {
        let mut config = Config::default();
        config.override_value("skip_macro_names", r#"["*", "println"]"#);
        assert_eq!(
            config.skip_macro_names(),
            MacroSelectors(vec![
                MacroSelector::All,
                MacroSelector::Name(MacroName::new("println".to_owned()))
            ])
        );
    }

override_value

Thanks for pointing this out. Updated to factor out the common logic of updating with an unstable option/value from fill_from_parsed_config, and pointed override_value to it as well.
I think this points out that you could set unstable options using --config, and this is technically a breaking change that means you can't any more. However, I think this was never expected behaviour and should be classified as a bugfix.

I wonder if it would be possible to add a config_type to Config thats only available for testing.

Thanks for the hints on this. I actually found we already have a mock config object specifically for testing, so likewise added an option type for testing that has an unstable variant on it.

@ytmimi Thanks for all your feedback - I think I've addressed everything you raised. CI appears to be failing with a lot of unrelated errors that I don't think are to do with this PR?

@tommilligan as well as updating Config::fill_from_parsed_config I also believe you'll need to modify Config::override_value, which ends up getting called when overriding the config with any values passed on the command line using --config

Thanks for pointing this out. Updated to factor out the common logic of updating with an unstable option/value from fill_from_parsed_config, and pointed override_value to it as well.
I think this points out that you could set unstable options using --config, and this is technically a breaking change that means you can't any more. However, I think this was never expected behaviour and should be classified as a bugfix.

If I had to guess I'd say it's this behavior that's causing the CI to fail, since it's only the "stable" tests that are failing. To reiterate, the "stable" tests don't actually run on a stable version of rustfmt they just run with CFG_RELEASE_CHANNEL=stable to simulate running on a stable rustfmt.
In theory I agree that this would be a bugfix for unintended behaviour, but I think there's probably a larger discussion that needs to be had around whether we want to continue to let users set unstable options via the command line. https://github.com/rust-lang/rustfmt/pull/5025 looked to solve this by giving users control of that decision, and allowing them to decide whether rustfmt exits with an abort message or warns and continues formatting when using unstable options.
For now can you simply issue the warning in override_value and still set the value regardless of the options stability. I think that will fix the issue you're seeing with CI

If I had to guess I'd say it's this behavior that's causing the CI to fail, since it's only the "stable" tests that are failing.

:facepalm: ah, thank you. Yes, makes-breaking-change-and-then-wonders-why-CI-is-failing sounds about right for me.

For now, can you simply issue the warning in override_value and still set the value regardless of the options stability. I think that will fix the issue you're seeing with CI

I think it would be counterintuitive to warn about unstable options/variants, while at the same time allowing them to be set from --config. I think I will preserve the current behaviour, which is to allow setting any option/value, whether they are stable or not. I've added a comment to this effect, with a link to the relevant discussion PR that you posted.
If this isn't desired, I can look into changing the behaviour of override_value, but would like some design guidance on what the expected behaviour should be for unstable variants specifically.
Added unit tests that confirm the behaviour of both fill_from_parsed_config and override_value for unstable variants of options.

🤦 ah, thank you. Yes, makes-breaking-change-and-then-wonders-why-CI-is-failing sounds about right for me.

Oh don't worry about it. I've definitely done the same thing before 😂

I think it would be counterintuitive to warn about unstable options/variants, while at the same time allowing them to be set from --config. I think I will preserve the current behaviour, which is to allow setting any option/value, whether they are stable or not. I've added a comment to this effect, with a link to the relevant discussion PR that you posted.

That's fine. I think restoring the original behaviour for now makes sense and we can decide what the best way forward is after we've had some more time to think on it.

Added unit tests that confirm the behaviour of both fill_from_parsed_config and override_value for unstable variants of options.

Fantastic! I took a look at the tests and everything looks good to me!

This has unfortunately acquired a merge conflict, could you rebase and resolve when you get a chance? Overall I'm good with the approach, though may have a couple nits (e.g. function names) we can revisit at a later date.

The only difference being made right now is that a warning will be issued if you set an unstable value on stable via the config file, but if you set it from the command line no warning will be issued. I think that's fine for now, but I'm personally in favor of issuing the warning even if we end up setting the value

We can continue that discussion on your PR to identify target behavior. The historical thinking, aiui, was to simply warn when the user asked rustfmt for an option that it wasn't going to apply. That's why the current behavior  when taking advantage of the --config loophole on stable doesn't produce any warnings (there's no need to warn the user an option they specified won't be used, because it's going to be used)

Thanks, that's great to hear. Fingers crossed, look forward to seeing it in some good use cases in future! And thanks for the great iteration process from both of you, it's really made working on this feature a pleasure.


Linux menus are still a problem (Ubuntu/MATE)

See attached.

I think the problem is due to the menus being added in Java code after the window has already been created via FXML. Mixing and matching these two doesn't make sense; they should be combined. That's not the only problem, though; some playing with that by me didn't solve the issue.

We're going to take the menus out for the spring test. There's not much populated in them yet anyway.

Fixed via f6896e69303cf80a3fe790a9c290158cddeaee3a


Huge problem with onClick event on Buttons with chrome

Problem description
Every event with onClick prop on every Button type (Raisedbutton or Flatbutton or Icon etc...)
I can't get the event.target.id or any other prop from the target as it is undefined, works perfectly on firefox but not on chrome, can you provide a workaround or a fix ?

toggleUpdate(event){ event.target.id //undefined}
Versions

Material-UI: 0.19
React: "^15.6.1"
Browser:  Chrome

We have been porting the component on the v1-beta branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.
Still, we will accept PR fixes until v1-beta takes over the master branch.

You made too many changes and plus there are less components in the beta, could you provide a workaround please to use chrome ?
ps: your project is awesome, but I juste need one thing, the event.target.id with chrome on a button, the rest works perfectly

@oliviertassinari

@llllGEM Feel free to submit a PR to address the issue, we will review it. We are now focusing on the v1-beta branch.

This works on V1. Just verify that you do gave a id on the button element that's rendered.

@slavab89 no it doesn't, here is my button Hello Mui !
when I click on the label inside the button I don't get the Id I must click inside the button outside the label for the handleclick method to get the id, which is very unpleasant and not a stable behavior, try it yourself on chrome, BTW I updated to beta9 and the issue is still there

I see what you mean
Here is a reproduction: https://codesandbox.io/s/w0nq43yw67
So based on the spec + stackoverflow it seems that button cant contain anything that's considered clickable and the recommendation is to use div instead when you want to have a styled button.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
Reference: https://stackoverflow.com/questions/11069410/click-event-for-element-nested-within-a-button
As an reference, material-web-components did a simple string inside the button while applying the ripple in some other manner
https://material-components-web.appspot.com/button.html
@oliviertassinari any knowledge on this?

@llllGEM Use event.currentTarget over event.target. Please document yourself about events before assuming it's the library responsibility.

@oliviertassinari thank you sir! I was having the same problem and that did the trick


multiple srcs not working - only uses last src?

I'm having a weird issue and think I must be doing something wrong, but I can't figure it out, so maybe it is an issue with this plugin.  I have the postcss config below and postcss:sass works fine, but postcss:async does not.  Basically when target/main/css/async/**/*.css matches a file, src/main/webapp/css/async.css contains the processed version of only that file.  deleting the file lets src/main/webapp/css/async.css be the processed version of src/main/css/async/**/*.css.  What's happening here?  Does postcss not support multiple srcs?
    postcss: {
        options: {
            processors: [
                require('autoprefixer-core')({browsers: '> 1%'}),
                require('csswring')
            ]
        },
        sass: {
            files: {
                //i can simplify this with http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically rename option but it's not worth it as it makes it less legible
                'src/main/webapp/css/ie.css': 'target/main/css/ie.css',
                'src/main/webapp/css/print.css': 'target/main/css/print.css',
                'src/main/webapp/css/screen.css': 'target/main/css/screen.css'
            }
        },
        async: {
            src: ['src/main/css/async/**/*.css', 'target/main/css/async/**/*.css'],
            dest: 'src/main/webapp/css/async.css'
        }
    },

You're trying to concatenate multiple files into one, so you should do it with grunt-contrib-connect and then run grunt-postcss on the output file. Or it's possible to save files separately, to do this you can just omit the file name in dest.

ok, thanks.  i just assumed grunt-postcss would do the concat, like grunt-contrib-uglify.  i discovered shortly after opening this issue that grunt-sass also doesn't concat (only uses the first src).  solved this with libsass 3.2's @import, thanks.


Workshop page down?

Can't find it

Some mutators are not published on the Workshop. They were meant not to be public, but then I open sourced them here for everyone to use or take as reference.


cannot send a file from one SEPAL account to another

Describe the bug
When I try to access another account from SEPAL using scplinux command I get a time out error on port 22.
To Reproduce
I try to send a small file from my prod account to my test one:
scp -P 443 prambaud@ssh.sepal.io:/home/prambaud/test.txt prambaud@ssh.test.sepal.io:/home/prambaud/text.txt

And I receive the following error :

ssh: connect to host ssh.sepal.io port 22: Connection timed out

I first thought it was the FAO firewall or my FAO computer that was preventing me to use scp but I expreienced the same issue on my personal macbook laptop on my home network.
testing
Here you'll find a matrix of the different commands I've tried and how they reacted. I tried to connect to the account through ssh  and send a file via scp. I don't understand why the port 22 is used for all the scp commands.

command
result

scp -P 443 @host/test.txt @target/text.txt
ssh: connect to host ssh.sepal.io port 22: Connection timed out

scp -P 403 @host/test.txt @target/text.txt
ssh: connect to host ssh.sepal.io port 22: Connection timed out

scp @host/test.txt @target/text.txt
ssh: connect to host ssh.sepal.io port 22: Connection timed out

ssh -p 443 @target
working, connection established after password

ssh -p 403 @target
ssh: connect to host ssh.test.sepal.io port 403: Connection timed out

ssh @target
ssh: connect to host ssh.test.sepal.io port 22: Connection timed out

That's not a real issue, that is just me badly understanding how scp command works. I need to be either the host or the tartget so in this case:
scp -P 443 ~test.txt prambaud@ssh.test.sepal.io:/home/prambaud/test.txt

works like a charm.
Thanks @cdanielw for the explainantions


Feature request: backup / restore etcd in the UI like we can do with rke on the CLI

Hi,
it would be great if we could create a (periodic) snapshot from any etcd cluster in the rancher web UI like we can do it with rke on the command line.
This shouldn't be to complicated because rke currently can do that.
What do you think about that?
Best regards,
Josef

Thanks, it is requested here: https://github.com/rancher/rancher/issues/13688


Bayonetta: Reduced Bloom

Hello!
Can you apply the c9b60c9de9de5e03_0000000000000079_ps_source.txt from http://www.mediafire.com/file/hol1eaku1vu121x/Bayonetta_reducedBloom.zip to Bayonetta profile to fix the "all white screen" issue at Bayonetta?
Thanks!

blind..
https://github.com/slashiee/cemu_graphic_packs/tree/master/Workaround/Bayonetta_Bloom


Differences between STM32F1 and STM32H7 series MCUs using USBX

I have successfully run the ThreadX+USBX program on the STM32H7 chip. The USB composite device (CDC ACM+HID) is used, so I tried to implement the same function on STM32F105RBT6, but I ran into trouble, running USB on F105 The composite device can run normally at the beginning, but after 40s, the USB will be disconnected and reconnected, and the USB will not be recognized. If I use HID or CDC alone, everything works fine . I learned that H7 has 9 endpoints and F1 has only 4 USB endpoints. Will it? Is USB working abnormally because of the number of endpoints?

It's possible number of endpoints issue.
I checked the example generated from STMCube for STM32H7, the following endpoints are used: 0x01, 0x82, 0x83 for CDC and 0x84 for HID, total 5 endpoints including EP0. If that's directly used in STM32F105 project, there is problem running endpoint 0x84 (as you mentioned only 4 USB endpoints are supported by F1).

In this case, my guess is correct. Is there a way to reduce the number of endpoints occupied by CDC? For example, cancel the control endpoint 0x01 of CDC?

It's really strange. CubeMX generates the USB driver of F103. hpcd_USB_OTG_FS.Init.dev_endpoints = 8 and F105, which is more advanced than F103, has only 4 endpoints. This is too outrageous.

Hi Arilink,
Do you mind sharing your H7 codes? I am trying to port to H753 with STMCube but so far I can't make it work.
Thanks so much

@flamingvines2 HID+CDC？

Yes, please. Thanks a lot!

leave me a email , the file size is very big ,github can‘t support to upload
@.***
From: flamingvines2
Date: 2021-09-01 15:38
To: azure-rtos/usbx
CC: arilink; State change
Subject: Re: [azure-rtos/usbx] Differences between STM32F1 and STM32H7 series MCUs using USBX (#27)
Yes, please. Thanks a lot!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

<EMAIL_ADDRESS>

I think Github censored the email. I will a space in between. My email is
v i n e s 2 0 0 1 @ y a h o o . c o m

Did you receive the file I sent?
@.***
From: flamingvines2
Date: 2021-09-01 15:58
To: azure-rtos/usbx
CC: arilink; State change
Subject: Re: [azure-rtos/usbx] Differences between STM32F1 and STM32H7 series MCUs using USBX (#27)
@.***
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Yes I did. Thanks a lot. I am looking at it and comparing it with what I did. It seems that my code is almost identical to what you are doing except for some HAL IO writes example - HAL_GPIO_WritePin(GPIOI, GPIO_PIN_8, GPIO_PIN_SET). Probably you are just monitoring something.
As I am not using Arm Keil, do you mind telling me what exact chipset you are using? STM32H7?? Are you using a development board or custom board?

I solved the issue. It was a hardware issue not really on the firmware. Anyway, thanks.

ok  congratulate


Replace upvote/downvote with likes in Bluesky

Bluesky doesn't actually use up/down votes (anymore?), it uses likes. This mostly just affects test data.

Good catch, thank you!


DRILL-6647: Update Calcite version to 1.17.0

Most of the changes are connected with changes in Avatica (https://github.com/apache/calcite-avatica/commit/2ebfd8060119efde140a0343fbf9e833b2915505) where was added a check for resource is closed, so most of the methods in Drill with this check became redundant and were removed.
For more details please see DRILL-6647

@HanumathRao can you review this?

Rebased onto master.
@HanumathRao, did you have a chance to take a look at this PR?

@vvysotskyi  Thank you for making these changes. Changes look good to me.

@vvysotskyi  Changes look good to me.

@vvysotskyi thanks for addressing my comments. LGTM +1


Review the usages of InvalidRequest and BadRequestData error responses

It seems like there has been some mismatch between these 2 error responses and some BadRequestData errors are sent where it is expected to send InvalidRequest errors (and maybe the opposite is also true).

InvalidRequest that should be a BadRequestData:
There is no InvalidRequest that should be changed to a BadRequestData since we are not returning InvalidRequest exceptions.

BadRequestData that should be a InvalidRequest:

Currently, if we encounter a JsonParseException (from com.fasterxml.jackson.core) we return a JsonParseErrorResponse

data class JsonParseErrorResponse(override val detail: String) : ErrorResponse(
    ErrorType.BAD_REQUEST_DATA.type,
    "The request includes invalid input data, an error occurred during JSON parsing",
    detail
)

From 5.5.4, an InvalidRequest should be returned, then i suggest the following changes:
data class JsonParseErrorResponse(override val detail: String) : ErrorResponse(
    ErrorType.INVALID_REQUEST.type,
    "The request includes invalid input data, an error occurred during JSON parsing",
    detail
)

LGTM


build: use dedicated Makefile variable for the eBPF docker image

in order to avoid conflict with the DOCKER_IMAGE variable
skip skydive-compile-tests
skip skydive-functional-hw-tests
skip skydive-functional-tests-backend-elasticsearch
skip skydive-functional-tests-backend-orientdb
skip skydive-go-fmt
skip skydive-k8s-tests
skip skydive-scale-tests
skip skydive-selenium-tests
skip skydive-unit-tests
skip skydive-cdd-overview-tests
skip skydive-ppc64-tests

run skydive-create-docker-image

working as expected:
root@iris-nvt:~/go/src/github.com/skydive-project/skydive# git checkout 1948
warning: refname '1948' is ambiguous.
Switched to branch '1948'
root@iris-nvt:~/go/src/github.com/skydive-project/skydive# make -C probe/ebpf docker-ebpf-build
make: Entering directory '/home/daily_build/go/src/github.com/skydive-project/skydive/probe/ebpf'
docker pull skydive/ebpf-builder:latest
latest: Pulling from skydive/ebpf-builder
Digest: sha256:5d3708c8bd66157fb2b283e05d66aa14edf6b876a5b675716242268aa9373c22
Status: Image is up to date for skydive/ebpf-builder:latest
docker run --rm \
        --env=UID=0 \
        --env=GID=0 \
        -v /home/daily_build/go:/go \
        --workdir=/go/src/github.com/skydive-project/skydive/probe/ebpf \
        skydive/ebpf-builder \
        sh -c "make ebpf-build && chown -R 0:0 ."
make: Nothing to be done for 'ebpf-build'.


Removed unsupported scenarios

Description
Removed unsupported scenarios to avoid confusing new users. These scenarios are:

MultiEgo
FreeRide
Challengebasic
BackgroundActivity

Changed some scenario names to be more consistent with the others
Where has this been tested?

Platform(s): Ubtuntu 18.04
Python version(s): 3.6
Unreal Engine version(s): 4.24
CARLA version: 0.9.9

Possible Drawbacks
None?

This change is

Ah... That's because of the imports in scenario_runner.py. With your other PR this will most likely work...

Readded FreeRide, it might be useful to just check general behavior of AV stacks


💡 Feature Request - Add Network Isolation for Azure Monitor Logging

The ALZ-Bicep logging configures a shared service for logging for the tenant that is public facing (via Azure Monitor defaults). It would be helpful to have the ability to define an Azure Monitor Private Link Scope (AMPLS) and related Network Isolation configuration including switches for whether or not to accept data ingestion from public networks and queries from public networks.
Use Azure Monitor Private Link Scope (AMPLS) - Code Samples | Microsoft Docs
This capability would need have a dependency on the networking module which stands up the default Private Link Zones include
I am not sure if inclusion into the existing module would make sense as this would create a dependency on the networking module. It may make more sense for a new logging-networkisolation module that accepted as input the following:

Bool for ‘Accept data ingestion from public networks not connected through a Private Link Scope’
Bool for ‘Accept queries from public networks not connected through a Private Link Scope’
String target subscription and resource group for the AMPLS. Default resource group of ‘alz-logging’
String for AMPLS instance name. Default to ‘alz-az-mon-pri-scope’ or similar.
RID for the alz-log-analytics workspace to attach the scope too with configuration

The downside of taking this approach is there is now a need for an orchestrator so the alternative approach would be to accept all of the above as well as VNET details from the networking module.

Migrating this issue to the upstream ESLZ/ALZ repo as this would need to be considered for all reference implementations (Bicep, Portal & Terraform) rather than just ALZ-Bicep.
This is so we have consistency and parity across all implementations instead of a customer having to choose a specific implementation option depending on what features it has available.
Hope that makes sense, we will triage this issue here first and asses if it is something we will consider adding to the implementations

This makes compete sense. Thank you.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Jack Tracey @.>
Sent: Tuesday, May 3, 2022 11:07:37 AM
To: Azure/Enterprise-Scale @.>
Cc: Kenneth Kilty @.>; Author @.>
Subject: Re: [Azure/Enterprise-Scale] 💡 Feature Request - Add Network Isolation for Azure Monitor Logging (Issue #967)
Migrating this issue to the upstream ESLZ/ALZ repo as this would need to be considered for all reference implementations (Bicep, Portal & Terraform) rather than just ALZ-Bicep.
This is so we have consistency and parity across all implementations instead of a customer having to choose a specific implementation option depending on what features it has available.
Hope that makes sense, we will triage this issue here first and asses if it is something we will consider adding to the implementations
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FEnterprise-Scale%2Fissues%2F967%23issuecomment-1116210003&data=05|01||8904082f17604af1c55708da2d16a9bc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637871872624718016|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9jFlrrvEVeiNOoTqq8Ial8CEtlpIGjpyLKQa4NeDGi8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB2H7WCKHEZJKZIUW6PLIKDVIE6LTANCNFSM5U7F5AHQ&data=05|01||8904082f17604af1c55708da2d16a9bc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637871872624718016|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=SkSJ7OPSxBGWnZQlgQi80mAJbpIPeeAqzU6UM0B6Bw4%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Trigger ADO Sync 1

Trigger ADO Sync 2


How to add translation to cards?

Please advice how to translate following cards:
Page View
Most Visited Pages
Visitors
Top Referrers
Thanks

@laraketai - There is some good documentation on the Nova website for adding translation files to your Nova instance. https://nova.laravel.com/docs/3.0/customization/localization.html
To create a new translation you use the following artisan command: php artisan nova:translate [language]
Nova translations are stored in resources/lang/vendor/nova
The translation file is a JSON format so you would type something like:
"Page View": "Translation"
"Most Visited Pages": "Translation"
"Visitors": "Translation"
"Top Referrers": "Translation"


Out-of-date documentation - chromeOptions not working on latest Selenium

Selenium 3.8 changed key for passing options to chrome from chromeOptions to goog:chromeOptions. Protractor docs are using old key in examples and passed options just won't work.
https://github.com/angular/protractor/blob/master/docs/browser-setup.md
Would be nice to update it or just add notice somewhere that this was changed. It might save lot of headaches for people like me who were setting up environment on latest version of selenium.
https://github.com/elgalu/docker-selenium/issues/201

Just to add to this issue, 'goog:chromeOptions' is working if we use capabilities, like
capabilities: {        browserName: 'chrome',        shardTestFiles: true,         'goog:chromeOptions': {             mobileEmulation: {                 deviceName: 'Nexus 5'             }         }     }
But it is not working when we are using getMulticapabilities.
[11:09:24] E/launcher - WebDriverError: unknown error: cannot parse capability: goog:chromeOptions

I've been trying to figure out for hours why our Protractor tests didn't work anymore when I found out that the config key had changed and nobody had told me. Please update the documentation and put out some kind of notice for people who, like me, followed the old documentation in their config files and haven't heard that this has changed.

@RomkeVdMeulen what makes you think, that it is problem of Protractor? This is how selenium works now.


[Snyk] Upgrade ace-builds from 1.32.4 to 1.36.3

Snyk has created this PR to upgrade ace-builds from 1.32.4 to 1.36.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 22 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: ace-builds

1.36.3 - 2024-10-21package 21.10.24

1.36.2 - 2024-08-30package 30.08.24

1.36.1 - 2024-08-29package 29.08.24

1.36.0 - 2024-08-21package 21.08.24

1.35.5 - 2024-08-20package 20.08.24

1.35.4 - 2024-07-22package 22.07.24

1.35.3 - 2024-07-18package 18.07.24

1.35.2 - 2024-07-01package 01.07.24

1.35.1 - 2024-06-27package 27.06.24

1.35.0 - 2024-06-11package 11.06.24

1.34.2 - 2024-05-27

1.34.1 - 2024-05-24

1.34.0 - 2024-05-22

1.33.3 - 2024-05-21

1.33.2 - 2024-05-13

1.33.1 - 2024-04-23

1.33.0 - 2024-04-12

1.32.9 - 2024-03-29

1.32.8 - 2024-03-22

1.32.7 - 2024-03-01

1.32.6 - 2024-02-07

1.32.5 - 2024-01-30

1.32.4 - 2024-01-29

    from ace-builds GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Updated to 1.36.5 in another commit, must run 'npm install' and run tests to upgrade


Add 'Marketplace' and 'Explore' to the defaults

This PR makes the following changes:

adds in the default GitHub and Gists links the following: "Marketplace", "Explore".
My reasoning:
by default the Navigation bar is:

I believe the 'Marketplace' and 'Explore' are important links (especially the latter), the former to find useful tools (free for public repos) to build on and improve your workflow, and the latter to find collections/topics/repos/resources that match your interests or are popular/trending.
If they aren't provided by the default, the user will probably will never discover them by himself.

updates the ''Integrations" link:  https://github.com/integrations --> https://github.com/marketplace

removes the 'Trending' entry, as its content is now contained inside the 'Explore' page, I've noticed.

@Mottie, what do you think with my suggested changes?

Hi @darkred!
I like it! But, there are a few issues that need fixing before we merge.

And maybe replace the explore icon with the trending icon? The megaphone doesn't really fit as an explore button... I'm not sure why I picked it for "explore" in the first place 😉

Added your suggestions (and sorry about the 1st one, it missed my attention).
And, yes, I like the marketplace icon 👍

Thanks!

I'm just putting the finishing touches on another userscript, then I'll double check if everything is updated.


Getting --primary color can be empty, script crashes and doesn't continue

https://github.com/guansss/userscripts/blob/6b7ed7f4da2314f4c85efe143aba02d2954ea78c/userscripts/iwara-enhancement/features/process-teasers.ts#L39
Consistently, color == "", so adjustAlpha throws exception and script doesn't continue. Maybe styles not loaded yet when the script runs. Adding if (!color) return right after this line seems to work.

Didn't notice that, thanks for reporting!


Segmentation Faults in Ruby 2.4

This gem fails on CI due to segmentation faults arising from the Ruby compiler.
You can see the problem in this 2.4 Travis build for the gem. https://travis-ci.org/CodementorIO/rest-firebase/jobs/296898566

Yeah, any idea how to solve this? This has been troubling me for a very long time, and I can't reproduce this locally at all. It seems it would only happen on Travis, on Ruby 2.4, and nothing else.

I've got it failing in the same way on Codeship (another CI tool), so it's not purely a Travis problem.

Was it also using pre-built binary from RVM?

$ rvm use 2.4 --install --binary --fuzzy

The commands that I'm using on Codeship are:
rvm use 2.4.3 --install
gem install bundler
bundle install
export RAILS_ENV=test
DISABLE_SPRING=true bundle exec rake parallel:load_schema
DISABLE_SPRING=true parallel_rspec spec

According to the Codeship docs, the Ruby versions are pre-installed. https://documentation.codeship.com/basic/languages-frameworks/ruby/#rvm
That might be a clue.

Thanks!
I really don't have any evidence at all, and I personally don't use rvm either. But I strongly suspect that RVM might have a broken pre-built Ruby 2.4, as it randomly happened for a long time, and I could never reproduce it locally.
Worst case, we'll never know, until we stop caring about 2.4.
Or if we could see it somewhere reproduced other than using RVM binary, that would be nice, and I could try to debug it.


Fix package filtering with TableSearchService

Support filtering TargetFrameworks and PackageType in BaGet.Azure.TableSearchService in backend service.

Hi, thanks for sending this contribution! Could you explain a little more why you'd like to add this? This won't work as expected with the skip and take parameters. Support all search features using the Azure Table search service is extremely difficult, I was planning on supporting additional features. Happy to hear your thoughts though! :)

Currently if we couldn't implement the searching well with Azure Tables, we have two choices:

To show correct search results, but each page loses several items.
To show correct numbers of items, but the search result is not filtered.

I think the first choice is much better than the second one. The first one may mislead users but the second one only requires users to navigate more pages to see the results.


Why RxSeekBar.changeEvents return SeekBarChangeEvent

Why this method return SeekBarChangeEvent instead SeekBarProgressChangeEvent?
SeekBarProgressChangeEvent is created after all so I see no reason why?
As a temporary workaround I use Observable.cast operator, but this is right behavior?

My mistake! I read source precisely and i see this return different events objects. Sorry!


Explicit font-size:20px breaks themes

I have the Metro UI theme installed (configured to 13px font size) and would like to use seti-icons with it.
Unfortunately the seti-icons package enforces font-size:20px in its stylesheet, which breaks the Metro UI's line heights and selections in the tree view:

After temporarily removing the 20px in the developer panel, the seti-icons were smaller, but the other problems were solved.
Any chance to remove this setting officially and/or replacing it with "icon height = line height"?

I tried messing with this a bit tonight. I couldn't come up with a solution.
Once the icons were smaller, they were then misaligned. I think this would be too large of a change that I am not sure how I would approach it. Even if I added a setting to allow you to force all icons to be the same size, it would have the same affect.
In the ui-mixins.less file, each icon can send in their own font-size, and if you look at icons.less, that is exactly what is happening.

If you would like to take a stab at it, you're more than welcome to send a PR over.

I just published a new version that came from Seti UI's big 1.0.0 overhaul, so this may have been fixed, but if not I will close due to inactivity.


1.7.1.refactor

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.06 :tada:

Comparison is base (e7cbfa7) 72.45% compared to head (8aaddeb) 72.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #137      +/-   ##
==========================================
+ Coverage   72.45%   72.51%   +0.06%
==========================================
  Files          67       67
  Lines        4541     4552      +11
==========================================
+ Hits         3290     3301      +11
  Misses       1251     1251

Impacted Files
Coverage Δ

src/hyfi/__cli__.py
81.39% <100.00%> (ø)

src/hyfi/_version.py
100.00% <100.00%> (ø)

src/hyfi/about/__init__.py
93.18% <100.00%> (ø)

src/hyfi/core/__init__.py
100.00% <100.00%> (ø)

src/hyfi/core/config.py
89.70% <100.00%> (+0.23%)
:arrow_up:

src/hyfi/core/hydra/__init__.py
87.34% <100.00%> (ø)

src/hyfi/main/__init__.py
85.71% <100.00%> (+0.34%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add utilities

❓ What type of PR is this?

[ ] Refactor ♻
[x] Feature ✨
[ ] Bug Fix 🛠
[ ] Optimization 🚀
[ ] Documentation Update 📄
[ ] CI/CD 🤖

💬 Description

This PR includes common tasks for the entire app.
🎟 Related Tickets & Documents

Related Issue #1

🃏 Added/updated tests?
We encourage you to keep the code coverage percentage at 90% and above.

[x] Yes
[ ] Not yet
[ ] No, because this is not necessary.
[ ] No, and this is why:
[ ] I need help with writing tests

🌿 What branch would you like to merge this into?
develop

📷 [optional] What gif best describes this PR or how it makes you feel?

This PR will become obsolete because we’re reorganizing the structure for better clarity and organization. Utilities will be moved to their own folder for easier access, with those for components going into the components folder, among other changes. 📂
Even though the files here are still important, many have been moved, replaced, or refactored as part of this reorganization. 🚧 Please don’t delete the branch, as these files are still valuable. We’re just tidying things up! ✨


Cannot add kubectl completion to /etc/bash_completion.d/ No such file or directory

I'm going through the instructions to enable kubectl bash completion so I can autocomplete my pod names instead of having to type them out all the time however, when I get to the point of adding the kubectl completion scripts to bash_completion.d directory, it turns out I don't have that directory. Raspbian GNU/Linux version 10 (buster) , Bash version is 5.0.3, kubectl version is 1.20.0, _init_completion is a valid function. The /etc/bash_completion file exists but no directory.

Add the completion script to the /etc/bash_completion.d directory:

kubectl completion bash >/etc/bash_completion.d/kubectl
bash: /etc/bash_completion.d/kubectl: No such file or directory
Is something installed wrong or do I just need to create that .d directory for the kubectl completion file? If so do I need to map it in some specific way?

Hi @pssnyder , /etc/bash_completion.d directory is where you would store your user defined bash completion script. Make sure you create that directory and run kubectl completion bash >/etc/bash_completion.d/kubectl again.

Thanks didn't realize that.


Missing content value 'LockedToProjectWithoutNested' for content_permissions when creating a project

Describe the bug
Missing content value 'LockedToProjectWithoutNested' for content_permissions when creating a project. This value is available via rest api but not tsc.
Versions
Details of your environment, including:

Tableau Server version: 2020.3.5
Python version: 3.5

To Reproduce
def create_project(server, project_item):
try:
project_item = server.projects.create(project_item)
print('Created a new project called: %s' % project_item.name)
return project_item
except TSC.ServerResponseError:
print('We have already created this project: %s' % project_item.name)
sys.exit(1)
.......
top_level_project = TSC.ProjectItem(name='Name', content_permissions='LockedToProjectWithoutNested')
top_level_project = create_project(server, top_level_project)
Results
ValueError: Invalid value: LockedToProjectWithoutNested. content_permissions must be of type ContentPermissions.

Hello,
I'm facing same problem, any idea when that would be fixed?
Thanks a lot
Saad

This issue has been fixed in TSC version 0.16.0. Please upgrade to the new version - New version link


[BUG] Can build Omeaga's while using the Space excavation Commander

Attestation
[] I am not using one of the documented incompatible mods
-[] I'm using the Section of Foreign Intelligence for galactic war.
[X] I have confirmed this happens after verifying the games files
[X] I was using the latest graphics drivers
Describe the bug
We can build Omega's while using the Space Excavation Commander even when it should be impossible.
To Reproduce
Steps to reproduce the behaviour:

Play Space Excavator commander
Get offered and select the complete orbital tech
You can build omega's even when the tool tips say it should noe be possible

Expected behaviour
That the Omega's can't be build and that the Complete Orbital tech isn't offered
GWO Info
Taken from the top-right GWO panel:

Version:5.39.2
Difficulty:Bronze
Size:Large
AI:Penchant
Options:Faction Scaling + Easier start

Additional context
Add any other context about the problem here.

Please complete the attestations.

OK :)

Normally I wouldn't investigate an issue if you haven't verified it without other mods disabled, as they can interfere. You should also disabled Section of Foreign Intelligence for Galactic War as GWO comes with a modified copy with additional functionality and the original can cause issues with this.
Thankfully for you I had an idea as to the issue and was able to quickly identify it.

Fixed by 70396d9ff295163061f6dff4b9e15819926d6d03


Build failure: cloudflared

Steps To Reproduce
Steps to reproduce the behavior:

Build cloudflared

Build log
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/3agjbs5qkgglgd7hf13xk8kkv4d0sx67-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Building subPackage ./carrier
Building subPackage ./cfapi
Building subPackage ./cfio
Building subPackage ./cmd/cloudflared
# github.com/quic-go/quic-go/internal/qtls
vendor/github.com/quic-go/quic-go/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration

Additional context
Nixpkgs revision 808c0d8c53c7ae50f82aca8e7df263225cf235bf on nixpkgs-unstable.
Notify maintainers
@bbigras @ericnorris @thoughtpolice @piperswe @QJoly
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.1.0, macOS 14.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.17.1`
 - nixpkgs: `/Users/ryanccn/.nix-defexpr/channels/nixpkgs`

Never mind, seems to be fixed by #263841.


Freescout IMAP connection error - SMTP is connecting

Hey,
I have an issue with the IMAP connection with type of encryption. SMTP is working fine. It is a local connection between two docker containers in same network. Would be about some help.
If using STARTTLS, the log:
Apr 26, 15:30:02 Error fetching email Error: connection failed; File: /www/html/overrides/webklex/php-imap/src/Connection/Protocols/ImapProtocol.php (82)
Dovecot log:
dovecot-mailcow-1  |  dovecot: imap-login: Disconnected: Aborted login by logging out (auth failed, 1 attempts in 3 secs): user=<domain>, method=PLAIN, rip=<IP_ADDRESS>, lip=<IP_ADDRESS>, TLS, TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Using TLS, the log
Apr 26, 15:30:02 Error fetching email Error: connection failed; File: /www/html/overrides/webklex/php-imap/src/Connection/Protocols/ImapProtocol.php (82)
Dovecot:
dovecot-mailcow-1  | dovecot: imap-login: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>, rip=<IP_ADDRESS>, lip=<IP_ADDRESS>
Using none encryption:
Apr 26, 15:34:04 | Error fetching email | Error: connection setup failed; File: /www/html/vendor/webklex/php-imap/src/Client.php (391)
Dovecot:
dovecot-mailcow-1  | dovecot: imap-login: Disconnected: Aborted login by logging out (auth failed, 1 attempts in 0 secs): user=<domain>, rip=<IP_ADDRESS>, lip=<IP_ADDRESS>

This would be better posed in the actual Freescout code repository. If it turns out to be a Docker related issue I will gladly fix but this seems either configuration related or IMAP library related which I deem as upstream.


[INLONG-2051] audit query support mysql and elasticsearch

Title Name: [INLONG-2051] audit query support mysql and elasticsearch
fix #2051
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report

Merging #2147 (f439ab8) into master (2c74fe0) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2147      +/-   ##
============================================
+ Coverage     12.25%   12.27%   +0.02%
- Complexity     1157     1159       +2
============================================
  Files           413      413
  Lines         35243    35243
  Branches       5544     5544
============================================
+ Hits           4318     4327       +9
+ Misses        30153    30147       -6
+ Partials        772      769       -3

Impacted Files
Coverage Δ

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
46.09% <0.00%> (+0.78%)
:arrow_up:

.../java/org/apache/flume/sink/tubemq/TubemqSink.java
55.42% <0.00%> (+4.00%)
: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 2c74fe0...f439ab8. Read the comment docs.


Job not getting created

I keep getting
[KubePlex] Bypassing kube-plex and launching original binary
and I do not see the jobs getting created. Is there anyway to debug this? I already set the "List of IP addresses and networks that are allowed without auth" and "kubePlex:enable:true". With that /data and /transcode mounted properly as well. On plexinc/pms-docker:latest

I did more digging. If I play something that can be directly played. I see the job getting created but not for anything that requires transcording

Plex makes use of a feature (eae) that cannot be easily passed between pods. The kubeplex binary will skip attempting to transfer the binary in such cases.
https://github.com/ressu/kube-plex/blob/b93fe6900321d3d8137048ad4d6fdd867ae0e0ee/cmd/kube-plex/main.go#L144-L152
The error message could be clearer though, so that it was more obvious on what is happening.

That make sense. I wish Plex would give us a official scalable version


Helm chart: service accounts naming confilicts

Describe the solution you'd like
If you try to install two instances of controller to the same you will see an error about two services accounts:
webhook.serviceAccount
certController.serviceAccount
The error is:
invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "external-secrets-controller-instance-1": current value is "external-secrets-controller-instance-2"

It happens because default names for those service accounts are hard-coded in https://github.com/external-secrets/external-secrets/blob/main/deploy/charts/external-secrets/templates/_helpers.tpl
Their names should use (include "external-secrets.fullname" .) prefix instead

Have the same issue, what was the solution?

I realized that my initial assumption was wrong, and I don't need two instances of the controller. Instead I should have one instance of controller but several different SecretStores configured (https://external-secrets.io/v0.5.3/api-secretstore/)


Add (and adjust) a couple of findbar title attributes, in viewer.html, that doesn't agree with the l10n/en-US/viewer.properties file

The point of this patch is to fix a couple of inconsistencies in viewer.html, compared to the locale files, such that the viewer would work correctly even without the l10n/ files present.
Note: Since this isn't changing any of the locale files, we should not need to update any of the string names.
Looking through the history of the findbar code, it seems that the findPrevious/findNext buttons have never had a title set (note PR #2168, which was the initial findbar implementation).
Furthermore, the placeholder of the findInput didn't agree 100% with locale file either, so this is also adjusted.

/botio-linux preview

Thank you for improving this!


fix e2e overriding loop prediction

Proposed changes:

fix e2e overriding loop prediction

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

@wochinge @joejuzl do you know why windows tests fail? I don't seem to add any changes related to spacy

@wochinge @joejuzl do you know why windows tests fail? I don't seem to add any changes related to spacy

@wochinge @joejuzl do you know why windows tests fail? I don't seem to add any changes related to spacy

I think it must be unrelated to your changes, maybe some network issue when pulling in the windows dependencies.

@wochinge @joejuzl do you know why windows tests fail? I don't seem to add any changes related to spacy

I think it must be unrelated to your changes, maybe some network issue when pulling in the windows dependencies.

@joejuzl three times in a raw. Do you have an idea how to solve it?

@joejuzl three times in a raw. Do you have an idea how to solve it?

@Ghostvv this seems to be a problem on master too. I created this test PR and it's failing in the same way. I suspect it's something to do with pypi.

@Ghostvv this seems to be a problem on master too. I created this test PR and it's failing in the same way. I suspect it's something to do with pypi.


API change after 7/8? Null data json

(node:1564) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'match' of null
at SouthernCompanyAPI. (C:\scapi\node_modules\southern-company-api\dist\main.js:123:47)
at Generator.next ()
at fulfilled (C:\scapi\node_modules\southern-company-api\dist\main.js:5:58)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:1564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Line 123 is
const matches = resData.data.html.match(regex);
Added some debug lines and the payload is null at [html]? Everything is null actually. Not sure what it should have looked like before.
{ statusCode: 200,
  message: null,
  data:
   { result: 0,
     token: '6%2bp97GxHMEtrFSuDj_redacted_long_token]',
     errorMessage: 'Login Succeeded.',
     messages: [],
     username: 'redacted_username',
     rememberUsername: null,
     staySignedIn: null,
     recaptchaResponse: null,
     targetPage: 0,
     params:
      { appBannerUrl: null,
        appTheme: null,
        appType: null,
        appID: null,
        returnUrl: 'null',
        cancelUrl: null,
        logonID: null,
        loginUrl: null,
        originalReturnUrl: null,
        origin: null,
        scWebToken: null,
        userID: null,
        addProfileLink: null,
        editProfileLink: null,
        forgotPasswordLink: null,
        forgotInfoLink: null,
        southerncoApplication: null,
        newUserHeaderText: null,
        newUserText: null,
        updateProfileText: null,
        forgotInfoText: null,
        emailValidationTicket: null,
        ticket: null,
        emailAddress: null,
        postTarget: null,
        compactDisplay: null,
        errorDisplayType: null,
        extendedIconVisible: null,
        extendedPopupEnabled: null,
        showLogin: null,
        noTokenReturnUrl: null,
        returnMethod: null,
        tokenEncoding: null,
        mfaConfigInternal: null,
        mfaConfigUnknown: null,
        mfaExcludeInternal: null,
        mfaExcludeUnknown: null,
        firstName: null,
        lastName: null,
        email: null,
        phoneNumber: null },
     html: null,
     redirect: null,
     origin: null },
  isSuccess: true,
  modelErrors: null }

I believe I resolved the issue, let me know if you're still having trouble!


[v2.0][LICENSE] Port #20495

Description
Port #20495. Thanks @hsl89 for the license fixes.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Comments

If this change is a backward incompatible change, why must this change be made.


helm upgrade --values ignored with remote repos

Im trying to install a package from a remote repo using values.yml file used locally. Here is my example command
helm upgrade verdaccio verdaccio/verdaccio \
		--install \
		--values values.local.yaml

The problem im running into is that the values.local.yaml doesnt appear to override the values from the parent repo. (essentially my file is ignored)
I could get this working by specifying the command like this, but ideally I'd just like a clean yaml file where I can manage the configuration for my deployment script
 helm upgrade verdaccio verdaccio/verdaccio \
 	--set ingress.enabled=true \
 	--set ingress.hosts[0]=example.com

The documentation seems to imply that this should work, so i'm not sure if its a documentation problem or perhaps bug?
https://helm.sh/docs/chart_template_guide/values_files/

Ended up being an issue with my values file


save sent transactions?

I would like to say a huge thanks for this.I had been struggling to create a btc wallet in ionic and your code helped me alot!

@akshaynexus thanks for saying that :)


Unable to sign into Azure Storage Explorer

Storage Explorer Version: 1.8.1
Platform/OS: Windows 10 1803
Architecture:  x64?_
Regression From: No
Bug description
Azure Storage explorer was working yesterday. I had a password change today, and for some reason needed to go through setting up of MFA again.
I can sign into the Azure Portal successfully now using my login details and MFA.
Steps to Reproduce

Open the Storage explorer,
Add an Azure Account
Type email address
Application states that its handing over to my company's sign in page.
Then Error "{
"message": ""ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED""
}"

Expected Experience
I expect it to prompt for my password on companys sign in page.
Actual Experience
Not
Additional Context
I have removed the ".identityService" Folder.
I have performed a reset of the application using the "Reset" option under - Help.
I have enabled the check box for "Use Device Code flow", however very similar. When I try to sign in, I get the url and code. When I sign into the browser, the browser states I signed in successfully but he Storage explorer does nothing further.

@n1ckl0ve , please see this section of our troubleshooting guide for help with SSL issues: https://docs.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting?tabs=1804#error-self-signed-certificate-in-certificate-chain-and-similar-errors

Closing due to lack of customer response.


FR: preserve RFC1918 subnets

<IP_ADDRESS>/8 IP addresses: <IP_ADDRESS> -- <IP_ADDRESS>
<IP_ADDRESS>/12 IP addresses: <IP_ADDRESS> -- <IP_ADDRESS>
<IP_ADDRESS>/16 IP addresses: <IP_ADDRESS> – <IP_ADDRESS>

Would be nice if Netconan kept these subnets intact too.

Fixed in https://github.com/intentionet/netconan/pull/112 (these prefixes are preserved but host bits are still anonymized)


Dockerize project

Hello, I am interested in trying your project. Do you have a docker file for your project? If not would you accept a dockerfile as a contribution?

Hello! I don't have a specific Dockerfile for this project, but contributions are welcome


Add table aws_ssm_inventory_entries

References
AWS ListInventoryEntries
Related Go Library Method: func (*SSM) ListInventoryEntries
To fetch data from this API both InstanceId and TypeName are needed.
Note: The table aws_ssm_inventory exists but is not the same as ...inventory_entries

bump

@ParthaI, We can check if this can be a new table or extended in aws_ssm_inventory as a new column.


[svulkan2] [error] GLFW error: X11: Failed to open display

hi,I met this error when I test :
python simpler_env/simple_inference_visual_matching_prepackaged_envs.py
Maybe I can't see the operation window because of this ,how can I solve this ,and also the warning:
[svulkan2] [warning] Continue without GLFW.

I solve this error to set  os.environ["DISPLAY"] = ":1" in the py file,but I still can't see the whole progress in a display window,is it normal or is there something else I don't set correctly.

This is normal. You can ignore the warning.

This is normal. You can ignore the warning.

I mean that after running the program, a window should appear to display the robot's running process,but I don't see any window.Is it normal or the program is just like this with no window displaying

The script does not display a window. Instead, evaluation videos are saved. Please see the script for more details.


gdm fails to start after last update

Describe the bug
gdm fails to start and shows a generic error message
Steps To Reproduce

Update to TOT
Restart

Expected behavior
gdm works
Additional context
From logs:
gdm[1366]: Gdm: GdmDisplay: Session never registered, failing
gdm-launch-environment][1408]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
gdm[1366]: Gdm: Child process -1462 was already dead.
gdm[1366]: Gdm: GdmDisplay: Session never registered, failing
gdm[1366]: Gdm: Child process -1462 was already dead.
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: X.Org X Server 1.20.13
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: X Protocol Version 11, Revision 0
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: Build Operating System: Nix
(...)
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (EE) libinput: TPPS/2 Elan TrackPoint: Failed to set scroll to twofinger
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (**) Option "AccelerationScheme" "none"
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (**) TPPS/2 Elan TrackPoint: (accel) selected scheme none/0
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (**) TPPS/2 Elan TrackPoint: (accel) acceleration factor: 2.000
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (**) TPPS/2 Elan TrackPoint: (accel) acceleration threshold: 4
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (II) event12 - TPPS/2 Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (II) event12 - TPPS/2 Elan TrackPoint: device is a pointer
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (EE) libinput: TPPS/2 Elan TrackPoint: Failed to set scroll to twofinger
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (II) config/udev: Adding input device TPPS/2 Elan TrackPoint (/dev/input/mouse1)
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (II) No input driver specified, ignoring this device.
/nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-x-session[1587]: (II) This device may have been added with another device file.

Notify maintainers
@hedning @jtojnar @dasj19 @maxeaubrey
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.3-zen1, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4`
 - channels(root): `"nixos-22.05pre336298.bc5d68306b4"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Closed by: bcb4b714bdddec94d88ff974f242cdb3f3308dac


changed || to && in event registration

all the registration were showing closed tag due to a mistake in if condition. fixed

also update the active and inactive to lowercase and when user register to event we show actual link to form so i wrote registration closed there change to already register

for an already registered user it shows, "Registered Waiting for Approval". Do you want me to change that to "Already Registered"?


[release-1.11] Fix istioctl x workload entry configure when no proxyMetadata is sp…

This is an automated cherry-pick of #34044

@kevinnoel-be or @howardjohn could you set CLA:yes please

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio_release-1.11
588fe8422db3ba2b9b3db048a148585390b29507
link
/test integ-security-multicluster-tests_istio_release-1.11

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


[soci] Upgrade to version 4.0.0

Upgrade soci to new version 4.0.0 and fix old patches.
All features test pass on triplet x64-windows.
Related issue: #9001

/azp run


Question: Can someone explain how to parse metadata please?

What version of Shaka Player are you using?
Latest as at Feb 7th 2017

Hi all.
I am currently sending meta-data with an RTMP stream from my encoder to Wowza.  This gets parsed by a Wowza module (using an onCuePoints method in Java) and the metadata is then picked up by a js eventlistener.
I would like to replicate this behaviour using Shaka and have noticed there are methods to parse metadata - Mp4TtmlParser and TtmlParser
Will I be able to reuse my onCuePoints handler, or will I need to alter my Java module to deal with the metadata?  In fact, will the metadata in the RTMP stream be lost when it gets sent as DASH?
As you can guess, I need a bit of a steer on this, if anyone has the knowledge.
I am happy to converse via email if more appropriate (neil.mcleish~#At#~rgsit.com)
Many thanks in advance,
Neil.

What do you mean by metadata?  You seem to be talking about text streams (e.g. subtitles).  Do you have an example DASH manifest showing what this looks like?  We don't generate DASH manifests, we only play them.  If you are talking about generating content, you may want to look at google/shaka-packager.
Mp4TtmlParser and TtmlParser parse text streams.  They parse the TTML streams and produce text cues that can be used to display subtitles on the video.
One option would be to add this data to an <EventStream> element (see #462).  When the playhead enters a region specified by this element, an event is raised with the XML element so you can get the data from it.

Hi and thanks for your response.
I will attempt to clarify.
As flash is dying a death, we have the need to replicate our current methodology into a non-flash player.
We currently send cue-points in an rtmp stream.  This stream is sent to Wowza, and the client connects to the Wowza Application.  In order to get the cue-points from the stream, we have a home-built java module which parses the rtmp stream and sends the cue-points as events, so that our JavaScript library can read them and signal a web service to show a slide at that point. So, the viewer sees the video and its relevant slide (png). Another cue-point comes in, js reads it and calls the web service to show the next slide, and so on.
The DASH manifest is generated on the fly by Wowza and we have no interaction with it.
The cue-points are sent out by the human presenter, during their live broadcast, so they are not completely pre-determined. We use Nanocosmos as the encoder, which sends the cue-points with the rtmp stream.
At the client-end, JW player's on(meta, ...) function reads the cue-point, which typically looks like this:
{"TIT2":"{\"Tag\":\"Slide002_16082016091701.png\",\"time\":\"19.1330944\",\"type\":\"UpdateMarker\"}","title":"{\"Tag\":\"Slide002_16082016091701.png\",\"time\":\"19.1330944\",\"type\":\"UpdateMarker\"}","width":1280}'
After that, our own js library takes over, splits that up and sends the necessary pieces to the web service.
So, it it that json string that we wish to extract from the stream when we use Shaka player, rather than JW player.
Does that make it a bit clearer, or have I succeeded only in muddying the water further? :-)
Many thanks,
Neil.

Hi again. I have attached a top-level overview of the process, in case it helps.
Many thanks,
Neil.

To be honest, this is outside of our experience.  :-)  But we will try to understand and see what we can do to help.
How does your JS library receive these cue points?  Does it poll the server?
What do you need Shaka Player to do with these cue points?  It seems that in your diagram, your code will feed them to the player.  Is that right?

Hi Joey. Thanks for your reply.
Ok, so bearing in mind that I am currently doing this with JW player, there is a method in the JW library, on('meta') which is essentially an event listener:
https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_reference/#metadata
I use that to get the data attached to the onCuePoint event which comes in from Wowza (the java module) with the rtmp stream.  I can then pick up that data in our own JS library and process it as required.  That usually involves sending a timestamp found in the data to a web service which then updates the stage with a new slide image. We will also use it to show a quiz, or a chat window and record some stats.
I can give you the source of the java module to look at, if interested? It isn't opensource though (although I believe parts of it are), so confidentialty applies etc.
We will need to continue using JW for IOS and any other platform/browser which doesn't yet support MSE. We have a client who runs a Citrix Xendesk environment, with Flash redirection in place, and JW is not working for them. We also believe that the Flash redirection will split the event data from the stage anyway, which would mean we can't read it at all; meaning that a non-JW solution is hugely desirable for those users.
I hope that makes our use-case a bit clearer?  I am happy to give you access to our system, if you want to investigate further.
Many thanks and best regards,
Neil.

So it looks like VTT allows for embedded metadata.  Some apps (like JW player) seems to interpret the cues as JSON and pass it to the app.  Is this how your setup works?
Please provide us with (at least a copy of) the DASH manifest that Wowza is generating.  This will allow us to see how the metadata is being sent and if we can handle this case.  You can send it to me privately if you want (my email is in CONTRIBUTORS and on my profile).

I will try and get a manifest from Wowza. It generates them on the fly, so it isn't as easy as grabbing a file.

@neilRGS Any updates on this?
I would think this would be fairly easy to get.  Don't you pass the manifest URL to JW Player?  You could also open up DevTools and look at the network tab for the manifest (probably has a .mpd extension).

Closing due to inactivity.  We can reopen if/when you are ready, @neilRGS.  Thanks!


Doesn't detect root on devices with Magisk

The library fails tests on devices rooted via Magisk.

This has been solved by Pull Request #66


Update Minecraft wiki link to new domain

The Minecraft Fandom wiki has been forked to a new domain: minecraft.wiki. Learn more here: https://minecraft.wiki/w/Minecraft_Wiki:Moving_from_Fandom. This PR updates the old wiki link accordingly.

Thank you!


Data is not synchronized

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
When I delete a message in a deleted folder of k9, the web page should also delete the message.
Actual behavior
But the result is that message not delete
there is some warning log：
Attempt to interrupt null mConnection to stop pushing on folderPusher...
Environment
K-9 Mail version:The latest version
Android version:Each version exists
Account type (IMAP, POP3, WebDAV/Exchange):IMAP

I am having a similar issue. I am getting several "cannot connect to host" errors in my K-9mail Errors folder. Along with "push disabled". It's causing the app to notify me of the same messages repeatedly, even though they are already read


return an error when combining DoNothing() and ID() with PostgreSQL

Fixes #1821.

Note, that it not just the ID() that returns sql.ErrNoRows, but Exec() too, it just discards the value but is similar otherwise.


Error code 429 with just 1 request!

Describe the bug
I first encountered this error after just 126 followers were scraped from the account I'm trying to obtain a full followers list. But after that it continuously kept giving me this error after the waiting time. After one hour that it didn't restart the scraping but continued to give me the error 429 I decided to stop it.
I tried another time after a couple of hours and set max_connection_attempts=0 as suggested (here)[https://instaloader.github.io/troubleshooting.html#too-many-requests] and this is the error that it gives me after writing just the header in the csv file.
I don't understand what's wrong.
Error messages and tracebacks

HTTP error code 429 was returned because too many queries occured in
the last time. Please do not use Instagram in your browser or run
multiple instances of Instaloader in parallel.
GraphQL requests:
other
last 10 minutes: 1 requests
last 11 minutes: 1 requests
last 15 minutes: 1 requests
last 20 minutes: 1 requests
last 30 minutes: 1 requests
last 60 minutes: 1 requests

Instaloader version
4.3.2
PS: In the error there's written "occured" but it's a typo, there should be 2 Rs. I don't want to grumble ahah, just want to signal an error.
Thank you so much to those who'll help me.

I have that problem when I'm trying to do os.environ proxy.
Check your proxy/vpn

429 are always frustrating. Some other 429 related issues indicate this might be some kind of blocking which may be released within 24 hours.

PS: In the error there's written "occured" but it's a typo, there should be 2 Rs. I don't want to grumble ahah, just want to signal an error.

Thanks for that hint! At least something that we can fix here…


[SPARK-18097][SQL] Add exception catch to handle corrupted metadata scenario while dropping the table

What changes were proposed in this pull request?
Add exception catch to handle corrupted meta data scenario while dropping the table
How was this patch tested?
Unit tests
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

This patch would be catching the exception happening while the metadatacheck(due to getting corrupted) and continue with a warning log and continue with the drop operation...

Hi @jayadevanmurali, are you still working on this? It seems inactive for few months. Maybe, it might better be closed for now if you are currently not able to proceed further.

Hi @HyukjinKwon ,
I tried to corrupt the metadata by editing files under spark/warehouse directory. But it is not working. Do you have any idea to corrupt metadata manually.
Thanks

Actually, I don't know (or heard of) how the schema is corrupt. I guess any committer should verify this before merging it. How about asking this to dev/user mailing list if you are not sure? If it is expected to be open without the reproducible steps for a long time (like few weeks or months), I guess we maybe should better close this for now and then open it latter.

Can one of the admins verify this patch?


Support nested parameters

Supporting nested parameters expansion should be straightforward:

collect non-nested parameters
expand
loop until there is no expansion happening

This has been included in 0.21


Feature Threading support for ThreadX

In this PR includes

Azure RTOS ThreadX threading support (Thread, Mutex, Semaphore)
Building the library with CMake

Test configuration

Nucleo STM32H743ZI2 board as rpc server over UART transport @ 115200 Baud, 8n1
Toradex iMX8m Mini SOM DK (Torizon/Yocto Linux) as rpc client over serial transport @ 115200 Baud, 8n1

Hi and thank you very much for new OS port. Amazing.

Thank you for your comment @Hadatko

Hi, i am not against CmakeList usage. Many people were requesting CMakeList instead of Makefiles. But origin author was against CmakeLists usage. But i don't remember a reason.

Hi @MichalPrincNXP,
Thanks for the review. Please find the answer under your comment.

you are using erpc_port_stdlib.cpp in the cmake file but erpc_port_threadx.cpp (missing in erpc_c\port) should be used/created (like for other OSes)
In my case, using the erpc_port_stdlib.cpp doesn't cause any problem. However I can add a separate port file for ThreadX.

I am not sure about adding the cmake file, we have not been supporting them since now, did you have a chance to use make/makefile? @Hadatko what is your opinion on that?
You can simply ignore it if it cause any inconvenience. Also no need a Makefile because it is not related with Linux/Windows OS tools.

similar to #81 , we are not able to test and maintain the ThreadX support, are you OK with routing community questions/issues about ThreadX support to you to be addressed?
Yes, I am. If you are OK, you can forward any issue related the ThreadX support.

Thanks and regards,
Ibrahim

Hello @ierturk , thanks for the response and the commitment to handle ThreadX-related questions/issues. As for erpc_port_threadx.cpp I would prefer to add it. As for CmakeList, I would prefer to remove it as it is not systematic when there is no generic Cmake support now. We can decide later to support it, ok? Could you please prepare the PR update? Once done I will merge this PR. Thank you.

Hi @MichalPrincNXP,
I'll update the PR as per your request and let you know. I'll remove the CMakeList file and create a separate port file.
Regards.

Hi @MichalPrincNXP,
I've already modifed source as per your request, tested on my hardware and updated the PR.
Regards,
Ibrahim


Add second deep-dive XAI notebook

The second part of showing Explainable AI toolkit functionality.
First part: https://github.com/openvinotoolkit/openvino_notebooks/pull/2150

@negvet Some elaboration from my side:
Do you mention somewhere that the model actually predicting retriever_class_index = 206? - No, I ommited the inference call for simplicity, basically we can check saliency map for every class. I will mention that it's the predicted class, but won't add the code. Is it okay or it's better to be more transparent here?
At your basic usage, both preprocess_fn and postprocess_fn are optional, right? If yes, this is not correct Explainer will perform model inference but for that it requires preprocess_fn and postprocess_fn - actually, that's a question. If auto mode fails it runs black mode that requires postprocess mode. In basic mode, for simplicity we can not mention that and hope that white mode for chosen model will work. But I was afraid of issues that can appear with another model, so I mentioned that. I'll move this info from Basic usage to pre-, postprocess_fn, thank you.
targets=retriever_class_index for single target - I put it as a list to be able to update targets with more indexes easily without checking docs. I'll remove the list, but leave the comment, thank you.

I will mention that it's the predicted class, but won't add the code. Is it okay or it's better to be more transparent here?

It is ok just to mention I think.

But I was afraid of issues that can appear with another model, so I mentioned that.

I got it. It just was a bit confusing - functions are required buy actually not used in the example.
I agree, let's just move this elaboration down.

I wanted here just to show the command how to run explainer for all classes. Saliency maps are not visualized here for a sake of saving space. Your comment is valid but it is better to show it in the 3rd interpretation notebook.

View entire conversation on ReviewNB

Great paragraph, thank you

View entire conversation on ReviewNB

The model in the notebook example doesn't have the named output so it fails then I access "logits". So I have to access logits as the first output of the model here

View entire conversation on ReviewNB

@eaidova Thank you for your valuable feedback, made updates, please, take a look

Yes,the intention here is to see how these label names will look like: without the whole Imagenet name, that contains 3 options usually, with underscore. I think, it's useful, to know, which label name to expect

View entire conversation on ReviewNB


[webpack-dev-middleware] HookWebpackError: self is not defined

Hi, very excited about this plugin. Really want this to work 😃
However, I am getting the below error when trying to use it in my project (IN DEV MODE i.e webpack serve)::
[webpack-dev-middleware] HookWebpackError: self is not defined -- inner error -- ReferenceError: self is not defined

My Config is as follow::
(Bare minimum for testing)

I hope you can resolve this ASAP. Let me know if I am missing something.
Thank you!

Hello @kumardeepakxyz,
thank you for usage.
Yes, I know about this limitation.
The webpack serve  is currently  not supported yet.
But I work to add this feature.
The support  webpack serve will be added in next version of the plugin.
Currently works following modes:
webpack --mode=production
webpack --mode=development
webpack --watch

Okay, when is the launch of next version?
Also, how can we dynamically inject JS and CSS (from SCSS) into the templates?

Okay, when is the launch of next version?

In lunary 2022. Now we have Christmas and Sylvester :-)

Also, how can we dynamically inject JS and CSS (from SCSS) into the templates?

Add JavaScript source in template
script
  include ./script.js

Add JavaScript in template
I'm not sure whether following works:
head
  link(rel='stylesheet' href=require('./path/to/src/main.scss'))
  script(src='./path/to/src/main.js')

to replace original asset names with hached names like main-fjg234g52j4.js or styles-fdwdf6w876w.css can be used an asstes manifest plugin to replace names.

I compile the JS, SCSS via Webpack and add compiled names of assets in template:
head
  link(rel='stylesheet' href='assets/css/styles.css')
  script(src='assets/js/main.js')

Usage  JavaScript  Library in template
say-hello.js
module.exports = function (name) {
  return `Hello ${name}!`;
}

pug template
- var sayHello = require('./say-hello.js')
h1 #{ sayHello('pug') }

Usage  JSON data in template
data.json
[
  { "id": 1, "name": "abc" },
  { "id": 2, "name": "xyz" }
]

pug template
- var myData = require('./data.json')
each item in myData
  div #{item.id} #{item.name}

P.S. more information and examples see by pug-loader

I will keep watch for the new version with fixed WEBPACK SERVE config as it number 1 requirement for me. Till time I will continue with html-webpack-plugin.
Enjoy your holidays 🎉
Wish you Merry Christmas & Happy New Year 🥳

@kumardeepakxyz Happy New Year!
Can you please try the version 1.2.0-alpha3, update your package.json.
Now should work the webpack serve.
Your can try run the worked example:
clone https://github.com/webdiscus/pug-plugin.git
cd ./examples
npm i
npm run start

NEW: now supports require of styles directly in pug template without define the scss in webpack entry.
add to pug:
link(href=require('~Styles/styles.scss'))

add to webpack.config.js:
const isProduction = process.env.NODE_ENV === 'production';
...
plugins: [
    new PugPlugin({
      modules: [
        PugPlugin.extractCss(), // add the module to extract CSS
      ],
    }),
  ],
  module: {
    rules: [
      {
        test: /\.(css|sass|scss)$/,
        type: 'asset/resource', // add this for usage in pug, like `link(href=require('~Styles/my-styles.scss'))`,
        generator: {
          filename: 'assets/css/[name].[hash].css[query]', // save extracted style in public path
        },
        use: [ 'css-loader', 'sass-loader' ],
      },
    ],
  },
...

Hello @kumardeepakxyz,
new version 1.2.0 is released.

Also, how can we dynamically inject JS and CSS (from SCSS) into the templates?

Hello @kumardeepakxyz,
I have new release 2.1.0 with dynamically injection of JS and SCSS.
Now is possible to use the source files of styles and scripts directly in pug.
link(href=require('./styles.scss') rel='stylesheet')
script(src=require('./main.js'))

The generated HTML contains hashed CSS and JS output filenames.
<link rel="stylesheet" href="/assets/css/styles.05e4dd86.css">
<script src="/assets/js/main.f4b855d8.js"></script>

The required styles and scripts in pug do not need to define in the webpack entry. All required resources will be automatically handled by webpack.
The example of webpack.config.js:
const PugPlugin = require('pug-plugin');
module.exports = {
  entry: {
    index: './src/index.pug' // extract html, css and js from pug
  },

  output: {
    path: path.join(__dirname, 'dist/'),
    publicPath: '/',
    // output filename for JS files
    filename: 'assets/js/[name].[contenthash:8].js'
  },

  plugins: [
    new PugPlugin({
      modules: [
        PugPlugin.extractCss({
          // output filename for CSS files
          filename: 'assets/css/[name].[contenthash:8].css'
        })
      ]
    })
  ],

  module: {
    rules: [
      {
        test: /\.pug$/,
        loader: PugPlugin.loader,
        options: {
          method: 'render', // for fastest compilation
        }
      },
      {
        test: /\.(css|sass|scss)$/,
        use: ['css-loader', 'sass-loader']
      }
    ],
  },
  // ...
};


feat: restriction of scalars for (pre)sheaves of modules

Thanks @callesonne for your suggestions!

Can I approve it after these changes? Or should I wait for someone more experienced to also review it?

In general, you may very well approve PRs: it shall be a useful information for mathlib reviewers and maintainers (the later are the only ones that are allowed to merge PRs).

Thanks! (and also thanks Calle for reviewing!)
maintainer merge


dapr in k8s mult  pod cannot start use kafka pubsub

ver  1.5
netcore 5.0
use components pubsub
pubsub use SDK Topic("pubsub","")
=========================================================================
pubsub.yaml
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: pubsub
spec:
type: pubsub.kafka
version: v1
metadata:

name: brokers
value: "xxx"
name: consumerGroup # Optional. Used for input bindings.
value: "group1"
name: clientID
value: "{uuid}"
name: authRequired
value: "false"
name: consumeRetryInterval
value: "10"
name: maxMessageBytes
value: "2048"

the question is   if   consumerGroup use "group1" then mult pod is not start will be Kick each other
if  consumerGroup use {uuid} mult pod is run very ok
but the message will receive all sub topic  in app    not good
so
i test pubsub.redis  is ok

@Taction @yaron2 @pkedy


clique_emebdding fails where minorminer succeeds

Description
pegasus.clique_emebdding fails to embed a K5 in a K_44 cell.
To Reproduce
import dwave_networkx as dnx
from dwave.embedding import *
P1 = dnx.pegasus_graph(2, node_list=[4, 5, 6, 7, 40, 41, 42, 43])

embedding = pegasus.find_clique_embedding(5, target_graph=P1)

returns ValueError: No clique embedding found
k5 = nx.complete_graph(5)
embedding = minorminer.find_embedding(k5, P1.edges)

finds the embedding.
Expected behavior
Clique embedding should succeed too.
Environment:

OS: WIN/UNIX
Python version: 3.6.5

Additional context

I believe this is expected behavior. If we were being more verbose, the find_clique_embedding function should be more correctly named find_regular_clique_embedding - embeddings that have all equal chain length. The result is that minorminer, by relaxing the equal chain length requirement, can find embeddings that the clique embedding function cannot.
Additional Context
I recall that in Pegasus, regular might actually mean "nearly equal", but I don't remember the rules. @boothby can comment further.

The "clique embedder" searches for cliques of a very specific structural description, in a Chimera graph.  We exploit that structural description to produce a polynomial-time algorithm which is effective at "solving" an otherwise NP-Hard problem.
The K_5 you're looking for does not fit into that structural description.  In general, I have an unpublished description of a K_{4n+1} into a C_n with nearly-uniform chainlengths -- a similar algorithm exists to find those embeddings, but implementing it is currently a lot of effort compared to the actual payoff (e.g. it is very rare that masks contain few enough defects to yield that embedding).
I would recommend against putting a bunch of effort into testing this code, as it's soon going to be replaced wholesale.

Thanks @boothby and @arcondello. I was not testing, I was naively using: the description does not include the details now explained.
Given a clique (fully connected graph) and target Pegasus graph, attempts to find an embedding by transforming the Pegasus graph into a K2,2 Chimera graph and then applying a Chimera clique-finding algorithm. Results are converted back to Pegasus coordinates.

This issue can be used to update the description if the limitations will still apply to the new code.
Thanks!

That's a great description, thank you.

I believe this is resolved.


[Bug]: Collapsible menus on reload (with state closed saved) don't re-expand correctly

Installation Method
Docker
The Problem
Collapsible menus on reload (with state closed saved) don't re-expand correctly

Version of Stirling-PDF
0.33.1
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
No response
Docker Configuration
No response
Relevant Log Output
No response
Additional Information
No response
Browsers Affected
Chrome
No Duplicate of the Issue

[X] I have verified that there are no existing issues raised related to my problem.

I've reviewed this issue and observed the behavior on the live site as described. I've started working on resolving it and will share updates or a pull request soon.