Make @mui/icons-material independent from @mui/material in the future?

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Hey, @siriwatknp,
Are there any plan to make @mui/icons-material that not depends on @mui/material in the future?
I'm working on a side project that use @mui/joy. The auto import vscode intellisense sometime import components from @mui/material instead of @mui/joy.
I can't remove @mui/material because @mui/icon-material rely on that package.
Examples 🌈
No response
Motivation 🔦
Better DX and potential smaller bundle size ( if user import TextField from both @mui/joy and @mui/material )

@xiaoyu-tamu Thanks for the feedback. We discussed this internally earlier about Joy UI feat. material-icons without having to install @mui/material.
I will create a POC version and wait for upvotes first. At least the current status is not a blocker.

Is there any update on when this improvement will be completed?

Any updates on this? It is been more than 1 year.

Any updates on this? It is been more than 1 year.

I am working on it in #35637

Hey guys,
I got an issue when following the steps here https://mui.com/joy-ui/integrations/icon-libraries/
In GitLab CI/CD pipeline I get this error
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["<EMAIL_ADDRESS>is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-@mui-material-5.0.0-beta.18-24f708a71bfa1c5b593290b202fb97e0f0f99143-integrity/node_modules/@mui/material" as pattern ["@mui/material@npm:@mui/joy@latest"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>[4/4] Building fresh packages...
yarn run v1.22.19
...
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve '@mui/joy' in '/builds/app/...

This only happens when the resolution of MUI uses the same version as JOY.
example of yarn.lock that fails (@mui/material resolution is the same version of @mui/joy)
"<EMAIL_ADDRESS>"@mui/material@npm<EMAIL_ADDRESS>  version "5.0.0-beta.18"
  resolved<EMAIL_ADDRESS>  integrity sha512-TxEo7kqEnbjB5S8cyFrytWjzhxW12UxkEJOT0QM8WpwaBN3Ie1okFuo2bnFW94vYFZperW97/H/08cqqS/2JPA==
  dependencies:
    "@babel/runtime" "^7.23.5"
    "@mui/base" "5.0.0-beta.27"
    "@mui/core-downloads-tracker" "^5.15.0"
    "@mui/system" "^5.15.0"
    "@mui/types" "^7.2.11"
    "@mui/utils" "^5.15.0"
    clsx "^2.0.0"
    prop-types "^15.8.1"

example of yarn.lock that works (@mui/material resolution is different than the version of @mui/joy)
"<EMAIL_ADDRESS>  version "5.0.0-beta.18"
  resolved<EMAIL_ADDRESS>  integrity sha512-TxEo7kqEnbjB5S8cyFrytWjzhxW12UxkEJOT0QM8WpwaBN3Ie1okFuo2bnFW94vYFZperW97/H/08cqqS/2JPA==
  dependencies:
    "@babel/runtime" "^7.23.5"
    "@mui/base" "5.0.0-beta.27"
    "@mui/core-downloads-tracker" "^5.15.0"
    "@mui/system" "^5.15.0"
    "@mui/types" "^7.2.11"
    "@mui/utils" "^5.15.0"
    clsx "^2.0.0"
    prop-types "^15.8.1"

"@mui/material@npm<EMAIL_ADDRESS>  version "5.0.0-beta.6"
  resolved<EMAIL_ADDRESS>  integrity sha512-jDWPHSO0gLbnw1XUaWRSQEklV6sen7Ypmfil3MPyiOf1nA+WOC3SxD4S12Eky3lQeWMlNtf9Xg4P4s6GAHJSLw==
  dependencies:
    "@babel/runtime" "^7.22.15"
    "@mui/base" "5.0.0-beta.15"
    "@mui/core-downloads-tracker" "^5.14.9"
    "@mui/system" "^5.14.9"
    "@mui/types" "^7.2.4"
    "@mui/utils" "^5.14.9"
    clsx "^2.0.0"
    prop-types "^15.8.1"

I think having the resolution and the same version is the intended approach, nevertheless, that breaks the CI/CD pipeline.
Any suggestions?
Thanks!

Hey guys,
I got an issue when following the steps here https://mui.com/joy-ui/integrations/icon-libraries/ In GitLab CI/CD pipeline I get this error
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["<EMAIL_ADDRESS>is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-@mui-material-5.0.0-beta.18-24f708a71bfa1c5b593290b202fb97e0f0f99143-integrity/node_modules/@mui/material" as pattern ["@mui/material@npm:@mui/joy@latest"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>[4/4] Building fresh packages...
yarn run v1.22.19
...
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve '@mui/joy' in '/builds/app/...

This only happens when the resolution of MUI uses the same version as JOY.
example of yarn.lock that fails (@mui/material resolution is the same version of @mui/joy)
"<EMAIL_ADDRESS>"@mui/material@npm<EMAIL_ADDRESS>  version "5.0.0-beta.18"
  resolved<EMAIL_ADDRESS>  integrity sha512-TxEo7kqEnbjB5S8cyFrytWjzhxW12UxkEJOT0QM8WpwaBN3Ie1okFuo2bnFW94vYFZperW97/H/08cqqS/2JPA==
  dependencies:
    "@babel/runtime" "^7.23.5"
    "@mui/base" "5.0.0-beta.27"
    "@mui/core-downloads-tracker" "^5.15.0"
    "@mui/system" "^5.15.0"
    "@mui/types" "^7.2.11"
    "@mui/utils" "^5.15.0"
    clsx "^2.0.0"
    prop-types "^15.8.1"

example of yarn.lock that works (@mui/material resolution is different than the version of @mui/joy)
"<EMAIL_ADDRESS>  version "5.0.0-beta.18"
  resolved<EMAIL_ADDRESS>  integrity sha512-TxEo7kqEnbjB5S8cyFrytWjzhxW12UxkEJOT0QM8WpwaBN3Ie1okFuo2bnFW94vYFZperW97/H/08cqqS/2JPA==
  dependencies:
    "@babel/runtime" "^7.23.5"
    "@mui/base" "5.0.0-beta.27"
    "@mui/core-downloads-tracker" "^5.15.0"
    "@mui/system" "^5.15.0"
    "@mui/types" "^7.2.11"
    "@mui/utils" "^5.15.0"
    clsx "^2.0.0"
    prop-types "^15.8.1"

"@mui/material@npm<EMAIL_ADDRESS>  version "5.0.0-beta.6"
  resolved<EMAIL_ADDRESS>  integrity sha512-jDWPHSO0gLbnw1XUaWRSQEklV6sen7Ypmfil3MPyiOf1nA+WOC3SxD4S12Eky3lQeWMlNtf9Xg4P4s6GAHJSLw==
  dependencies:
    "@babel/runtime" "^7.22.15"
    "@mui/base" "5.0.0-beta.15"
    "@mui/core-downloads-tracker" "^5.14.9"
    "@mui/system" "^5.14.9"
    "@mui/types" "^7.2.4"
    "@mui/utils" "^5.14.9"
    clsx "^2.0.0"
    prop-types "^15.8.1"

I think having the resolution and the same version is the intended approach, nevertheless, that breaks the CI/CD pipeline.
Any suggestions? Thanks!

still no updates?

Am I correct that without removing the dependency on @mui/material, it's impossible to use JoyUI, Material Icons, and components from MUI X (such as DataGrid) all together?
Using JoyUI + Material Icons requires the package-manager resolution hack to make @mui/material resolve to @mui/joy, but this seems to break MUI X components (which depend on @mui/material and I guess can't use JoyUI instead the way Material Icons can).


metrics: ensure compose 500 are genuine

Verify that we don't consider user error as a failure, only true internal errors.
This might mostly be a composer issue.

I have a WIP for the worker metrics and tested this locally. So far it looks like the 500 errors are genuine and
4xx errors aren't counted in the metrics. I'll carry on testing this a bit more though over the next few days.

This looks like it is fine:


libcap: 2.44 -> 2.46, libcap_ng: 0.8 -> 0.8.2

Motivation for this change
Update libcap to version 2.46 and libcap_ng to version 0.8.2
In libcap CAPSH_SHELL changed to full path bash - fixed this warning:
capsh.c: In function 'main':
capsh.c:787:6: warning: implicit declaration of function 'execvpe'; did you mean 'execvp'? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
  787 |      execvpe(argv[i], argv+i, envp);
      |      ^~~~~~~
      |      execvp
capsh.c:787:6: warning: nested extern declaration of 'execvpe' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wnested-externs-Wnested-externs8;;]

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I renamed the PR to better reflect the updates.

I renamed the PR to better reflect the updates.

cc @Mic92 @zowoq @dtzWill

cc @Mic92 @zowoq @dtzWill


Peer disconnected callback not firing on linux server.

Running a server on linux refuses to call the peer disconnected method on peers that have timed out unless they reconnect or the application turns back on.
LNL.zip
Check the zip

Library version: Master from a few hours ago,
Framework: Unity
OS: Linux

It appears that this only happens when the client is running in the unity editor.


Read a promotion resource

As a Promotion Manager
I need the ability to read a promotion
So that I can find details of specific promotion id
Assumptions:

We will store the promotion details in a PostgreSQL database
An promotion has an id, product id, duration and deals on products, such as sale, buy 1 get 1 free, 20% off

Acceptance Criteria:
Given there is at least one promotion in the database
When I read a promotion with its id
Then there should be displayed the detail of the promotion

There should also be a time duration column for reading the resource (example: sale for one week, etc)


First time UX improvements

Follow-up for issue-67

[x] --list-workloads support
[x] ensure cli args get templated into yaml scripts
[ ] unit tets
[ ] --list-workload-arguments for workloads with scenarios
[x] doc updates around built in workloads
[x] mv baselines to activities

https://github.com/nosqlbench/nosqlbench/tree/issue-84

mysteriously failing test:
https://github.com/nosqlbench/nosqlbench/commit/966daf1fb8983e3eb950661cac2324cb9056831a#diff-f8583cfd45224dc009a9fdd82e144c5aR244

Addressed in:
https://github.com/nosqlbench/nosqlbench/pull/86


proper count

since prisma now supports count args, we can now send the filters to the count
(currently, the count is unfiltere and therefor too big)

this is solved in current version (client 1.2.0, backend 1.1.0)


Question: TLS 1.2 support

With Twitter removing support for TLS versions prior to 1.2, I wanted to confirm that no changes would be required to node-twitter.
Here's a link to the announcement post from the developer forum: Removing support for legacy TLS versions (1.0/1.1) on Twitter

`These dependencies were not found:

fs in ./node_modules/request/lib/har.js
net in ./node_modules/forever-agent/index.js, ./node_modules/tough-cookie/lib/cookie.js and 1 other
tls in ./node_modules/forever-agent/index.js, ./node_modules/tunnel-agent/index.js`

Getting this dependencies error when running the app! 🙄


Split test files and update submodule CMake

Fixing #1096.

Awesome! Did you check if that reduces the memory to less than 2GB?

No, but for sure it will reduce the overhead. The other test files contain larger compilations units ;)

Ok, just checking if it was fully fixing/closing the mentioned issue :-)


prepareForCheckout() has to be called twice the first time

So we're observing what appears to be a minor bug.
The first time after we've started our app and logged in, we have to call prepareForCheckout() twice in order for the terminal to wake up.
Subsequently, it seems to work; even after the device has entered hibernation.

I have a related issue where I sometimes get the following error when calling prepare:
onTransportError() PinPlusReaderError{Name = TRANSPORT_ERROR mErrorCode=3}
This results in that the pinpad does not prepare it self and the upcoming transaction take a long time.

We found a workaround where we don't call prepare if there currently is a bluetooth connection icon on the terminal.


add rounding modes ROUND_UP and ROUND_DOWN

There are use cases for both rounding up and rounding down.

@mathiasverraes If this PR is going to be merged, I would be happy to add another PR for the nextrelease branche.

Seems like a reasonable addition.

@camspiers Thanks, just removed the space.

:+1: I think you should open a PR against nextrelease as well.

@sagikazarmark Done.

:+1:


steam-run/steam-run-native can't be overriden

Issue description
nixpkgs.steam can easily be override as in the below example, making it easier to add additional packages:
{ config, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    (steam.override ({
      withPrimus = true;
      extraPkgs = pkgs: with pkgs; [
        bumblebee
        glxinfo
      ];
    }))
  ];
}

However steam-run and steam-run-native (the chroot that simulates a FHS environment) does not support override parameter. It used to support when steam-run was part of steam package, however since the separation it does not work anymore.
Since one of the objectives of the split between steam and steam-run was to allow people that want to run non-patched binaries in NixOS without installing the whole steam package, it would be interesting to support override in  steam-run too.

@thiagokokada Hello. I figured this out. "steam-run" as attribute name is only reference to "steam.run", which is part of "steam.meta". The "steam.run" actually physically writes the script with name "steam-run" on the filesystem, so you can use it this way:
{ config, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    (steam.override {
      withPrimus = true;
      extraPkgs = pkgs: [
        bumblebee
        glxinfo
      ];
    }).run
  ];
}

