pypolicyd-spf 2.0.2 -> spf-engine 2.9.3

Fixes CVE-2019-20790 (#90974)
Description of changes
pypolicyd-spf was renamed to spf-engine. Fedora made a similar change..
Changelog

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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[x] (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.

nixpkgs-review happy, macos 10.15, nixos x86_64 & aarch64.

Updated the hash, had to add the pymilter package, but now it's actually 2.9.3 :)

nixpkgs-review still happy

@ofborg build spf-engine
Fails for me on macos 10.15

Not sure what to do about that error. I've asked for backup and disabled the darwin pymilter build for now.

The macos failure is actually an indication that libmilter is slightly broken there. To fix it, it needs this alteration:
--- a/pkgs/development/libraries/libmilter/default.nix
+++ b/pkgs/development/libraries/libmilter/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, m4 }:
+{ lib, stdenv, fetchurl, m4, fixDarwinDylibNames }:

 stdenv.mkDerivation rec {
   pname = "libmilter";
@@ -34,7 +34,11 @@ stdenv.mkDerivation rec {

   patches = [ ./install.patch ./sharedlib.patch ./glibc-2.30.patch ./darwin.patch ];

-  nativeBuildInputs = [ m4 ];
+  nativeBuildInputs = [ m4 fixDarwinDylibNames ];
+
+  postInstall = lib.optionalString stdenv.isDarwin ''
+    fixDarwinDylibNames $out/lib/libmilter.dylib.1
+  '';

   meta = with lib; {
     description = "Sendmail Milter mail filtering API library";

and then the libredirect setup just needs to be altered to instead set DYLD_PRELOAD to libredirect.dylib in the darwin case.
Alternatively you can add libredirect to the buildInputs and let its setup hook do all the preload-setting for you.

Adding fixDarwinDylibNames seems to work. However, adding libredirect to checkInputs does nothing. Adding DYLD_INSERT_LIBRARIES makes all files fail with 'permission denied'. Doing nothing works since macos has /etc/resolv.conf (:


test: add steps UI e2e test

PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Summary by CodeRabbit

New Features

Introduced a comprehensive test suite for the "steps" feature within the xdesign framework, validating various UI components.
Added tests for different representations and styles of the steps component, including horizontal, vertical, size variations, and hover states.

Bug Fixes

Enhanced error handling within the test suite to improve robustness and reliability.


Icicle REPL

A REPL for the surface language would be nice. It should output Core and Avalanche, and perhaps interpret it.
More helpful error messages would be nice too, but that's not really in the scope of this issue.

so, I think it's worth looking at main/icicle.hs and src/Icicle/Repl.hs. I'm imagining a conversation would go something like
> :load data/example/demographics.psv
ok, 30 rows
> :set show Type
ok
> :set show Core
ok
> :set show Eval
ok
> feature salary ~> sum value
Type: Int

Core:
 Program
   Stream
     s = Source
   Reduce
    f = Fold (+) 0 s
   Returns
    f

Eval:
  homer 1645834
  marge  0

tran did this ages ago!


Struct Country

Issue Type: Feature Request
#include<stdio.h>
#include<string.h>
typedef struct Country {
char name[16];
char language[16];
char religion[8];
int population;
int num_of_cities;
float area;
char capital[16];
char money[16];
char president[16];
char continent[16];
} country;
country city(){
country town;

printf("Enter a country name : \n");
fgets(town.name, sizeof(town.name), stdin);
town.name[strlen(town.name)-1] = '\0';

printf("Enter a country language : \n");
fgets(town.language, sizeof(town.language), stdin);
town.language[strlen(town.language)-1] = '\0';

printf("Enter a country religion : \n");
fgets(town.religion, sizeof(town.religion), stdin);
town.religion[strlen(town.religion)-1] = '\0';

printf("Enter a country population : \n");
scanf("%f", &town.population);

printf("Enter a country num of cities : \n");
scanf("%d", &town.num_of_cities);

printf("Enter a country area : \n");
scanf("%f", &town.area);
fgetc(stdin);

printf("Enter a country capital : \n");
fgets(town.capital, sizeof(town.capital), stdin);
town.capital[strlen(town.capital)-1] = '\0';

printf("Enter a country money : \n");
fgets(town.money, sizeof(town.money), stdin);
town.money[strlen(town.money)-1] = '\0';

printf("Enter a country president : \n");
fgets(town.president, sizeof(town.president), stdin);
town.president[strlen(town.president)-1] = '\0';

printf("Enter a country continent : \n");
fgets(town.continent, sizeof(town.continent), stdin);
town.continent[strlen(town.continent)-1] = '\0';

return town;

}
void Output(country *value){
puts("");
printf("Country name : %s\n", value->name);
printf("Country languages : %s\n", value->language);
printf("Country religion : %s\n", value->religion);
printf("Country population : %.2f\n", value->population);
printf("Country num of cities : %d\n", value->num_of_cities);
printf("Country area : %.2f kv.km\n", value->area);
printf("Country capital : %s\n", value->capital);
printf("Country money : %s\n", value->money);
printf("Country president : %s\n", value->president);
printf("Country contident : %s\n", value->continent);

}
int main(){
country Dubai = city();
Output(&Dubai);

country New_York = city();
Output(&New_York);

country Mexico = city();
Output(&Mexico);

country Japan = city();
Output(&Japan);

country Uzbekistan = city();
Output(&Uzbekistan);

return 0;

}
VS Code version: Code 1.69.1 (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:28:29.328Z)
OS version: Linux x64 5.15.0-41-generic snap
Restricted Mode: No

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


How can I edit the certain bone length in generation?

I used the rig generated by your addon in blender and used auto-rig-pro to remap the animation to my own rig, whose body proportion is not so similar to the generated one. And this made the animation look completely wrong.
How can I edit the certain bone length in generation?  Decreasing the length of arms helped. So how can i make the arms shorter without train a new model?
i`ll be appretiate it if you can slove my problem.

This model is not trained with different born lengths. So, it could be challenging to change it at inference time. You could look for advanced retargeting methods to post-process the generated motion.


:memo: fix: jsdoc missing closing ```

Description
missing ``` was making jsdoc generated docs wrong
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #614   👈

This comment was auto-generated by Graphite.


force build-ubuntu to 24.04

We discussed meson coming from ubuntu and not from pip. This is ok because people will use different meson versions anyway.

we should put a minimum version in there at some point perhaps, but indeed


Move NZ specific teachers note to assessment guide

The following sections require NZ teachers notes to be extracted and moved to assessment guides:

[ ] Artificial Intelligence
[ ] Computer Graphics
[ ] Compression Coding

Also the project section will need to be moved.

Project: Investigating chatterbots and the Turing test

A: describing the concept of encoding information using compression coding, error control coding, and encryption; and typical uses of encoded information
M: discussing how a widely used technology is enabled by one or more of compression coding, error control coding, and encryption
E: evaluating a widely used system for compression coding, error control coding, or encryption

closed for guides out of date


tree-sitter: fix webUISupport build

Description of changes
I tried to run tree-sitter playground and ran into the issue that @ErinvanderVeen described in https://github.com/NixOS/nixpkgs/issues/241304#issuecomment-1985336634.
This PR makes tree-sitter.override { webUISupport = true; } build. It also makes tree-sitter build-wasm always work, since it patches in the full path to the emcc binary in the Nix store.
Now I'm able to make a playground for https://github.com/nix-community/tree-sitter-nix ...
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

cc @rupurt as they reported this issue.


Drop-in replacement for math/rand.

rand/math always initialize its global random generator with a seed of 1.


Final newline?

This is a minor thing, but the output does not seem to include a final newline. Is that intentional?

It wasn't intentional, my setup did not make the missing newline obvious 😓

You can try the fix with luarocks install https://raw.githubusercontent.com/jeffzi/llscheck/main/llscheck-dev-1.rockspec until a new release comes out.

Terrific. Thanks.


release: kick off 1.12.3 stable release.

Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

CI on release/v1.12 is broken for unrelated reasons (see: #10027, #10028). Force-merging.


Store MemGPT config and agent configs via storage connector API

#708 migrates loaded data, archival memory, and recall memory into storage connectors.
We will also migrate agent and user metadata (similar to source metadata) into storage connectors so everything can be stored in a DB.
Todos

[ ] Create metadata tables:

[ ] Agents - Store created agents and attached data sources
[ ] Users - Store user configs

[ ] Add deletion support for agents

Closed by #708


Yosys Fails to Synthesize Tri-State Logic Correctly for inout Ports

Version
Yosys 0.39+149
On which OS did this happen?
Linux
Reproduction Steps
my test:

yosys -p 'read_verilog rtl.v; synth; write_verilog syn.v'
Expected Behavior

Actual Behavior

The problem is with your script. You are not calling the passes responsible for handling tristates, which are tribuf -logic and deminout.  If you use the command for xilinx synthesis, yosys -p "read_verilog top.v; synth_xilinx -top top; write_verilog synth.v" (synth_xilinx includes tribuf -logic and deminout), you get the result you expected:
/* Generated by Yosys 0.40+7 (git sha1 7bb274620, c++ 15.0.0 -fPIC -Os) */

module top(wire1, wire2, wire3, y);
  wire _0_;
  wire _1_;
  wire _2_;
  wire _3_;
  inout wire1;
  wire wire1;
  input wire2;
  wire wire2;
  input wire3;
  wire wire3;
  output y;
  wire y;
  INV _4_ (
    .I(_3_),
    .O(_0_)
  );
  IOBUF _5_ (
    .I(_2_),
    .IO(wire1),
    .O(_1_),
    .T(_0_)
  );
  IBUF _6_ (
    .I(wire2),
    .O(_2_)
  );
  IBUF _7_ (
    .I(wire3),
    .O(_3_)
  );
  OBUF _8_ (
    .I(_1_),
    .O(y)
  );
endmodule


Cannot close last window

The q mapping seems to be mapped to <c-w>c. When trying to close the last window, Vim yields error 444 "Cannot close last window". Perhaps instead one should map nnoremap <buffer> q :q?

@lervag before last nights PR, it was :q but https://github.com/neovim/neovim/pull/4449#discussion-diff-56021575

Interesting. I don't get why we "Can't change this". Well, who cares. I'm glad you reverted in the main plugin! It doesn't make sense to me to make q map to close instead of quit.

I don't get why we "Can't change this".

Because the plugin should not quit the entire editor. No other stock plugin does this.

@justinmk but in the context of a pager, it should close the entire editor. It's more intuitive. Every wrapper around man.vim adds that :q mapping. https://github.com/jez/vim-superman, https://github.com/lambdalisue/vim-manpager, http://vim.wikia.com/wiki/Using_vim_as_a_man-page_viewer_under_Unix, https://github.com/vim-utils/vim-man. If people are gonna add it anyway, why not include it as the default.

but in the context of a pager, it should close the entire editor.

If someone does :Man foo in an editing session (not using vim as a pager), it should not close the editor. If there's a way to reliably detect that situation with less than 2 lines of code, then it would make sense.

@justinmk that would open in a new tab though, so it wouldn't really matter. It'd just close the tab.

No, users may switch to a previously-opened man:// buffer in the current tab. Not to mention the window feature you added.

How about something like:
nnoremap <nowait><expr> Q
  \ len(filter(range(1, bufnr('$')), 'buflisted(v:val)')) > 0
  \ ? ':bwipeout<cr>' : ':quit<cr>'

@justinmk fair enough.
I think lervag's solution is a nice middle ground. But we should change :bwipeout to :close.

@nhooyr No, :close will not work, because it works on windows. The point here is to not close Vim if there are any buffers remaining. Perhaps one needs more advanced stuff than this if people use tabs (I generally don't).

@lervag I don't understand. :close will close the window, leave the buffer, and not close vim. That's the behaviour we want if there are more buffers remaining.

@nhooyr No: If the current window is the last window, then :close will give error 444 similar to the origin of this issue. Thus, if I start Vim, open some file, then do :Nman something with Nman opening in the current window, then I have: 1 open file that is hidden (implied bufhidden), one open Nman page, and a single window. :close will not work, because it can't close the last window. :bwipeout, however, will kill the Nman buffer as expected.

@lervag ah gotcha.

@lervag if you use neovim, checkout neovim/neovim#4449, it automatically maps q correctly based on whether neovim was opened as a pager.

Thanks! Looks interesting, but I still haven't jumped the ship on Vim yet. I'm considering it, but it will take some time to reconfigure and get used to it. Besides, I use gvim alot, and as far as I understand, there is still not real neovim gvim alternative.

You could try equalsraf/neovim-qt

Thanks for the suggestion! I'll definately look into this some more when I get the time.


Got blocked for me

Hello DotLYHiyou, this website got blocked for my school and I was wondering if you could add some more links to this website. If you can, I would really appreciate it. If you can't add more links, that's ok.

I am working on that. Thanks for the heads up.

You can also deploy it yourself with Vercel.

I added more links, your welcome!

they are in the readme


ISSUE: No instructions in how AMAZON works

Can we get info in how amazon delivery will work?
ALSO,  will it read a FWD email? As I will not give any plugin to my main email account.

Amazon in early stages and may not be developed further which is why it is not documented. It’s a sensor and tracking list is put into the sensors attributes.
You can have your delivery messages sent to a separate email address and use that to provide the integration or customize the code to fit your need. You would need to make changes in the const.py. You will need to be careful not to overwrite your changes when you upgrade and be aware of any changes that may break your customizations.


Filter html markdown

I am using gcr.io on the chat text and slack interprets it as a link that makes resulting command with <http://gcr.io|gcr.io> Anyway to escape this markdown? I tried with ` also but no way.

I think that #78 will allow this, closing this issue for now.


Offchain workers code shouldn't be on chain

Since it doesn't participate in consensus, the code run by the offchain worker shouldn't be included in the :code key.
This issue is speculative and might be closed if there's a good reason to include the code in :code.
cc @pepyakin @tomusdrw

The advantage I see is allowing off-chain code updates the same way we do for the runtime. We can't trust the code but it's useful for honest nodes I guess.

The advantage I see is allowing off-chain code updates the same way we do for the runtime. We can't trust the code but it's useful for honest nodes I guess.

Yes, and I think it makes more sense for the this variant of an off-chain program (aka. fn offchain_worker()) to be upgradable with the runtime and tightly coupled with it. If you don't want that, I don't see anything keeping you from writing your own program that runs next to the client and does whatever it wants, reads stuff and submits back results, both through RPC. Maybe someday the abstractions provided by the runtime offchain worker become so noticeably better than manual scaffolding a new program that then we could re-consider.


Issues with Windows SDK version 10.0.14393 or earlier

Hi,
The known issue page mentions:
"You cannot install Windows SDK version 10.0.14393 or earlier. Certain packages fail to install and workloads that depend on those packages will not work."
https://docs.microsoft.com/en-us/visualstudio/install/build-tools-container-issues?view=vs-2017
Is there anywhere I can find more information on this issue: e.g. root cause,  issue's fix status?
My applications requires these older Windows SDKs (including WIndows SDK 8.x and Windows SDK 7.x). Does anyone has any work around for that?
Thanks.

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

ID: 5a03297c-c10e-c0e8-679c-df90b709d475
Version Independent ID: 2e9073e3-4dc7-5ccc-55ac-ecbf039e7c29
Content: Known issues for containers - Visual Studio
Content Source: docs/install/build-tools-container-issues.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @ornellaalt
Microsoft Alias: ornella

@data-metrics -- Liam, thank you for your question. Here are a few options you might consider:

https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

As well, you might also consider using the Report a Problem tool to report the issue.
cc @ornellaalt for awareness


[Feature Request] el-upload sort file order

Existing Component
是
Component Name
el-upload
Description
After upload photos,want to adjust the photo order .
like product photos,need a main photo in the product detail page.
Maybe drag the the photo to adjust the order is a better idea.thanks

Sorry, we have no plan to support this. You can implement your own file list with drag and drop in the default slot of <el-upload>.

You may check imgpond

You may check imgpond


failedTemplate fails with values.schema.json

failedTemplate fails if provided values are not validated correctly against the chart's values.schema.json.
To reproduce, start with an empty helm chart with this values.schema.json:
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "value": {
        "type": "string"
      }
  }
}

And this test should fail:
suite: test suite
tests:
  - it: should succeed
    set:
      value: null
    asserts:
      - failedTemplate: {}

My understanding is that this test should succeed.

Hola. Would you be able to provide a link to helm-unittest docs?

Hello
https://github.com/helm-unittest/helm-unittest/blob/main/DOCUMENT.md#assertion-types
failedTemplate's description mentions validating against schema.

Hello @ata-ata,
We have tests checking the values.schema.json behaviour.
https://github.com/helm-unittest/helm-unittest/blob/fd633a3f7b1680d1751bc46cf3b226756f03b4db/pkg/unittest/test_job_test.go#L516
The error is not related to the schema validation, but to the fact the assertion was not executed due to having no parsed documents.
I have added additional testcases showing this scenario now succeeds.
Greetings,
@quintush


Validate if Docker process is up and running

When executing MLCube whiout Docker installed or running there is a long error message indicating that it's possible that Docker isn't running (Is the docker daemon running?) but this message is at the top of other outputs and it's hard to understand the actual error, the idea of this PR is to provide a better error message by checking if there aren't any Docker processes running and provide a simpler output.
Before:

After:

We need to verify that either docker or podman are available.  Both docker and podman use the docker runner, hence for the podman user docker will likely not be running and will not need to be for mlcube to work correctly using the docker runner.  The podman user specifies "alias docker=podman" and uses the docker_runner. Installation instructions for podman on mac, windows, linux are here:  https://podman.io/getting-started/installation


Update travis-ci config example

The readme proposes this example config:
language: rust
cache: cargo
before_script:
- export PATH="$PATH:$HOME/.cargo/bin"
- which rustfmt || cargo install rustfmt-nightly
script:
- cargo fmt -- --write-mode=diff
- cargo build
- cargo test

But it does not work for me:

cache: cargo makes travis think so that it is wrongly written and so the default config (ruby language) is used by travis.
The cargo build, I guess, is better to change to cargo check.
cargo fmt fails:

$ which rustfmt || cargo install rustfmt-nightly
/home/travis/.cargo/bin/rustfmt
0.07s$ cargo fmt -- --write-mode=diff
error: toolchain 'stable-x86_64-unknown-linux-gnu' does not have the binary `cargo-fmt`

Here is the log when I remove the cache: cargo line.

I think this is a duplicate of #2285. The error is a little different in this case, but the workaround at the bottom that issue fixes this case for me.
I'm unclear if that workaround is the best option right now, although I don't have any reason to believe it's not. It does add a lot of time to a build. If it is the current best path, we should update README.md to reflect this.

Yes, tested that, even changed cargo build to cargo check but it still compiles too long.

Travis build time increas from 2 minutes to 20 minutes. We should definitely do something.

I played around with this a bit, and replacing cargo install with rustup component add did mitigate the build time. A simple example would be something like:
language: rust
before_script:
  - rustup toolchain install nightly
  - rustup run nightly rustup component add rustfmt-preview
  - which rustfmt || cargo install --force rustfmt-nightly
script:
  - cargo +nightly fmt --all -- --write-mode=diff
  - cargo build
  - cargo test

This does not work if you need the specific version of rustfmt, though.

Closed via #2411.


adding functionality to gridplot to name subplots in gridplot

addressing some of the simplification ideas in #22 , #36
basically adds the ability to name subplots in a gridplot

I thought about this a bit more and it makes more sense for name to be an attribute of Subplot.
Subplot already has the attribute position which acts similar to GridPlotIndexer.index
more comments in the code

Add name as a kwarg to Subplot and names as a kwarg to Gridplot so that the names can be set from the beginning.

naming functionality now works as outlined in #36
take a look and let me know if I need to make any additional changes, or could improve elegancy!!

can you do this without the heatmap branch being merged into here? that branch Is too rudimentary and I want to merge this first

still need to implement helpful __repr__ methods for Graphic, GridPlot, and Subplot

Can you update the example notebooks according to this PR

great job on your first contribution! :D


File name fix get-started-android.md

File name in sample is Android/NDK/app/src/main/cpp/AzureSpatialAnchorsApplication.cpp

@DrNeil : Thanks for your contribution! The author, @craigktreasure, has been notified to review your proposed change.

Great catch! Thanks for taking the time to contribute this change!


Problems in Edge after updating version

Hi,
I've found a bit of a problem after updating to tailwind version 1. In Edge I'm getting errors from tailwindcss/stubs/defaultConfig.stub.js due to Edge not supporting the object rest operator. In our setup at least, this causes js errors half way through our js chunk so we lose functionality. Attempting to overwrite the sections using that operator in our own config doesn't seem to prevent the default from being pulled in and causing the error. A fix or any insights would be much appreciated. Thanks!

Can you give some more details about your setup? My first thought is you don't actually need to serve that file to the client unless you want to reference your theme in Vue/React components as JavaScript, so maybe it's a configuration issue that's mistakenly including that file in your client JS even though it shouldn't be.
If you do want that file to be available to the client, you should make sure you are transpiling your JS with Babel.

Thanks yep - that totally makes sense. So we’re using Vue, with tailwind imported as a postcss plugin, but I think I need to dig further into how everything slots together as the webpack config is abstracted away by vue-cli-service. I’ll see if I can find out what’s up with the config and post back here if I find something that might be useful to others.


error NU1301: Unable to load the service index for source    Failed to restore  (in 6.21 sec).

Describe the bug
posted here also https://github.com/dotnet/dotnet-docker/issues/6046#issue-2652208048, ive seen them pointing to this repo, so i post here also.
in on prem Azure Devops, using azure artifacts, i try to run dotnet restore in a docker container.
It results in the error below. When running on the linux hosting the container, it works.

error NU1301: Unable to load the service index for source
  Failed to restore  (in 6.21 sec).

The error:
root@d553c5d80b84:/src/Common# dotnet add package curl
  Determining projects to restore...
  Writing /tmp/tmpXB2IXF.tmp
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/8.0.403/trustedroots/codesignctl.pem'.
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/8.0.403/trustedroots/timestampctl.pem'.
info : Adding PackageReference for package 'curl' into project '/src/Common/Common.csproj'.
error: Unable to load the service index for source https://<url>/<etc>/_packaging/feed/nuget/v3/index.json.
error:   The SSL connection could not be established, see inner exception.
error:   The remote certificate is invalid because of errors in the certificate chain: PartialChain

I've tried supplying the credentials in three ways, one is using commands, the other using a nuget.config file, the third with VSS_NUGET_EXTERNAL_FEED_ENDPOINTS, all fail:
dotnet nuget add source  -name feed
dotnet nuget update source feed --valid-authentication-types basic --username "feed" --password xxxxx --store-password-in-clear-text
dotnet nuget list source
 dotnet nuget list source
Registered Sources:
  1.  <feed>-feed [Enabled]
      <url>/feed/nuget/v3/index.json

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="feed" value="<url>/feed/nuget/v3/index.json" />
  </packageSources>
  <packageSourceCredentials>
    <feed>
      <add key="Username" value="feed" />
      <add key="ClearTextPassword" value="xxxxxxxxxxxx" />
    </feed>
  </packageSourceCredentials>
</configuration>

export VSS_NUGET_EXTERNAL_FEED_ENDPOINTS="{\"endpointCredentials\": [{\"endpoint\":\"<url>/feed/nuget/v3/index.json\", \"username\":\"feed\", \"password\":\"xxxx\"}]}"
dotnet restore --configfile /root/.nuget/NuGet/NuGet.Config
  Determining projects to restore...
/src/Common.csproj : error NU1301: Unable to load the service index for source h<url>/feed/nuget/v3/index.json.

dotnet  add package nuget
  Determining projects to restore...
  Writing /tmp/tmpDytL4u.tmp
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/8.0.403/trustedroots/codesignctl.pem'.
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/8.0.403/trustedroots/timestampctl.pem'.
info : Adding PackageReference for package 'nuget' into project '/src/Common.csproj'.
error: Unable to load the service index for source <url>/feed/nuget/v3/index.json.
error:   The SSL connection could not be established, see inner exception.
error:   The remote certificate is invalid because of errors in the certificate chain: PartialChain

more details:
when i run  with disableTLSCertificateValidation="true":
root@82398c569468:/src/Common# cat nuget.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="feed" value="<url>/feed/nuget/v3/index.json" disableTLSCertificateValidation="true" />
  </packageSources>
</configuration>

i get
error NU1202: Package Microsoft.AspNetCore.Grpc.Swagger 0.9.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Microsoft.AspNetCore.Grpc.Swagger 0.9.0 supports: net9.0 (.NETCoreApp,Version=v9.0)

root@82398c569468:/src/Common# dotnet restore
  Determining projects to restore...
/src/Common/Common.csproj : error NU1202: Package Microsoft.AspNetCore.Grpc.Swagger 0.9.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Microsoft.AspNetCore.Grpc.Swagger 0.9.0 supports: net9.0 (.NETCoreApp,Version=v9.0)
  Failed to restore /src/Common/Common.csproj (in 8.33 min).

when i run
dotnet restore --configfile nuget.config --verbosity detailed

it just gets stuck like this:
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.Packaging, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.Packaging.dll, MVID: c3569465-2284-4cdc-80fa-53f23ad5a901, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.LibraryModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.LibraryModel.dll, MVID: 9c74e240-a36b-4261-ae2d-466984d97095, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.Versioning, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.Versioning.dll, MVID: 0ff30a8a-7983-4ede-bc2f-f9d2f526b309, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.Frameworks, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.Frameworks.dll, MVID: 36fa17a1-abb6-4cce-b85c-dd32a6dcc45f, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.Protocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.Protocol.dll, MVID: 65288774-e726-408e-8bb6-d22100f75eed, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.Credentials, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.Credentials.dll, MVID: 07a91a3f-265a-4226-985e-876d1036d338, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): System.Security.Cryptography.X509Certificates, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/System.Security.Cryptography.X509Certificates.dll, MVID: babd25b1-dd98-4c86-b2b5-fa9a5f94ffc1, AssemblyLoadContext: Default)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): System.Formats.Asn1, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (location: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/System.Formats.Asn1.dll, MVID: 4f606ed3-8b57-4dbe-8e7a-4ec241436b9b, AssemblyLoadContext: Default)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): System.Runtime.Numerics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/System.Runtime.Numerics.dll, MVID: 12ecf9da-16be-489d-b9c2-184fdd323547, AssemblyLoadContext: Default)
         X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/8.0.403/trustedroots/codesignctl.pem'.
         X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/8.0.403/trustedroots/timestampctl.pem'.
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): NuGet.DependencyResolver.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/share/dotnet/sdk/8.0.403/NuGet.DependencyResolver.Core.dll, MVID: 70f2641a-4895-4758-a37b-70be48187b22, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Running restore with 2 concurrent jobs.
         Reading project file /src/Common/Common.csproj.
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed (location: /usr/share/dotnet/sdk/8.0.403/Newtonsoft.Json.dll, MVID: 7e62198b-eab2-4380-bbac-29171862d1d8, AssemblyLoadContext: MSBuild plugin /usr/share/dotnet/sdk/8.0.403/NuGet.Build.Tasks.dll)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): System.Runtime.Serialization.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/System.Runtime.Serialization.Primitives.dll, MVID: 8be68a72-9db8-4eb5-9241-92109545e51d, AssemblyLoadContext: Default)
         Restoring packages for /src/Common/Common.csproj...
         Restoring packages for .NETCoreApp,Version=v8.0...
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): System.Security.Cryptography.Algorithms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/System.Security.Cryptography.Algorithms.dll, MVID: b2d08e03-619c-4317-8587-9ac3f8a7b71e, AssemblyLoadContext: Default)
         Assembly loaded during TaskRun (NuGet.Build.Tasks.RestoreTask): System.Security.Cryptography.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/System.Security.Cryptography.Primitives.dll, MVID: 0117ccad-7047-48e5-9ddb-84d8ee641a37, AssemblyLoadContext: Default)

