Scoop update yarn (already exists) exits with error

When re running scoop install yarn and yarn is already installed, scoop exists with an error  yarn 1.2.0 is already installed. Use scoop update yarn to install a new version.
Then it exists with an error. Instead it should be a warning, and continue executing the next script.
Or better yet, automatically run "scoop update yarn". But either way, it should not produce an error.
The use case:
my script does this:
Install scoop
Install yarn

If I run once, it succeeds. If I run twice, now it fails.
So I have to do this
Install scoop
Uninstall yarn
Install yarn

That does not seem like the right way to handle it. If scoop didnt' exit with an error when it tries to install something that already exists, then I wouldn't need to uninstall it first. Let me know...

It seems my scoop install got corrupted someone. I tried scoop uninstall scoop and it failed. So i just deleted scoop, cleared the PATH of scoop, and resinstalled. Now it works fine.

Yeah, that has something to do with scoop-install.ps1 and the abort function. It's a lot of work to remove it because it blocks all kind of commands.
Running scoop install yarn wget to install multiple programs, would have run perfectly fine by just skipping the already installed ones.
https://github.com/lukesampson/scoop/commit/a3e84bd5045c141d0ec0e5fcea22ab9685ebde53 should fix the issue with single program installations.

Awesome, thanks for that quick fix! Is there a way I can get that update or do I have to wait for a next release?

just run scoop update

beautiful! works like a charm - thanks again.


Fix Bugs

I tried this locally with the latest version of Node.
First I got the error that let/const etc only allowed in strict mode. So I added that.
Then I got the error that ouputType doesn't exist, so I fixed that. Then everything worked.
Here's all those fixes.

thanks! 👍


Scope of this list

Hi! Thanks for creating this repo, I've found it very useful for getting an overview of and navigating the Argo ecosystem!
I have a project that I've started called kustomize-everything which aims to provide opinionated workflows around using Kustomize to build your environments and deploy them in an entirely declarative way. It's not directly related to Argo by itself, but I do use Argo to deploy the k8s manifests that it builds. Do you think that tools of this nature that are generating the configuration that Argo then handles the deployment of would be a good addition to this list or should I find another place to add them? I am considering creating my own kustomize-everything/awesome-kustomize list to start collecting some of the cool tools in that ecosystem, but I figured I would ask if you'd like me to contribute here first.

Thank you! That looks like a great project but I'd like to see more traction/adoption from the community before adding it to the list. Keep up the good work!

That makes sense. I'll go ahead and close this.


beam-modules/hex-snapshot: remove

Motivation for this change
Most of the reasoning is at #70524. Basically the beam package set is a snapshot of hex. It is not maintained and never got traction in the community. To enable to open the place for different implementation for the BEAM ecosystem, this get rid of this design.

[x] Delete hex2nix
[x] Delete hex-snapshot
[x] Update other packages that uses the snapshot to build to build without

Things done

[ ] Tested using sandboxing
Built on platform(s)

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

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

Notify maintainers
cc @gleber @tazjin @ankhers

Ok i squashed and fixed merge conflicts. Would love some review. If all good, let's merge so i can move to the next phase ?

@GrahamcOfBorg build rebar3 relxExe

Thanks a lot! This step makes the BEAM world within Nix much clearer for future development.
I think https://github.com/NixOS/nixpkgs/issues/70524 can get closed with this merged.


fix aggressive import spams - cache imports at load or actually cache imports in storage :}

Issue fixed in v1.0.4


add Nuget

Fixes #270
Changes proposed:

[X] Add
[ ] Prepare
[ ] Delete
[ ] Fix

Things I've done:

[X] I've pulled the latest master branch
[ ] I've run npm install to install all the dependenies
[X] I've checked my code, it is clean.
[ ] I've run ESLint.
[X] My pull request fixes an issue, I referenced the issue.
[X] My pull request is not too big, otherwise I've already squashed it.
[ ] I've run npm run build to build the extension. (If I had done something with the extension.)

adds nuget

You're the man! 🚀


[testing] Update sklearnex conda-recipe

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I Failed to even lint the recipe, probably because of a conda-smithy
bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint --conda-forge . from the recipe directory.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11327704914.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint --conda-forge . from the recipe directory.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11403520857.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


⚠ Jenkins Plugins Artifactory has degraded performance

In 0c94597, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1249 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 0983654 after 58 minutes.


[Bug]: script splitting fails when script contains semicolons in backquote-enquoted strings

Module
Core
Testcontainers version
1.17.2
Using the latest Testcontainers version?
Yes
Host OS
MacOS
Host Arch
ARM
Docker version
Not relevant.

What happened?
I have a SQL script with the following statement:
create table `form;3`
(
    id           varchar(100),
    `first;name` varchar(100),
    `last;name`  varchar(100),
    primary key (id)
);

ScriptSplitter breaks this into multiple statements. Version 1.17.1 was not splitting it up, i.e. it remained a single statement.
Relevant log output
No response
Additional Information
Failing unit test:
    @Test
    public void testBacktickEnquotedSemicolon() {
        String script =
            "CREATE TABLE `bar;bar` (\n" +
            "  end_time VARCHAR(255)\n" +
            ");";

        List<String> expected = Arrays.asList(
            "CREATE TABLE `bar;bar` ( end_time VARCHAR(255) )"
        );

        splitAndCompare(script, expected);
    }

Fixed by #8593


Fixed broken link on here

Fixed broken link on "here"

The link on here was not updated and it redirected to a page that didn't exist
Type of change

[x] Bug fix (non-breaking change that fixes an issue) (I guess...)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that causes existing functionality to not work as expected)
[ ] Change requires a documentation update

What is the destination branch of this PR?

[x] Main
[ ] Other. Specify:

Just for you to be aware, there is a contributing guideline to know how to do commits :)


Clarification of behavior when using API

In https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-networking#using-a-private-dns-zone, the following is stated:
"If you use an Azure API, an Azure Resource Manager template (ARM template), or Terraform, create private DNS zones that end with .postgres.database.azure.com.
(...)
Using Azure Portal, CLI or ARM, you can also change private DNS Zone from the one you provided when creating your Azure Database for PostgreSQL - Flexible Server to another private DNS zone that exists the same or different subscription."
The bolded parts have caused the misunderstanding that the Azure API cannot be used to change private DNS zones, especially because it is mentioned explicitly in the first paragraph (on "creating the resource") and isn't in the second one (on "changing the resource").
The Azure API is the underlying interface of the Portal, the CLI and ARM, so it can be used to change the resource after creation. By not mentioning it in the second paragraph, it seems to imply otherwise.

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

ID: 9dfacd9d-6903-1cd0-2db7-110b70e14d3b
Version Independent ID: 4c3e1d9f-ba8e-5dfd-8dd9-f1695456775f
Content: Networking overview - Azure Database for PostgreSQL - Flexible Server
Content Source: articles/postgresql/flexible-server/concepts-networking.md
Service: postgresql
Sub-service: flexible-server
GitHub Login: @GennadNY
Microsoft Alias: gennadyk

Thanks @TheNunoGomes for creating this issue. Now API is explicitly mentioned in the referred paragraph.


⚠ Bofrost.be has degraded performance

In f5d5cd5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2278 ms

Resolved: Bofrost.be performance has improved in 7db2c05.


Adding support for Cumulus with Ignite

I think the title pretty much sums it up but since the PR is quite big, I'll try to break it down into multiple bullet points to better explain everything that has been affected:

The main addition is the new runtime and node kind -- these are completely new files and don't change any of the existing interfaces or types
Ability to specify runtime per node -- all nodes structs now have a private runtime field. This field is set during node.Init and defaults to the global runtime (as configured by the --runtime flag). However for cvx it defaults to a pre-defined ignite runtime with the ability to fall back to any other supported runtime via the NodeConfig.Runtime.
As a result of the above, all of the calls to runtime (e.g. ListContainers) are now executed via a proxy functions defined for CLab, e.g. it is now c.ListContainers(ctx, labels) instead of c.Runtime(ctx, labels). CLab always knows about all of the configured runtimes (since it knows about all of the nodes).
Topology parsing is moved to CLab.Init function -- this way it's safer to reason about CLab since we know that it'll always have Nodes and Runtimes parsed and initialized.

I think overall the last 3 points help enforce the separation between different packages and prevent direct calls between, e.g. cmd and runtime.  It's much easier to read and troubleshoot code that relies on p2p interaction instead, i.e. cmd <-> clab <-> node <-> runtime.
AFAICT, none of the existing behavior has been affected, I've tried to make sure of that but happy to fix if there anything is off.

@networkop , did a first review, let me know if anything doesn't make sense to you.
If I got it right, cumulus uses ignite as a default runtime, but it supports docker ?
This could be confusing for users who will have to set the runtime explicitly to docker just for cvx nodes.

thanks @karima, will get the changes in shortly.
regarding the default behavior, with ignite you get 100% of cumulus features, which is why I made it a default behaviour. Ultimately, from user's pov it shouldn't be noticeable what runtime is used under the hood, they would still be able to interact with it the same exact way.

@karimra @hellt all fixes have been pushed.

@networkop thanks for addressing all my comments, lgtm.

thanks @karimra . Can you check the latest commit? I think it would make sure runtimes are initialized only once.

Yes, even better, a single runtime passed to the node Init. Thanks

@networkop In 362dd1b I removed a few leftovers of log.Fatal

thanks @hellt . I also pushed a fix the shortname parsing logic.

awesome! thanks for reviewing it @karimra @hellt


com.apptreesoftware.barcodescan.BarcodeScannerActivity

my xml file can't resolve the following
and when i ignore the error and hot reload my flutter app when i click on scan i have the following exception not found method ...on chanel com.apptreesoftware.barcode_scan

Are you using Visual Studio Code? Assuming you have the same issue I have, I fixed it by going into the project folder and deleting the build folder and then rebuilt my app again. This fixed the error and the camera opened. I suspect rebuilding the project should work in other IDEs aswell.

Are you using Visual Studio Code? Assuming you have the same issue I have, I fixed it by going into the project folder and deleting the build folder and then rebuilt my app again. This fixed the error and the camera opened. I suspect rebuilding the project should work in other IDEs aswell.

It works! thanks!

it also worked for me! Thank you very much!

Are you using Visual Studio Code? Assuming you have the same issue I have, I fixed it by going into the project folder and deleting the build folder and then rebuilt my app again. This fixed the error and the camera opened. I suspect rebuilding the project should work in other IDEs aswell.

Thanks @OsmiPotnik was stuck on this for hours.

this closes #97


htmlParser valid node refactor

This PR fixed both #296 & #289
No need to use allowTags array. It could be handled as per the docs with-custom-processing-instructions.

@lucacasonato Thanks for the suggestion 😃 . I will try to fix this in different way.