Note the ".run".
Also see, I updated the Wiki.

Closing this issue since @cx405 found how to fix it. Thanks!


Add error tests for properties and primitives

These two tests cover the most common Vipr crash scenarios and validate error-handling branch changes.
If we want full test coverage, we will need to create constructors for EntitySets and Singletons, as well as write capability annotation tests.

@cbales,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


add name_description for the disk

Would be nice to have an option to specify disk description in the terraform script.
Something like:
resource "xenorchestra_vm" "vm1" {
...
 disk {
    sr_id      = "111111111-22222-333-444-555555555"
    name_label = var.vm_name
    name_description = "MY DISK DESCRIPTION"
    size =<PHONE_NUMBER>0
  }
}

Thank you.

With the latest improvements made in #89, this is more approachable to implement.

@moisei this has been implemented in v0.11.0 of the provider.


python3Packages.vt-py: 0.12.0 -> 0.13.0

Motivation for this change
https://github.com/VirusTotal/vt-py/releases/tag/v0.13.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

ioccheck
python38Packages.vt-py
python39Packages.vt-py


scroll jumps too much sometimes

Version: 1.27.2 (system setup)
Commit: f46c4c469d6e6d8c46f268d1553c5dc4b475840f
Date: 2018-09-12T16:17:45.060Z
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Happens in all platforms: Windows, Mac, Linux
This one is very hard to reproduce and happens randomly, and happens in the editor & terminal view. Sometimes after reading stuff on the internet I come back to vs code and scroll a a single tick with my mouse wheel and it jumps by more than a full page. On linux it's most pronounced as it jumps all the way to the bottom.  This seems to happen only when vs code has been inactive for a while and when I return. It doesn't always happen and I don't know anyway to reproduce this 100% of the time. I feel like the latest version it happens more often.
Here are my settings:
{
    "files.autoSave": "onFocusChange",
    "editor.rulers": [
        80,
        100
    ],
    "editor.smoothScrolling": true,
    "editor.fontFamily": "'DejaVu Sans Mono', Consolas, 'Courier New', monospace, 'Segoe UI Emoji'",
    "editor.fontWeight": "bold",
    "files.eol": "\n",
    "editor.minimap.enabled": false,
    "window.zoomLevel": -1,
    "editor.fontSize": 12,
    "editor.folding": false,
    //"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
    "C_Cpp.commentContinuationPatterns": [],
    "terminal.integrated.fontSize": 12,
    "terminal.integrated.fontFamily": "'DejaVu Sans Mono'",
    "editor.dragAndDrop": false,
    "window.titleBarStyle": "custom"
}

I'm guessing this is related to Electron as it affects all platforms, can you see if it happens on our experimental Electron v3 builds?

macOS: Download
Linux: Download
Windows: Download

Yeah It might be electron as I experience the same thing in the Slack app. I'll continue using the experimental builds and let you know if it happens.

after googling this is probably a duplicate of the issue with this comment https://github.com/Microsoft/vscode/issues/28795#issuecomment-391258341 That comment is probably on to something as I couldn't replicate the issue with the steps of OP. But if I use my trackpad then my mouse scroll wheel smooth scrolling is disabled for a little while. The experimental and stable builds on windows behave the same way as I described.

so I've been using both versions stable and experimental. And so far both of them are behaving fine. Once I'm focused on triggering a bug it's so much more harder to trigger it lol.


What License to Use?

Which license should we pick? I am personally partial to the MIT license, but am open to whichever works for us.

We group 3 are using Apache 2.0.

MIT license sounds good.

Is a license even required?

Its not required for the project, (in terms of points) but it is a good practice, as its technically always required for your code @AhmedCode99. I am closing the issue, I believe it's resolved.

I guess, which ever license it is, it doesn't matter, as long it allows it.

I guess, which ever license it is, it doesn't matter, as long it allows it.


iohk-nix bump and improvements

@michaelpj This switches plutus to use the nixpkgs-src.json set by default in iohk-nix.

Bumped it further and fixed a call.


Using RecursiveComparisonConfiguration withIgnoredFields for Map

Describe the bug
I'm not sure if it's a bug, or should it be a feature request.
I tried to compare two maps while ignoring a field similarly to https://assertj.github.io/doc/#assertj-core-recursive-comparison-for-iterable

assertj core version: 3.26.3
java version: 21 (temurin-21.0.5)
test framework version: junit-jupiter 5.11.3

Test case reproducing the bug
When asserting if two maps are equal using usingRecursiveComparison and withIgnoredFields("age") assertion fails
import org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration;
import org.junit.jupiter.api.Test;

import java.util.Map;

import static org.assertj.core.api.Assertions.assertThat;

class AssertJTestTest {
    record Person(String name, int age) {
    }

    @Test
    void testAssertJ() {
        Person john = new Person("John", 30);
        Person olderJohn = new Person("John", 60);

        assertThat(john)
                .usingRecursiveComparison(
                        RecursiveComparisonConfiguration.builder()
                                .withIgnoredFields("age")
                                .build()
                )
                .isEqualTo(olderJohn);
    }

    @Test
    void testAssertJ_ignoreFields() {
        var john = new Person("John", 30);
        var mapWithJohn = Map.of("john_id", john);

        var olderJohn = new Person("John", 60);
        var mapWithOlderJohn = Map.of("john_id", olderJohn);

        assertThat(mapWithJohn)
                .usingRecursiveComparison(
                RecursiveComparisonConfiguration.builder()
                        .withIgnoredFields("age")
                        .build()
                )
                .isEqualTo(mapWithOlderJohn);

        /* fails with the following error:
         * java.lang.AssertionError:
         * Expecting actual:
         *   {"john_id"=Person[name=John, age=30]}
         * to be equal to:
         *   {"john_id"=Person[name=John, age=60]}
         * when recursively comparing field by field, but found the following difference:
         *
         * field/property 'john_id.age' differ:
         * - actual value  : 30
         * - expected value: 60
         */
    }

}

This can be avoided by using withIgnoredFieldsMatchingRegexes(".*age") instead of withIgnoredFields("age")

It is the correct behavior as you need to set the complete path to the field when using withIgnoredFields, in your case that would be john_id.age but if you can't know john_id value in advance then using withIgnoredFieldsMatchingRegexes is the right way to go.
Basically, we introduced withIgnoredFieldsMatchingRegexes to get around the limitation of withIgnoredFields that requires knowing the exact path to the fields you want to ignore.

Thank you for the explanation!


Re-format the HttpSecurity builder calls

They easier to comprehend this way.

It's easier to read now, you are right.


Error: react-native-device-info: NativeModule.RNDeviceInfo is null

Error: react-native-device-info: NativeModule.RNDeviceInfo is null. To fix this issue try these steps:
• For react-native <= 0.59: Run react-native link react-native-device-info in the project root.
• Rebuild and re-run the app.
• If you are using CocoaPods on iOS, run pod install in the ios directory and then rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.
Did all things. But still facing the same issue.
I am using:
"react-native": "0.72.6",
"react-native-device-info": "^10.11.0",

Getting error on ios build

Do not log duplicate issues please #1558
This is a local problem in your integration and not a problem with this repository - it is not actionable here, it will not result in any change in the code here, and is thus closed.


Support multi-span errors and warnings

Description
A new Diagnostic type is introduced for detail description of compile errors and warnings. The change is backward compatible. The existing CompileWarnings and CompileErrors will continue render as they had before.
The Diagnostic is formed out of a:

Level: Error or Warning.
Code: Unique error or warning code. Placeholder for future. Not used at the moment.
Reason: Short description of the diagnostic, not related to a specific error/warning. Answers the question "Why is this an error/warning?" E.g., Because - "Constants cannot be shadowed".
Issue: Short description of the concrete case that the compiler has found. E.g., "Variable "X" shadows imported constant with the same name"
Hints: Detailed description of the diagnostic placed in the source code.
Help: Additional friendly information that helps understanding and solving the issue, but which is not related to a place in code.

The Diagnostics are defined imperatively in code right now, pretty much the sam way we do CompilWarnings at the moment. Development of a proc-macro that should make de definitions declarative is out of scope of #21.
Known Limitations
The annotate-snippets library has a bug and a missing functionality for which I opened issues:

Wrong display of line numbers when using folding of lines of code. This issue is fixed but there is no patch release provided: https://github.com/rust-lang/annotate-snippets-rs/issues/52#issuecomment-1657829040
No possibility to remove the "note:" prefix as shown on the image above: https://github.com/rust-lang/annotate-snippets-rs/issues/59

These two issues are not blocking. Proposal is to wait for the official support in the library, or contribute or in the worst case make a workaround in our code.
Demo (Before and After)
Errors

Warnings

Closes #21
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