I would appreciate any assistance.
Which .NET image(s) are you using?
mcr.microsoft.com/dotnet/sdk:8.0
Steps to reproduce
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["Common/", "Common/"]
RUN dotnet nuget add source /nuget/v3/index.json --name feed
RUN dotnet nuget update source feed --valid-authentication-types basic --username "-feed" --password  xxx --store-password-in-clear-text
RUN dotnet nuget list source
RUN dotnet restore  "./Common/Common.csproj"
Other information
No response
Output of docker version
docker version
Client:
 Version:           25.0.5
 API version:       1.44
 Go version:        go1.22.5
 Git commit:        5dc9bcc
 Built:             Wed Aug 21 00:00:00 2024
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          25.0.6
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.22.5
  Git commit:       b08a51f
  Built:            Wed Aug 21 00:00:00 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.22
  GitCommit:        7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc:
  Version:          1.1.14
  GitCommit:        2c9f5602f0ba3d9da1c2596322dfc4e156844890
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker info
docker info
Client:
 Version:    25.0.5
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.0.0+unknown
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx

Server:
 Containers: 81
  Running: 0
  Paused: 0
  Stopped: 81
 Images: 123
 Server Version: 25.0.6
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc version: 2c9f5602f0ba3d9da1c2596322dfc4e156844890
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.112-122.189.amzn2023.x86_64
 Operating System: Amazon Linux 2023.6.20241010
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 7.629GiB
 Name: ip-10-18-8-203.il-central-1.compute.internal
 ID: f06a87e8-e7bb-4174-b68a-40dcbfa93d67
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