As @lucacasonato said. Thanks for the contribution anyway. Closing without merge.


Timeout if tests run forever

Test name: TestServicesAsync. Have to do according to the ToDos.
while (Interlocked.Read(ref _nodeCount) < 3)
{
	await Task.Delay(100); // ToDo: timeout after a few minutes
}

while (Interlocked.Read(ref _mempoolTransactionCount) < 7)
{
	await Task.Delay(100); // ToDo: timeout after a few minutes
}

Done: https://github.com/nopara73/MagicalCryptoWallet/commit/7fc963af2762831b5d65e9543865a0132da85a3a


Support emitting logs to stdout

Context
We currently deploy Lemur in a containerized environment and would like to have Lemur emit JSON logs to stdout instead of in a rotating log file. Our reason is that it is generally regarded as a best practice when running in a container to write all logs to stdout and have the orchestrator do the collection. This is something we really embrace in our company and our tooling is built with this assumption in mind.
Issue
We tried configuring Lemur with LOG_FILE = "/dev/stdout" but the RotatingFileHandler throws an exception when attempting a os.seek(...)  on the file descriptor. Unstructured logs are already emitted on stderr but that unfortunately doesn't address our need since splitting those logs is essentially impossible.

I submitted a small PR to address that usecase: #3766


Expose prefix and base fields

Hello,
I just noticed that some ontologies define prefixes that are actually not used in the turtle file.
I do not know if that is often intended or not, but this can be really handy to find related turtle files.
I could think of other use cases where knowing the base IRI might be helpful.
With the current unmarshalling there is no way to see the declared base and prefixes (and its only possible to guess those, that are used).
I do not know where it would be the right place to expose this information.
I think only exporting the fileds prefixes and base in scanner.Scanner is possible, but not optimal, as the manual use of scanner is a bit too low level.
I could also think of the possibility that Unmarshal() returns an additional info struct, containing a copy of prefixes and base.
But I do not know if my use case justifies the latter changes.
Do you think that this API would be too confusing -  returning some data in a fixed format, while simultaneously filling custom user defined data structures?

Hi, I exposed the prefixes and the base from the scanner.Scanner in the tag v1.2.1. I did not want the function Unmarshal to change the signature, because the current signature is a standard Golang way for parser APIs and also adding a returning field would break the backwards compatibility. You can get the prefixes and the base of a file like this:
s := scanner.New(scannedFile)

for s.Next() {
    _ = s.Triple()
}

base := s.Base()
prefixes := s.Prefixes()


sap.m.Avatar: displayShape "Square" stretches badge icon container if displaySize is "Custom"

https://jsbin.com/ripucun/edit?js,output

Hello @boghyon,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Petya Bogdanova.
(UI5 Developer)

@PetyaMarkovaBogdanova Hmm, I think this issue needs to be reopened. The badge size is still resized inconsistently despite having the same Avatar size (e.g. 7rem). The only difference is the shape.

Yes, you are right, it still needs some alignment to be done. Work is in progress and the status will be updated here. Thanks for the finding!


Export to various formats from WikiSuite (milestone 3b)

See https://github.com/federatedbookkeeping/timesheets#milestone-3-wikisuite

Export to timeld.org gateway via tabular 11 works now: https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=11

Also super news!  I'll check that I can see the Tiki data in timeld.

Milestone 3b has been completed. Demonstration could be done via 2 ways:

Install Tiki (https://tiki.org/Get-Tiki), Install Timesheets profile (https://profiles.tiki.org/Timesheets), configure DSN/Content authentication with your credentials for pondersource and timeld. Configure tabular formats for Mite, Scoro and Time with proper API endpoints depending on your accounts in these 3rd parties. Add local Tiki users for all the users you plan to enter/export data for.
This is what has been done in https://timesheet.dev3.evoludata.com - you can register and use the existing tabular formats there.

Usage:

manual export using Export button in existing tabulars in the following formats:
1.1. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=6 - Full format using the WikiSuite/Tiki timesheet format.
1.2. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=7 - csv format for importing into Time app
1.3. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=8 - json format using the Scoro API
1.4. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=9 - json format using the Mite API
1.5. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=10 - json format using the Pondersource/Prejournal API
1.6. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=11 - ndjson format using the timeld API
1.7. https://timesheet.dev3.evoludata.com/tiki-tabular-list?tabularId=12 - iCal/ics format for calendar synchronization
automated export using Tiki Scheduler - a job could be scheduled to run on a specific interval and does the export in an automated way. Some exports require parameters which should be specified on the command line. Only API exports are supported this way, otherwise, we end up producing a single csv or json file with the export.


Never save a capture

Description
My general workflow when debugging graphics is as follows:

Write some graphics code
Start the application to try it out
Wonder why it doesn't work
Open RenderDoc and capture a frame to analyze the problem (through app integration)
Change the code to fix it
Go to 2

I'm not sure whether that's how its supposed to be used, but when I use it that way, I open and close a lot of RenderDoc instances (one per cycle). I never want to save any of the captures, however, each time I close an instance, it asks me whether I want to save the capture. Can you add an option "never ask again", or something similar in the settings?

Environment

RenderDoc version: v1.7
Operating System: all
Graphics API: all

I'm not going to add this. I'm not aware of any other program that allows you to destroy unsaved data without a prompt, even on an option. Adding such an option would be very error-prone as some users might click it by accident or without realising what it does, and others might misinterpret it as "don't ask me again this session".
If explicitly discarding captures is a bottleneck for your workflow you can always make a custom local build and disable that prompt.

I'm not aware of any other program that allows you to destroy unsaved data without a prompt, even on an option.
That depends on your definition of "user data". Firefox asks you (or at least used to ask) whether you want to save your tabs for later, with an option to never (or always) save any tabs.

I see how users might click it by accident, but could there be a setting in the settings window? It's very unlikely that users are going to accidentally open the settings, find that checkbox and tick it.
Or is my workflow just extremely rare? To me, it seems like the obvious way to use RenderDoc, but I'm happy to learn about others.
Btw I promise to make the PR by myself if you greenlight this :-)

The example of Firefox isn't directly comparable because that's not any data being permanently lost. The webpages are still there even if the tab is closed.
Unfortunately it's quite possible for users to enable things without really understanding exactly what they do - I've seen it happen. The potential risk of someone accidentally losing their data far outweighs the negligible improvement of saving you a prompt here and there. It's common enough to make temporary captures but I'm not aware of anyone else who considers the dialog to be a significant burden.
You're free to make the change locally as I suggested, but if you open a PR it will be rejected. I didn't close the issue because I don't have time to implement the change - the implementation itself is quite straightforward.

My impression is that similar to how the webpage is still there because the web server still exists, the information of a capture is still there because the application still exists, too. It (usually) just takes a key press to get the capture back, similar to how you (usually) just need the link to get the web page back. But if that's your final decision, that's fine.

I'd like to second this, as I find quite frustrating the lack of this feature.
I understand your reasons for not wanting it, but I would't consider negligible the amount of iteration time and the loss in experience quality this causes.
I don't have any usage statistics to claim this, but based on my experience I think many people use RenderDoc extensively to aid the development process, without caring about storing the data. I think supporting them is worth the risk of having a user that wants to save the data AND mistakenly sets a wrong option (which is disabled by default and clearly documented) AND forgets to manually save AND is in a situation where the data cannot be reproduced easily.
Just my honest feedback.
Thank you for keeping up the great work!


updated vk_mem_alloc.h to fix startup issue with AMD 6000 series GPUs…

… using SteamVR on Windows
More information about the issue
I'll do some more testing on Linux, Windows using AMD and Nvidia and Intel GPUs the upcoming days. I'll report back if they all work.
Bugsquad edit:

Fixes #61787

ok. I finished my tests. Everything seem to work. What I tested:

Arch Linux AMD 6000 series GPU mesa 3D and XR application
Ubuntu Intel integrated graphics simple 3D application (no XR)
Windows AMD 6000 series GPU XR application

native build using Visual Studio
build-script docker build created on linux

SteamVR as OpenXR server
Oculus Rift Software as OpenXR server

Windows Nvidia SteamVR XR application

Everything worked