There is a one TODO-IG in code that I still want to do, before providing the final PR: removing the Hint struct introduced to explain the IntrinsicUnsupportedArgType error and turning this error into Diagnostic.
Thus, a draft PR. But this additional change does not affect the overall design. It's just another one usage example.

@FuelLabs/tooling The change is backward compatible. The LSP and IDE plugins shouldn't be affected.
It would be cool though, to add the support for Diagnostic to LSP and IDEs and show multi-span messages and e.g. the complete compiler output of a dignostic the way Rust VS Code plugin is doing it.
Let me know if you have any questions.
In case of integration into LSP/IDE, do you want to take over from here?
If needed I can also gladly do it.

Not related to your changes. But looking at the check in the *.toml files, I am wondering if it is not time to consider https://github.com/mitsuhiko/insta.
It is much easier to assess the quality of error messages with it.

Defining filecheck tests is straightforward, but maintaining them, especially when changing error messages on a scale, is time consuming. insta looks promising. We snapshot the expected output and build tests around them. I see the benefit and would say it's worth investing in trying it out.

@xunilrj insta indeed looks great!


Added missing overlay block

Closes IBM/carbon-components-angular#317
{{short description}}

From what I can see this is already available in the overlay input? (https://github.com/IBM/carbon-components-angular/pull/318/files#diff-4109bcd3cabf1297b9205880ce21ab7fR38)


Unable to list pipeline and pipeline runs

Expected Behavior
To list actual pipeline, pipeline runs and to show pipeline run logs
Actual Behavior
Unable to find pipeline and pipeline runs, k8s responds with an error.

Error: the server could not find the requested resource (get pipelineruns.tekton.dev hello-goodbye-run)

Steps to Reproduce the Problem

Following tekton getting started tutorial
execute command tkn pipelinerun logs hello-goodbye-run -f -n default' after creating pipeline and pipeline run
Getting this error Error: the server could not find the requested resource (get pipelineruns.tekton.dev hello-goodbye-run)

Additional Info

Kubernetes version:
Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:12:00Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:38:15Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}

Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

tkn version :

Client version: 2020-04-01T10:57:38Z
Pipeline version: unknown

kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}' output :
v0.39.0
OS infromation :

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Just encountered this error myself.
This is my version of Ubuntu that I am trying to run tkn on
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Try uninstall and re-installing tkn
Install tkn via:
curl -LO https://github.com/tektoncd/cli/releases/download/v0.27.0/tektoncd-cli-0.27.0_Linux-64bit.deb
sudo dpkg -i tektoncd-cli-0.27.0_Linux-64bit.deb
Instead of:
sudo apt update;sudo apt install -y gnupg
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA
echo "deb http://ppa.launchpad.net/tektoncd/cli/ubuntu jammy main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list
sudo apt update && sudo apt install -y tektoncd-cli
The first time i tried installing tkn was using apt, and I encountered the very same error. Somehow, removing it and installing it via the deb package seemed to work for me. Lmk if it is the correct fix for you!

@ernestang98
thanks this answer work for me

Installed tekton , using kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
Then installed git-clone and kaniko. Created one task and pipeline;
I get following errors , how kubectl shows the task and pipeline properly.
root@kind:~/tekton-ci/base# tkn t list
Failed to list tasks from default namespace
Error: the server could not find the requested resource (get tasks.tekton.dev)


Be more verbose about why msbuild tools could not be found

Currently, on Windows, when building for mono and MSBuild tools cannot be found, there is no explantation. This PR simply prints the error messages.

UNIX philosophy of CLI tools is to be loud when in error and it is confusing to not know msbuild is not there. Seems helpful.

To clarify, we print an error if MSBuild is not found. This just goes more into detail about it.

Cherry-picked for 3.5.


BIGTOP-3501. Update hadoop-kms resources based on hadoop-3.

https://issues.apache.org/jira/browse/BIGTOP-3501
Resrouces for hadoop-kms such as init scripts and service configuration should be updated based on hadoop-3.
I'm addressing only packaging issue here. I manually tested that systemctl start hadoop-kms and hadoop key create work with primitive configuration on CentOS 8.
I'm going to fix puppet manifests in BIGTOP-3505.

I manually tested that systemctl start hadoop-kms and hadoop key create work with primitive configuration on CentOS 8.

got expected result on Ubuntu 18.04 too.

+1, also tested on CentOS 7 and Debian 10.
I deployed the built package with docker provisioner ignoring path errors and had to rewrite the KMS port (16000 -> 9600) in core-site.xml, but they should be fixed in BIGTOP-3505.


GsAmqpMethod>>decodeMethodObject - channelClose

This is the last test in that method ... the statement in the following block should return at once as the other tests in the method are doing ... otherwise is runs to self error: ....
self isChannelClose
	ifTrue: "broker closed the connection, raise an exception"
		[ GsAmqpChannelClose fromMemoryReferenceIn: self atOffset: 8.
		"| close |
		close := GsAmqpChannelClose fromMemoryReferenceIn: self atOffset: 8.
		^(GsRabbitMqError newFromChannelClose: close) signal"
	].

Fix as suggested.


Maven Repository - Binary for 0.4.3 not available

Library information:

Version: 0.4.3
View or Compose module: view

Describe the bug**
A clear and concise description of what the bug is.
To Reproduce (if applicable)
Steps to reproduce the behavior:

Add library via implementation 'com.github.kizitonwose:CalendarView:0.3.2' in app's build.gradle file
App does not build

Expected behavior (if applicable)

App should build

Screenshots? (if applicable)

Additional information

Maven Repository Version Page: https://mvnrepository.com/artifact/com.github.kizitonwose/CalendarView/0.4.3
Maven Repository Binary Coordinates: https://repository.mulesoft.org/nexus/content/repositories/public/com/github/kizitonwose/CalendarView/0.4.3

Was this library recently released to Maven Central? Did this perhaps break the Maven coordinates for the binaries of specific versions of the library?

The library was published to maven central from version 2.0.0. Earlier versions were published to jitpack so you have to add the jitpack maven repository.
maven { url "https://jitpack.io" }

Thank you for the response! Especially so quickly.
That makes sense, I do have jitpack already included in my project, but I am currently getting the following build error.
Could not find com.github.kizitonwose:CalendarView:0.3.2
Perhaps it is my local cache. I'll try again and update results here
Perhaps it is a temporary Jitpack issue
Thanks again for the help 😃

@kizitonwose , thanks again for the support but it looks like the AAR file for 0.3.2 can't be found on Jitpack

https://jitpack.io/#kizitonwose/CalendarView/0.3.2
https://jitpack.io/com/github/kizitonwose/CalendarView/0.3.2/CalendarView-0.3.2.aar

Not sure why that version is missing in JitPack, however, I see that 0.3.4 is available. Do you mind using that instead? There should be no code changes required.

Yeap, sounds good
Thanks again 👍


How can i add zoom in-out when capturing image from camera?

I want to zoom in/out and capture image, but the camera view won't zoom.

This feature isn't available atm. I need to implement it.

I have implemented it like below,
1) IQCaptureSession.m
Comment below line
//@property(nonatomic, readonly) AVCaptureDeviceInput *videoBackCaptureDeviceInput;
Add below line
@synthesize videoBackCaptureDeviceInput = _videoBackCaptureDeviceInput;
2) IQCaptureSession.h
Add below line
@property(nonatomic, readonly) AVCaptureDeviceInput *videoBackCaptureDeviceInput;
3) IQMediaView.h
@property(nonatomic) AVCaptureDeviceInput *videoBackCaptureDeviceInput;
4) IQMediaView.m
-(void)setVideoBackCaptureDeviceInput:(AVCaptureDeviceInput *)videoBackCaptureDeviceInput
{
_videoBackCaptureDeviceInput = videoBackCaptureDeviceInput;
}
-(void)pinchedCameraPreview:(UIPinchGestureRecognizer*)gesture
{
AVCaptureDevice *device = _videoBackCaptureDeviceInput.device;
AVCaptureDeviceFormat *format = device.activeFormat;
const CGFloat pinchVelocityDividerFactor = 5.0f;
if (gesture.state == UIGestureRecognizerStateChanged || gesture.state ==UIGestureRecognizerStateBegan)
{
NSError *error = nil;
if ([device lockForConfiguration:&error])
{
CGFloat desiredZoomFactor = device.videoZoomFactor +
atan2f(gesture.velocity, pinchVelocityDividerFactor);
device.videoZoomFactor = MAX(1.0, MIN(desiredZoomFactor, format.videoMaxZoomFactor));
[device unlockForConfiguration];
}
else
{
NSLog(@"error: %@", error);
}
}
}
5) IQMediaCaptureController.m
Add below line in viewWillAppear just above this line self.mediaView.previewSession = [self session].captureSession;
self.mediaView.videoBackCaptureDeviceInput = [self session].videoBackCaptureDeviceInput;

Thanks for the code sample. I'll review it and implement it once I get a chance.


This adds the check to verify appcmd succeeded

Resolves #114
This adds a check to make sure the provider item was created (and thereby can be configured).

Hey do you have time to rebase this ahead?

Not currently I moved to a new company and am a tech lead on c#...on a windows laptop that I can't use for personal use...
It will be a few before I have a truly working chef dev box

Also I think we could easily change this to use the -commit command and see if that works


HP Printer is not supported on hplip-3.21.8

So I have a Problem, I wanna use my old USB HP Printer as a Network Printer with cups. Its a HP Deksjet F2180. So i checked the Driver Image "hplip-3.21.8" and found him. Added on Version 1.7.4. So i startet my little Raspberry Pi Zero w and installed cups and it all works. I  try to ad a neu Printer in the web interface but my Printer was not there. I choosed  HP and searched for Deskjet F2180 but there was no F2180. Why is it supportet in the image but does not shot up in the web interface? Can someone have an explanation?
Can I install a separate Linux Driver for my F2180?
Checking for my Printer
https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

@SirrCasper Unfortunately, we are able to provide support for third-party drivers here. Have you tried contacting HP?


attrs class that defines headers for each scraper

This could make our code more grokkable, strengthen our documentation and integrate into our csv writers. It will also lay the groundwork for the standardization work ahead.

Not going to do this.


Centralize bar chart

Hey guys.
I'm trying to achieve this design

And the only I'm getting is a

I want to center the bar charts to avoid that empty blank space... something I'd do with CSS display flex with like "justify-content: space-between".
Do you guys know how can I achieve this? Below is my options object. I'm using Angular's Chartjs.
{   scaleShowVerticalLines: false,   showDatapoints: true,   tooltips: {     enabled: false   },   scales: {     xAxes: [{       display: false     }],     yAxes: [{       ticks: {         suggestedMin: 0,         stepSize: stepSize,         maxTicksLimit: 7,         padding: 15       }     }]   } }

It was happenning because I had 4 labels instead of three. It was my mistake. Sorry for creating an issue with a question.


Wacs.exe Error