root@82398c569468:/src/Common# dotnet restore
  Determining projects to restore...
/src/Common/Common.csproj : error NU1202: Package Microsoft.AspNetCore.Grpc.Swagger 0.9.0 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Microsoft.AspNetCore.Grpc.Swagger 0.9.0 supports: net9.0 (.NETCoreApp,Version=v9.0)
  Failed to restore /src/Common/Common.csproj (in 8.33 min).

Is Microsoft.AspNetCore.Grpc.Swagger a dependency of your Common.csproj ? From the error message it looks like you need to be using dotnet 9 sdk instead of dotnet 8 to use this package. The fact that you got past the Unable to load the service index for source makes me think this isn't an authentication issue.

I got past this error by downgrading the swagger to 8.11. and I still get the Unable to load the service index for source.
what can i do?

If adding the password directly to the nuget.config with the add source command didn't work, using this cred provider with the external endpoints variable would not be expected to work either. I would recommend looking at the password.

Are there any exception or error messages from the credprovider in the detailed logs after downgrading and with disableTLSCertificateValidation="true"? If so, please add them here and we can investigate further.

Hi
Thanks for the answer!
When running with credprovider I got exactly the same thing.
I wanted to somehow check it, so I tried to use NuGetAuthenticate@1.
I preinstalled the CredentialProvider.Microsoft plugin from your readme (downloaded this, and untarred)
Microsoft.NuGet.CredentialProvider.tar.gz
I get this error - I think it's a new one, I've searched for it on issues here and on dotnet-docker and found nothing
##[error]Error: unable to verify the first certificate
I would really appreciate any assistance.
2024-11-17T08:51:16.2867456Z ##[section]Starting: Authenticate with Azure Artifacts
2024-11-17T08:51:16.2872944Z ==============================================================================
2024-11-17T08:51:16.2873070Z Task         : NuGet authenticate
2024-11-17T08:51:16.2873133Z Description  : Configure NuGet tools to authenticate with Azure Artifacts and other NuGet repositories. Requires NuGet >= 4.8.5385, dotnet >= 6, or MSBuild >= <IP_ADDRESS>604
2024-11-17T08:51:16.2873307Z Version      : 1.213.0
2024-11-17T08:51:16.2873364Z Author       : Microsoft Corporation
2024-11-17T08:51:16.2873427Z Help         : https://aka.ms/NuGetAuthenticateTask
2024-11-17T08:51:16.2873509Z ==============================================================================
2024-11-17T08:51:17.9047644Z Installing the Azure Artifacts Credential Provider (.NET Framework) to '/home/ec2-user/.nuget/plugins/netfx/CredentialProvider.Microsoft'. This credential provider is compatible with nuget.exe <IP_ADDRESS>85 or later, and MSBuild <IP_ADDRESS>604 or later.
2024-11-17T08:51:17.9072748Z The credential provider is already installed. If there are package related authentication failures in later steps, consider setting this task's input 'forceReinstallCredentialProvider' to true to force reinstallation.
2024-11-17T08:51:17.9075593Z
2024-11-17T08:51:17.9076669Z Installing the Azure Artifacts Credential Provider (.NET Core) to '/home/ec2-user/.nuget/plugins/netcore/CredentialProvider.Microsoft'. This credential provider is compatible with .NET SDK 6 or later.
2024-11-17T08:51:17.9206628Z The credential provider is already installed. If there are package related authentication failures in later steps, consider setting this task's input 'forceReinstallCredentialProvider' to true to force reinstallation.
2024-11-17T08:51:17.9208847Z
2024-11-17T08:51:20.0947753Z ##[error]Error: unable to verify the first certificate
2024-11-17T08:51:20.7798145Z ##[section]Finishing: Authenticate with Azure Artifacts