It seems like your IDE stripped trailing whitespace in that file. That's good in theory, but for thirdparty code we try our best not to change the code in our copy so that potential custom changes are easy to track. Here's the diff between your PR and the upstream 3.0.1 tag:
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
index 184ee005d8..7b04e54d94 100644
--- a/thirdparty/vulkan/vk_mem_alloc.h
+++ b/thirdparty/vulkan/vk_mem_alloc.h
@@ -127,11 +127,7 @@ extern "C" {
 #endif

 #ifndef VULKAN_H_
-    #ifdef USE_VOLK
-        #include <volk.h>
-    #else
-        #include <vulkan/vulkan.h>
-    #endif
+    #include <vulkan/vulkan.h>
 #endif

 // Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
@@ -300,9 +296,9 @@ extern "C" {

 ////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////
-//
+//
 //    INTERFACE
-//
+//
 ////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////

@@ -488,7 +484,7 @@ typedef enum VmaMemoryUsage
     When using this flag, if you want to map the allocation (using vmaMapMemory() or #VMA_ALLOCATION_CREATE_MAPPED_BIT),
     you must pass one of the flags: #VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT or #VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT
     in VmaAllocationCreateInfo::flags.
-
+
     It can be used only with functions that let the library know `VkBufferCreateInfo` or `VkImageCreateInfo`, e.g.
     vmaCreateBuffer(), vmaCreateImage(), vmaFindMemoryTypeIndexForBufferInfo(), vmaFindMemoryTypeIndexForImageInfo()
     and not with generic memory allocation functions.
@@ -552,7 +548,7 @@ typedef enum VmaAllocationCreateFlagBits
     */
     VMA_ALLOCATION_CREATE_MAPPED_BIT = 0x00000004,
     /** \deprecated Preserved for backward compatibility. Consider using vmaSetAllocationName() instead.
-
+
     Set this flag to treat VmaAllocationCreateInfo::pUserData as pointer to a
     null-terminated string. Instead of copying pointer value, a local copy of the
     string is made and stored in allocation's `pName`. The string is automatically
@@ -579,14 +575,14 @@ typedef enum VmaAllocationCreateFlagBits
     */
     VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT = 0x00000100,
     /** \brief Set this flag if the allocated memory will have aliasing resources.
-
+
     Usage of this flag prevents supplying `VkMemoryDedicatedAllocateInfoKHR` when #VMA_ALLOCATION_CREATE_DEDICATED_MEMORY_BIT is specified.
     Otherwise created dedicated memory will not be suitable for aliasing resources, resulting in Vulkan Validation Layer errors.
     */
     VMA_ALLOCATION_CREATE_CAN_ALIAS_BIT = 0x00000200,
     /**
     Requests possibility to map the allocation (using vmaMapMemory() or #VMA_ALLOCATION_CREATE_MAPPED_BIT).
-
+
     - If you use #VMA_MEMORY_USAGE_AUTO or other `VMA_MEMORY_USAGE_AUTO*` value,
       you must use this flag to be able to map the allocation. Otherwise, mapping is incorrect.
     - If you use other value of #VmaMemoryUsage, this flag is ignored and mapping is always possible in memory types that are `HOST_VISIBLE`.
@@ -602,7 +598,7 @@ typedef enum VmaAllocationCreateFlagBits
     VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT = 0x00000400,
     /**
     Requests possibility to map the allocation (using vmaMapMemory() or #VMA_ALLOCATION_CREATE_MAPPED_BIT).
-
+
     - If you use #VMA_MEMORY_USAGE_AUTO or other `VMA_MEMORY_USAGE_AUTO*` value,
       you must use this flag to be able to map the allocation. Otherwise, mapping is incorrect.
     - If you use other value of #VmaMemoryUsage, this flag is ignored and mapping is always possible in memory types that are `HOST_VISIBLE`.
@@ -724,7 +720,7 @@ typedef enum VmaDefragmentationFlagBits
     VMA_DEFRAGMENTATION_FLAG_ALGORITHM_EXTENSIVE_BIT = 0x8,

     /// A bit mask to extract only `ALGORITHM` bits from entire set of flags.
-    VMA_DEFRAGMENTATION_FLAG_ALGORITHM_MASK =
+    VMA_DEFRAGMENTATION_FLAG_ALGORITHM_MASK =
         VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FAST_BIT |
         VMA_DEFRAGMENTATION_FLAG_ALGORITHM_BALANCED_BIT |
         VMA_DEFRAGMENTATION_FLAG_ALGORITHM_FULL_BIT |
@@ -1117,19 +1113,19 @@ typedef struct VmaStatistics
     */
     uint32_t blockCount;
     /** \brief Number of #VmaAllocation objects allocated.
-
+
     Dedicated allocations have their own blocks, so each one adds 1 to `allocationCount` as well as `blockCount`.
     */
     uint32_t allocationCount;
     /** \brief Number of bytes allocated in `VkDeviceMemory` blocks.
-
+
     \note To avoid confusion, please be aware that what Vulkan calls an "allocation" - a whole `VkDeviceMemory` object
     (e.g. as in `VkPhysicalDeviceLimits::maxMemoryAllocationCount`) is called a "block" in VMA, while VMA calls
     "allocation" a #VmaAllocation object that represents a memory region sub-allocated from such block, usually for a single buffer or image.
     */
     VkDeviceSize blockBytes;
     /** \brief Total number of bytes occupied by all #VmaAllocation objects.
-
+
     Always less or equal than `blockBytes`.
     Difference `(blockBytes - allocationBytes)` is the amount of memory allocated from Vulkan
     but unused by any #VmaAllocation.
@@ -1387,9 +1383,9 @@ typedef struct VmaAllocationInfo
     */
     void* VMA_NULLABLE pUserData;
     /** \brief Custom allocation name that was set with vmaSetAllocationName().
-
+
     It can change after call to vmaSetAllocationName() for this allocation.
-
+
     Another way to set custom name is to pass it in VmaAllocationCreateInfo::pUserData with
     additional flag #VMA_ALLOCATION_CREATE_USER_DATA_COPY_STRING_BIT set [DEPRECATED].
     */
@@ -1429,7 +1425,7 @@ typedef struct VmaDefragmentationMove
     /// Allocation that should be moved.
     VmaAllocation VMA_NOT_NULL srcAllocation;
     /** \brief Temporary allocation pointing to destination memory that will replace `srcAllocation`.
-
+
     \warning Do not store this allocation in your data structures! It exists only temporarily, for the duration of the defragmentation pass,
     to be used for binding new buffer/image to the destination memory using e.g. vmaBindBufferMemory().
     vmaEndDefragmentationPass() will destroy it and make `srcAllocation` point to this memory.
@@ -1446,16 +1442,16 @@ typedef struct VmaDefragmentationPassMoveInfo
     /// Number of elements in the `pMoves` array.
     uint32_t moveCount;
     /** \brief Array of moves to be performed by the user in the current defragmentation pass.
-
+
     Pointer to an array of `moveCount` elements, owned by VMA, created in vmaBeginDefragmentationPass(), destroyed in vmaEndDefragmentationPass().

     For each element, you should:
-
+
     1. Create a new buffer/image in the place pointed by VmaDefragmentationMove::dstMemory + VmaDefragmentationMove::dstOffset.
     2. Copy data from the VmaDefragmentationMove::srcAllocation e.g. using `vkCmdCopyBuffer`, `vkCmdCopyImage`.
     3. Make sure these commands finished executing on the GPU.
     4. Destroy the old buffer/image.
-
+
     Only then you can finish defragmentation pass by calling vmaEndDefragmentationPass().
     After this call, the allocation will point to the new place in memory.

@@ -1539,7 +1535,7 @@ typedef struct VmaVirtualAllocationCreateInfo
 typedef struct VmaVirtualAllocationInfo
 {
     /** \brief Offset of the allocation.
-
+
     Offset at which the allocation was made.
     */
     VkDeviceSize offset;
@@ -2364,7 +2360,7 @@ vkDestroyBuffer(device, buffer, allocationCallbacks);
 vmaFreeMemory(allocator, allocation);
 \endcode

-It is safe to pass null as buffer and/or allocation.
+It it safe to pass null as buffer and/or allocation.
 */
 VMA_CALL_PRE void VMA_CALL_POST vmaDestroyBuffer(
     VmaAllocator VMA_NOT_NULL allocator,
@@ -2396,7 +2392,7 @@ vkDestroyImage(device, image, allocationCallbacks);
 vmaFreeMemory(allocator, allocation);
 \endcode

-It is safe to pass null as image and/or allocation.
+It it safe to pass null as image and/or allocation.
 */
 VMA_CALL_PRE void VMA_CALL_POST vmaDestroyImage(
     VmaAllocator VMA_NOT_NULL allocator,
@@ -2555,9 +2551,9 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(

 ////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////
-//
+//
 //    IMPLEMENTATION
-//
+//
 ////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////

@@ -5026,7 +5022,7 @@ public:
     VmaIntrusiveLinkedList& operator=(VmaIntrusiveLinkedList&& src);
     VmaIntrusiveLinkedList& operator=(const VmaIntrusiveLinkedList&) = delete;
     ~VmaIntrusiveLinkedList() { VMA_HEAVY_ASSERT(IsEmpty()); }
-
+
     size_t GetCount() const { return m_Count; }
     bool IsEmpty() const { return m_Count == 0; }
     ItemType* Front() { return m_Front; }
@@ -5438,7 +5434,7 @@ public:
     // Writes a string value inside "".
     // pStr can contain any ANSI characters, including '"', new line etc. - they will be properly escaped.
     void WriteString(const char* pStr);
-
+
     // Begins writing a string value.
     // Call BeginString, ContinueString, ContinueString, ..., EndString instead of
     // WriteString to conveniently build the string content incrementally, made of
@@ -6416,7 +6412,7 @@ void VmaBlockMetadata::DebugLogAllocation(VkDeviceSize offset, VkDeviceSize size
             (uint32_t)allocation->GetSuballocationType());
 #endif // VMA_STATS_STRING_ENABLED
     }
-
+
 }

 #if VMA_STATS_STRING_ENABLED
@@ -12982,7 +12978,7 @@ VmaDefragmentationContext_T::VmaDefragmentationContext_T(
             }
         }
     }
-
+
     switch (m_Algorithm)
     {
     case 0: // Default algorithm
@@ -13108,7 +13104,7 @@ VkResult VmaDefragmentationContext_T::DefragmentPassEnd(VmaDefragmentationPassMo
             vector = m_pBlockVectors[vectorIndex];
             VMA_ASSERT(vector != VMA_NULL);
         }
-
+
         switch (move.operation)
         {
         case VMA_DEFRAGMENTATION_MOVE_OPERATION_COPY:
@@ -13405,7 +13401,7 @@ bool VmaDefragmentationContext_T::ReallocWithinBlock(VmaBlockVector& vector, Vma
         case CounterStatus::Pass:
             break;
         }
-
+
         VkDeviceSize offset = moveData.move.srcAllocation->GetOffset();
         if (offset != 0 && metadata->GetSumFreeSize() >= moveData.size)
         {
@@ -13589,7 +13585,7 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Balanced(VmaBlockVector
             prevFreeRegionSize = nextFreeRegionSize;
         }
     }
-
+
     // No moves perfomed, update statistics to current vector state
     if (startMoveCount == m_Moves.size() && !update)
     {
@@ -13876,7 +13872,7 @@ void VmaDefragmentationContext_T::UpdateVectorStatistics(VmaBlockVector& vector,
     state.avgFreeSize /= freeCount;
 }

-bool VmaDefragmentationContext_T::MoveDataToFreeBlocks(VmaSuballocationType currentType,
+bool VmaDefragmentationContext_T::MoveDataToFreeBlocks(VmaSuballocationType currentType,
     VmaBlockVector& vector, size_t firstFreeBlock,
     bool& texturePresent, bool& bufferPresent, bool& otherPresent)
 {
@@ -18381,7 +18377,7 @@ for(;;)
         VmaAllocationInfo allocInfo;
         vmaGetAllocationInfo(allocator, pMoves[i].srcAllocation, &allocInfo);
         MyEngineResourceData* resData = (MyEngineResourceData*)allocInfo.pUserData;
-
+
         // Recreate and bind this buffer/image at: pass.pMoves[i].dstMemory, pass.pMoves[i].dstOffset.
         VkImageCreateInfo imgCreateInfo = ...
         VkImage newImg;
@@ -18393,7 +18389,7 @@ for(;;)
         // Issue a vkCmdCopyBuffer/vkCmdCopyImage to copy its content to the new place.
         vkCmdCopyImage(cmdBuf, resData->img, ..., newImg, ...);
     }
-
+
     // Make sure the copy commands finished executing.
     vkWaitForFences(...);

@@ -18405,7 +18401,7 @@ for(;;)
     }

     // Update appropriate descriptors to point to the new places...
-
+
     res = vmaEndDefragmentationPass(allocator, defragCtx, &pass);
     if(res == VK_SUCCESS)
         break;
@@ -18559,7 +18555,7 @@ To do that, fill VmaAllocationCreateInfo::pUserData field when creating
 an allocation. It is an opaque `void*` pointer. You can use it e.g. as a pointer,
 some handle, index, key, ordinal number or any other value that would associate
 the allocation with your custom metadata.
-It is useful to identify appropriate data structures in your engine given #VmaAllocation,
+It it useful to identify appropriate data structures in your engine given #VmaAllocation,
 e.g. when doing \ref defragmentation.

 \code
@@ -19070,13 +19066,13 @@ so you need to create another "staging" allocation and perform explicit transfer
 VkBufferCreateInfo bufCreateInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO };
 bufCreateInfo.size = 65536;
 bufCreateInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT;
-
+
 VmaAllocationCreateInfo allocCreateInfo = {};
 allocCreateInfo.usage = VMA_MEMORY_USAGE_AUTO;
 allocCreateInfo.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT |
     VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT |
     VMA_ALLOCATION_CREATE_MAPPED_BIT;
-
+
 VkBuffer buf;
 VmaAllocation alloc;
 VmaAllocationInfo allocInfo;

(The volk part is good to keep as you did as we need it.)

Thanks! And congrats for your first merged Godot contribution :tada:


feat(reporter-api) Add reporter api

Move Location and Position from test_runner api to core api
Add reporter api interfaces
Add BaseReporter helper class so not all methods need to be implemented
Add source files to the api so an html report can be created

When this PR is accepted i want to start working on the html reporter
@paysdoc @simondel can you two take a look?

It looks good! I have two questions (apart from my comments):

Why is there still a BaseReporter class?
How do you plan to implement the MutantResult interface with the existing Mutant class?

Why is there still a BaseReporter class?

If you want to implement just one method in your Reporter, you still need to implement all methods. At least: so i thought, i just figured it out:
interface Reporter {

  onConfigReadingComplete?(config: StrykerOptions): void;
  // appearently we can use a questionmark ?
}

How do you plan to implement the MutantResult interface with the existing Mutant class?

Maybe add a result property to keep the result? The idea would be to freeze the result so reporters can't alter it.

I implemented the review comments.


Isolate.spawn is broken in snapshots when run near a foreign .packages file

This breakage appears under the following conditions:

The script contains a package: import.
The script uses Isolate.spawn().
The script is run from a snapshot.
The directory containing the snapshot, or a parent of that directory, contains a .packages file that's different from the one used to create the snapshot.

To reproduce this, create a package with the following files:
// bin/bin.dart
import 'dart:isolate';

import 'package:app/app.dart';

main() async {
  await Isolate.spawn(entrypoint, null);
}

void entrypoint(_) {
}

// lib/app.dart

// This file can be empty.

# pubspec.yaml
name: app

Run:
$ pub get
$ dart --snapshot=bin.dart.snapshot bin/bin.dart
$ rm .packages
$ touch .packages
$ dart bin.dart.snapshot

You should see an error like the following:
Unhandled exception:
IsolateSpawnException: Unable to spawn isolate: Unhandled exception:
Load Error for "package:app/app.dart": No mapping for 'app' package when resolving 'package:app/app.dart'.
#0      _asyncLoadErrorCallback (dart:_builtin:155)
#1      _asyncLoadError (dart:_builtin:566)
#2      _loadPackage (dart:_builtin:605)
#3      _loadData (dart:_builtin:637)
#4      _loadDataAsync (dart:_builtin:657)
#5      _loadScriptCallback (dart:_builtin:153)
#6      _handleLoaderReply (dart:_builtin:370)
#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)
'file:///tmp/app/bin/bin.dart': error: line 3 pos 1: library handler failed
import 'package:app/app.dart';
^
#0      Isolate.spawn.<spawn_async_body> (dart:isolate-patch/isolate_patch.dart)
#1      _asyncErrorWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:34)
#2      _RootZone.runBinary (dart:async/zone.dart:1154)
#3      _Future._propagateToListeners.handleError (dart:async/future_impl.dart:579)
#4      _Future._propagateToListeners (dart:async/future_impl.dart:641)
#5      _Future._completeError (dart:async/future_impl.dart:432)
#6      _SyncCompleter._completeError (dart:async/future_impl.dart:56)
#7      _Completer.completeError (dart:async/future_impl.dart:27)
#8      Isolate._spawnCommon.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:413)
#9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)

This is a regression. Running git bisect indicates that this error appeared as of dart-lang/sdk@6d066c7e53f82b70c3a5bfc4916d8a0c9a26a6f4. It's likely related to dart-lang/pub#1379.

Doing Isolate.spawn should not read any files. It should run with exactly the same source and configuration as the isolate that calls spawn. If it rereads source files, that's no longer guaranteed, and if it's not running the same code, object transfer between the isolates may fail when the classes are no longer identical (or even there).
The new isolate should really be close to a "fork" of the original isolate - as it was just before running main.

@lrhn That's been an issue for a long time; see #6610.

Fixed: https://codereview.chromium.org/1591573004
Duplicate of #25430


#246: Refactor System.exit()

Resolves #246.

[x] Integrate System-Rules lib to test System.exit() calls
[x] Add test for --help CLI option

Current coverage is 88.60%

Merging #247 into master will increase coverage by +0.12% as of 835fd08

Powered by Codecov. Updated on successful CI builds.

:+1:


Early test of update test part two

This involves faking package version to allow testing the update to the version being tested. This shouldn't be merged but if the test is successful the package JSON will be in this state after the next release allowing the test to then be merged.
The reason for faking this test is that if it needs changes on the previously released version I'd rather know before releasing the next version.
Context of the test approach is here https://github.com/nowprototypeit/nowprototypeit/pull/44#issuecomment-2412606866

Predictable outcome: it works on everything except Windows.
I'll take some time to formulate a test strategy (because manual tests work every time).

Output was:
Failures:

1) Scenario: Upgrading to the version being tested (attempt 3) # features\plugins\update-kit.feature:10
   × Before # features\step-definitions\hooks.steps.js:59
       Error: spawn npx ENOENT
           at ChildProcess._handle.onexit (node:internal/child_process:284:19)
           at onErrorNT (node:internal/child_process:477:16)
           at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
   - When I install the version of the kit being tested # features\step-definitions\plugins.steps.js:130
   - Then I should be using version of the kit being tested # features\step-definitions\plugins.steps.js:135
   √ After # features\step-definitions\hooks.steps.js:91

Warnings:

1) Scenario: Upgrading to the version being tested (attempt 1, retried) # features\plugins\update-kit.feature:10
   × Before # features\step-definitions\hooks.steps.js:59
       Error: spawn npx ENOENT
           at ChildProcess._handle.onexit (node:internal/child_process:284:19)
           at onErrorNT (node:internal/child_process:4[77](https://github.com/nowprototypeit/nowprototypeit/actions/runs/11337743760/job/31529832889?pr=46#step:6:78):16)
           at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
   - When I install the version of the kit being tested # features\step-definitions\plugins.steps.js:130
   - Then I should be using version of the kit being tested # features\step-definitions\plugins.steps.js:135
   × After # features\step-definitions\hooks.steps.js:91
       TypeError: Cannot read properties of undefined (reading 'storageKey')
           at removeKit (D:\a\nowprototypeit\nowprototypeit\features\step-definitions\utils.js:40:19)
           at World.<anonymous> (D:\a\nowprototypeit\nowprototypeit\features\step-definitions\hooks.steps.js:98:11)

2) Scenario: Upgrading to the version being tested (attempt 2, retried) # features\plugins\update-kit.feature:10
   × Before # features\step-definitions\hooks.steps.js:59
       Error: spawn npx ENOENT
           at ChildProcess._handle.onexit (node:internal/child_process:284:19)
           at onErrorNT (node:internal/child_process:477:16)
           at process.processTicksAndRejections (node:internal/process/task_queues:[82](https://github.com/nowprototypeit/nowprototypeit/actions/runs/11337743760/job/31529832889?pr=46#step:6:83):21)
   - When I install the version of the kit being tested # features\step-definitions\plugins.steps.js:130
   - Then I should be using version of the kit being tested # features\step-definitions\plugins.steps.js:135
   × After # features\step-definitions\hooks.steps.js:91
       TypeError: Cannot read properties of undefined (reading 'storageKey')
           at removeKit (D:\a\nowprototypeit\nowprototypeit\features\step-definitions\utils.js:40:19)
           at World.<anonymous> (D:\a\nowprototypeit\nowprototypeit\features\step-definitions\hooks.steps.js:98:11)


Adding Tag Attributes to the contextmenu-layer and Ability to Add Multiple "className" to menu-item.

These changes allow adding tag attributes to the contextmenu-layer by providing an optional "attributes" prop. For example, the object {colSpan: 1, className: "MyClassName"} would give the wrapper a colSpan tag of 1, and add the class "MyClassName" (keeping the "react-context-menu-wrapper" class). An example of this in use is below:

These changes also allow adding multiple classes to the menu-item div by providing the optional "attributes" prop as before and providing each class required. For example, passing the object {className: "MyClassName1", className:"MyClassName2"} would put both classes on the menu-item div (keeping the "react-context-menu-item" class). An example of this in use is below:

I added a tag-attributes module to hold extra functions for tag grabbing and for retrieving the classes from the attribute object. Let me know if you have questions or comments on how I changed things! I would be happy to hear any feedback you have.

I do not understand the need for toAttributeArray. Can you please explain?

toAttributeArray converts the "attributes" object to an array so that we can pass it to createElement. I decided to pass one object with all of our attributes instead of adding every attribute to an associative array. Do you have any ideas on how to make that better?

I know that second parameter to React.createElement should be an object, but, I don't understand why convert it to an array?

That was my mistake. I was thinking of using the array for something in my personal project that ended up not being needed. Passing the object would work fine. I can definitely make that change. Do you see any other problems that the structure would have with the project? Also, I am less familiar with the build process for travis-ci. Do you know why it is failing?

OK. I'll merge the PR and make some changes. Thanks for your work.


21章MADDPG代码问题，存在维度不匹配

{
"name": "ValueError",
"message": "setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1024, 3) + inhomogeneous part.",
"stack": "---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
/Users/corneliusdeng/UESTC/Dive Into RL/MADDPG.ipynb Cell 7 line 2
26 total_step += 1
27 if replay_buffer.size(
28 ) >= minimal_size and total_step % update_interval == 0:
---> 29     sample = replay_buffer.sample(batch_size)
31     def stack_array(x):
32         rearranged = [[sub_x[i] for sub_x in x]
33                       for i in range(len(x[0]))]
File ~/UESTC/Dive Into RL/rl_utils.py:17, in ReplayBuffer.sample(self, batch_size)
15 transitions = random.sample(self.buffer, batch_size)
16 state, action, reward, next_state, done = zip(*transitions)
---> 17 return np.array(state), action, reward, np.array(next_state), done
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1024, 3) + inhomogeneous part."
}

jupyter has noted, you need to add "dtpye=object" into "return np.array(state), action, reward, np.array(next_state), done" like "return np.array(state, dtype=object), action, reward, np.array(next_state, dtype=object), done"

将sample模块修改为
def sample(self, batch_size):
transitions = random.sample(self.buffer, batch_size)
state, action, reward, next_state, done = zip(*transitions)
return np.array(state,dtype=object), action, reward, np.array(next_state，dtype=object), done
运行后仍出现如下报错
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1024, 3) + inhomogeneous part.
未解决该问题

另外，注意版本问题，若numpy版本较新，仍无法解决问题，需要回退版本pip install numpy==1.21.6。 ref


feat: 3430 - new packagings edit page based on api v3

New file:

edit_new_packagings.dart: Edit display of a product packagings (the new api V3 version).

Impacted files:

background_task_details.dart: added specific save method call for api V3
edit_product_page.dart: added call to new page EditNewPackagings
ocr_packaging_helper.dart: minor unrelated refactoring
paged_user_product_query.dart: specific field list
product_query.dart: upgraded to api V3; added field PACKAGINGS; added specific field list for user-related searches (they do not support PACKAGINGS)
product_refresher.dart: upgraded to api V3
simple_input_page.dart: minor refactoring
simple_input_widget.dart: refactoring about making the autocomplete widget reusable
up_to_date_changes.dart: added new field packagings; minor unrelated refactoring

What

New "edit packagings page" based on api v3
Those packagings are split in material, shape, recycling status and number of units
I coded quickly without much regard for UI or localization - that would have to be done in a second step.

Screenshot

Edit product: "NEW PACKAGINGS"
new page

Fixes bug(s)

Closes: #3430
Closes: #3466

Great for the quick turnaround @monsieurtanuki 👏
Are Weight of one empty unit (g)and Quantity of product contained per unit causing any issues ?

Codecov Report

Merging #3475 (cf1fb48) into develop (390f859) will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3475      +/-   ##
===========================================
- Coverage    11.23%   11.09%   -0.15%
===========================================
  Files          261      262       +1
  Lines        12670    12830     +160
===========================================
  Hits          1424     1424
- Misses       11246    11406     +160

Impacted Files
Coverage Δ

...th_app/lib/background/background_task_details.dart
0.00% <0.00%> (ø)

...smooth_app/lib/data_models/up_to_date_changes.dart
0.00% <0.00%> (ø)

...pp/lib/pages/product/common/product_refresher.dart
1.96% <0.00%> (ø)

...oth_app/lib/pages/product/edit_new_packagings.dart
0.00% <0.00%> (ø)

...mooth_app/lib/pages/product/edit_product_page.dart
0.50% <0.00%> (-0.02%)
:arrow_down:

...th_app/lib/pages/product/ocr_packaging_helper.dart
0.00% <ø> (ø)

...mooth_app/lib/pages/product/simple_input_page.dart
0.00% <0.00%> (ø)

...oth_app/lib/pages/product/simple_input_widget.dart
0.00% <0.00%> (ø)

...smooth_app/lib/query/paged_user_product_query.dart
2.38% <0.00%> (ø)

packages/smooth_app/lib/query/product_query.dart
7.50% <0.00%> (-0.61%)
:arrow_down:

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Great for the quick turnaround @monsieurtanuki 👏 Are Weight of one empty unit (g)and Quantity of product contained per unit causing any issues ?

They are not in off-dart.

ok @monsieurtanuki, I have filed a task there

Thank you guys for the reviews!
A good first step. It's not over.


Drop groovy, hirsute, and kinetic bundles

These are all EOL ubuntu releases that no longer require testing.

+ juju deploy --dry-run ./tests/octavia-upgrade/tests/bundles/octavia-focal-wallaby-ha-stable.yaml
...
ERROR cannot deploy bundle: cannot resolve charm or bundle "mysql-innodb-cluster": not found

  mysql-innodb-cluster:
    constraints: mem=3072M
    charm: cs:~openstack-charmers/mysql-innodb-cluster
    num_units: 3

https://github.com/openstack-charmers/charmed-openstack-tester/blob/master/tests/octavia-upgrade/tests/bundles/octavia-focal-wallaby-ha-stable.yaml#L36C1-L39C17
we still have bundles referencing cs:, are they used/needed?

+ juju deploy --dry-run ./tests/octavia-upgrade/tests/bundles/octavia-focal-wallaby-ha-stable.yaml
...
ERROR cannot deploy bundle: cannot resolve charm or bundle "mysql-innodb-cluster": not found

  mysql-innodb-cluster:
    constraints: mem=3072M
    charm: cs:~openstack-charmers/mysql-innodb-cluster
    num_units: 3

https://github.com/openstack-charmers/charmed-openstack-tester/blob/master/tests/octavia-upgrade/tests/bundles/octavia-focal-wallaby-ha-stable.yaml#L36C1-L39C17
we still have bundles referencing cs:, are they used/needed?

There are a lot that use cs:. I'm not sure if they are still used or not. I think they were all used for release testing in the past?

https://github.com/openstack-charmers/charmed-openstack-tester/commit/63b97422ef751c0404bca9955f31d4b6026498aa
Alex may have some memories on this.
On Wed, 2023-08-16 at 13:53 -0700, coreycb wrote:

juju deploy --dry-run ./tests/octavia-upgrade/tests/bundles/octavia-focal-wallaby-ha-
stable.yaml
...
ERROR cannot deploy bundle: cannot resolve charm or bundle "mysql-innodb-cluster": not found
  mysql-innodb-cluster:
    constraints: mem=3072M
    charm: cs:~openstack-charmers/mysql-innodb-cluster
    num_units: 3
https://github.com/openstack-charmers/charmed-openstack-tester/blob/master/tests/octavia-upgrade/tests/bundles/octavia-focal-wallaby-ha-stable.yaml#L36C1-L39C17
we still have bundles referencing cs:, are they used/needed?
There are a lot that use cs:. I'm not sure if they are still used or not. I think they were all
used for release testing in the past?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID:
@.***>


ci: Publish to DockerHub doesn't use cached artifacts

The logs https://stratumn.semaphoreci.com/jobs/48607f67-2a3e-4da1-b47e-56b2621f7abc show that make docker_images rebuilds the binaries even though dist was restored from the cache.
I think it might have something to do with the timestamps. Maybe make thinks the binaries are outdated?

If you are sure that your dist binaries are up to date, touch all dist binaries after restoring it before calling the ocker_images rule.


Filament custom fields available on spools

Is your feature request related to a problem? Please describe.
I have fields such as "RAL" and "glitter" on filaments, but those also are applicable on the spools of said filament, of course.
Describe the solution you'd like
Have the Filament custom fields available / viewable / filterable on the spools view
Describe alternatives you've considered
I don't know? I think filament information is relevant on a spool as well?
Additional context
None.
Thanks!

Second that.
It would be useful to be able to promote Custom Fields from Vendor to Filament and from Filament to Spool.
It would probably also be useful to add a checkbox in the creation dialogue to to enable/disable the created field being promoted.

are you looking for these to be read-only fields or actual fields on the spool?
Generally, as I have been digging into the code, the filament object is properties of the filament itself, while the spool has some of it's own properties (weight, empty weight, etc). I just proposed a change to allow the empty spool weight (tare weight) to "fall" from a field on vendor to filament to spool, but really, filament shouldn't know (or care) about spool weight of any kind. I left it there to not break anyone's current implementation.
What it seems you are asking for isn't so much adding new properties to the spool, but just allowing the filament's properties to be "searchable" from the spool endpoint. If that's what you are asking for, I would agree, that makes some sense, but I might implement it as a new endpoint to avoid performance issues with the current endpoints.
If you are asking for these properties to exist and become defaults from vendor to filament to spool, well, that's a LOT of data duplication and mostly unnecessary.

sorry for the late reply, yes, i want the information to be visible/searchable on a spool, not copied.
If i add a comment on a filament "hard to print" for example, I want to see that on a spool as well.
Or if I add a RAL field, or a "glitter" field, i want it to be shown, read only, on a spool as well.
the instance should have access to the parents properties, really.
Thanks!

Makes sense. In general though I really want to update the table layout before adding something like this. Today it's very bulky, and it's not really possible to make columns manually resizable.
Fixing that would mean finding a new table drawing library though, which is a big change..


adds rp to exn to work with >1.2.0-dev4

The fix should be that an ri field for receiver identifier (AID) be added to the EXN and XIP messages in version 2.  This is what is in the specification for KERI.  The reason for ri and not rp is that the convention when the field value is an AID is for the field label to either be i or if there is already and i to use a two character field label where the second character is i and the first character is the modifier. For example di is the delegator identifier field.
rp was put in at some point in the current code before we had the discussion of using the convention.
If you are going to update version 1 of keri, then I suggest replacing  the rp with the ri field label. Then it would already be version 2 compliant.


fill structure with content

Pre-Commit is broken, because vale is broken.
We should also improve the taskfile, as it does not install all dependencies immedieately. -> I'm doing a lightning talk soon and plan to use this file as an example.
ADRs are not in Arc42 section. -> Fix later.
LGTM atm.


Add option to disable hsts preload

fixes #466

This change is

Coverage increased (+0.009%) to 44.2% when pulling cbe402959768e0709c3cbad4f1a505141cfd6f62 on aledbf:hsts-preload into ed6987e716bc4610b02f895b0bdded23c6c6bd54 on kubernetes:master.


more exceptions and discussion

A 300 setting could be passed through settings files for example
look in next commit for a more general approach. This only fixes the spinner default, but not the corruption of the sync if we don't edit the broken task setting

The code is merged.

great, really
I will commit some optimizations and fixes


updated documentation on writing documentation

updated links,
fixed pip install and
added missing dependency $ pip install sphinx_rtd_theme
Is the easy_install still relevant or should I remove it?

Closing as doc writing has changed to follow template.


Always-run tests part 2 will now run only on master and develop

Summary
Issue #1713
Tests
Side Effects
No
Checklist

[ ] Math issue #(issue number)

[ ] Copyright holder: (fill in copyright holder information)
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[ ] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[ ] the code is written in idiomatic C++ and changes are documented in the doxygen

[ ] the new changes are tested

Hey @rok-cesnovar, I hope I understood correctly the issue in #1713

Hey,
this isnt what I meant. Sorry if my issue wasnt clear.
Example:

I create a local branch something_develop
I push the branch to the repo and dont create a PR

This would start tests on Jenkins, even without opening a PR. I think its because the branch has develop in the name.

Understood, thanks for the quick answer. Will look into it now!


Migrate to Vite

https://vitejs.dev/guide/why.html

should be much faster because it uses es6 modules in the browser.

I hope we get source maps in this migration.


Selenium server/jar needed?

Hi I installed the following:

npm install -g chromedriver
npm install -g --unsafe-perm node-red
npm install node-red-contrib-simple-webdriver (install as separate project testing only)

Started the node-red and added an open browser flow but it shows:
Error: connect ECONNREFUSED <IP_ADDRESS>:9515
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
Also the open browser flow ask for "Server", so do I have to start a selenium server first?
How should it be installed and started?

Hi @simiroll
I think you forget to launch the chromedriver.
You must launch it to allow the automation of chrome action.
Tell me if it works.
Best regards,

Found out I need to use apk add chromium-chromedriver for docker
https://stackoverflow.com/questions/55111180/selenium-python-no-such-file-or-directory-usr-local-bin-chromedriver-but-it

Ok, so I guess it's working?

Ok, so I guess it's working?
Yes thank you


Added a storage quotaWarn plugin

Job to check if the storage space limit or storage space warning is reached.
This is configured in the UI at Admin > Advanced > Maintenance > Storage Quota.
If the limit or warning is reached, a simple email with details is sent to an email address.

What I see looks good.  However Artifactory can already send emails, have you tried to find that?  Also what were you planning to get the email address to report to from?  I'm thinking everyone with admin privileges, you should be able to get that without a problem.
Also, I'm really surprised this functionality isn't already present.  I mean we've got a way to generate e-mail, this seems a really obvious thing to do.


[Qualcomm feedback] Chapter 4: Section 4.2 Clarify TSM must be in confidential memory

Reference: link

T1: Loss of confidentiality of TVMs and TSM memory via in-scope adversaries that may read
TSM/TVM memory via CPU accesses

replace memory with private memory?
There is no definition of "private" memory, I don't believe TSM can use any memory which is not "private". Only TVMs can have both shared and confidential memory.

changed this to say:

T1: Loss of confidentiality of TVMs and TSM confidential memory via in-scope
adversaries that may read TSM/TVM confidential memory via CPU

address in PR #71
cc @ozkoyuncu

Agreed,  could not find reference to private memory in the doc either. the comment is a bit confusing as what it is suggesting. I think it is ok


[question] Help! Unknown device - what to do?

Hi,
I'm in need of some help and don't know where else to turn.
Devices are shown as unknown products even though they are supposed to be supported.
This is my first experience with z-wave. So I'm probably doing something fundamentally wrong.
Have the following hardware that I want to get communicating via the zwave2mqtt container:
AEON Z-Stick Gen5 USB controller (ZW090-C)
Qubino flush shutter DC
https://devices.zwave-js.io/?jumpTo=0x0159:0x0003:0x0053:0.0
Philio Smart Color Button
https://devices.zwave-js.io/?jumpTo=0x013c:0x0009:0x0022:0.0

As you can see in the image above. The z-stick is recognized. I tried to add nodes via this control panel but didn't get it to work. So I added them manually by unplugging the z-stick and pushing the button at the same time as I pushed on the devices.
The Qubino flush shutter DC is shown as dead.

Trying to send API call. I get this error.

What am I doing wrong? Any help is greatly appreciated.

Logs please

2022-03-22 11:39:56.141 INFO ZWAVE: Zwave driver is ready
2022-03-22 11:39:56.143 INFO ZWAVE: Controller status: Driver ready
2022-03-22 11:39:56.202 DEBUG ZWAVE: Binding to node 1 events
2022-03-22 11:39:56.205 DEBUG ZWAVE: Node 1 has been added to nodes array
2022-03-22 11:39:56.207 DEBUG ZWAVE: Binding to node 2 events
2022-03-22 11:39:56.208 DEBUG ZWAVE: Node 2 has been added to nodes array
2022-03-22 11:39:56.210 DEBUG ZWAVE: Binding to node 3 events
2022-03-22 11:39:56.212 DEBUG ZWAVE: Node 3 has been added to nodes array
2022-03-22 11:39:56.216 INFO ZWAVE: Scanning network with homeid: 0xd3238cfd
2022-03-22 11:39:56.219 INFO ZWAVE: Node 1 is alive
2022-03-22 11:39:56.226 INFO ZWAVE: Node 1 ready: AEON Labs - ZW090 (Z‐Stick Gen5 USB Controller)
2022-03-22 11:39:56.441 INFO ZWAVE: Node 3 is asleep
2022-03-22 11:39:56.463 INFO ZWAVE: Node 3: value added 3-91-0-slowRefresh => undefined
2022-03-22 11:39:56.466 INFO ZWAVE: Node 3: value added 3-112-0-1 => 0
2022-03-22 11:39:56.468 INFO ZWAVE: Node 3: value added 3-112-0-2 => 99
2022-03-22 11:39:56.470 INFO ZWAVE: Node 3: value added 3-112-0-10 => 12
2022-03-22 11:39:56.471 INFO ZWAVE: Node 3: value added 3-112-0-25 => 0
2022-03-22 11:39:56.473 INFO ZWAVE: Node 3: value added 3-112-0-26 => 1
2022-03-22 11:39:56.475 INFO ZWAVE: Node 3: value added 3-114-0-manufacturerId => 316
2022-03-22 11:39:56.476 INFO ZWAVE: Node 3: value added 3-114-0-productType => 9
2022-03-22 11:39:56.478 INFO ZWAVE: Node 3: value added 3-114-0-productId => 34
2022-03-22 11:39:56.479 INFO ZWAVE: Node 3: value added 3-128-0-level => 100
2022-03-22 11:39:56.481 INFO ZWAVE: Node 3: value added 3-128-0-isLow => false
2022-03-22 11:39:56.482 INFO ZWAVE: Node 3: value added 3-132-0-wakeUpInterval => 1
2022-03-22 11:39:56.484 INFO ZWAVE: Node 3: value added 3-132-0-controllerNodeId => 255
2022-03-22 11:39:56.485 INFO ZWAVE: Node 3: value added 3-134-0-libraryType => 3
2022-03-22 11:39:56.487 INFO ZWAVE: Node 3: value added 3-134-0-protocolVersion => 4.5
2022-03-22 11:39:56.488 INFO ZWAVE: Node 3: value added 3-134-0-firmwareVersions => 1.7,1.8
2022-03-22 11:39:56.489 INFO ZWAVE: Node 3: value added 3-134-0-hardwareVersion => 1
2022-03-22 11:39:56.497 DEBUG ZWAVE: Node 3: mapping value(s) of property 'level' (level) from CC 128 (Battery) to node property 'minBatteryLevel
2022-03-22 11:39:56.498 DEBUG ZWAVE: Node 3: mapping value(s) of property 'level' (level) from CC 128 (Battery) to node property 'batteryLevels
2022-03-22 11:39:56.501 INFO ZWAVE: Node 3 ready: Philio Technology Corp - PSR04 (Smart Color Button)
2022-03-22 11:39:56.529 INFO ZWAVE-SERVER: ZwaveJS server listening on <IP_ADDRESS>:3000
2022-03-22 11:39:56.799 INFO ZWAVE: Next update scheduled for: Wed Mar 23 2022 00:00:00 GMT+0100 (Central European Standard Time)
2022-03-22 11:40:00.654 INFO ZWAVE: Node 2 is dead
2022-03-22 11:40:00.657 INFO ZWAVE: Controller status: Scan completed
2022-03-22 11:40:00.658 INFO ZWAVE: Network scan complete.  Haven't changed anything. But the DC shutter is still dead

Tried to re-interview the qubino shutter..
Here is the debug info on it:
{
"id": 2,
"name": "",
"loc": "",
"values": [],
"groups": [],
"neighbors": [],
"ready": false,
"available": false,
"hassDevices": {},
"failed": false,
"inited": false,
"hexId": "0xXXXX-0xXXXX-0xXXXX",
"dbLink": "https://devices.zwave-js.io/?jumpTo=0xXXXX:0xXXXX:0xXXXX:0.0",
"productLabel": "Unknown product 0xXXXX",
"productDescription": "0xXXXX",
"manufacturer": "Unknown manufacturer 0xXXXX",
"protocolVersion": 3,
"nodeType": 1,
"endpointsCount": 0,
"endpointIndizes": [],
"isSecure": "unknown",
"supportsSecurity": false,
"supportsBeaming": true,
"isControllerNode": false,
"isListening": true,
"isFrequentListening": false,
"isRouting": true,
"keepAwake": false,
"maxDataRate": 100000,
"deviceClass": {
"basic": 4,
"generic": 17,
"specific": 7
},
"deviceId": "undefined-undefined-undefined",
"status": "Dead",
"interviewStage": "ProtocolInfo",
"_name": "NodeID_2",
"statistics": {
"commandsTX": 0,
"commandsRX": 0,
"commandsDroppedRX": 0,
"commandsDroppedTX": 2,
"timeoutResponse": 0
},
"lastActive":<PHONE_NUMBER>847,
"lastTransmit":<PHONE_NUMBER>847,
"errorReceive": false,
"errorTransmit": true
}

Need driver logs

You mean dmesg?

Ok.
Thanks for being patient with me :)

In text:
zwavejs2mqtt    | 2022-03-23 09:19:16.731 INFO ZWAVE: Scanning network with homeid: 0xd3238cfd zwavejs2mqtt    | 2022-03-23 09:19:16.737 INFO ZWAVE: Node 1 is alive zwavejs2mqtt    | 2022-03-23 09:19:16.745 INFO ZWAVE: Node 1 ready: AEON Labs - ZW090 (Z‐Stick Gen5 USB Controller) zwavejs2mqtt    | 2022-03-23 09:19:16.998 INFO ZWAVE: Node 3 is asleep zwavejs2mqtt    | 2022-03-23 09:19:17.021 INFO ZWAVE: Node 3: value added 3-91-0-slowRefresh => undefined zwavejs2mqtt    | 2022-03-23 09:19:17.024 INFO ZWAVE: Node 3: value added 3-112-0-1 => 0 zwavejs2mqtt    | 2022-03-23 09:19:17.026 INFO ZWAVE: Node 3: value added 3-112-0-2 => 99 zwavejs2mqtt    | 2022-03-23 09:19:17.028 INFO ZWAVE: Node 3: value added 3-112-0-10 => 12 zwavejs2mqtt    | 2022-03-23 09:19:17.029 INFO ZWAVE: Node 3: value added 3-112-0-25 => 0 zwavejs2mqtt    | 2022-03-23 09:19:17.032 INFO ZWAVE: Node 3: value added 3-112-0-26 => 1 zwavejs2mqtt    | 2022-03-23 09:19:17.033 INFO ZWAVE: Node 3: value added 3-114-0-manufacturerId => 316 zwavejs2mqtt    | 2022-03-23 09:19:17.035 INFO ZWAVE: Node 3: value added 3-114-0-productType => 9 zwavejs2mqtt    | 2022-03-23 09:19:17.037 INFO ZWAVE: Node 3: value added 3-114-0-productId => 34 zwavejs2mqtt    | 2022-03-23 09:19:17.038 INFO ZWAVE: Node 3: value added 3-128-0-level => 100 zwavejs2mqtt    | 2022-03-23 09:19:17.040 INFO ZWAVE: Node 3: value added 3-128-0-isLow => false zwavejs2mqtt    | 2022-03-23 09:19:17.042 INFO ZWAVE: Node 3: value added 3-132-0-wakeUpInterval => 1 zwavejs2mqtt    | 2022-03-23 09:19:17.044 INFO ZWAVE: Node 3: value added 3-132-0-controllerNodeId => 255 zwavejs2mqtt    | 2022-03-23 09:19:17.045 INFO ZWAVE: Node 3: value added 3-134-0-libraryType => 3 zwavejs2mqtt    | 2022-03-23 09:19:17.047 INFO ZWAVE: Node 3: value added 3-134-0-protocolVersion => 4.5 zwavejs2mqtt    | 2022-03-23 09:19:17.049 INFO ZWAVE: Node 3: value added 3-134-0-firmwareVersions => 1.7,1.8 zwavejs2mqtt    | 2022-03-23 09:19:17.050 INFO ZWAVE: Node 3: value added 3-134-0-hardwareVersion => 1 zwavejs2mqtt    | 2022-03-23 09:19:17.058 DEBUG ZWAVE: Node 3: mapping value(s) of property 'level' (level) from CC 128 (Battery) to node property 'minBatteryLevel zwavejs2mqtt    | 2022-03-23 09:19:17.060 DEBUG ZWAVE: Node 3: mapping value(s) of property 'level' (level) from CC 128 (Battery) to node property 'batteryLevels zwavejs2mqtt    | 2022-03-23 09:19:17.063 INFO ZWAVE: Node 3 ready: Philio Technology Corp - PSR04 (Smart Color Button) zwavejs2mqtt    | 2022-03-23 09:19:17.111 INFO ZWAVE-SERVER: ZwaveJS server listening on <IP_ADDRESS>:3000 zwavejs2mqtt    | 2022-03-23 09:19:17.398 INFO ZWAVE: Next update scheduled for: Thu Mar 24 2022 00:00:00 GMT+0100 (Central European Standard Time) zwavejs2mqtt    | 2022-03-23 09:19:21.247 INFO ZWAVE: Node 2 is dead zwavejs2mqtt    | 2022-03-23 09:19:25.468 INFO ZWAVE: Node 4 is dead zwavejs2mqtt    | 2022-03-23 09:19:29.654 INFO ZWAVE: Node 5 is dead zwavejs2mqtt    | 2022-03-23 09:19:33.778 INFO ZWAVE: Node 6 is dead zwavejs2mqtt    | 2022-03-23 09:19:33.780 INFO ZWAVE: Controller status: Scan completed zwavejs2mqtt    | 2022-03-23 09:19:33.782 INFO ZWAVE: Network scan complete. Found: 6 nodes zwavejs2mqtt    | 2022-03-23 09:19:37.960 ERROR ZWAVE: Interview of node 2 has failed: The node is dead zwavejs2mqtt    | 2022-03-23 09:19:42.141 ERROR ZWAVE: Interview of node 4 has failed: The node is dead zwavejs2mqtt    | 2022-03-23 09:19:46.294 ERROR ZWAVE: Interview of node 5 has failed: The node is dead zwavejs2mqtt    | 2022-03-23 09:19:50.420 ERROR ZWAVE: Interview of node 6 has failed: The node is dead

Tried to remove and add the qubino dc flush shutter several times.
Doesn't seem to be able to remove it. Not even when I do it manually. But I managed to get it added a couple of times.

I've been in contact with qubino support. Got no help there yet. They just asked me to try to remove and add it again following these links:
Removing the device from a Z-Wave network (Exclusion)
Adding the device to a Z-Wave network (Inclusion)
Can't include the device

Those are application logs, not driver logs. ALso please attach here the log file and do not paste the text as logs could be a lot.
Check the link I pasted in my previous answer

Aha. Sorry. Is this what you are asking for?
zwavejs_2022-03-23.log

Yeah that's the correct one. IMO you have some connectivity issues, what you could if you are using an usb stick is to use a usb extension cable to place it in an higher spot.
cc @AlCalzone

@thr3swe read and apply this if you haven't already
https://zwave-js.github.io/node-zwave-js/#/troubleshooting/connectivity-issues?id=general-troubleshooting

Thanks guys.
I just tried again and now it works. I'm not sure what has happened. Done the exact same thing several days now.

Haven't changed any config.

Sounds like the kind of connectivity issue the link I posted above can help with.

Ok, thank you. Will try that.

Now I can't get it to go up again. Even if I keep it right next to the stick again. Here is a new log file:
zwavejs2mqtt_2022-03-23.log

We can close this ticket. It seems like it's a connectivity issue - even though it's 3 meters apart.


create a usable admin board for adding new assignments and junit files

create an admin interface with which to easily add new assignments that can be graded (HTML, Swift, MongoDB, possibly CSS / JS / Bootstrap if you want it to look nice)

group these info /admin route group


Card styling: weird hover/active states

In light, the hover state is too subtle (background doesn't change, only the shadow), while in dark it's too heavy (very drastic change to background color). Active states are too drastic in both cases, and the dark one gets darker instead of lighter.
Hover:

Click:

Hover:

Click:

For an example of how to do this in a nice, subtle way look at libadwaita's .card class.
Hover:

Click:

(background doesn't change, only the shadow),

The background is changing, but it's just a 5% transparency right now

Let me know, if the new ones are in an acceptable range

Hover looks good to me now, but in dark the active state looks the same as hover now. I'd make that a little bit stronger, same as in light. I'm also not sure about reducing the shadow to 0 in the light active state.

I can definatly see the dark active stlye being different to the hover for me, but I guess you just mean it should be stronger?
The shadow just was an experiment, we can remove it. But I do like, the touch it adds, as it helps the card to pulse after you click it. And if you actually hold it down (in active) you don't get shadows that almost match the content background. Not sure why we should optimize for people holding this down, but that was the thought process.
Btw shadow shouldn't be zero, it might be on the top at that level.


Fix a bug in pipeline-destruction

apply changes suggested by clang-tidy, most important declaration shadows a local variable
this fixes a bug in pipeline-destruction (we did not destroy the pipeline)

note:
in other cases we treat warnings as errors, but apparently tolerate variable-shadowing.
I argue we should be more strict about this. it can create nasty and subtle bugs, as seen here.

CI gfxreconstruct build queued with queue ID 308816.

CI gfxreconstruct build # 5378 running.

CI gfxreconstruct build queued with queue ID 308851.

CI gfxreconstruct build # 5379 running.

CI gfxreconstruct build # 5379 passed.


Can't find out typo 'recommend' in Go

When file ended ".go" ext, a typo "recommend" to "reccomend" was not detected as a "Unknown Word", Although other file type,  such as plain text, works correct.

Hello @ginshari,
This is an issue with allowCompoundWords setting. It will put any words together. Because many "go" libraries compound words like: IPv6interfacelocalallnodes. Since the newer libaries seem to follow camelCase, it might be worth it to turn off the allowCompoundWords setting by default for GO.

Closing this for now.


[Feature request] Quality gate support

Hi,
Do you plan to support retrieving the quality gate value once SonarQube is done processing the code, so the pipeline can succeed or fail in Drone based on it ?
Thanks.

I just started using SonarQube again and this plugin yesterday. I guess it makes sense for the pipeline to fail when QG is not reached. Will check that later if we can get that from the command output. ;)


OSS release v1.27.1

Changes

Updating OCI Go-SDK to latest version to support oci endpoint urls for new regions
Support for http/https proxy via environemnt variables: HTTP_PROXY & HHTPS_PROXY
Support for custom CA bundle via environement variable: OCI_DEFAULT_CERTS_PATH

_ For more details on CA bundle support:
https://docs.oracle.com/en-us/iaas/tools/go/65.56.1/#:~:text=Using custom CA Bundle or custom client certs_
E2E Tests (Subset):
e2e-run-1.26-oss.txt
Summarizing 2 Failures:
[Fail] CSI Volume Creation with different fstypes [cloudprovider][storage][csi][fstypes][paravirtualized][oss] [It] Create PVC with fstype as XFS with paravirtualized attachment type
/Users/lalit/go/src/github.com/oracle/oci-cloud-controller-manager/test/e2e/framework/pvc_util.go:592

[Fail] CSI Volume Creation [cloudprovider][storage][csi][oss] [It] Data should persist on CSI volume on pod restart
/Users/lalit/go/src/github.com/oracle/oci-cloud-controller-manager/test/e2e/framework/deployment_util.go:72

Ran 16 of 88 Specs in 3915.234 seconds
FAIL! -- 14 Passed | 2 Failed | 0 Pending | 72 Skipped
--- FAIL: TestE2E (3915.28s)

e2e-run-1.26-oss2.txt
Summarizing 1 Failure:

[Fail] CSI Volume Creation with different fstypes [cloudprovider][storage][csi][fstypes][paravirtualized][oss2] [It] Create PVC with fstype as XFS with paravirtualized attachment type
/Users/lalit/go/src/github.com/oracle/oci-cloud-controller-manager/test/e2e/framework/pvc_util.go:592

Ran 2 of 82 Specs in 1104.645 seconds
FAIL! -- 1 Passed | 1 Failed | 0 Pending | 80 Skipped
--- FAIL: TestE2E (1104.69s)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-1 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 29.309%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/oci/client/client.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
3209

Relevant Lines:
10949

💛  - Coveralls


add BatchNorm dtype

Using BatchNorm in training mode, if input is of dtypes.double will cause AssertionError: assign dtype mismatch dtypes.float != dtypes.double. This is due to the self.running_mean and self.running_var was create with default dtypes.float.
Propose fix by adding a dtype param to BatchNorm, matching PyTorch API.

Just cast it. This is imcomplete and adds complexity

Done, I cast self.running_mean and self.running_var to the input dtype, removing the needs to have dtype params.


Creation of more general simulink blocks

Add more general thermodynamic modeling capability.  Wish list of modules to come...

Removing... This issue is too general  A wish list for new modules will just be added to issues in general.


How to reset the states with connect-react-router

I would like to clean all global states of Redux store and I found a solution here:
https://stackoverflow.com/a/35641992
But I have no confidence to achieve it together with connected-react-rotuer.
Can anyone help me? Thanks in advance!

I found a solution, though there may be a better one.
Instead of passing history as an argument into the createRootReducer function, I simply declare history in the rootReducer file as follows:
// rootReducer.js
import { combineReducers } from 'redux'
import { connectRouter } from 'connected-react-router'
import { createBrowserHistory } from 'history'

export const history = createBrowserHistory()

const createRootReducer = combineReducers({
  router: connectRouter(history),
  ... // rest of your reducers
})
export default createRootReducer

Then, I am able to combine it with the solution from the link above and reset the states.
Thank you all anyway


Autopilot not working in 0.9.7 for custom map

Hi, I have created a custom map which I was using in 0.9.6 for a long time after that I transferred it to 0.9.7 with all the xodr files as well. But When I am running spawn_npc.py in 0.9.7, the vehicles are just spawning, they are not moving.  I also tried using tm_spawn_npc.py but same results. The same map is working in 0.9.6.
Is there any files or dependency that have been introduced in 0.9.7, that would lead to such behaviours ?
Or any other solution that would help.
Thanks

Hi,
Autopilot has been deprecated in 0.9.7 and further, replaced by the client-side Traffic Manager. This is why you are experiencing these issues. Please, refer to the documentation on how to create a map for the new versions.
Also, it's best if you directly update to 0.9.8.

Hi,
Autopilot has been deprecated in 0.9.7 and further, replaced by the client-side Traffic Manager. This is why you are experiencing these issues. Please, refer to the documentation on how to create a map for the new versions.
Also, it's best if you directly update to 0.9.8.

Hi,
Thanks for such a quick reply. Just to get clarity, how are the other towns working have they updated any files because I tried running tm_spawn_np.py also. The autopilot seems to work fine for Town3 of 0.9.7

Hi,
Of course it does, our maps are built like explained in the documentation! Refer to this link to create a new map but you will need RoadRunner, or OpenDRIVE standalone mode (experimental, only for 0.9.8)


Update Ruby version in instructions

Thanks @wasafiri, we should wait for #1876 before we merge it. To be honest I am a bit surprised the installation works on 2.4 without it 😄

Will update to 2.4.2 shortly.


Cannot put classes inside addon folder into subfolders

It seems like these are not getting autoloaded.

This is possible but the folder names should match the namespace. So if the folder name is test the namespace declaration should be
namespace test;
This is so that the autoloader can easily resolve the 'use' path. If desired otherwise please give suggestions :)

That sounds good, will the name of the addon then be the first part of the namespace or will the namespace begin after?

private

addon.name

auth
AuthController.php (namespace: auth or addon.name\auth?)

The option to include the addon.name in the namespace might be preferable to keep the namespaces more specific and prevent collision.

Currently it should work without the addon.name prefix but we could add that.

Might be nice, was thinking of a situation where you have multiple addons within your private folder. In this case it might be nice to differentiate the namespaces? What do you think, I'm not sure. Or maybe specify a root namespace for your project, however that seems like configuration which is not needed?

This should work now since the last commit. This only works if the namespace for the class is the same as the folders it is in. So for example;
namespace testing/addon/spaces;

class AddonNameSpaceTest {}

Should be in a path resolvable from the addon folder as '/testing/addon/spaces'.

Autoloading has been greatly improved recently. I have created an issue in xentriq.docs to document possible namespaces and their folders (https://github.com/Nentix/xentriq.docs/issues/9).


feat: make caaj from data like bitbank

make caaj from data like bitbank(csv)
change get_caaj()'s argument from direct data to dict

https://github.com/ca3-caaip/senka/pull/21/files#r882292005
これ点以外はよさそうですね

LGTM


peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!

I am trying to build the most straightforward Angular 2 app using the AngularClass seed app. Building locally appears to work, but when I try to build on circleci I get the following error:
npm WARN peerDependencies The peer dependency webpack@* included from @angularclass/hmr will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Linux 3.13.0-91-generic
npm ERR! argv "/opt/circleci/nodejs/v4.2.6/bin/node" "/opt/circleci/nodejs/v4.2.6/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v2.14.12
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants webpack@*
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants webpack@1 || ^2.1.0-beta
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants webpack@1 || ^2.1.0-beta

Anybody know of a remedy, a universal panacea that might help ameliorate this issue?

thanks, the latest release removes the peer dep


About data augmentation ‘Change_intensity’?

In the 'Change_intensity' data augmentation, you only change the v channel values in hsv color space. Could you please tell me how useful is this operation for the performance?

TuSImple and CULane datasets include tunnel or night environments. In these environments, input images are very dark, so I added the augmentation method.

Thank you for your kind reply


Android Dependency Error

Hi everyone, I'm getting an error saying: Android dependency 'com.google.firebase:firebase-iid' has different version for the compile (20.1.5) and runtime (20.1.7) classpath. You should manually set the same version via DependencyResolution.
and I don't understand it.
here is my pubspec.yaml file:
pubspec.yaml
and here is my build.gradle file for both project level and module:
build.gradle
thanks.

Hi @Ausyys,
Please provide flutter doctor -v. Did you upgrade recently ?
Thanks.

yes, I did.
here are my flutter doctor details
[√] Flutter (Channel stable, 1.20.4, on Microsoft Windows [Version 10.0.17133.73], locale en-US)
    • Flutter version 1.20.4 at C:\Users\LENOVO\Pictures\Screenshots\flutter_windows_1.20.4-stable\flutter
    • Framework revision fba99f6cf9 (8 days ago), 2020-09-14 15:32:52 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\LENOVO\AppData\Local\Android\sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit
      https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.49.0)
    • VS Code at C:\Users\LENOVO\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.1

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

hallo? @darshankawar

@darshankawar

hi @Ausyys
can you please send you an app level Gradle as well?
Thanks.

ok sure @Abhishek01039 ,
app level gradle:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 28

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.app.mnkusers"
        minSdkVersion 16
        targetSdkVersion 28
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
    implementation 'androidx.multidex:multidex:2.0.0'
}
apply plugin: 'com.google.gms.google-services'

@Abhishek01039

@Ausyys Can you try flutter pub cache repair or flutter clean and then flutter run to see if it works for you?
If issue persists, also provide project level build.gradle, gradle.properties.
Thanks.

ok sure @darshankawar , but I got this when it was done:
Reinstalled 291 packages.
Failed to reinstall 2 packages:
- flutter_plugin_android_lifecycle 1.0.8
- flutter_plugin_android_lifecycle 1.0.9
pub finished with exit code 69

should I be worried about this?

Hi @darshankawar , I got just got this error:
Failed to repair flutter_plugin_android_lifecycle 1.0.8. Error:
FileSystemException: Deletion failed, path = 'C:\Users\LENOVO\Pictures\Screenshots\flutter_windows_1.20.4-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecyc
le-1.0.8' (OS Error: The system cannot find the path specified.
, errno = 3)
Failed to repair flutter_plugin_android_lifecycle 1.0.9. Error:
FileSystemException: Deletion failed, path = 'C:\Users\LENOVO\Pictures\Screenshots\flutter_windows_1.20.4-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecyc
le-1.0.9' (OS Error: The system cannot find the path specified.
, errno = 3)