When I open wacs.exe in administrator it says this:
` A simple Windows ACMEv2 client (WACS)
Software version <IP_ADDRESS>7 (release, pluggable, standalone, 64-bit)
Connecting to https://acme-v02.api.letsencrypt.org/...
Scheduled task points to different location for .exe and/or working directory
Scheduled task exists but does not look healthy
Please report issues at https://github.com/win-acme/win-acme
N: Create certificate (default settings)
M: Create certificate (full options)
R: Run renewals (0 currently due)
A: Manage renewals (1 total)
O: More options...
Q: Quit
Please choose from the menu:`
But when I finish it says that certificate creation failed. I want to know if this is a possible bug or just my computer.

Please share the complete log output leading up to the error that you get, the main menu doesn't provide much clues as to what you were doing or what went wrong :)

Complete Log
` A simple Windows ACMEv2 client (WACS)
Software version <IP_ADDRESS>7 (release, trimmed, standalone, 64-bit)
Connecting to https://acme.zerossl.com/...
Scheduled task not configured yet
Please report issues at https://github.com/win-acme/win-acme
N: Create certificate (default settings)
M: Create certificate (full options)
R: Run renewals (0 currently due)
A: Manage renewals (0 total)
O: More options...
Q: Quit
Please choose from the menu: M
Running in mode: Interactive, Advanced
Please specify how the list of domain names that will be included in the
certificate should be determined. If you choose for one of the "all bindings"
options, the list will automatically be updated for future renewals to
reflect the bindings at that time.
1: Read site bindings from IIS
2: Manual input
3: CSR created by another program
C: Abort
How shall we determine the domain(s) to include in the certificate?: 2
Enter comma-separated list of host names, starting with the common name: *.robertzou.com, robertzou.com
Target generated using plugin Manual: *.robertzou.com and 1 alternatives
Suggested friendly name '[Manual] *.robertzou.com', press  to accept or type an alternative:
Validation plugin SelfHosting not available: Unsuppored target. Most likely this is because you have included a wildcard identifier (*.example.com), which requires DNS validation.
The ACME server will need to verify that you are the owner of the domain
names that you are requesting the certificate for. This happens both during
initial setup and for every future renewal. There are two main methods of
doing so: answering specific http requests (http-01) or create specific dns
records (dns-01). For wildcard domains the latter is the only option. Various
additional plugins are available from https://github.com/win-acme/win-acme/.
1: [http-01] Save verification files on (network) path
2: [http-01] Serve verification files from memory
3: [http-01] Upload verification files via FTP(S)
4: [http-01] Upload verification files via SSH-FTP
5: [http-01] Upload verification files via WebDav
6: [dns-01] Create verification records manually (auto-renew not possible)
7: [dns-01] Create verification records with acme-dns (https://github.com/joohoi/acme-dns)
8: [dns-01] Create verification records with your own script
9: [tls-alpn-01] Answer TLS verification request from win-acme
: Abort
How would you like prove ownership for the domain(s)?: 6
After ownership of the domain(s) has been proven, we will create a
Certificate Signing Request (CSR) to obtain the actual certificate. The CSR
determines properties of the certificate like which (type of) key to use. If
you are not sure what to pick here, RSA is the safe default.
1: Elliptic Curve key
2: RSA key
C: Abort
What kind of private key should be used for the certificate?: 2
When we have the certificate, you can store in one or more ways to make it
accessible to your applications. The Windows Certificate Store is the default
location for IIS (unless you are managing a cluster of them).
1: IIS Central Certificate Store (.pfx per host)
2: PEM encoded files (Apache, nginx, etc.)
3: PFX archive
4: Windows Certificate Store
5: No (additional) store steps
How would you like to store the certificate?: 2
Path to folder where .pem files are stored: C:\Certificates
Password to use for the private key .pem file or  for none:
1: IIS Central Certificate Store (.pfx per host)
2: PEM encoded files (Apache, nginx, etc.)
3: PFX archive
4: Windows Certificate Store
5: No (additional) store steps
Would you like to store it in another way too?: 5
Installation plugin IIS not available: This step cannot be used in combination with the specified store(s)
With the certificate saved to the store(s) of your choice, you may choose one
or more steps to update your applications, e.g. to configure the new
thumbprint, or to update bindings.
1: Create or update https bindings in IIS
2: Create or update ftps bindings in IIS
3: Start external script or program
4: No (additional) installation steps
Which installation step should run first?: 4
Failed to create order
Create certificate failed, retry? (y/n*)`

I think you have the BaseUri wrong... it should be https://acme.zerossl.com/v2/DV90 instead of https://acme.zerossl.com/