Closing due to inactivity - please re-open with any logs with artifacts-credprovider errors.


🐛 Firefly III] Addon not starting

Description
FireflyIII doesn't start anymore, everything used to be fine a couple days ago.
Getting the following errors when trying to start the fireflyIII addon.
After disabling watchdog, the logs changed to the following:
2024-04-11 22:08:35.544 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:08:39.799 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-3457' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container
await self._restart_after_problem(event.state)
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper
raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00
2024-04-11 22:08:39.803 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:11:49.250 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:12:08.552 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-4433' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container
await self._restart_after_problem(event.state)
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper
raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00
2024-04-11 22:12:08.555 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:13:16.681 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:13:31.744 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
Reproduction steps
1. Start fireflyIII

Addon Logs
2024-04-11 22:02:08.333 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:02:08.335 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:02:08.338 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:02:39.749 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-04-11 22:03:02.699 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:02.702 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:02.706 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:20.769 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:20.772 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:20.776 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:28.154 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:28.157 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:28.161 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:48.825 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:48.829 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:48.833 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:59.892 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:59.895 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:59.899 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:04:02.301 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:04:02.304 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:04:02.308 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:04:14.275 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:04:14.278 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:04:14.284 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:04:22.568 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state startup
2024-04-11 22:04:22.568 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-04-11 22:04:23.704 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-2043' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container
    await self._restart_after_problem(event.state)
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper
    raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00
2024-04-11 22:04:23.712 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13

Architecture
No response
OS
HAos

Hi, could you please try disabling the watchdog and restarting? Thanks

Hi
Without watchdog, I get the same issue, but the logs below instead.
2024-04-11 22:08:35.544 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application 2024-04-11 22:08:39.799 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-3457' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper raise on_condition( supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00 2024-04-11 22:08:39.803 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13 2024-04-11 22:11:49.250 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application 2024-04-11 22:12:08.552 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-4433' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper raise on_condition( supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00 2024-04-11 22:12:08.555 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13 2024-04-11 22:13:16.681 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application 2024-04-11 22:13:31.744 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13

This is supervisor's log but do you have anything also in the addon log of either Firefly III or Mariadb ?
I can't replicate this issue. If there is no addon logs at all, you might try : restarting mariadb addon first (in case it's dependency is not working) ; changing firefly iii port before restarting (if it is a port incompatibility) ; rebooting the device (in case of random issue); or running ha su repair in the Terminal addon (will repair all addon images)
Currently it's quite challenging to understand what would be the issue...

Thanks
I can't seem to find a way to fix it, so I guess I'll wait for an update to fix it

And you have no logs in either firefly iii nor mariadb?

Firefly III logs say "No errors have been reported"
I'm using sqlite_internal instead of mariadb, not sure if there's any logs for that?

Firefly III logs say "No errors have been reported" I'm using sqlite_internal instead of mariadb, not sure if there's any logs for that?

Just for sake of leaving no stone unturned could you please post your log? Just to be sure thanks. In case there is an exit 1 in one of the startup script that firefly doesn't see

This is the only thing I'm getting. If I download it, I just get an empty file.

Not sure if there's any other logs I'm missing?


[BUG] Global context configuration not working properly

Description
Trying to set the global_context configuration with the environment, in a new Rails application, but isn't working.
How Has This Been Tested?
Used this code in the config/environments/development.rb:
config.logcraft.global_context = -> do
  {
    environment: ENV['RAILS_ENV']
  }
end

But the log accessing the http://localhost:3000/ is not adding the environment:
{"timestamp":"2022-07-15T17:07:16.425-03:00","level":"INFO","logger":"AccessLog","hostname":"DESKTOP-JBFF1SI","pid":383,"message":"GET / - 200 (OK)","remote_ip":"::1","method":"GET","path":"/","params":{"controller":"rails/welcome","action":"index"},"response_status_code":200,"duration":127,"duration_sec":0.127}