it didn't allow me to run my app:
The plugin `flutter_plugin_android_lifecycle` doesn't have a main class defined in
C:\Users\LENOVO\Pictures\Screenshots\flutter_windows_1.20.4-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.9\android\src\main\java\io\flutter\plug
ins\flutter_plugin_android_lifecycle\FlutterAndroidLifecyclePlugin.java or
C:\Users\LENOVO\Pictures\Screenshots\flutter_windows_1.20.4-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.9\android\src\main\kotlin\io\flutter\pl
ugins\flutter_plugin_android_lifecycle\FlutterAndroidLifecyclePlugin.kt. This is likely to due to an incorrect `androidPackage: io.flutter.plugins.flutter_plugin_android_lifecycle` or
`mainClass` entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the `androidPackage` entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and
consider using a different plugin in the meanwhile.

@Ausyys
Try to delete .pub-cache folder in your flutter directory and in your user home directory (if it exists) and then run flutter pub get.

ok, that was successful. Should I run flutter pub cache repair again? @darshankawar

@darshankawar

@darshankawar

@Ausyys Try running flutter run now and see if it works.

@darshankawar , I've done that. But I'm still getting this error with a different package firebase-config:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Android dependency 'com.google.firebase:firebase-config' has different version for the compile (19.0.3) and runtime (19.1.4) classpath. You should manually set the same version via DependencyResolution

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8m 11s
Exception: Gradle task assembleDebug failed with exit code 1