I know it is correct that is why there is a ... at the end of it:
`
A simple Windows ACMEv2 client (WACS)
Software version <IP_ADDRESS>7 (release, trimmed, standalone, 64-bit)
Connecting to https://acme.zerossl.com/v2/DV90...
Scheduled task points to different location for .exe and/or working directory
Scheduled task exists but does not look healthy
Please report issues at https://github.com/win-acme/win-acme
N: Create certificate (default settings)
M: Create certificate (full options)
R: Run renewals (0 currently due)
A: Manage renewals (0 total)
O: More options...
Q: Quit
Please choose from the menu: M
Running in mode: Interactive, Advanced
Please specify how the list of domain names that will be included in the
certificate should be determined. If you choose for one of the "all bindings"
options, the list will automatically be updated for future renewals to
reflect the bindings at that time.
1: Read site bindings from IIS
2: Manual input
3: CSR created by another program
C: Abort
How shall we determine the domain(s) to include in the certificate?: 2
Enter comma-separated list of host names, starting with the common name: *.robertzou.com, robertzou.com
Target generated using plugin Manual: *.robertzou.com and 1 alternatives
Suggested friendly name '[Manual] *.robertzou.com', press to accept or type an alternative:
Validation plugin SelfHosting not available: Unsuppored target. Most likely this is because you have included a wildcard identifier (*.example.com), which requires DNS validation.
The ACME server will need to verify that you are the owner of the domain
names that you are requesting the certificate for. This happens both during
initial setup and for every future renewal. There are two main methods of
doing so: answering specific http requests (http-01) or create specific dns
records (dns-01). For wildcard domains the latter is the only option. Various
additional plugins are available from https://github.com/win-acme/win-acme/.
1: [http-01] Save verification files on (network) path
2: [http-01] Serve verification files from memory
3: [http-01] Upload verification files via FTP(S)
4: [http-01] Upload verification files via SSH-FTP
5: [http-01] Upload verification files via WebDav
6: [dns-01] Create verification records manually (auto-renew not possible)
7: [dns-01] Create verification records with acme-dns (https://github.com/joohoi/acme-dns)
8: [dns-01] Create verification records with your own script
9: [tls-alpn-01] Answer TLS verification request from win-acme
: Abort
How would you like prove ownership for the domain(s)?: 6
After ownership of the domain(s) has been proven, we will create a
Certificate Signing Request (CSR) to obtain the actual certificate. The CSR
determines properties of the certificate like which (type of) key to use. If
you are not sure what to pick here, RSA is the safe default.
1: Elliptic Curve key
2: RSA key
C: Abort
What kind of private key should be used for the certificate?: 2
When we have the certificate, you can store in one or more ways to make it
accessible to your applications. The Windows Certificate Store is the default
location for IIS (unless you are managing a cluster of them).
1: IIS Central Certificate Store (.pfx per host)
2: PEM encoded files (Apache, nginx, etc.)
3: PFX archive
4: Windows Certificate Store
5: No (additional) store steps
How would you like to store the certificate?: 2
Path to folder where .pem files are stored: C:\Certificates
Password to use for the private key .pem file or for none:
1: IIS Central Certificate Store (.pfx per host)
2: PEM encoded files (Apache, nginx, etc.)
3: PFX archive
4: Windows Certificate Store
5: No (additional) store steps
Would you like to store it in another way too?: 5
Installation plugin IIS not available: This step cannot be used in combination with the specified store(s)
With the certificate saved to the store(s) of your choice, you may choose one
or more steps to update your applications, e.g. to configure the new
thumbprint, or to update bindings.
1: Create or update https bindings in IIS
2: Create or update ftps bindings in IIS
3: Start external script or program
4: No (additional) installation steps
Which installation step should run first?: 4
Failed to create order
Create certificate failed, retry? (y/n*)

From your post 2 days ago:

Connecting to https://acme.zerossl.com/...

For your post today:

Connecting to https://acme.zerossl.com/v2/DV90...

So I guess my suggestion was not that bad after all. Anyhow, I'm not able to reproduce your issue from my end. If you run the program again with the --verbose parameter then the log might show some more useful things to help discover the problem.

I see that the problem is this:
` [VERB] Verbose mode logging enabled
[VERB] ExePath: C:\Win-acme\wacs.exe
[VERB] ResourcePath: C:\Win-acme
[VERB] PluginPath: C:\Win-acme
[VERB] Looking for settings.json in C:\Win-acme
[DBUG] Config folder: C:\ProgramData\win-acme\acme.zerossl.comv2DV90
[DBUG] Log path: C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Log
[DBUG] Cache path: C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Certificates
[VERB] Arguments: --baseuri https://acme.zerossl.com/v2/DV90 --verbose
[DBUG] Renewal period: 55 days
[VERB] Sending e-mails False
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>7 (release, trimmed, standalone, 64-bit)
[INFO] Connecting to https://acme.zerossl.com/v2/DV90...
[VERB] SecurityProtocol setting: SystemDefault
[DBUG] Send GET request to https://acme.zerossl.com/v2/directory
[VERB] Request completed with status Forbidden
[DBUG] Connection OK!
[DBUG] IIS version 10.0
[DBUG] Running with administrator credentials
[WARN] Scheduled task points to different location for .exe and/or working directory
[WARN] Scheduled task exists but does not look healthy
[INFO] Please report issues at https://github.com/win-acme/win-acme
[VERB] Unicode display test: Chinese/語言 Russian/язык Arab/لغة
N: Create certificate (default settings)
M: Create certificate (full options)
R: Run renewals (0 currently due)
A: Manage renewals (0 total)
O: More options...
Q: Quit
Please choose from the menu:`
It says that the Scheduled task points to different location for .exe and/or working directory and that Scheduled task exists but does not look healthy

The Full log is:
` [VERB] Verbose mode logging enabled
[VERB] ExePath: C:\Win-acme\wacs.exe
[VERB] ResourcePath: C:\Win-acme
[VERB] PluginPath: C:\Win-acme
[VERB] Looking for settings.json in C:\Win-acme
[DBUG] Config folder: C:\ProgramData\win-acme\acme.zerossl.comv2DV90
[DBUG] Log path: C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Log
[DBUG] Cache path: C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Certificates
[VERB] Arguments: --baseuri https://acme.zerossl.com/v2/DV90 --verbose
[DBUG] Renewal period: 55 days
[VERB] Sending e-mails False
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>7 (release, trimmed, standalone, 64-bit)
[INFO] Connecting to https://acme.zerossl.com/v2/DV90...
[VERB] SecurityProtocol setting: SystemDefault
[DBUG] Send GET request to https://acme.zerossl.com/v2/directory
[VERB] Request completed with status Forbidden
[DBUG] Connection OK!
[DBUG] IIS version 10.0
[DBUG] Running with administrator credentials
[WARN] Scheduled task points to different location for .exe and/or working directory
[WARN] Scheduled task exists but does not look healthy
[INFO] Please report issues at https://github.com/win-acme/win-acme
[VERB] Unicode display test: Chinese/語言 Russian/язык Arab/لغة
N: Create certificate (default settings)
M: Create certificate (full options)
R: Run renewals (0 currently due)
A: Manage renewals (0 total)
O: More options...
Q: Quit
Please choose from the menu: M
[INFO] Running in mode: Interactive, Advanced
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Adding <IP_ADDRESS> as DNS server
Please specify how the list of domain names that will be included in the
certificate should be determined. If you choose for one of the "all bindings"
options, the list will automatically be updated for future renewals to
reflect the bindings at that time.
1: Read site bindings from IIS
2: Manual input
3: CSR created by another program
C: Abort
How shall we determine the domain(s) to include in the certificate?: 2
Enter comma-separated list of host names, starting with the common name: *.robertzou.com, robertzou.com
[INFO] Target generated using plugin Manual: *.robertzou.com and 1 alternatives
Suggested friendly name '[Manual] *.robertzou.com', press  to accept or type an alternative: My SSL Certificates
[WARN] Validation plugin SelfHosting not available: Unsuppored target. Most likely this is because you have included a wildcard identifier (*.example.com), which requires DNS validation.
The ACME server will need to verify that you are the owner of the domain
names that you are requesting the certificate for. This happens both during
initial setup and for every future renewal. There are two main methods of
doing so: answering specific http requests (http-01) or create specific dns
records (dns-01). For wildcard domains the latter is the only option. Various
additional plugins are available from https://github.com/win-acme/win-acme/.
1: [http-01] Save verification files on (network) path
2: [http-01] Serve verification files from memory
3: [http-01] Upload verification files via FTP(S)
4: [http-01] Upload verification files via SSH-FTP
5: [http-01] Upload verification files via WebDav
6: [dns-01] Create verification records manually (auto-renew not possible)
7: [dns-01] Create verification records with acme-dns (https://github.com/joohoi/acme-dns)
8: [dns-01] Create verification records with your own script
9: [tls-alpn-01] Answer TLS verification request from win-acme
: Abort
How would you like prove ownership for the domain(s)?: 6
After ownership of the domain(s) has been proven, we will create a
Certificate Signing Request (CSR) to obtain the actual certificate. The CSR
determines properties of the certificate like which (type of) key to use. If
you are not sure what to pick here, RSA is the safe default.
1: Elliptic Curve key
2: RSA key
C: Abort
What kind of private key should be used for the certificate?: 2
When we have the certificate, you can store in one or more ways to make it
accessible to your applications. The Windows Certificate Store is the default
location for IIS (unless you are managing a cluster of them).
1: IIS Central Certificate Store (.pfx per host)
2: PEM encoded files (Apache, nginx, etc.)
3: PFX archive
4: Windows Certificate Store
5: No (additional) store steps
How would you like to store the certificate?: 2
Path to folder where .pem files are stored: C:\Certficates
[EROR] Directory C:\Certficates does not exist
Path to folder where .pem files are stored: C:\Certificates
Password to use for the private key .pem file or  for none:
1: IIS Central Certificate Store (.pfx per host)
2: PEM encoded files (Apache, nginx, etc.)
3: PFX archive
4: Windows Certificate Store
5: No (additional) store steps
Would you like to store it in another way too?: 5
[WARN] Installation plugin IIS not available: No IIS websites available.
With the certificate saved to the store(s) of your choice, you may choose one
or more steps to update your applications, e.g. to configure the new
thumbprint, or to update bindings.
1: Create or update https bindings in IIS
2: Create or update ftps bindings in IIS
3: Start external script or program
4: No (additional) installation steps
Which installation step should run first?: 4
[VERB] Targeted convert into 1 order(s)
[VERB] Checking My SSL Certificates
[VERB] Handle order 1/1: Main
[VERB] Creating order for hosts: ["*.robertzou.com", "robertzou.com"]
[VERB] Constructing ACME protocol client...
[DBUG] Send GET request to https://acme.zerossl.com/v2/directory
[VERB] Request completed with status Forbidden
[DBUG] Send GET request to https://acme.zerossl.com/v2/DV90
[VERB] Request completed with status OK
[DBUG] Loading signer from C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Signer_v2
[DBUG] Loading account from C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Registration_v2
[VERB] Using existing ACME account
[VERB] ACME client initialized
[DBUG] Send HEAD request to https://acme.zerossl.com/v2/DV90/newNonce
[VERB] Request completed with status OK
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/newOrder
[VERB] Request completed with status Created
[VERB] Order https://acme.zerossl.com/v2/DV90/order/r9YsFrEy7AdJSwvZ0OWv9g created
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/authz/G0d8l41hYmXYcqN5gr-NQw
[VERB] Request completed with status OK
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/authz/aT5p76d7Fx3WVfed7Yn1BQ
[VERB] Request completed with status OK
[VERB] Handle authorization 1/2
[INFO] [robertzou.com] Authorizing...
[VERB] [robertzou.com] Initial authorization status: pending
[VERB] [robertzou.com] Challenge types available: ["dns-01"]
[VERB] [robertzou.com] Initial challenge status: pending
[INFO] [robertzou.com] Authorizing using dns-01 validation (Manual)
[VERB] Querying server <IP_ADDRESS> about com
[DBUG] Querying name servers for com
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying server <IP_ADDRESS> about robertzou.com
[DBUG] Querying name servers for robertzou.com
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying server <IP_ADDRESS> about _acme-challenge.robertzou.com
[DBUG] Querying name servers for _acme-challenge.robertzou.com
[DBUG] [robertzou.com] Attempting to create DNS record under _acme-challenge.robertzou.com...
Domain:              robertzou.com
Record:              _acme-challenge.robertzou.com
Type:                TXT
Content:             "n8M8wqltOU6h7z1ZG3x8gglIMzAykBFTajzB7zkfFc0"
Note:                Some DNS managers add quotes automatically. A single set
is needed.
Please press  after you've created and verified the record
[DBUG] [robertzou.com] Looking for TXT value _acme-challenge.robertzou.com...
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[INFO] [robertzou.com] Preliminary validation succeeded
[DBUG] [robertzou.com] Record successfully created
[VERB] Starting commit stage
[DBUG] [robertzou.com] Looking for TXT value _acme-challenge.robertzou.com...
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[INFO] [robertzou.com] Preliminary validation succeeded
[VERB] Commit was succesful
[DBUG] [robertzou.com] Submitting challenge answer
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/chall/qEJLHKh9U7ohZbBbwCI3jA
[VERB] Request completed with status OK
[DBUG] Refreshing authorization (1/15)
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/chall/qEJLHKh9U7ohZbBbwCI3jA
[VERB] Request completed with status OK
[INFO] [robertzou.com] Authorization result: valid
[VERB] Starting post-validation cleanup
Domain:              robertzou.com
Record:              _acme-challenge.robertzou.com
Type:                TXT
Content:             "n8M8wqltOU6h7z1ZG3x8gglIMzAykBFTajzB7zkfFc0"
Please press  after you've deleted the record
[VERB] Post-validation cleanup was succesful
[VERB] Handle authorization 2/2
[INFO] [robertzou.com] Authorizing...
[VERB] [robertzou.com] Initial authorization status: pending
[VERB] [robertzou.com] Challenge types available: ["http-01", "dns-01"]
[VERB] [robertzou.com] Initial challenge status: pending
[INFO] [robertzou.com] Authorizing using dns-01 validation (Manual)
[DBUG] [robertzou.com] Attempting to create DNS record under _acme-challenge.robertzou.com...
Domain:              robertzou.com
Record:              _acme-challenge.robertzou.com
Type:                TXT
Content:             "DE6vg-toDqOcoJBpStTq3HQ9Ww66f1pX8ptn00Q-NNQ"
Note:                Some DNS managers add quotes automatically. A single set
is needed.
Please press  after you've created and verified the record
[DBUG] [robertzou.com] Looking for TXT value _acme-challenge.robertzou.com...
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[INFO] [robertzou.com] Preliminary validation succeeded
[DBUG] [robertzou.com] Record successfully created
[VERB] Starting commit stage
[DBUG] [robertzou.com] Looking for TXT value _acme-challenge.robertzou.com...
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[DBUG] [robertzou.com] Preliminary validation asking <IP_ADDRESS>...
[DBUG] [robertzou.com] Preliminary validation from <IP_ADDRESS> looks good
[INFO] [robertzou.com] Preliminary validation succeeded
[VERB] Commit was succesful
[DBUG] [robertzou.com] Submitting challenge answer
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/chall/3P2j8HNbN6s5OTO8dY2kWQ
[VERB] Request completed with status OK
[DBUG] Refreshing authorization (1/15)
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/chall/3P2j8HNbN6s5OTO8dY2kWQ
[VERB] Request completed with status OK
[INFO] [robertzou.com] Authorization result: valid
[VERB] Starting post-validation cleanup
Domain:              robertzou.com
Record:              _acme-challenge.robertzou.com
Type:                TXT
Content:             "DE6vg-toDqOcoJBpStTq3HQ9Ww66f1pX8ptn00Q-NNQ"
Please press  after you've deleted the record
[VERB] Post-validation cleanup was succesful
[DBUG] CSR stored at hIh1lZ3qcEO8odrZ1vazPw-a8152be6e9830d1401ef4d0dd8052a8b20ef2cc3-csr.pem in certificate cache folder C:\ProgramData\win-acme\acme.zerossl.comv2DV90\Certificates
[VERB] Submitting CSR
[DBUG] Waiting for order to get ready (1/15)
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/order/r9YsFrEy7AdJSwvZ0OWv9g
[VERB] Request completed with status OK
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/order/r9YsFrEy7AdJSwvZ0OWv9g/finalize
[VERB] Request completed with status OK
[DBUG] Waiting for order to get NOT processing (1/15)
[DBUG] Send POST request to https://acme.zerossl.com/v2/DV90/order/r9YsFrEy7AdJSwvZ0OWv9g
[VERB] Request completed with status OK
[EROR] Unexpected order status invalid
[EROR] (Exception): Unable to complete order
[DBUG] Exception details: Exception {TargetSite=Void MoveNext(), StackTrace="   at PKISharp.WACS.Services.CertificateService.RequestCertificate(ICsrPlugin csrPlugin, RunLevel runLevel, Order order)\r\n   at PKISharp.WACS.RenewalExecutor.ExecuteOrder(ExecutionContext context)", Message="Unable to complete order", Data=[], InnerException=null, HelpLink=null, Source="wacs.lib", HResult=-2146233088}
Create certificate failed, retry? (y/n*)`

I don't see anything strange in your log besides the service provider (ZeroSSL) calling the order invalid. At this point I think there is nothing that can be fixed from our side. You may have some problem that you can address in their control panel and/or through their service desk. Or you might want to try setting up a new account with them?


Is it possible to have a package in each Release ready to install in Releases TAB?

Hi!

Feature request and a
Question

NPE version: (e.g. <IP_ADDRESS>)

What is the current result?
There's only the source code, I use to go to [https://npe.codeplex.com/] to upgrade my version to the latest one but Codeplex is shutting down soon so GitHub should have an easy way to upgrade to the latest version.

Are there any work arrounds?
yes : load the source into Visual Studio and compile to create the exe

in case of a FEATURE REQUEST:

Why do we need it?
to be able to download the exe package and run it on Windows PC without Visual Studio

Please provide an use case :
I go to Releases tab, download the exe package and run it on a Windows PC without Visual Studio
I volunteer to create such a package for every version if you want to.
EXE-Release-v3.23.zip

I volunteer to create such a package for every version if you want to.

Thanks. This could be done from appveyor. Would you also volunteer to create the appveyor script? :)

yes sure, I have to figure out how to do it. do you have a sample appveyor script ?

These docs could be helpful:
https://www.appveyor.com/docs/deployment/github/
https://www.appveyor.com/docs/packaging-artifacts/
Steps to set up AppVeyor for your own fork.
AppVeyor:

Login with your Github account to https://ci.appveyor.com
Choose "projects"
1
Select your fork and press "+" button
Done. All config is in appveyor.yml already

I've forked the project and create a new Appveyor project and build it
NPE
Now how to get the build package ?

Appveyor tells me that  ("appveyor_repo_tag" is "false", should be "true")
despite my appveyor.yml file has appveyor_repo_tag: true
as you can see here

Have you created a tag in github?

As far as I understand appveyor_repo_tag: true works only when pushing a tag.
(A release in github creates a git tag, so this could be done in github.com)

works, or isn't it?

No I haven't create a tag yet. I'm looking for how to do it.
V3.23 is what I have created manually
I'm still trying to find out how Appveyor is pushing build package to Github

Just create a new release in your fork.
https://github.com/fredatgithub/NuGetPackageExplorer/releases
And then new release.

need some help on this?

This is now available via the Microsoft Store and the CI builds. Is there something more that's needed?

A standalone zip file will be available upon release as well.

Thanks for the info except that Microsoft Store prevents to download NPE if I am on a Windows 7 machine

@fredatgithub we will post a standalone zip file on the releases tab for the next release. The current version is also available via Chocolatey.


Trying to loop cmdlets through Start-RSJob using the call operator fails

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
Using a call operator to call a cmdlet provides an error although I think it should work just fine according to the error message.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
$Computers = Get-Content C:\Temp\Computers.txt
$Commands = Get-Command -Module PSP-Inventory -Verb Get
foreach ($Command in $Commands){
   $Cmdlet = $Command.Name
   $CmdletNoun = $Cmdlet.Split('-')[1]

   $Computers | Start-RSJob -Scriptblock {& $Cmdlet -ComputerName $_} -Name {"{0} - {1}" -f $CmdletNoun,$_} -ModuleToImport PSP-Inventory | Wait-RSJob | Receive-RSJob -OutVariable $CmdletNoun
}

gives error message
The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
What is the expected behavior?
For it to loop through all the Get- cmdlets and collect all the information to the appropriate variables
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
Tested on Windows PowerShell 5.1.14393.2758 [Desktop]
Please provide a code example showing the issue, if applicable:
#Code goes here

See earlier provided code sample.
I've tried not using the Call operator [&], $Using:Cmdlet, the VariablesToImport parameter etc, but no luck

What PS/Module version you use ?
I just test $using:Cmdlet inside scriptblock and '-VariablesToImport Cmdlet' outside - it works
what if you insert Write-Host "Cmdlet: $Cmdlet" inside scriptblock ?

Module version <IP_ADDRESS>
when trying
$computers = 'localhost'
$Commands = Get-Command -Module PSP-Inventory -Verb Get
foreach ($Command in $Commands) {
    $Cmdlet = $Command.Name
    $CmdletNoun = $Cmdlet.Split('-')[1]

    $Computers | Start-RSJob -ScriptBlock {& $Using:Cmdlet -ComputerName $_} -ModulesToImport PSP-Inventory -VariablesToImport $Cmdlet | Wait-RSJob | Receive-RSJob -OutVariable $CmdletNoun
}

or
$computers = 'localhost'
$Commands = Get-Command -Module PSP-Inventory -Verb Get
foreach ($Command in $Commands) {
    $Cmdlet = $Command.Name
    $CmdletNoun = $Cmdlet.Split('-')[1]

    $Computers | Start-RSJob -ScriptBlock {Write-Host "Cmdlet: $Using:Cmdlet"} -ModulesToImport PSP-Inventory -VariablesToImport $Cmdlet -Verbose -Debug | Wait-RSJob | Receive-RSJob
}

I get
DEBUG: [BEGIN]
VERBOSE: Displaying PSBoundParameters
VERBOSE: [ScriptBlock, Write-Host "Cmdlet: $Using:Cmdlet"]
VERBOSE: [ModulesToImport, System.String[]]
VERBOSE: [VariablesToImport, System.String[]]
VERBOSE: [Verbose, True]
VERBOSE: [Debug, True]
VERBOSE: Creating default Job Name
VERBOSE: Loading variables: Get-DiskInfo
Get-Variable : Cannot find a variable with the name 'Get-DiskInfo'.
At C:\Program Files\WindowsPowerShell\Modules\poshrsjob\<IP_ADDRESS>\Public\Start-RSJob.ps1:294 char:31
+ ...         $vars = @(Get-Variable $varname -ErrorAction Continue | Where ...
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-DiskInfo:String) [Get-Variable], ItemNotFoundException
    + FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.GetVariableCommand

DEBUG: ListCount: 0
DEBUG: [PROCESS]
DEBUG: [END]
DEBUG: ArgumentCount: 0 | List.Count: 1 | SBParamCount: 0 | InsertPSItemParam: True
VERBOSE: PowerShell Version: 5
DEBUG: NewScriptBlock: Param($_)
Write-Host "Cmdlet: $Using:Cmdlet"
VERBOSE: Creating new runspacepool <7fcebd45-1681-4621-8c3e-cd59c7be3081>
DEBUG: ListCount: 1
VERBOSE: Incrementing job ID
VERBOSE: Using localhost as pipeline variable
VERBOSE: Checking for Using: variables
VERBOSE: Checking for ArgumentList
VERBOSE: Invoking Runspace
VERBOSE: Determining Job Name
VERBOSE: Adding RSJob to Jobs queue
VERBOSE: Display RSJob
A Using variable cannot be retrieved. A Using variable can be used only with Invoke-Command, Start-Job, or InlineScript in the script workflow. When it is used with Invoke-Command, the Using variable is valid only if the script block is invoked on a remote computer.

for each cmdlet

You should not mix $using and -VariablesToImport at the same time
When you use -VariablesToImport you should use 'variable' name (string) but not $variable itself

pfff, now that was dumb...
So when I do $Cmdlet in the scriptblock and -VariablesToImport Cmdlet I get output
One thing that's very important in this case is in the test you used Write-Host , but that doesn't do anything
This proved working for me:
$Commands = Get-Command -Module PSP-Inventory -Verb Get
foreach ($Command in $Commands) {
    $Cmdlet = $Command.Name
    $CmdletNoun = $Cmdlet.Split('-')[1]

    Start-RSJob -ScriptBlock {write-output $Cmdlet} -VariablesToImport Cmdlet | Wait-RSJob | Receive-RSJob
}


admin: add manual kubelet upgrade guide

As part of the Kubelet related security releases, we will need a manual guide for folks to use if they wish to fetch the upgraded Kubelet containers.

I think this belongs in Reference, rather than Admin, if it's 1) not something most people will want to do, and 2) not something you want to suggest too heavily. let me know, @robszumski and we'll get @athai to add this to the sidebar nav.

@zbwright Agreed, that location makes more sense


Vkitty dataset, which model ?

I want to perform classification and segmentation of outdoor pointclouds using the vkitty dataset and your 3d-semantic-segmentation tool.
After downloading the dataset and prepare the dataset using your tools, I want to train a model.
Which model should I use to do this ? gru_neighbor, multi_block or multi_scale_cu ?
Thanks for sharing your work !

Hi@Karltlbm,
I want to segment point cloud of real KITTI data  use trained model.  can you share your trained model.


Unable to load CSV files successfully when CSV file size reaches 1 million records

Describe the bug
We tried load data from a S3 bucket contains 10 CSV files with each containing 1 million records. It failed to finish the job with following error message:
[Spark task failed due to an exception. Stack trace: {0}] ["org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: org.elasticsearch.hadoop.rest.EsHadoopRemoteException: rejected_execution_exception: rejected execution of coordinating operation (coordinating_and_primary_bytes=0, replica_bytes=0, all_bytes=0, coordinating_operation_bytes=108113911, max_coordinating_and_primary_bytes=107374182):::LF:::
{"index":{"_index":"esri-ds-data_86dc7bb1-b991-44fb-8e52-be5069629fb0_es-7-3-0_202201","_type":"_doc"}}:::LF:::
{"---geo_hash---":(-43.85883,68.79605),"col_6":734,"Geometry":(-43.85883,68.79605),"---timestamp---":1641919673572,"col_3":205.37,"col_4":5230.94,"col_7":"Nejanilini Lake Airport","objectid":5320000,"globalid":"{75C82AB7-F94E-65BA-F605-A28B51F1E165}","col_10":-43.85883,"col_5":94.29,"col_9":-1,"col_11":68.79605,"col_1":733,"col_8":"Athen Helenikon Airport","col_2":1512098658447}:::LF:::{"index":{"_index":"esri-ds-data_86dc7bb1-b991-44fb-8e52-be5069629fb0_es-7-3-0_202201","_type":"_doc"}}:::LF::: ... ...
However, the same Spark app works perfectly fine with Elasticsearch 7.10.2 cluster.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
The Index should show exactly 10 million records.
Plugins
No plugins currently enabled.
Screenshots
Host/Environment (please complete the following information):

OS: Ubuntu 18.04.6 LTS
Version: 18.04.6
Architecture:  amd64
Kernel Version:  5.4.0-1062-azure

Additional context
The OpenSearch was running in a Kubernestes cluster.

@FrankXia The Opensearch has introduced additional Indexing Back-Pressure (see please https://github.com/opensearch-project/OpenSearch/issues/478) logic in order to stabilize cluster behaviour under heavy load / heavy queries. It seems like you have triggered memory back-pressure conditions, you could:

increase server JVM memory settings
tailor "indexing_pressure.memory.limit"  setting (default is set to 10% of the max heap)

Thanks @reta for the advice, I was able to resolve the problem with doubling the JVM memory in all Master nodes.


TypeScript definition

Would you be interested in accepting a TypeScript definition for the library so people using TypeScript can get type safety? It's a separate file from the .js which will basically act as a header file only and I'd be happy to be a continual resource to help maintain it or respond to any queries.

I think so, yeah! I’m wondering about maintaining it though. I guess this repo doesn’t change ever, so it’s fine.
Why not definitely typed? Also, as we’re talking, I’m interested in your opinion on https://github.com/syntax-tree/unist-ts/issues/1!

DefinitelyTyped is nice, but requires a separate package and isn't kept in sync with the library. It's also kind of hard to contribute to and can result in long-tail packages being incorrect. My preference is always to have it in the library where possible, one such example is https://github.com/pillarjs/path-to-regexp. Especially when the package doesn't change much as this would.
I would also call this library a fundamental data type, so it'd be even more awesome to see TypeScript bundled when I want to get started quickly instead of looking around for TypeScript support.

Totes. I’m open to this!

Hi, the index.d.ts is not publish in the package - I opened an issue for it


God Mode doesn't start

Hi, after section 3, i boot my 3ds pressing start button but i have a black screen and nothing happen.
If i boot pressing select the Luma3DS configuration menu  works. Without any pressing i have a black screen with/without the sd card.

Make sure the GodMode9 payload is on your SD Card.

I have resolved by downloading godmode9 v 1.0.6 instead the v 1.0.7


fix(dialog): fix broken overlay in chrome in retina displays

Fixes #243

@sambhav-gore can you take a quick double-check? all seems well from my side. thx!

:+1:


Changing Color via getting a css variable

Is there any way to change the color of the particles by getting a css variable? I have tried this:
const particlesColor = getComputedStyle(document.body);
pJSDom[0].pJS.particles.color.value = particlesColor.getPropertyValue('--particlesColor');
pJSDom[0].pJS.fn.particlesRefresh()

But I get the error : a.color.hsl is undefined

Issue https://github.com/VincentGarreau/particles.js/issues/434#issue-590917998 from the original project by @ZigZagZat
Hello, I'm maintaining this project and the other was abandoned years ago. Can you explain me more about this feature?
I think I have all ready for this.

With this library you could do this:
const particlesColor = getComputedStyle(document.body);
const container = tsParticles.domItem(0);

container.loadOptions({
    particles: {
         color: {
               value: particlesColor.getPropertyValue('--particlesColor')
         }
    }
});
container.refresh();

Everything should work as you requested

@matteobruni Unfortunately, the above solution no longer works.  Using tsParticles 1.18.11, I get the following error when running your code:
Uncaught TypeError: container.loadOptions is not a function
    <anonymous> debugger eval code:4

Any help?

@matteobruni Unfortunately, the above solution no longer works.  Using tsParticles 1.18.11, I get the following error when running your code:
Uncaught TypeError: container.loadOptions is not a function
    <anonymous> debugger eval code:4

Any help?

Hi @TheE,
This was a really old thread that I forgot
Anyway, now you can use container.options.load method.

Hi @TheE,
This was a really old thread that I forgot
Anyway, now you can use container.options.load method.

Many thanks, that works perfectly.
In case anybody else has the same problem, below is working javascript:
function setup_particles() {
     var color_var = bodyStyle.getPropertyValue('--particles-color').trim();

     tsParticles.loadJSON('site-canvas', 'default.json')
         .then((container) => {
             container.options.load({
                 particles: {
                     color: {
                         value: color_var
                     },
                     line_linked: {
                         color: {
                             value: color_var
                         }
                     }
                 }
             });
             container.refresh();
         })
         .catch((error) => {
             console.error(error)
         })
 }

Many thanks, that works perfectly.
In case anybody else has the same problem, below is working javascript:
function setup_particles() {
     var color_var = bodyStyle.getPropertyValue('--particles-color').trim();

     tsParticles.loadJSON('site-canvas', 'default.json')
         .then((container) => {
             container.options.load({
                 particles: {
                     color: {
                         value: color_var
                     },
                     line_linked: {
                         color: {
                             value: color_var
                         }
                     }
                 }
             });
             container.refresh();
         })
         .catch((error) => {
             console.error(error)
         })
 }

hey i am getting "Home.js:143 Uncaught TypeError: react_tsparticles__WEBPACK_IMPORTED_MODULE_1___default(...).loadJSON is not a function" this error can u help me with that. (i am using react-tsparticle)

hey i am getting "Home.js:143 Uncaught TypeError: react_tsparticles__WEBPACK_IMPORTED_MODULE_1___default(...).loadJSON is not a function" this error can u help me with that. (i am using react-tsparticle)

Open a new issue about that, with a sample to reproduce the issue.


HIP 111: Remove author

Removing author, as recommended in https://github.com/helium/HIP/pull/986#issuecomment-2078346006
@mrfizzy99 FYI. Let me know if this is what you were hoping to do with the opening of HIP 120.

Confirmed.
I liked and contributed to 111, but got to complex as we ingested ideas with peoples input. Then when we were unwilling to edit the simple data requirement, everyone got upset.
So offering an alternative koolaid, or they can go thirsty voting no on both and keep the current statuesque.

I think it'll be interesting if both end up going to a vote. We need a way to reconcile if both pass.


Scroll wheel input not working

Not sure about this one, I’ve hooked up the wheel to imgui, maybe I need to reverse the direction or something....digging is needed.

I needed to call the AddDelta function before imgui.NewFrame was called.
Done, just waiting on Pixel PRs before merging this in.

Pixel PRs have been accepted, closing.


KeyError: 'original_files'

Hello, I am trying to download multiple files by providing a list of file IDs:
python /g/data/zk16/software/encode_downloader.py acc_ids.txt
========== ENCFF093VXI ==========
Traceback (most recent call last):
File "/g/data/zk16/software/encode_downloader.py", line 414, in
main()
File "/g/data/zk16/software/encode_downloader.py", line 230, in main
for org_f in json_data_exp['original_files']:
KeyError: 'original_files'

I'm sorry that this tools is no longer maintained.
Please add a single line to skip file accessions without such key. Something like

# add this to line 229
if 'original_files' not in json_data_exp:
    continue

for org_f in json_data_exp['original_files']:
...


How to setup Nolo and what I should expect from it

I have been trying to get NoloVR working, so far no luck, I have figured out that if I connect via USB the thing that goes on my head, openhmd segfaults, so I might be doing something wrong inside my config file. I used the default one, for separate HMD and tracking. How did you get it working, I've seen a pic of it working somewhere.

I would recommend first trying to get the HMD + nolo working with OpenHMD alone before trying it with SteamVR.
OpenHMD's simple example takes an enumerated device index as argument so if you get tracking data from all the different devices with ./simple 0, ./simple 1, etc. then you know at least that works.
The config file is a really rudimentary hack I only did because OpenHMD is lacking any configuration so far... If you run openhmd's simple example and immediately quit it with ctrl+c, you'll see a list of devices at the top, each enumerated with device 0: ..., device 1, ... (the numbers can even change when some additional VR hardware supported by openhmd is connected). I believe usually if you have a HMD and Nolo, the HMD should have 0, and the Nolo Tracker 1.
The last time I tried DK2 + Nolo was a long time ago. I don't see a reason why SteamVR-OpenHMD wouldn't work with it anymore, but I haven't tested it lately...

I did manage to get it working even in SteamVR but the tracking was all borked, it did not track properly at all


Campaign Manager Operators - to insert and modify conversations

https://issues.apache.org/jira/browse/AIRFLOW-6558

Work in #609


Refactoring

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fixed issues
-

 Yii-auth-client refactoring

@rustamwin master should be merged into this branch before furhter cleanup.

@rustamwin master should be merged into this branch before furhter cleanup.

@rustamwin is this one ready to review/merge it?

@rustamwin is this one ready to review/merge it?

Code looks alright but tests aren't OK. Would you please fix these before merge?

👍


I encounter a bug when compiling references using a locally defined CSL file, but this CSL file works fine in Zotero.

Description
I encountered a bug when compiling references using a locally defined CSL file, but this CSL file works fine in Zotero.
When I use the customized csl file in typst, it reports the bug like this

However, the customized CSL file can be used in Zotero fine.
Reproduction URL
https://typst.app/project/pWTAIZrCQt0e1wjiioNDmn#
Operating system
Web app
Typst version

[X] I am using the latest version of Typst

I can't seem to be able to access your sample project at the reproduction URL; can you try generating another link (read-only)?

The multiple layout feature is  part of CSL-M which is not implemented by typst/hayagriva at the moment.

Thanks for your solution; I've customized the CSL file by myself. It works fine now.

Thanks for your solution; I've customized the CSL file by myself. It works fine now.

你好，我遇到了同样的问题，我想实现中文文献用“等”，英文文献用“et al”。但是typst目前不支持csl-m，有办法在使用csl的情况下实现。

@heprion please keep the conversation in English.

@heprion please keep the conversation in English.

sorry, I encoutered the same problem.
https://github.com/typst/citationberg/issues/5


feat(ts-sdk): use lts version in runtime

This PR is an attempt to fixe #7433, if the CI is green, we can merge it, otherwise I'll dig into what breaking change happens with this new version.

Since this is an upgrade of versions, I don't think we need to do a breaking change for this - unless there's something specifically very different in this new version.

Yes it's not supposed to be a breaking change but I wanna verify that it doesn't break the TS SDK

@jedevc There's no breaking change with this PR, that's nice to know!

From the node docs:

Production applications should only use Active LTS or Maintenance LTS releases.

https://nodejs.org/en/about/previous-releases
Node 22 doesn't become active LTS until the end of October
https://github.com/nodejs/release#release-schedule

Hm, this is now a version downgrade. Looking through https://nodejs.org/en/blog/announcements/v21-release-announce, it looks like 21 doesn't bring that many user-facing changes.
That said, I'm not a js programmer - but the downgrade would definitely be unexpected. One option would be to delay something like this to v0.12.0 if we're concerned about breaking changes (just because our CI doesn't hit a breaking change doesn't mean it isn't there) cc @helderco
Potentially, we should also allow configuring the node version used for modules by having a field in dagger.json - I know we've also discussed this for python/go (though go makes this a right pain).

That said, I'm not a js programmer - but the downgrade would definitely be unexpected. One option would be to delay something like this to v0.12.0 if we're concerned about breaking changes (just because our CI doesn't hit a breaking change doesn't mean it isn't there) cc @helderco

Yeah that's right, maybe the best thing to do is to close this PR and wait for october until we can put v22 when it's the active production release?

I think the downgrade is probably alright, but we shouldn't do it until v0.12.0 if we do.
Or we can upgrade to v22 now (upgrades are find whenever IMO), and just temporarily suffer while it's not an LTS version (I'm not sure what kind of issue this would give us).

Or we can upgrade to v22 now (upgrades are find whenever IMO), and just temporarily suffer while it's not an LTS version (I'm not sure what kind of issue this would give us).

In the CI everything looked fine but yeah I don't know either, normally node tries to be backward compatible so it should be okay.
I'll keep the Pr on hold for now and take care of that later in the week

Node upgrades / downgrades are always tricky since its not just the user code that you have to be worried about.  Internally we use 20.11, and one of our devs was setting up a new machine and he had 20.13 installed.  Things broke.
I like the ability to configure which version of node is used, while having a minimum supported version.  Something like this will probably be needed for the bun runtime since that is adding new features on a quicker cadence

Node upgrades / downgrades are always tricky since its not just the user code that you have to be worried about. Internally we use 20.11, and one of our devs was setting up a new machine and he had 20.13 installed. Things broke.

Alright, I'm closing this PR for now, as you said, it's better to allow node configuration which is possible by checking the engine.node field of the package.json.
I'll take care of that later, I'll put a comment in the issue as a reminder

Potentially, we should also allow configuring the node version used for modules by having a field in dagger.json - I know we've also discussed this for python/go (though go makes this a right pain).

Python supports this via pyproject.toml. TypeScript can do the same, just as it's able to select a different runtime (bun), with package.json.

You should probably allow the user to configure the package manager as well.  Having that switch out from beneath you (like it recently did) can cause issues as well.

Python supports this via pyproject.toml. TypeScript can do the same, just as it's able to select a different runtime (bun), with package.json.

Yes but do Python has no breaking change between package manager version? Because that's the case for TypeScript (see https://github.com/dagger/dagger/pull/7518)


[TVMScript] TIR Printer: Var and Type

This PR:

Adds printing function for Var and Type in TIR
Update the traced_object_functor to require type parameter on set_dispatch for better code readability.
Add the TracedObject variants of helper method and constructors in Doc.

This PR is in draft state because it's branched off from a pending PR #12462
Tracking issue: https://github.com/apache/tvm/issues/11912
cc @junrushao1994 @gbonik

cc @junrushao Can you help to review?

Let's split this PR into 2:

The infrastructure change
Printer to Var and Type

Let's split this PR into 2:

The infrastructure change
Printer to Var and Type

The infra change is split into #12829


Make krill-sync generic

Make sure that krill-sync can work on any RRDP layout - i.e. take out the Krill specific assumptions.

This should work now, as long as delta and snapshot files are under the same base uri path as the notify/notification.xml - otherwise krill-sync can't map those other uris to a backend.
Note that krill-sync will produce its own RRDP data and structure which might differ from the actual back-end.


FPP Visualization Automation

F´ Version

Affected Component

Feature Description
Automate the fop-visualizations. https://github.com/nasa/fprime/pull/1167

You mean integrate FPL and FPV ? That would be awesome indeed.

Yes, we want to directly integrate the large FPP suite of tools into fprime-util!  That way it is all fairly straight-forward to run.

What would be the associated command?
Something like fprime-util layout and fprime-util visual ?
Or just a fprime-util visual command that takes care of running fpl and fpv ?
Just run it in a directory containing a deployment, and no path argument?

Closing this issue as it is now tracked in https://github.com/nasa/fprime/issues/2059
Under development in https://github.com/thomas-bc/fprime-tools/tree/feat/fpp-visualize
We are also using a Flask'ed version of fprime-visual, planned to be released soon. See https://github.com/thomas-bc/fprime-visual/tree/refactor/flask
fprime-util visual takes care of everything :) The workflow is

fprime-util visual
???
profit


Dart analyzer in Android Studio question/issue

The screenshoot below says it all, in principle:

I have a certain nullable type T?
I check first in if condition if it is different then null. T? something = T(); if (something != null) { // do something with something. Still analyzer wants to check against null and use !.}

Same situation in screenshoot below and many other situations for me, also in pure dart code not just inside flutter.
In screenshoot I just compared that stackChildren is not null
its type is   final List<Widget>? stackChildren;
so why do I need to use ! after variable to assert is not null again while expanding

Next example same situation String?, checking that is different then null, still need to assert !

Have to use text! instead of text
I am not complaining though, just trying to understand what is reason for this. In typescript for example analyzer would not ask to assert after the null check

The stackChildren is likely not a local variable. Dart only allows you to type-promote local variables, that includes removing nullability.
You can use ...?stackChildren instead to only spread the value if it's non-null. That avoids having to read the non-local variable twice, and then try to infer something for the latter read from tests on the former (which is what promotion does).


Fetch --all

Support for git lfs fetch --all for backup/migration purposes.

Once again CI fail is the intermittent 'batch error handling' test again, unrelated.

Rebased and lights are green again.

Looks cool to me :+1:

I rebased but now have another Travis fail with a smudge test, doesn't happen locally on Go 1.5.

Second time's a charm.


No subdomains found

What's the problem (or question)?
I am trying to enumerate the subdomains for venclave.com, but no domains are found.
Do you have an idea for a solution?
No idea.
How can we reproduce the issue?
func SubFinder(domain string) (domains []string, err error) {
	s := subf.NewSubfinder()

	s.State = helper.InitState()
	s.State.Recursive = true
	s.State.Bruteforce = false
	s.State.NoPassive = false
	s.State.ComResolver = resolvers
	s.State.Threads = runtime.NumCPU()
	s.State.Domain = domain
	s.State.Wordlist = wordList
	s.State.IsJSON = true
	s.State.AquatoneJSON = false
	s.State.SetConfig = "none"
	s.State.SetSetting = "none"

	s.State.CurrentSettings = *helper.InitializeSettings()

	conf, err := loadConfig(subfinderConfigPath)
	if err != nil {
		return nil, fmt.Errorf("could not load subfinder config: %v", err)
	}

	s.State.ConfigState = *conf

	s.Init()

	return s.PassiveEnumeration(), nil
}
	s, err := enumeration.SubFinder("venclave.com")
	log.Printf("%v %v", s, err)

Running enumeration on venclave.com

Total 0 Unique subdomains found for venclave.com

2019/07/12 14:28:56 [] <nil>

My config:
{
  "virustotalApikey": "xxx",
  "passivetotalUsername": "",
  "passivetotalKey": "",
  "securitytrailsKey": "",
  "riddlerEmail": "",
  "riddlerPassword": "",
  "censysUsername": "",
  "censysSecret": "",
  "shodanApiKey": "xxx"
}

What are the running context details?

Installation method: go module
Client OS: macOS
Program version (see banner):  v0.0.0-20190708194656-3439a39acc81
Relevant console output (if any):
Exception traceback (if any): no errors

I didn't set s.State.Sources = "all"


Use user avatar

Use the user's avatar instead of the default paw logo when the user is logged in

Hi, just wanted to say that I will be working on this issue. 👍

Hi, just wanted to say that I will be working on this issue. 👍

Are you still working on this?

I can work on this! :)

Thanks @cody-castro !


can kivy works with erppeek for build apk?

hi.
i'm building app in kivy with erppeek. in a linux pc works. but the apk does not work.
can you help me.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Unless you have a bug to report, please use our mailing list and irc chan for getting help.
https://github.com/kivy/kivy#support


a few extensions

Hi Josh
This project is useful, many thanks.  I've had to hack a few extensions in to get it to do what I need though.  Rather than a PR I'll just leave them here for you to do with as you wish as they need to be applied to all methods and better integrated.

Add some more fields
`
public static History getHourFullargs(String fromSym, String toSym, int limit, String exchange, int aggregate, Integer toTs)
throws IOException, OutOfCallsException {
String formattedUrl = String.format("https://min-api.cryptocompare.com/data/histohour?fsym=%s&tsym=%s&limit=%d&e=%s&aggregate=%d",
fromSym.toUpperCase(), toSym.toUpperCase(), limit, exchange, aggregate);
 if (toTs != null) {
 	formattedUrl = String.format("%s&toTs=%d", formattedUrl, toTs);
 }

 System.out.println(formattedUrl);

 Reader r = Connection.getJSON(new URL(formattedUrl), CallTypes.HISTO);
 return new Gson().fromJson(r, History.class);

}
`

Wrap for limits > 2000:
`
private static List getHourHistory(CurrencyPair pair, int hours) throws IOException, OutOfCallsException {
int samples = hours;
List listData = new LinkedList<>();
Integer timeFrom = null;
Set listTimes = new HashSet<>(hours);
 boolean done = false;

 while (!done) {
 	// only returns ~2000 at a time
 	Historic.History history = Historic.getHourFullargs(pair.base.toString(), pair.counter.toString(), samples, "Cryptopia", 1, timeFrom);

//			System.out.println(history.timeFrom + ", " + history.data.size());
		timeFrom = history.timeFrom - 1 ;	// start time of samples
		samples -= history.data.size();

//			listData.addAll(history.data);
		for (Data data : history.data) {
			if (listTimes.contains(data.time)) {
				System.out.println("Duplicate timestamp: " + data.time + ", record ignored.");
			} else {
				listTimes.add(data.time);
				listData.add(data);
			}
		}

		if ((samples <= 0)
			||(history.timeFrom <= 0)
			||(history.data.size() <= 0)
			){
			done = true;
		}
	}

//		System.out.println(listData.size());
return listData;
}
`

Useful for debugging:
 		@Override  		public String toString() {  			return "Data [time=" + time + " (" +Instant.ofEpochSecond(time) + ")" +  					", open=" + open +  					", high=" + high +   					", low=" + low +   					", close=" + close +   					", volumeFrom=" + volumeFrom +   					", volumeTo=" + volumeTo +  					"]";  		}

Yes I've been working on adding the optional fields and limits, and the debugging is a good idea. I'll have this updated in the next few weeks.

Here's a couple more things:
It might be best for the routine to return data guaranteed to be time-sequenced.  I've modified my code above to use a TreeMap and also modified the rejection of duplicate timestamps to use that instead.
Also there's the possibility of loss of precision converting stringed numbers to doubles.  Might it not be better to use BigDecimals or something similar?

Cryptocompare is now sending null data tuplets for dates when it has no values.  I've added this code:
`// CryptoCompare is now sending empty values instead of saying it has no data, eg:
// Data [time=1434664800 (2015-06-18T22:00:00Z), open=0.0, high=0.0, low=0.0, close=0.0, volumeFrom=0.0, volumeTo=0.0]
// Iterate through the time-sorted list deleting everything until we find the first real data.
	Iterator<Integer> iter = mapData.keySet().iterator();

	while (iter.hasNext()) {
		Integer k = iter.next();

		Data v = mapData.get(k);

		if (v.open == 0.0d
				&& v.high == 0.0d
				&& v.low == 0.0d
				&& v.close == 0.0d
				&& v.volumeFrom == 0.0d
				&& v.volumeTo == 0.0d) {
			iter.remove();
		} else {
			break; // stop when we reach first real value
		}

	}`