Workaround
Using the configuration above in the config/environments/development.rb, everything works fine:
Logcraft.add_to_log_context({
  environment: ENV["RAILS_ENV"]
})

The log it generates accessing the http://localhost:3000/:
{"timestamp":"2022-07-15T17:36:52.884-03:00","level":"INFO","logger":"AccessLog","hostname":"DESKTOP-JBFF1SI","pid":5678,"environment":"development","message":"GET / - 304 (Not Modified)","remote_ip":"::1","method":"GET","path":"/","params":{"controller":"rails/welcome","action":"index"},"response_status_code":304,"duration":71,"duration_sec":0.071}

Versions

Ruby 3.0.3
Rails <IP_ADDRESS>
Logcraft 1.0.0.rc

Hi @MatheusPoliCamilo,
The reason why setting the global context to a lambda isn't working is that it wasn't supported in the 1.0.0.rc version. If you look at the documentation for the RC then you'll see that it must be set to a Hash (which may contain lambdas): https://github.com/zormandi/logcraft/tree/v1.0.0.rc . The reason I decided to change it for the main release is that with the RC version of this feature there was no way to not provide certain keys in the context if they weren't necessary, which makes sense e.g. for the DataDog integration. Having the global context be a lambda provides much more flexibility.
So this should work fine:
config.logcraft.global_context = {
    environment: ENV['RAILS_ENV']
}

As for how this feature was tested, if you check the code you'll see that it has both unit and integration tests... although I suspect that was more of a rhetorical question.
Sorry about the confusion.

Just changed to global_context instead of initial_context and everything worked fine, thank you very much!

I assume you've changed to the main branch then (soon to be released). So just to be clear initial_context in the RC version, global_context on the main branch.


--audio-format mp3 not working in soundcloud?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Hi,
I ran below command format :
yt-dlp --audio-format mp3  https://soundcloud.com/emantium/wondering -v

But for some URLs like sample, I get only the opus format whereas I think FFMPEG can convert it to mp3. So is it a bug?
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[debug] Command-line config: ['--audio-format', 'mp3', 'https://soundcloud.com/emantium/wondering', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [542166962] (zip)
[debug] Python 3.9.21 (CPython x86_64 64bit) - Linux-5.14.0-503.15.1.el9_5.x86_64-x86_64-with-glibc2.34 (OpenSSL 3.2.2 4 Jun 2024, glibc 2.34)
[debug] exe versions: ffmpeg N-71064-gd5e603ddc0-static (setts), ffprobe N-71064-gd5e603ddc0-static
[debug] Optional libraries: mutagen-1.47.0, requests-2.25.1, sqlite3-3.34.1, urllib3-1.26.5
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1837 extractors
[debug] Loading soundcloud.client_id from cache
[soundcloud] Extracting URL: https://soundcloud.com/emantium/wondering
[soundcloud] emantium/wondering: Downloading info JSON
[soundcloud] 561119283: Downloading original download format info JSON
WARNING: [soundcloud] Original download format is only available for registered users. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (soundcloud) to provide account credentials. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies
[soundcloud] 561119283: Downloading hls_mp3 format info JSON
[soundcloud] 561119283: Downloading http_mp3 format info JSON
[soundcloud] 561119283: Downloading hls_opus format info JSON
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec,size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 561119283: Downloading 1 format(s): hls_opus_0_0
[debug] Invoking hlsnative downloader on "https://cf-hls-opus-media.sndcdn.com/playlist/Btbv77yxw45q.64.opus/playlist.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1vcHVzLW1lZGlhLnNuZGNkbi5jb20vcGxheWxpc3QvQnRidjc3eXh3NDVxLjY0Lm9wdXMvcGxheWxpc3QubTN1OCoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MzQ1Mzg2ODV9fX1dfQ__&Signature=H7k5eFCtHAD8oA~b2h-cu6OJe~QC1yU27lpNbvMfrG7kHRIdN~6zDgO7Y70SjiRijl2bv6j~6IcVBv5TKw5-XKD78xwKW-TQe3QPHfXzo07jNQJBcHHfaLDkbWSlZPa4TOEMxe0GjJdRf1mGu-pnL6i1cMNabXjoL1KB0BrYW-SNC3BxQh6i-Lneniu7CSLB2Ui~c9T5V14XowQXJbZ7rHXM76n5q9dGyAYq08q3mL1I2t7jjwJNu-HqZXlEfwtngJKqxKW08zWQV7MqIc~qDDDtH1~~1WuWkoD9D-BVpBZQKkKLfMpBSrWlk3kvuXqpZdRXa1XwVDZ4UlcUse6zFg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 26
[download] Destination: Wondering [561119283].opus
[download] 100% of    1.76MiB in 00:00:01 at 904.30KiB/s

As per the README, --audio-format only works in conjunction with --extract-audio/-x. It tells yt-dlp what format to convert the audio to. If you only want to download the mp3 format, use -S ext:mp3


How do I close alert without button

I have an alert that is displayed while a xhr download request is being processed, and another alert that is displayed when the download is ready. How do I do that ?
componentWillReceiveProps(nextProps) {
    const { downloadStatus } = this.props;
    if (!downloadStatus.isLoading && nextProps.downloadStatus.isLoading) {
      this.props.alert.info('Download is loading...', { time: 0 });
    } else if (downloadStatus.isLoading && !nextProps.downloadStatus.isLoading) {
      // here i have to close info alert and show success
      this.props.alert.success('Download is ready!', { time: 2000 });
    }
  }

You can programmatically remove an alert by using this.props.alert.remove(alert).

This is exactly what I wanted, thank you @jacobsowles


Discovered that an exe built on Ubuntu 22 on my pc runs on Manjaro with Electron

While at the same time an exe built in our CI will not run with Manjaro well. It would refuse to run electron and would also be unable to open the browser.

What if it's as easy as building on Ubuntu 22? This would remove compatibility with Clib of older releases though.


[1.15.2] Tea Trees spawning in The Midnight dimension (2.2.1)

Minecraft: 1.15.2
Forge Version: 31.2.0
Mods Used: simplytea-1.15.2-2.2.1.jar, themidnight-0.5.9.jar

Please cross post this to their Github/other issue tracker and link it here. I'm not entirely convinced its a bad thing.
I currently add the tree to all valid forest biomes, I am not sure if there is a good way to block other dimensions without losing compatibility with biome mods.


Make the Announcer closing atomic.

This was causing errors on unit tests. There may be other items assumed transactional that are not.

Actually, on second look, there's a better way to do the transaction, putting in a quick patch.

Is there a better way to test this than having spurious failures?

On Feb 11, 2015, at 08:46, Charles Allen<EMAIL_ADDRESS>wrote:
Actually, on second look, there's a better way to do the transaction, putting in a quick patch.
—
Reply to this email directly or view it on GitHub.

@xvrl : We'd need a "slow zookeeper" implementation

lol, that's rich.

@xvrl : I looked into it a bit, and there's not an obvious way to slow down zookeeper in a reliable fashion that I could think of quickly.

Unit test?

@cheddar : This is in response to randomly failing unit tests.

@cheddar : I asked the curator folks and they don't have a great way to fake a slow ZK. I was considering tapping into some deep mocking of curator, but haven't really had a burning desire to do so.

Ah, ok, sorry I didn't read the comment string.  I just looked at the title and the code change.  Should've read the conversation too.
Nothing jumps out at me from the code.  If it's fixing a spurious test failure, then I'm +1


automatically restart alppaca

As alppaca needs to run always on the machines, please use a mechanism which will automatically restart alppaca upon "death". For example use an upstart module or a systemd unit for this.

I have resurrected the upstart script we used to have and have attached the commit to this issue.

FWIW: we'll need to adapt the build.py to install the correct script.

I believe that since YADT can not hanlde upstart at this time, it doesn't make any sense to keep this issue open.


Font in Screenshots?

Was hoping you could share the font used in your screenshots?

It's Inconsolata on screenshot. I'll add to README.


community call meeting minutes from 2021-11-22

Thanks! Please also add a bullet point here: https://coderefinery.org/organization/meeting-minutes/#archive-of-past-meetings

Done. Updated also the link in the bottom of the HackMD.


about attn_mask and relative_position_bias

Hi, thank you very much for this Great work!
I read your code and paper several times. I can't understand attn_mask and relative_position_bias totally.

In Line 134, why do we just add attn_mask to attn, not multiply?  In this way, attn_mask seems like a bias, like relative_popsition_bias in Line 130.
I would appriciate it if someone could help me.

This is because we add the attn_mask (with -100 or 0) before softmax function.  A^(x-100) = A^x * A^(-100) = A^x * 0 = 0

@JingyunLiang  Thanks for your so quick reply.  I get it.
About  relative_position_bias, how to understand it?  what's the role of relative_position_bias in WindowAttention module? It seems like atten = q @ k + relative_position_bias, what would happen if we do not use relative_position_bias?
I am beginner in SwinIR, Sorry for such questions may take your time.

relative_position_bias can tell you the relative position of two pixels. A pixel should have higher impact on its neighbhouring pixels than distanct pixels.

I get it. Thanks again!


Revamp sprites

This one’s a doozy, so all hands on deck. Any sprite changes and artists can help.
We need better walls and rusty walls, airlockier airlocks, better small lights (I’m thinking those bulbs with cages around them you see in movies, yk), more rugged floor tiles, better rugged railings, a diving bell sign, better water sprites for the ocean surface, more just general resprites of objects to fit the theme better, switch hydroponics tray for aquaculture tanks.
really just need things sprited and changed to fit the theme better, not even fully resprited. Just dirtier, rustier, more robust than the corporate stuff we see now. As little or as much as anyone wants to do, every sprite helps.

Ill probably work on some later tonight, right now its frontier time

Ill probably work on some later tonight, right now its frontier time

based


Deadlocking issue in Atomizer Rabbit Conductor, or Atomizer itself

This can be seen when executing the montecarlo atom for tosses > 2000

This was not actually a deadlock, it was due to depletion of the channel address space in rabbitmq. We were incorrectly creating a rabbitmq channel every publish request and since we push out so many requests it was overwhelming rabbit. This now resolved by adding a amqp channel per queue so that they're shared in memory.


jypyter run !python clean.py only audio file not found for sub string: 3a3d0279 is displayed #84

jypyter run !python clean.py only audio file not found for sub string: 3a3d0279 is displayed #84

This would mean that the substring "3a3d0279" is not found in the src_directory. So src_root is either pointing to the wrong data or you need to change the filename you are searching for. clean.py is meant to either test_threshold to visualize signal envelope or you can comment that out and run split_wavs to clean all the data at src_root using the threshold value.

thanks


Audio-to-Audio Task Page

This is the tracker for completion of task page for audio-to-audio task. The page is here: https://huggingface.co/tasks/audio-to-audio You can contribute parts of a task! (There's no single assignee to a task, these are wikipedia-like pages)
You can refer to https://github.com/huggingface/hub-docs/issues/369 if you want to contribute! 🤗
List of items to contribute:

[ ] Subtasks
[ ] Use cases
[ ] Useful Resources
[ ] (or any other thing you'd like to add)

I'm super excited. Can I do this?


refactor(*): rename suspend to stop

This commit includes a variety of refactoring where we rename suspend to stop across DCOS UI
Closes DCOS-19528
Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

@ahoskins your comments are addressed.

alfred test this please

alfreddo test this

alfreddo test this please


Use GET instead of REQUEST

REQUEST is not defined in Django 1.9.x

@tarak When will this be committed ? is 0.4.2 release any nearer ?


added trailingSlashes option

I came to a situation where i need the links to directories to include the trailing slash.
so, when i click in some-directory it will actually link to /path/to/some-directory/ instead of /path/to/some-directory.
It is not intrusive, i added it as an option, and it still defaults to false so it doesn't break anything
Thanks

Seems like something that can be added. Can you make the setting apply to the text and JSON views as well?

I can, when i find the time. I'll try to do it before the weekend is over.
Cheers

Hi Doug,
I can't seem to find how i would change and test the JSON and plane text use-cases. Could you help me out with it? Thanks

No problem. If you have any work in progress, feel free to push it up and I can check it out/help/just get it down for you :)

I changed enough for it to work like i need it, (lines 395 - 398) but i can't see where i could change it for the JSON and text views...

No biggie, Ill look into it :) Once July comes, this module finally won't be tired to Express 3.x release cycles, so we'll be able to release faster :) Otherwise right now a new feature just waits for the next 3.x minor, which is why there hasn't been too much of a rush (sorry!).