so here is my project level build.gradle:
buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'com.google.gms:google-services:4.2.0'
    }

    ext.kotlin_version = '1.3.50'
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

and my gradle.properties:
org.gradle.jvmargs=-Xmx1536M

android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true

thanks

@darshankawar

@darshankawar

@darshankawar

@darshankawar

@Ausyys
Try to upgrade your classpath to latest versions:
dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'com.google.gms:google-services:4.2.0'
    }

@darshankawar yeah, I did that:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cloud_firestore:generateDebugRFile'.
> Could not resolve all files for configuration ':cloud_firestore:debugRuntimeClasspath'.
   > Failed to transform artifact 'firebase-firestore.aar (com.google.firebase:firebase-firestore:21.4.3)' to match attributes {artifactType=android-symbol-with-package-name}.
      > Execution failed for JetifyTransform: C:\Users\LENOVO\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson-parent\2.8.0\df4e302623519c6b801aee5281bada262b9ed876\gson-parent-2.8.0.pom.
         > java.lang.IllegalArgumentException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

@darshankawar can I try updating all the firebase dependencies?

@darshankawar

@darshankawar please what is the .pom file?

@darshankawar

Hallo? @darshankawar

@darshankawar please this is urgent🙏🏼

@Ausyys First of all, please refrain from tagging me every now and then and I'll appreciate if you stop doing that.
Coming to your issue, It seems your Flutter project is messed up and doesn't seem to be related to Flutter framework anymore.
I'd suggest you start over from scratch, ie, re-install Flutter from official document and follow it step by step.

@darshankawar Hi, so sorry about that. It is very urgent that's why I did that to make you come online faster. I apologise dearly for that 🙏🏼.
But I did what you suggested, and I'm getting this error:

is it because of the Gradle version?

Hi @Ausyys
seems like you are using third-party plugin.
maybe Agora is not supported latest stable channel.
please file an issue to https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart/issues
Thanks.

Hi @Abhishek01039
thanks for your help, but I have already fixed that.
But what I'm trying to solve now is this:
ERROR: Unable to resolve dependency for ':cloud_firestore@debug/compileClasspath': Failed to transform artifact 'firebase-firestore.aar (com.google.firebase:firebase-firestore:21.4.3)' to match attributes {artifactType=jar}.
Show Details
Affected Modules: cloud_firestore

and here is a screenshot of it

thanks

@Ausyys
Please see https://flutter.dev/community for resources.
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Make checkbox labels clickable

Checking the labels for the log files should check their corresponding boxes.

https://github.com/haigo/natelogg/pull/1 closes this

@hortondust this should be closed

👍


⚠ Bofrost.de has degraded performance

In fe266a3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1126 ms

Resolved: Bofrost.de performance has improved in 10248f3 after 9 minutes.