no worries, we're already using it without a problem. Thank you for doing the extra work, but i really couldn't find the place where to edit.
Cheers

Is this not a duplicate of #27? I don't see any reason this needs to be an option. I'm not sure why #27 didn't get merged.

I'm not sure why #27 didn't get merged.

I wasn't aware the last comment I had made was ever addresses, sorry! Github doesn't email when PR commits are added.

Oh sorry, I didn't realize that! I wonder if @andrepadez could review my PR and see if it covers what he needs?

Guys, sorry but i haven't had the time to review your PR. I'm going to do that now.

@geekmug , added a comment to your pull request. Other than that, i question @dougwilson  if adding the trailing slash indiscriminately, won't affect currently dependant projects...

Yes, to add something like this we need an opt in flag until the next major. Now that express 3 has an end date (July), that's when a lot of these module can finally bump their major versions!

So yeah, i don't mind @geekmug's pull request to be merged instead of mine, but these issues need addressing. Thanks again, for now i will keep using my fork.

From my perspective the current behavior is a bug, since serve-static will cause a redirect. I don't think I should have to opt out of having a bug. I can't imagine a use case for the HTML output that doesn't involve serve-static, and I can't imagine a use case that involves mangling the strings from the plain or json APIs either.
However, my original PR was for the HTML output only because of the obviousness of this being a bug. If the concern about breaking someone else's public API (where someone is passing through the output of either the plain or JSON output), then leave that part out (or make it optional), but I'd be interested to see evidence of that.

@geekmug I published this change in a patch long ago and got enormous backlash. This change will either need to live behind a opt-in switch until 2.0 or not go in at all until 2.0. Those are the only options I can offer, unless you offer to field all bug reports for me.

Though even if you do offer, I probably still won't, because our users are expecting this behavior that has existed since at least 2013 (remember, this was extracted from connect 2.x and 1.x of this module is used in connect 2.x/express 3.x) to keep. Some may have added a hacked workaround we would break into their code that is so old it may no longer even have an owner. This is the stability guarantees expressjs promises.
I don't disagree that having no trailing slashes doesn't make sense, hence the reason I had previously released a patch to fix it, but it broke too many people that it's being held until the next major (or opt in via switch).

Hah, I must not be creative enough to imagine how people have abused this module. I am comfortable with you rejecting my PR on that basis.

I'll figure out these two PR statuses soon (likely this week, as a new minor of connect and express is scheduled, which is when all these modules incorporate all their minor updates like this).

I am happy to build on what I've done and apply it to the Json and HTML templates now I've seen how Sean has done it.
I can have it ready tomorrow most definitely.
Cheers
Sent from my iPhone

On 25 May 2015, at 06:47, Douglas Christopher Wilson<EMAIL_ADDRESS>wrote:
I'll figure out these two PR statuses soon (likely this week, as a new minor of connect and express is scheduled, which is when all these modules incorporate all their minor updates like this).
—
Reply to this email directly or view it on GitHub.

I am happy to build on what I've done and apply it to the Json and HTML templates now I've seen how Sean has done it.
I can have it ready tomorrow most definitely.

is it ok with you guys?

This is good, but it doesn't really do plain or json formats. It would be nice if someone could basically combine #31 and #27 together.


Fix tutorials broken ref links, snippets, image widths

Targeting main because that's the version of the tutorial rendered on ignitionrobotics.org.
🦟 Bug fix
Summary

For some reason, doxygen \include doesn’t work with CMakeLists.txt. I think it doesn’t like the .txt extension, for if I copy its content to CMakeLists.cc, then \include is able to render it. So I copied the file content for now and added a TODO.
3 snippets from dartsim/ are not showing in tutorial 08 for some reason. I added tags in the code, double-checked against other places that work, and still couldn’t get them to show up. It’s bizarre.

To test
Compile the tutorials
colcon build --packages-select ignition-physics6 --merge-install

Fix for 05_plugin_loading.md "Loading physics plugins"
Navigate to the current tutorial and check CMakeLists.txt snippet is missing:
https://ignitionrobotics.org/api/physics/6.0/pluginloading.html
Navigate in a browser to the new tutorial, filling in the prefix of this path:
file:///path/to/ign/build/ignition-physics6/doxygen/html/pluginloading.html
Check the snippet is displayed.

Fix for 06-physics-simulation-concepts.md “Ignition Physics simulation concepts”
Navigate to the current tutorial and check that GIFs do not fit within screen width, and some ref links are broken:
https://ignitionrobotics.org/api/physics/6.0/physicsconcepts.html
Navigate in a browser to the new tutorial, filling in the prefix of this path
file:///path/to/ign/build/ignition-physics6/doxygen/html/physicsconcepts.html
Verify that the GIFs now fit within screen width. Broken links are repaired or removed.

Fix for 07-implementing-a-physics-plugin.md “Implement a physics feature”
Navigate to current tutorial and check that ref links to “Load physics plugin” tutorial and ignition::physics::Identity are broken. Snippet for CMakeLists.txt is not showing.
https://ignitionrobotics.org/api/physics/6.0/createphysicsplugin.html
Check those are fixed in the new page:
file:///path/to/ign/build/ignition-physics6/doxygen/html/createphysicsplugin.html

Fix for08-implementing-a-custom-feature.md “Implement a custom feature”
Some ref links are broken, 3 snippets are not displayed:
https://ignitionrobotics.org/api/physics/5.0/createcustomfeature.html
Check ref links are fixed in the new page
file:///path/to/ign/build/ignition-physics6/doxygen/html/createcustomfeature.html
I couldn’t fix the snippets from dartsim. Not sure why they don’t show up. Maybe we should copy-paste these too?
I didn't fix these ref links:
\ref ignition::physics::FindFreeGroupFeature "FindFreeGroupFeature"
\ref ignition::physics::Feature::Entity::Interface "Entity::Interface"
There aren’t API pages for these, but they’re so specific that I didn’t want to remove them in case those pages become available… Maybe I should remove them.

Checklist

[x] Signed all commits for DCO
[ ] Added tests
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Targeting main because that's the version of the tutorial rendered on ignitionrobotics.org.

@mabelzhang I went to https://ignitionrobotics.org/libs/physics and I see the tutorial for ign-physics 5.1.0. How did you navigate the ignitionrobotics.org website to get to where you saw the tutorials from the main branch rendered?

Hmm I wonder! I might have just manually changed the URL to 6.0 :sweat_smile: I don't remember... But yeah I tried the usual way which is to go to ignitionrobotics.org/libs, and that is 5.1 like you saw.

Targeting main because that's the version of the tutorial rendered on ignitionrobotics.org.

@mabelzhang I went to https://ignitionrobotics.org/libs/physics and I see the tutorial for ign-physics 5.1.0. How did you navigate the ignitionrobotics.org website to get to where you saw the tutorials from the main branch rendered?

Hmm I wonder! I might have just manually changed the URL to 6.0 sweat_smile I don't remember... But yeah I tried the usual way which is to go to ignitionrobotics.org/libs, and that is 5.1 like you saw.

Ahh sorry folks, I should have mentioned that we were mistakenly publishing the main tutorials for a while, but that was fixed in https://github.com/ignitionrobotics/docs/pull/214 and we removed the main ones from the server.

Merging and will update these tutorials once we add filters in ign-cmake to allow direct snippets of some source files (see https://github.com/ignitionrobotics/ign-physics/pull/312#discussion_r767993415)


modularization / pick-and-choose different chapters for different courses

(how) is it possible to build landing pages for courses that don't contain ALL the chapters we now have?
E.g. if I want to build a 2-day course just on overfitting/tuning/resampling?
if that's feasible, this should go into CONTRIBUTING.md
(see also #5, which might be useful for controlling which content gets included on course-specific landing pages)

ńot sure i follow. you simply create the MD files manually?
so you could copy the current I2ML webpage repo (omids new work) and edit the MD files so stuff disappears you don't like?

.... yeah, that works.

actually i wanna keep this open a bit.
i remember a thing @ja-thomas said during the workshop:
we would have one MD-chunk per sub chapter. that makes it really easy to have remixes.
i think we already have that. but we should try this out at least once and document

As I explained in issue #5, to have such a feature, we would probably need an advanced programmer. Hence, for now, I close this issue. BTW, please reopen this issue if you feel that we need to discuss further.


Document new EditorConfig style rules

The following EditorConfig style rules supported in Visual Studio 2022 17.1 are currently not documented:

[ ] csharp_style_prefer_null_check_over_type_check
[ ] csharp_style_prefer_tuple_swap
[ ] csharp_style_prefer_extended_property_pattern
[ ] csharp_style_prefer_local_over_anonymous_function
This rule was renamed from csharp_style_pattern_local_over_anonymous_function, see #28285)
[ ] dotnet_style_operator_placement_when_wrapping (see MicrosoftDocs/visualstudio-docs#3641)
[ ] Experimental rules (see #23473):

[ ] dotnet_style_allow_statement_immediately_after_block_experimental
[ ] dotnet_style_allow_multiple_blank_lines_experimental
[ ] dotnet_style_allow_statement_immediately_after_block_experimental
[ ] csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental
[ ] csharp_style_allow_blank_lines_between_consecutive_braces_experimental
[ ] csharp_style_allow_embedded_statements_on_same_line_experimental

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

ID: b0a396c1-9c21-75a9-70b5-799cafc941b5
Version Independent ID: 6d91b560-c12f-6e6d-e92b-1babb27edb67
Content: Code style rules overview - .NET
Content Source: docs/fundamentals/code-analysis/style-rules/index.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

https://github.com/dotnet/roslyn/issues/60546 says that IDE0161 (csharp_style_namespace_declarations) also needs to be documented.
Also, a helpful mapping of IDs to editorconfig options is here: https://github.com/dotnet/roslyn/blob/main/src/VisualStudio/Core/Def/CodeCleanup/readme.md

csharp_style_namespace_declarations is already documented here: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#namespace-options
Btw, that site says "All formatting options have rule ID IDE0055 and title Fix formatting." If csharp_style_namespace_declarations is IDE0160/IDE0161, as mentioned in dotnet/roslyn#60546, then this section on that page would be wrong.

dotnet/roslyn#60546 says that IDE0161 (csharp_style_namespace_declarations) also needs to be documented.
Also, a helpful mapping of IDs to editorconfig options is here: https://github.com/dotnet/roslyn/blob/main/src/VisualStudio/Core/Def/CodeCleanup/readme.md

FYI this list might get out of date very easily. Consider VisualBasic_VerifyIDECodeStyleOptionsAreConfigurable,  CSharp_VerifyIDECodeStyleOptionsAreConfigurable tests here as a more reliable source

I'm also planning to have a RulesMissingDocumentation.md in roslyn similar to roslyn-analyzers. But will take time to be able to get to it :(

There's a good list of undocumented rules at https://github.com/madskristensen/EditorConfigLanguage/blob/master/src/Schema/EditorConfig.json

@MisinformedDNA Seems like this list is not fully up to date. Some of those settings are already documented (can be found with Google).

I think we should wait on doc'ing experimental rules. The rest should be documented.

Seems like there's a bunch of new ones here that should be documented: https://github.com/dotnet/roslyn/blob/35fda5cf56445624cb0837b8b9ddbd9aa8f98b95/src/Analyzers/Core/Analyzers/IDEDiagnosticIds.cs#L172-L182
There are some others in this range that I'm curious about too: https://github.com/dotnet/roslyn/blob/35fda5cf56445624cb0837b8b9ddbd9aa8f98b95/src/Analyzers/Core/Analyzers/IDEDiagnosticIds.cs#L185-L191 (e.g. IDE1006 and IDE1007)

@alexrp IDE1007 should not be documented, and (hopefully) will be removed soon.

@Youssef1313 Fair enough. Just for posterity, can you clarify what its purpose is/was?

@alexrp
Consider the following:
public class C
{
    public Test P { get; }
}

There is no type named Test defined, so the compiler produces:

error CS0246: The type or namespace name 'Test' could not be found (are you missing a using directive or an assembly reference?)

Some IDE features (e.g, generate type) are triggered by this compiler diagnostic:
https://github.com/dotnet/roslyn/blob/35fda5cf56445624cb0837b8b9ddbd9aa8f98b95/src/Features/CSharp/Portable/CodeFixes/GenerateType/GenerateTypeCodeFixProvider.cs#L41-L44
However, there are scenarios (incomplete members) where the compiler don't produce CS0246 (or similar) diagnostic.
So, for the following code:
public class C
{
    Test
}

The compiler only produces error CS1519: Invalid token '}' in class, record, struct, or interface member declaration. But we want the IDE to offer generate type for the above case. So, the IDE team implemented IDE1007 to fill this gap.
So, in short, IDE1007 is produced on already-error scenarios, but helps the IDE to trigger features such as generate type. It'll be removed when the compiler produces these diagnostics, which I'm working on in https://github.com/dotnet/roslyn/pull/62874.

I've updated the issue description for Visual Studio 2022 17.3

Hi, is there a known description on what the experimental rules do?

I've updated the issue description for Visual Studio 2022 17.4
@jknaudt21  I think the best "documentation" is the code preview in the VS options window.

I've updated the issue description for Visual Studio 2022 17.5.2

@gewarren Thanks for keeping this issue up-to-date for newly documented rules!
I've removed the done tasks from the issue description and added the new rule from Visual Studio 2022 17.7

@gewarren Thanks for keeping this issue up-to-date for newly documented rules!
I've removed the done tasks from the issue description and added the new rule from Visual Studio 2022 17.8

@gewarren It looks like everything (except experimental rules) from Visual Studio 2022 17.8 is now documented. Thanks!
I'd close this issue now. Or do you want me to keep it open and continue to report missing documentation for future VS releases here?

Thanks @cremor. I'll close it now and we can open a new issue for future docs. Thanks for keeping this one up to date!


Keyframe selection

Hey, nice work!
After glancing over your paper, I thought about optimizing my LDSO fork with your DSO changes for a better framerate.
Apparently, the keyframe creation process seems to be the most time-consuming, so that would be one change I'd like to try out.
I know where the keyframe selection is in LDSO, but could you point me towards the right code section in your repo so that I could easily implement it in my repo? Thanks a lot!

Just to quickly explain what I meant in the paper: keyframe creation is time-consuming because it needs to run PBA. DSO likes to create many keyframes and remove some during marginalization (it allows marginalizing more than one keyframes). Whether that's good or not depends on the rest of the implementation. DSO limits the max number of points to 2000, so maybe it's ok for it to keep creating keyframes. In my implementation, I do not put a limit on the number of points, so I want to avoid creating too many keyframes. Therefore, if you have a dso fork, then this strategy may not be for you. Also, you can easily set some parameters in DSO to control how frequently a keyframe gets added.
That being said, here is the code section.
https://github.com/versatran01/dsol/blob/009445f98ad09a47370609efa6614a39453a54b9/sv/dsol/odom.cpp#L334

Ah I see, thanks for explaining!


_1password-gui: 8.9.10 -> 8.9.14, 8.9.12-4.BETA -> 8.10.0-20.BETA

Description of changes
https://releases.1password.com/linux/8.9/#1password-for-linux-8.9.14
https://releases.1password.com/linux/beta/#1password-for-linux-8.10.0-20
Also added a janky update script. Hopefully it's helpful, but if someone has a better way to get the hashes for all the different variations let me know!
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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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 215065 run on x86_64-linux 1

2 packages built:

_1password-gui
_1password-gui-beta

Result of nixpkgs-review pr 215065 run on aarch64-darwin 1

2 packages built:

_1password-gui
_1password-gui-beta

Runs as expected on aarch64-darwin!


unix: compilation error due to missing build tags

Reported here by @apetruhin: https://github.com/golang/sys/commit/33267e036fd93fcd26ea95b7bdaf2d8306cb743c#commitcomment-17485453
Looks like build tags need to be added to some of the new s390x files so that old versions of the compiler can compile the package correctly.
CL to follow.

I can recreate the problem with go version go1.4.2 linux/amd64
# golang.org/x/sys/unix
./syscall_linux_s390x.go:47: Getpagesize redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:77
./syscall_linux_s390x.go:51: Time redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:79
./syscall_linux_s390x.go:65: TimespecToNsec redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:93
./syscall_linux_s390x.go:67: NsecToTimespec redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:95
./syscall_linux_s390x.go:73: NsecToTimeval redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:101
./syscall_linux_s390x.go:82: Pipe redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:110
./syscall_linux_s390x.go:93: Pipe2 redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:123
./syscall_linux_s390x.go:112: (*PtraceRegs).PC redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:134
./syscall_linux_s390x.go:114: (*PtraceRegs).SetPC redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:136
./syscall_linux_s390x.go:116: (*Iovec).SetLen redeclared in this block
        previous declaration at ./syscall_linux_amd64.go:138
./syscall_linux_s390x.go:116: too many errors

Likewise. It seems fine from Go 1.5+. I think that's Go 1.5 was when @minux reserved a bunch of future GOOS and GOARCH values.

FWIW, this wasn't strictly necessary, since we don't support Go 1.4 anymore (and don't run Go 1.4 builders). But it was easy, so it's okay.
/cc @adg @broady @campoy as FYI and verifying the Go 1.4 unmaintained policy.

Ooop, so we need to upgrade from 1.4. Thank you all for fast fix )

@bradfitz yes we do not maintain the sub-repos for 1.4.


Add count of "good first issue" issues

In discord I suggested that the weekly stats could include the number of "good first issue"s that we have for new contributors.

Fixed by #175


how to convert frozen graph (.pb and .pbtxt) model into quantized edge.tflite model

I have created one object detection model (.pb and .pbtxt) using 'faster_rcnn_inception_v2_coco_2018_01_28' model I found from TensorFlow zoo. It works fine on windows but I want to use this model on google coral edge TPU. How can I convert my frozen model into edgetpu.tflite quantized model?

@MevadaRavikumar,
Please take a look at this Edge TPU Compiler guide to convert your tflite model  to Edge TPU compatible format.
Also, this question is better asked on StackOverflow since it is not a TensorFlow bug or feature request. There is a larger community that reads questions there. Thanks!


words must not be broken by letters

FF 80.0.1 (64-bit), monitor size 1600x1200

Duplicate of #112


Java VirtualNetworkTemplate illegal expression / errors

Description
With the changes introduced by feature #826 the Java OCA build fails:

Syntax error:

./build.sh -p 5.7
src/org/opennebula/client/vntemplate/VirtualNetworkTemplate.java:481: error: illegal start of expression
        return instantiate(client, id, name, "",);

Some other errors with the VN template, e.g.:

Compiling java files into class files...
src/org/opennebula/client/vntemplate/VirtualNetworkTemplate.java:100: error: method info(Client,int) is already defined in class VirtualNetworkTemplate
    public static OneResponse info(Client client, int id)
                              ^
src/org/opennebula/client/vntemplate/VirtualNetworkTemplatePool.java:31: error: cannot find symbol
public class VirtualNetworkTemplatePool extends Pool implements Iterable<Template>
                                                                         ^
  symbol: class Template
src/org/opennebula/client/vntemplate/VirtualNetworkTemplate.java:89: error: no suitable method found for info(Client,int,boolean)
        return info(client, id, false);
               ^
    method VirtualNetworkTemplate.info(Client,int) is not applicable
      (actual and formal argument lists differ in length)
...

To Reproduce

cd src/oca/java
./build.sh -p 5.7

on javac 1.8.0_181
Details

Affected Component: Core & System, Packaging
Version: 5.7.80 (master)

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Fixed by f850d10bfe00d51d77dc3f5dc39474b99422cdf1, d6e4d99f62efeddbac6e5d261402126d41868e09.


Need to fix for screen size below 370px

https://github.com/Limbo-Hacks/Hackathon-website-template/blob/e241b5ae1b33405a2edf6370656e2d5a9ca7ccb8/src/components/navbar/styles.scss#L78

@Abusayid693 You can close this issue

Issue fixed


Memory optimization (~30% less)

Hi, this is tiny optimization without complete refactoring or something.
The main idea: decrease count of allocated objects (mostly strings) by some ruby tricks and freezing.
Modern ruby versions allow not only just prevent strings from mutation with freeze, but also allocate it only once:
# ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
2.2.2 :001 > 'asdads332'.freeze.object_id
# => 18294380
2.2.2 :002 > 'asdads332'.freeze.object_id
# => 18294380
2.2.2 :003 > 'asdads332'.freeze.object_id
# => 18294380

If we need to support old ruby versions -- I suggest to consider it in a separate request.
Some measurements here: https://gist.github.com/korun/1f22ee8505122f2f307fc83dee3b9974

Refs #276

That looks very promising! Any memory relief is highly appreciated since this gem uses a lot of memory and causes memory issues when generating large excel files.
@randym is it possible to check for any regressions and create a new release ?
There is a pending memory issue since January 2014 https://github.com/randym/axlsx/issues/276
Thanks !

@korun do you perhaps have any more tips/hints to reduce memory usage ?

@gdimitris, I think it can be implemented some "stream-mode", so axlsx will can write prepared data direct in temp file row-by-row. But it forbid some exists features, such as modifying row height, or styles, etc. after sheet.add_row was called. In this mode, all preparations must be made before row insertion.

@korun I am a bit confused, so you mean that streaming the rows would break existing styles in cells ? Or that they have to be applied differently ?

@gdimitris, for example, now we can do something like:
cells = sheet.add_row(
    ['Total', "Count: #{count}", *Array.new(6), "=SUM(I#{i}:I#{i + count})", nil, nil],
    style: row_table_cell_style(sheet)
)
cells[0].style = row_text_center_table_style(sheet)
cells[8].style = row_currency_style(sheet)

In "stream-mode" we have to do all preparations before row flush to file:
# flush to file enabled
cells = sheet.add_row(
    ['Total', "Count: #{count}", *Array.new(6), "=SUM(I#{i}:I#{i + count})", nil, nil],
    style: [
        row_text_center_table_style(sheet),
        *Array.new(7, row_table_cell_style(sheet)]),
        row_currency_style(sheet)
)
# at this line, all is good

# But, if we call:
cells[0].style = row_text_center_table_style(sheet)
# it raise some error, like "Cannot access to flushed row in stream-mode"

@korun Ok got it, thanks!
Do you believe implementing "streaming mode" is something that requires a lot of effort in terms of development ? If you are interested, we can collaborate and implement "streaming mode" together, since I do not see any recent activity from the creator of the gem. My guess is that a lot of people have memory issues with the gem and this would help a lot. Let me know if you are interested :D
I believe we can add it as a feature so it does not break existing functionality.

@korun did you notice the "movement" that got started at https://github.com/caxlsx/caxlsx ? Can you submit the PR there as well, that could spike some big interest there :)

@klyonrad korun doesn't seem active but I can do this I think later in the day. It seems a very promising fix.

Turns out it was easier than I thought 😄


No loading when listing assets using rmrk/mint

What happened?
When listing NFTs using rmrk/mint (simple mint) the loading pop-up wont show
found by @daiagi
comment: https://github.com/kodadot/nft-gallery/pull/6380#issuecomment-1620288556
Please reproduce in steps
kusama ->  create -> simple
Expected Behavior
loading screen should appear
What browsers are you seeing the problem on?
Desktop Firefox
At which address did you encounter bug?
canary.kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
No response
At which chain did you encounter bug?
No response
Screenshots
not available
Relevant log output
No response
Payment link for reward
https://kodadot.xyz/ksm/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Simple mint got ditched


Completely refactor class constructor initialization for ownership

This PR is a product of my blood sweet and tears... but it has been completed. It is the beginning of a chain commits I am hoping to drop late rtoday.
It does the following:

It ensures that when we emit an lvalue access for ref_element_addr in an lvalue we use a formal access scope.
The previous way that we emitted class constructor initializers was broken in several ways:
a. It did not use cleanups and if you used cleanups that were expecting to occur in the top level context, the code just asserted.
b. It did not use ownership at all.
c. The designated initializer sequence code was a huge hack that did not use ownership and ad-hoced borrowed things. I replaced this with an open coded solution that is at least principled with usage of cleanups, etc.

rdar://29791263

Oh and I updated DI as well and fixed some DI bugs. DI before this wasn't triggering on:
super.init(self)
I found this by noticing that I started to cause this case to trigger in an unrelated SILOptimizer file. I moved the test case to definite init diagnostics and now we check for this error. So it shouldn't break again.

@swift-ci Please smoke test and merge